Hi,
I have a proxy with a disabled endpoint suspension. I'm using a fake
endpoint and if i call the endpoint in normal way i can retrieve the SOAP
Fault in fault sequence. Now I have a iterator mediator which calls the
endpoint. On the fault sequence i have aggregate mediator and on the on
complete method I'm getting back the aggregated result. But I'm not getting
the soap fault message aggregated but getting the request aggregated
instead. Any help on this would be appreciated.
Following is the structure of my proxy.
<proxy name="SplitMessageProxy"
transports="https http"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<sequence key="iterateSeq"/>
</inSequence>
<outSequence>
<sequence key="onAggregate"/>
</outSequence>
<faultSequence>
<sequence key="onAggregate"/>
</faultSequence>
</target>
</proxy>
here outSequence is never used.
request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ser="http://services.samples" xmlns:xsd="http://services.samples/xsd">
<soapenv:Header/>
<soapenv:Body>
<ser:getQuote>
<ser:request>
<ser:symbol>CHECFK</ser:symbol>
</ser:request>
</ser:getQuote>
<ser:getQuote>
<ser:request>
<ser:symbol>CHECFK</ser:symbol>
</ser:request>
</ser:getQuote>
</soapenv:Body>
</soapenv:Envelope>
Aggregated response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ser:getQuote xmlns:ser="http://services.samples">
<ser:request>
<ser:symbol>CHECFK</ser:symbol>
</ser:request>
</ser:getQuote>
<ser:getQuote xmlns:ser="http://services.samples"></ser:getQuote>
<ser:getQuote xmlns:ser="http://services.samples">
<ser:request>
<ser:symbol>CHECFK</ser:symbol>
</ser:request>
</ser:getQuote>
</soapenv:Body>
</soapenv:Envelope>
Thanks,
Damith.
--
Software Engineer
WSO2 Inc.; http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
lean.enterprise.middleware
mobile: *+94728671315*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev