Oracle ESb Dynamic routing error

Response Document


The invocation resulted in an error: .
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Serverfaultcode>
<faultstring>BEA-380001: Internal Server Errorfaultstring>
<detail>
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380001con:errorCode>
<con:reason>Internal Server Errorcon:reason>
<con:location>
<con:node>RealmBasedRoutingcon:node>
<con:path>response-pipelinecon:path>
con:location>
con:fault>
detail>
soapenv:Fault>
soapenv:Body>
soapenv:Envelope>
If i look under the Invocation tree, Under the Message context
Message Context Changes


added $outbound
<con:endpoint name="BusinessService$dynaRouting$BS$bondSearchBS" xmlns:con="http://www.bea.com/wli/sb/context">
<con:service/>
<con:transport>
<con:uri>
http://172.16.113.231:8080/WebApp/SearchService
con:uri>
<con:mode>request-responsecon:mode>
<con:qualityOfService>best-effortcon:qualityOfService>
<con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<http:Content-Type>text/xml; charset=utf-8http:Content-Type>
tran:headers>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8tran:encoding>
con:request>
<con:response xsi:type="http:HttpResponseMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tran:headers xsi:type="http:HttpResponseHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
<tran:user-header name="X-Powered-By" value="Servlet 2.4; JBoss-4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231054)/Tomcat-5.5"/>
<http:Connection>closehttp:Connection>
<http:Content-Type>text/xml;charset=utf-8http:Content-Type>
<http:Date>Wed, 11 Feb 2009 15:11:47 GMThttp:Date>
<http:Server>Apache-Coyote/1.1http:Server>
<http:Transfer-Encoding>chunkedhttp:Transfer-Encoding>
tran:headers>
<tran:response-code xmlns:tran="http://www.bea.com/wli/sb/transports">2tran:response-code>
<tran:response-message xmlns:tran="http://www.bea.com/wli/sb/transports">Internal Server Errortran:response-message>
<tran:encoding xmlns:tran="http://www.bea.com/wli/sb/transports">utf-8tran:encoding>
<http:http-response-code>500http:http-response-code>
con:response>
con:transport>
<con:security>
<con:doOutboundWss>falsecon:doOutboundWss>
con:security>
con:endpoint>


changed $body
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPActionfaultcode>
<faultstring>no SOAPAction header!faultstring>
soapenv:Fault>
soapenv:Body>
This error was resolved by adding Transport level SoapAction header when doing dynamic routing. SoapAction was set to empty string, this resolved the error as service then looks for operation details in soap body
