Author Message
GregoryKnott2
Joined: Feb 24, 2014
Messages: 18
Offline
Hi,

I am trying to test the web service using SOAP UI.

I have tested using the UNIX scripts provided on the EPM install CD. These work fine. However when loading the WSDL into SOAP UI:

https://srv030054/axis2/services/VPManagementService?wsdl

And adding basic authentication on the request, the response is a Null pointer exception... The installation CD does not have the java source so I cannot determine what the SOAP should actually look like. Can someone help please?

Greg.
shyamshanmugiah2
Joined: Feb 13, 2012
Messages: 10
Offline
Hi,

If you entered a valid Voice portal Username and password then it will display the wsdl file. Anyway I have attached the WSDL kindly make use of it.
Filename N.wsdl [Disk] Download
GregoryKnott2
Joined: Feb 24, 2014
Messages: 18
Offline
I can get to the WSDL and it imports fine to SOAP UI and also Eclipse.

However calling any function on the web service results in a SOAP exception of NullPointerException on the server side. So there is obviously something missing from the SOAP request being generated...

Greg.
GregoryKnott2
Joined: Feb 24, 2014
Messages: 18
Offline
I have solved the issue with getting a null exception on calling the web service functions.

I had to reverse engineer the java class files from the example scripts to see how the web service calls were prepared in java.

Usually when you generate an axis2 client from a WSDL there are 2 endpoints which are available to use. In my case these are:

https://srv030054/axis2/services/VPManagementService.VPManagementServiceHttpsSoap11Endpoint/
https://srv030054/axis2/services/VPManagementService.VPManagementServiceHttpsSoap12Endpoint/

Then usually you instantiate the web service stub class constructor with one of these. However, for this web service you need only supply:

https://srv030054/axis2/services/VPManagementService

The web service functions then work fine.

Greg.
shyamshanmugiah2
Joined: Feb 13, 2012
Messages: 10
Offline
Thank you Greg. The End point URL is :- https://srv030054/axis2/services/VPManagementService .

Gregory_Knott
Joined: Oct 8, 2019
Messages: 10
Offline
Avaya: you may want to update your WSDL since it is not reporting the endpoint correctly. I ran into this issue again this year, and this post of mine from 2014 helped me out...

Go to:   
Mobile view