Hi Angelo,
Would you please create a jira ticket for this issue?
Thanks
Freeman
angeloNZ wrote:
Hi Freeman,
I managed to setup tcpmon to listen between the cxf-provider and the
external web service. Here's the request dump. The soap request looks
weird to me as the <rem:getXMLFeed> was repeated twice (tcpmon problem ?),
however the response body looked ok as the xsd and xsi namespaces were all
returned correctly by the external web service. So something must be
happening inside ServiceMix as the response is brought back that strips the
xsd namespace and makes the xsi namespace appear as "xmlns:xsi=xsi".
tcpmon request:
POST /TREISFeedWeb/services/FeedService HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Type: text/xml
Accept: *
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_12
Host: wl0438.solutions.infinity.co.nz:9070
Connection: keep-alive
Content-Length: 487
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<rem:getXMLFeed
xmlns:rem="http://remote.service.callcenter.nzta.govt.nz">
<rem:userName>chris</rem:userName>
<rem:password>password</rem:password>
</rem:getXMLFeed>
<rem:getXMLFeed
xmlns:rem="http://remote.service.callcenter.nzta.govt.nz">
<rem:userName>chris</rem:userName>
<rem:password>password</rem:password>
</rem:getXMLFeed>
</soap:Body></soap:Envelope>
http://www.nabble.com/file/p22529529/response.txt response.txt
Angelo
Freeman Fang wrote:
Hi,
Thanks.
And I really want to see the soap message send out by your cxf bc
provider, you can insert some tool like tcpmonitor between your cxf bc
provider and externel Axis services to dump the onwire soapmessage.
Freeman