Hi Damitha,
The client is expecting. <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <MsgResponse xmlns="urn:msg"> <returnval xsi:type="MsgType" type="message">Message Text</returnval> </MsgResponse> </soapenv:Body> </soapenv:Envelope> Axis2/C is currently sending <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <n:MsgResponse xmlns:n="urn:msg"> <ns1:returnval xsi:type="MsgType" type="message">message Text</ns1:returnval> </n:MsgResponse> </soapenv:Body> </soapenv:Envelope> Thanks for any commnets. richard. On Wed, Feb 9, 2011 at 5:56 PM, Damitha Kumarage <[email protected]> wrote: > Hi Richard, > Can you show us the message that client expects and what you actually > receive from Axis2/C?. > Axis2/C architeture allows handlers only to manipulate soap headers. > Thanks, > Damitha > > Richard Offer wrote: > >> >> Hi, >> >> I'm developing a replacement axis2/c based web service that needs to >> inter-operate with an existing client. >> >> >> The client is expecting a specific response that I can't seem to get with >> Axis (my guess is that the client is using its own hand-coded XML parser >> rather than a toolkit, so it needs byte-for-byte compatible message with the >> existing service). >> >> >> I had tried to use a Apache Filter module, but that didn't seem to work. >> >> If I take the axis2 handler approach, is there a pointer to how to >> approach modifying the body content within a handler function ? >> >> >> Thanks, >> >> richard. >> >> > > -- > __________________________________________________________________ > > Damitha Kumarage > Technical Lead; WSO2 Inc. > "Oxygenating the Web Service Platform; " http://www.wso2.com/ > > blog: " http://damithakumarage.wordpress.com/ > __________________________________________________________________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
