Hooked up to a web service, SOAP response returning bad XML. Looking for similar issu


I’m using Oracle’s WebCenter 11g to grab data from a SOAP web service. The method and WSDL we are using has been proven effective using Cast Iron and another free program (SOAP UI), but when we make the same method call in WC the return body is wrapped in some garbage that looks a lot like a file or packet header.

My question for you is - whether or not you have any experience with Web Center have you ever encountered anything like this before? If so how did you resolve it? Any advice or suggestions are welcome - I have already done the obvious things, such as contact Oracle, post on their forums, and search the web tirelessly for an answer.

You’re my last hope, obi wan kenobi.


Content-Type: application/xop+xml;charset=UTF-8;type="application/soap+xml"
Content-Transfer-Encoding: 8bit
Content-ID: <ffc52b167534468db5a9b212dba929dc>

<?xml version="1.0" encoding="UTF-8" ?>

<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<ns1:getUDRDataResponse xmlns:ns1="http://general.service.webservices.xxxx.com">
<ns1:return ns1:type="com.skire.webservices.util.xml.XMLObject">
<ax21:statusCode xmlns:ax21="http://xml.util.webservices.xxxx.com/xsd">
<ax21:xmlcontents xmlns:ax21="http://xml.util.webservices.xxxx.com/xsd">
&lt ;?xml version="1.0" encoding="UTF-8"?&gt ;
* <report_header>*
* <c1>Name</c1>*
* <c2>Company Name</c2>*
* <c3>Address 1</c3>*
* <c4>Address 2</c4>*
* <c5>Address 3</c5>*
* <c6>City</c6>*
* <c7>State</c7>*
* <c8>Work Phone</c8>*
* <c9>Zip / Postal Code</c9>*
* </report_header>*

Many thanks,

Its not a packet header but rather somehow WebCenter is seeing it as a multipart / MIME attachment. Offhand I’d look into what sorts of content-type headers WebCenter wants but I’ve got zero seat time on that platform so I have no real idea where to look.