Re: [Dev] Passing payloads from API to ESB

2017-11-16 Thread Senuwan Withana
Thank you Dushantha, It also works for me. *Senuwan Withana* Software Engineer - Support Team | WSO2 Email : senu...@wso2.com Mobile: 94773212853 Web: http://www.wso2.com On Thu, Nov 16, 2017 at 11:21 AM, Dushantha Batuwita wrote: > Hi Buddhimala: > > my pleasure > >

Re: [Dev] Passing payloads from API to ESB

2017-11-15 Thread Dushantha Batuwita
Hi Buddhimala: my pleasure regards On Thu, Nov 16, 2017 at 10:40 AM, Buddhimala Ranasinghe wrote: > Hi Dushantha, > > Thank you for the explanation and the solution. It is working for me now. > > Regards, > Buddhimala > > On Wed, Nov 15, 2017 at 5:32 PM, Dushantha

Re: [Dev] Passing payloads from API to ESB

2017-11-15 Thread Dushantha Batuwita
Hi Priya please find the attached image which I was referring in the above answer. sorry for the mixup Regards On Wed, Nov 15, 2017 at 5:30 PM, Dushantha Batuwita wrote: > Hi Piriya > > Above approach, you can implement in the POST and PUT. > The resource type GET produces

Re: [Dev] Passing payloads from API to ESB

2017-11-15 Thread Dushantha Batuwita
Hi Piriya Above approach, you can implement in the POST and PUT. The resource type GET produces a request that does not have a body (payload), hence we set the required parameter as a query parameter when you set the resource GET while creating the API in publisher. (please refer to the attached

Re: [Dev] Passing payloads from API to ESB

2017-11-15 Thread Piriya Sivalingam
Hi Dushantha, Since I have GET, POST,PUT, DELETE methods in my proxy, do you say the above-suggested method will work for GET. I have tried it but could not achieve it. And if I am correct, your example is about POST or PUT method. Could you please let me know whether I can use the same way for

Re: [Dev] Passing payloads from API to ESB

2017-11-15 Thread Dushantha Batuwita
please refer to the above answers Regards On Wed, Nov 15, 2017 at 2:35 PM, Dushantha Batuwita wrote: > Hi Buddhimala > Accessing the JSON payload parameters and retrieving those within the > proxy service can be achieved with the element of the Payload > factory mediator

[Dev] Passing payloads from API to ESB

2017-11-15 Thread Buddhimala Ranasinghe
Hi All, I need to pass a json payload from an API to ESB proxy service. In ESB, I'm using parameters in the passed JSON payload inside payloadFactory mediator in my ESB which will be sent towards a secured SOAP BE. Can you please guide me on this? I need to know how could those parameters can be