Hi Garth, Is it the actual web service which returns SOAP as the response for POX (XML/HTTP) request, or Synapse. If it is the former you need to ask this question from the web service container guys...
If the request you send to synapse is POX then synapse will respond to you as POX regardless of whether it receives a SOAP or POX.. Could you please clarify the problem a little bit more? Thanks, Ruwan On Fri, May 2, 2008 at 3:04 AM, Garth Patil <[EMAIL PROTECTED]> wrote: > Hi All, > I'm using synapse to proxy a web service that uses XML over HTTP. My > configuration looks like this: > <definitions xmlns= "http://ws.apache.org/ns/synapse"> > <proxy name="TestProxy"> > <target> > <endpoint> > <address uri="http://someremoteservice.com/msg" format="pox" /> > </endpoint> > <inSequence> > <log level= "full" /> > </inSequence> > <outSequence> > <log level= "full" /> > <send /> > </outSequence> > </target> > </proxy> > </definitions> > > I post XML to localhost:8080/soap/TestProxy, and synapse passes it to > the specified endpoint without changing it. The remote service returns > XML which is wrapped in soapenv:Body and soapenv:Envelope tags. Is > there a way to specify that the response (like the request) remain > unadulterated by SOAP tags? > Thanks, > Garth > -- Ruwan Linton http://www.wso2.org - "Oxygenating the Web Services Platform"
