NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
modify response message first tag


Joined: 09 Sep 2009
Posts: 1
Reply with quote
Hi, I've implementing a SOAP client/server using nuSOAP.
- I have a server with WSDL set off
- 'document' mode. So I'm using SOAP messaging, not using RPC

- Client is working in 'document' mode also

This is an example of how my client is sending a simple message:
Code:
<SOAP-ENV:Body>
    <Coco>
         <Caca>asasas</Caca>
    </Coco>
</SOAP-ENV:Body>


This is how my server is responding:
Code:
<SOAP-ENV:Body>
    <ns1:CocoResponse xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
        <Caca>asasas</Caca>
    </ns1:CocoResponse>
</SOAP-ENV:Body>


Is it possible to alter the above bold parts? I would like to configure the serve to respond like the following:
- nuSOAP pads "response" to the sent root tag
- appends ns1 namesapace
Code:
 <SOAP-ENV:Body>
      <CocoBLA>
            <Caca>asasas</Caca>
      </CocoBLA>
 </SOAP-ENV:Body>


Is it possible to control this?
View user's profileFind all posts by cmancreSend private message
modify response message first tag
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic