Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Passing XML as a parameter to a web service

710361Nov 16 2010 — edited Nov 19 2010
I 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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2010
Added on Nov 16 2010
6 comments
1,926 views