Please join your peers on either March 26 (8pm GMT) or March 28 (8am GMT) to watch as user extraordinaire and forum legend @"lindsay.stevens" demonstrates OpenClinica Insight.

See preview and register at

Insight makes it easy to ask questions of ALL of your clinical and operational data and visualize answers via interactive reports and dashboards. The idea is simple, but the results are powerful: ask your questions, choose your visualizations, then return often for updated, interactive results that link you to all of the underlying data.

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: 765 ✭✭✭
    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: 195
    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.