1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
543 views
by rich-c-2789 (17.6k points)

I am trying to call a soap web service but I get the following error:

[line: 15] WrappedException: Wrapped com.qvera.qie.exception.NoResultsException: Error calling Web Service 'EMRWebServiceConn': java.lang.NullPointerException

Relevant code:

...
var value = qie.callSOAPWebService(
   "EMRWebServiceConn",
   "WebserviceSoapBinding",
   "GetMed",
   soapEnvelope,
   false,
   parameterMap,
   60000);
...

Relevant WSDL:

...
  <wsdl:binding name="WebserviceSoapBinding" type="tns:Webservice">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="GetMeds">
      ...
    </wsdl:operation>
    <wsdl:operation name="GetAllergies">
      ...
    </wsdl:operation>
    <wsdl:operation name="AddMed">
      ...
    </wsdl:operation>
...   

 

1 Answer

0 votes
Check to make sure the binding and operation are supported.  Looking at the above example the operation should be "GetMeds" instead of "GetMed"
by rich-c-2789 (17.6k points)
...