FAQ
Hi,

The requestor doesnt send any additional headers to the request, So I have
to route the messages based on the SoapAction. ( Payload format)

But when I send a request, Soap UI returns this error.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
       <soap:Fault>
          <faultcode>soap:Server</faultcode>
          <faultstring>The given SOAPAction http://test.com/test1/Enquiry
does not match an operation.</faultstring>
       </soap:Fault>
    </soap:Body>
</soap:Envelope>


This is my camel route:

<choice>
  <when>



<xpath>/soapenv:Envelope/soapenv:Header/wsa:Action/text()='http://test.com/test1/Enquiry'</xpath>

   <to
    uri="direct:B" />
  </when>
  <otherwise>
   <setFaultBody>
    <simple>Invalid Operation</simple>
   </setFaultBody>
  </otherwise>
</choice>

Any clues ?

Regards
Guru





--
View this message in context: http://camel.465427.n5.nabble.com/Route-based-on-Soap-Action-tp5749316.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
groupusers @
categoriescamel
postedMar 25, '14 at 5:42a
activeMar 26, '14 at 6:28a
posts3
users2
websitecamel.apache.org

2 users in discussion

Gnanaguru S: 2 posts Christian Müller: 1 post

People

Translate

site design / logo © 2022 Grokbase