Hi Rukshan, The "Action" property is defined in the header of the message it receives. It's an SOAP header defined as the "SOAPAction" header. It can be retrieved through the get-property() method. More on that can be found on [1]
It is used to provide the intent of the message sent and to filter out the SOAP messages from HTTP ( among other uses). You can read more on SOAPAction header here [2]. ex SOAP message: POST http://localhost:9000/services/MTOMSwASampleService HTTP/1.1 Host: 127.0.0.1 SOAPAction: urn:uploadFileUsingMTOM Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_B94996494E1DD5F9B51177413845353; type= "application/xop+xml"; start="<0.urn:uuid:[email protected]>"; start-info= "text/xml"; charset=UTF-8 Transfer-Encoding: chunked Connection: Keep-Alive User-Agent: Synapse-HttpComponents-NIO Hope this helps. [1] https://docs.wso2.com/display/ESB403/SOAP+Headers [2] http://archive.oreilly.com/pub/post/unraveling_the_mystery_of_soap.html On Thu, May 21, 2015 at 9:50 AM, Rukshan Premathunga <[email protected]> wrote: > Hi, > > I ran the 51st sample of the ESB. > > <filter source="get-property('Action')" regex="urn:uploadFileUsingMTOM"> > <property name="example" value="mtom"/> > <send> > <endpoint> > <address uri=" > http://localhost:9000/services/MTOMSwASampleService" optimize="mtom"/> > </endpoint> > </send> > </filter> > > Does anyone know what the "Action" property is, where it is defined and > what it does? > > Thanks and Regards. > > > > -- > Rukshan Chathuranga. > Software Engineer. > WSO2, Inc. > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Sachith Withana Software Engineer; WSO2 Inc.; http://wso2.com E-mail: sachith AT wso2.com M: +94715518127 Linked-In: <http://goog_416592669>https://lk.linkedin.com/in/sachithwithana
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
