Hi Wilson,
Caveat: The webservice i'm consuming is very old.
I originally tried to use Axis2 when I started this project a few months ago, but never could get it to work so I went down the Axis 1 path.
What I did is setup 2 WSOPERATION files one for Axis and one for Axis 2 v1.6.2, just to test the Authentication process.
Both processes completed creation of the stubs with zero errors.
In my basic call flow, utilizing the same input parameters,
version 1 flows fine.
16/07/2019 16:52:27:148 INFO - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Assigning [772] to [IVRBranchId]
16/07/2019 16:52:27:148 INFO - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Assigning [104765] to [IVRPayrollId]
16/07/2019 16:52:27:149 INFO - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Assigning [7878] to [pin]
16/07/2019 16:52:27:221 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Collecting [] from:messagePart:IVRBranchId
16/07/2019 16:52:27:222 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Collecting [] from:messagePart:IVRBranchId
16/07/2019 16:52:27:222 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Collecting [] from:messagePart:IVRPayrollId
16/07/2019 16:52:27:222 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Collecting [] from:messagePart:IVRPayrollId
16/07/2019 16:52:27:222 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Collecting [] from:messagePart:pin
16/07/2019 16:52:27:222 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Collecting [] from:messagePart:pin
16/07/2019 16:52:27:222 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Calling Web Service [IVRPort] at [http://wdc4ivr1pxy01.corpadds.com/CRM/IVR-Test/IVR.asmx] operation [authenticate]
16/07/2019 16:52:27:224 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Setting web service timeout to 45 seconds
16/07/2019 16:52:28:188 DEBUG - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : Storing [connectivity.ws.beans.AuthenticateResponse@dcba2906] to:messagePart1
16/07/2019 16:52:28:189 INFO - C86E17142A1A9055330A2EDA8C67547A:/Sandbox1 : session id:sess380526 | Sandbox1:Axis1 | ***** AUTHENTICATION WAS SUCCESSFUL via AXIS 1.2
Version 2 throws the following messages:
16/07/2019 17:07:41:861 INFO - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Assigning [772] to [IVRBranchId]
16/07/2019 17:07:41:861 INFO - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Assigning [104765] to [IVRPayrollId]
16/07/2019 17:07:41:861 INFO - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Assigning [7878] to [pin]
Calling method [{http://Company.ca/CustomerCare/IVR}authenticate] on web service [IVRPort] at [http://wdc4ivr1pxy01.corpadds.com/CRM/IVR-Test/IVR.asmx]
16/07/2019 17:07:42:126 ERROR - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Got AxisFault during web service call: Company.CRM.IVR.Service.IVRSystemException: 3
at Company.CRM.IVR.Service.IVRPort.AuthenticateImpl(AuthenticateRequest authenticateRequest)
16/07/2019 17:07:42:127 DEBUG - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Fault action <- null
16/07/2019 17:07:42:127 DEBUG - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Fault node <- null
16/07/2019 17:07:42:127 DEBUG - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Fault role <- null
16/07/2019 17:07:42:127 DEBUG - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Fault type <- 0
16/07/2019 17:07:42:127 DEBUG - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : Fault message <- Company.CRM.IVR.Service.IVRSystemException: 3
at Company.CRM.IVR.Service.IVRPort.AuthenticateImpl(AuthenticateRequest authenticateRequest)
16/07/2019 17:07:42:134 INFO - 20440B8DCC63F02DE4710CFCFD776C06:/Sandbox1 : session id:sess8630049 | Sandbox1:Axis2 | ***** Exception caught in authentication
Any ideas?
|