J
Jan Jacobs
Hi there,
I have a webservice which has a method called "DeliverReq". The soap
envelope looks like this (simplified)
<envelope>
<header>
...
</header>
<body>
<deliverReq>
<param1/>
<param2/>
</deliverReq>
</body>
</envelope>
This method should return a complex type called "DeliverRsp". The
returning soap envelope looks like this (overly simplified too :
<envelope>
<header>
...
</header>
<body>
<deliverReqResponse>
<deliverRsp>
<complexField1/>
<complexField2/>
</deliverRsp>
</deliverReqResponse>
</body>
</envelope>
However, although I'm the server, I have no control over the layout of
the soap messages, I have to follow the client here. This client
requires me to put the DeliverRsp directly under the Body tag, without
the deliverReqResponse tag. How can I accomplish this?
(the next xml is how i want the soap message to be formatted)
<envelope>
<header>
...
</header>
<body>
<deliverRsp>
<complexField1/>
<complexField2/>
</deliverRsp>
</body>
</envelope>
Any help here would be greatly appreciated!
Jan Jacobs
I have a webservice which has a method called "DeliverReq". The soap
envelope looks like this (simplified)
<envelope>
<header>
...
</header>
<body>
<deliverReq>
<param1/>
<param2/>
</deliverReq>
</body>
</envelope>
This method should return a complex type called "DeliverRsp". The
returning soap envelope looks like this (overly simplified too :
<envelope>
<header>
...
</header>
<body>
<deliverReqResponse>
<deliverRsp>
<complexField1/>
<complexField2/>
</deliverRsp>
</deliverReqResponse>
</body>
</envelope>
However, although I'm the server, I have no control over the layout of
the soap messages, I have to follow the client here. This client
requires me to put the DeliverRsp directly under the Body tag, without
the deliverReqResponse tag. How can I accomplish this?
(the next xml is how i want the soap message to be formatted)
<envelope>
<header>
...
</header>
<body>
<deliverRsp>
<complexField1/>
<complexField2/>
</deliverRsp>
</body>
</envelope>
Any help here would be greatly appreciated!
Jan Jacobs