Can you give a little more specific example, for example if my get request is 
something like this:

http://localhost:9000/services/SimpleStockQuoteService?param1=abc&param2=xyz

<property name="REST_URL_POSTFIX" value="?" scope="axis2"/>

                  <send>
                     <endpoint>
                        <address 
uri="http://localhost:9000/services/SimpleStockQuoteService"; format="get" />
                     </endpoint>
                  </send>

Thanks



________________________________
 From: Kasun Indrasiri <[email protected]>
To: metin d <[email protected]> 
Cc: "[email protected]" <[email protected]> 
Sent: Friday, March 9, 2012 2:05 PM
Subject: Re: [Dev] REST in Mediator
 

Extract(using property or enrich mediators) the required values from the soap 
message and create:
Property: REST_URL_POSTFIX using property mediator. 

[1] http://wso2.org/project/esb/java/4.0.3/docs/properties_guide.html


On Fri, Mar 9, 2012 at 5:30 PM, metin d <[email protected]> wrote:

I understand from documentation that I can make get requests in this way
>
>
><address uri="http://localhost:9000/services/SimpleStockQuoteService"; 
>format="get"/>
>
>
>BUT, How can I insert parameters into it ?
>
>
>
>________________________________
> From: metin d <[email protected]>
>To: "[email protected]" <[email protected]> 
>Sent: Friday, March 9, 2012 1:31 PM
>Subject: [Dev] REST in Mediator
> 
>
>
>I want to deploy a mediator on ESB. It will take a SOAP message and by 
>extracting some parameters from it I want to make REST calls.
>
>
>Is creating such as  mediator possible in ESB? If yes, do you have any example 
>?
>
>
>
>Thanks.  
>_______________________________________________
>Dev mailing list
>[email protected]
>http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
>
>_______________________________________________
>Dev mailing list
>[email protected]
>http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Kasun Indrasiri
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to