WSO2 ESB how to handle soap operations independently -


I need to comfortably connect "every one of my soap service" to the service. In I Wso2-esb I With a predefined wsdl, a new proxy service is defined, so far so good, I have published the service and I can "see" the operations from Soap-UE.

Now I need to define an implication (I think), my first problem is that I need to distinguish between op1, op2 and op3 because every soap action Goes to a different comfort service

what kind of mediator does

Thanks!

here the image details Enter

This is very similar to Escannary where you have any message in the form of EOP No value, to use SOAP header value for routing.

Well, what you are asked for the SOAP operation, you have to get the value of SOAP header, here's a sample proxy:

   & Lt; Property name = "MY_SOAP_ACTION" expression = "received-asset ('action')" scope = "default" type = "STRING" /> & Lt; Log level = "custom" & gt; & Lt; Property Name = "* Action Sample 1" expression = "get-property ('MY_SOAP_ACTION')" /> & Lt; / Logs & gt; & Lt; Log level = "custom" & gt; & Lt; Property Name = "* Action Sample 2" expression = "$ ctx: MY_SOAP_ACTION" /> & Lt; / Logs & gt; & Lt; Filter source = "received-asset ('MY_SOAP_ACTION')" regex = ". * Mediation. *" & Gt; & Lt; Then & gt; & Lt; Log level = "custom" & gt; & Lt; Property name = "* Rating" value = "Right inside filter" /> & Lt; / Logs & gt; & Lt; / Then & gt; & Lt; Rest & gt; & Lt; Log level = "custom" & gt; & Lt; Property name = "* Rating" value = "Incorrect inside filter" /> & Lt; / Logs & gt; & Lt; / Left & gt; & Lt; / Filter & gt; & Lt; / InSequence & gt; & Lt; / Target & gt; & Lt; Description / & gt; & Lt; / Proxy & gt;   

I hope this will help you.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -