Hi,
When I call a webservice in SOAPUI, it responds as expected (a soap response). But when I put a Mule webservice proxy in between (simple synchronous http inbound to https outbound service) I get a xop/xml response as some sort of attachment from the webservice (and thus, also from the proxy).
The response starts with:
-----
------=_Part_0_11129126.1273204244731
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml; charset=UTF-8"
Content-Transfer-Encoding: binary
Content-ID: <
root.m...@cxf.apache.org>
-----
only then followed by the actual <soap:Envelope>.
I can see in the log4j debug messages that it's the webservice that is generating the xop/xml, but I suspect it is caused by the Mule headers we are sending because a direct call to the webservice with SOAPUI or a generated JAXWS client doesn't return xop/xml.
I suspect that there could be a Mule instance on the webservice end as well, but I'm not sure as it's a webservice from a third party. Could it be that the xop/xml is a result of Mule to Mule communication? Could the http header "X-MULE_REMOTE_SYNC: true" affect the response of the Mule instance on the other end?
Now the interesting thing is that I have two proxy services defined in the same model which connects to the same third party at a different endpoint, and the other one works fine. I suspect that this has something to do with message length, but I'm not sure ...
Is there some way to either prevent the xop response, or to unpack the xop response so it returns the actual content?
Mule config:
-----
<service name="myservice">
<inbound>
<inbound-endpoint address="
http://localhost:9080/some/service" synchronous="true">
<no-action-transformer/>
</inbound-endpoint>
</inbound>
<outbound>
<pass-through-router>
<outbound-endpoint address="
https://some.server.com/some/other/service" synchronous="true">
<no-action-transformer/>
</outbound-endpoint>
</pass-through-router>
</outbound>
</service>
-----
See the attachment for the anonymised log.
Any help would be appreciated.
Regards,
André