Click here to Skip to main content
15,867,834 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
When calling WSDL code from SOAP UI, we are getting response, but when we try to call same WSDL from AXIS2 or CXF WS Client , we are getting null pointer exception. Unable to get solution for this.
Posted
Comments
Sergey Alexandrovich Kryukov 19-Jan-15 2:12am    
What does it mean, "calling WSDL code"? WSDL is not a code of function, method, procedure, subroutine or operator. It is declarative XML-based interface definition. Your question does not see to make sense.
The reason for the exception? Could be anything. You did not provide any useful information.
—SA
Neeraj Sood 19-Jan-15 2:37am    
I mean , calling WSDL URL from SOAP UI, with valid request parameters. But when we try to call same WSDL file from AXIS 2 or APACHE CXF, we are getting null pointer exception
Sergey Alexandrovich Kryukov 19-Jan-15 2:43am    
I already told you.
—SA
Neeraj Sood 19-Jan-15 2:52am    
REQUEST in SOAP UI

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:goog="http://google.com/">
<soapenv:header>
<soapenv:body>
<goog:departmentslist>
<!--Optional:-->
<goog:language>EN




Getting Valid RESPONSE

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:body>
<departmentslistresponse xmlns="http://google.com/">
<departmentslistresult>
<dept_list xmlns="">
<dept_details>
<deptid>1ANAESC
<department>Anesthesia
<bookanappointment>false

<dept_details>
<deptid>1ANAESC
<department>Anesthesia
<bookanappointment>true

<dept_details>
<deptid>1CARDSUC
<department>Cardiac Surgery
<bookanappointment>true





Neeraj Sood 19-Jan-15 2:55am    
Not getting same response thru JAVA WS Client. In .Net same WSDL is getting valid response at client for same WSDL

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900