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

SOAP ImportRequest not working despite valid ODM


I am trying to use the Data Web Service to upload data into OpenClinica. My applications generates the SOAP request but I always receive the error message "Your XML is not well-formed." I did check the included ODM data, and it is correct, since I can import it just fine via the web interface of OpenClinica. Something must be wrong with my SOAP envelope. I have included both my envelope in this post.

Thank you for any help!

Kind regards
Kilian Boisheim


  • GerbenRienkGerbenRienk Posts: 838 ✭✭✭
    Hi Kilian,
    In your request you have the ODM-tag twice. Try again with just one, preferably just "odm" and skip the CDATA-thingie. This would result in
    <v1:importRequest><odm><ClinicalData etc. etc.
    and end in
    </ClinicalData></odm></v1:importRequest></soapenv etc. etc.
    Otherwise it looks good.
    Hope this helps,
    Gerben Rienk
  • kilianmkilianm Posts: 2
    Thank you, Gerben!
    You definitely gave me the right clue, though I had to capitalize the <odm> to make it work, i.e. do it like:
    <v1:importRequest><ODM><ClinicalData etc. etc.

    Kind regards
    Kilian Boisheim
  • RCHENURCHENU Posts: 207 ✭✭
    edited February 2016
    I really think this page should be clarified:

    Like: http://host:8080/OpenClinica-ws/ws/data/v1/dataWsdl.wsdl

    or this [CDATA[
    ]] which is not very clear or the Request Parameters which are wrong here...

    Anyway, this thread saved me.

Sign In or Register to comment.