Hi Harm,
   Well if you want to match to different method signatures you will 
have to write them out separately within different property mediator 
elements. And if  those are under a different namespace then that too 
will needed  to be provided  as before.

Regards,
Dinuka

Harm Verhagen wrote:
>
> Saliay, Paul, OK, I understand thanks.
>
> I have some further inquiries how xpath can be used with wso2.
> Is it also possible to match _any_  parameter called 'token'  with an 
> xpath?
> I want to match for _any_ method, the parameter 'token' in the esb.  
> (so not only for getMessageStatus(), but also for foo(token,...)  
> bar(token,...) etc.)
>
> Regards,
> Harm
>
>
> On Sat, Sep 27, 2008 at 4:01 AM, Saliya Ekanayake <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi Harm, see the comments below.
>
>
>     The WSO2 ESB executes XPath evaluation for the SOAP Body element. This
>     means that the XPath to the token element is //getMessageStatus/token,
>     but since the getMessageStatus element is namespace qualified (i.e
>     {http://webservice.service.platform.boosttechhouse.com/}getMessageStatus
>     
> <http://webservice.service.platform.boosttechhouse.com/%7DgetMessageStatus>),
>     we need to define the particular namespace as well. The namespace
>     prefix
>     may change from prefix presented in the actual payload. So in your
>     case
>     the correct syntax is,
>
>     <syn:property xmlns:m0="
>     
> <http://services.samples/web>http://webservice.service.platform.boosttechhouse.com/
>     <http://services.samples/web>" name="token"
>     expression="//m0:getMessageStatus/token"/>
>
>     Regards,
>     Saliya
>
>     >
>     > What am I missing ?
>     > Does anyone have an idea?
>     >
>     > Regards,
>     > Harm
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > Esb-java-user mailing list
>     > [email protected] <mailto:[email protected]>
>     > http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>     >
>
>
>     _______________________________________________
>     Esb-java-user mailing list
>     [email protected] <mailto:[email protected]>
>     http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user
>   


_______________________________________________
Esb-java-user mailing list
[email protected]
http://mailman.wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to