Erlang/OTP Forums

Author Message

<  Open Telecom Platform (OTP)  ~  Forwarding SOAP requests from YAWS to another endpoint

jacek99
Posted: Tue Jun 16, 2009 5:55 pm Reply with quote
User Joined: 26 May 2009 Posts: 27 Location: Montreal, Canada
We have an unusual requirement where for one particular web service, we have to handle it first in YAWS, extract some data from the XML payload and process it locally and then forward the SOAP request (exactly as is) to another Java web service and return its result back to the client.

So, YAWS is basically a proxy between the client and the SOAP endpoint behind it.

I am having (a very) hard time figuring out how to take the incoming YAWS Arg record and converting that to the appropriate values needed for http:request(post,?) in order to make this happen.

Does anyone have any code samples that do something similar?

thx
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum