When using servicemix-http as a provider, our provider web service returns a
very large xml response, this gets truncated somewhere in servicemix.
We had the same problem when using SaajBinding, we fixed this locally by
extending the SaajBinding and overridng the
onMessageExchange
in particular just after the call() we added response.saveChanges(); e.g.
SOAPMessage response = connection.call(inMessage, soapEndpoint);
response.saveChanges();
Please would you help fix this, shall I raise a JIRA for this ?
thank you. Pete
XML Config is
<!-- Http based client recieve/send html request/response passes message to
a router component-->
<sm:activationSpec componentName="httpReceiver"
service="my:httpBinding" endpoint="httpReceiver"
destinationService="my:router">
<sm:component>
<bean
xmlns="http://xbean.org/schemas/spring/1.0"
class="org.apache.servicemix.components.http.HttpConnector">
<property name="host"
value="localhost" />
<property name="port" value="8912"
/>
<property name="marshaler">
<bean
class="org.apache.servicemix.components.http.HttpMarshaler" />
</property>
</bean>
</sm:component>
</sm:activationSpec>
then there is an eip router that routes to
<sm:component>
<http:component>
<http:endpoints>
<http:endpoint service="my:search"
endpoint="search"
role="provider"
soap="true"
soapAction="http://www.blah.com/blah"
locationURI="http://www.blah.com:80/blah.asmx"/>
</http:endpoints>
</http:component>
</sm:component>
--
View this message in context:
http://www.nabble.com/servicemix-http-provider-truncates-a-large-xml-response-tf1857975.html#a5074156
Sent from the ServiceMix - User forum at Nabble.com.