Hi Angelo,
One more question, as you said, the response from your axis service is
correct, as dumped from [1],
Where you get the incorrect response as you mentioned previously [2]
And your work flow is
http:soap-consumer -> camel > cxf-provider-bc > external service
Would you mind append your projects(the SA, SUs) to this jira, I know
you are using SOAPUI to send request, it's also fine for me to reproduce
the problem, as long as you append the request content you send using
SOAPUI.
A testcase is very helpful to figure out this issue.
Btw, would you please use cxf bc consumer instead of http:soap-consumer
in your work flow also, tell me if you still see the problem.
[1]http://www.nabble.com/file/p22529529/response.txt
[2]http://www.nabble.com/file/p22488949/soapresponse.xml
Thanks again
Freeman
angeloNZ wrote:
Done. https://issues.apache.org/activemq/browse/SM-1825
https://issues.apache.org/activemq/browse/SM-1825
Thanks for giving attention to this issue.
Freeman Fang wrote:
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