Passing XML as a parameter to a web service
710361Nov 16 2010 — edited Nov 19 2010I am using ADF & JDeveloper to build a web service. One of the parameters needs to accept a block of XML data. It seems to work fine when called from another JDeveloper / ADF 'web services proxy', but it fails when I try to call it from 'soapUI'. Has anyone had any similar experiences / observations? (I'm quite new to this!)
My SOAP message ends up something like the following:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:elw="http://mypackage.myorg.com/">
<soapenv:Header/>
<soapenv:Body>
<elw:myMethod>
<parameter1> Fred </parameter1>
<parameter2> <Person> <Name> Fred </Name> </Person> </parameter2>
</elw:myMethod>
</soapenv:Body>
</soapenv:Envelope>
The first parameter works fine. The second parameter gets nullified from 'soapUI'. Is this an issue with 'soapUI', or is there something more generically wrong with my approach?