We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

NullPointerException in response to listAllByStudy SOAP web service


I'm currently trying to implement some of the OpenClinica  SOAP web services. Except for the listAllByStudy web service everything is working so far and gives suitable responses. My SOAP XML request looks like this:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://openclinica.org/ws/studySubject/v1" xmlns:bean="http://openclinica.org/ws/beans">
<soapenv:Header><wsse:Security wsse:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken-27777511" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

As far as I understand the reference to a site in the request XML can be omitted. The response XML looks like this:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<faultstring xml:lang="en">java.lang.NullPointerException</faultstring>

Since other webservice (obtaining all studies or the study meta data) are working, I don't think there is problem with the header. SOAP web services are also enabled for the given user name, the password is hashed in a correct way and the given study exists and has several study subjects. Is the request XML build in a wrong way?


This discussion has been closed.