Soap4r envelope issue

  • Thread starter Veera Sundaravel
  • Start date
V

Veera Sundaravel

Hi all,

I'm trying to create soap envelope where I can't add my own attributes
like tns, types etc.

for example my service provider asking the envelope format like below,

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://serviceprovider.com/"
xmlns:types="http://serviceprovider.com/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"


but my envelope is generating like below,

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"

can any one please suggest me how can I include that two additional
attributes
xmlns:tns="http://serviceprovider.com/"
xmlns:types="http://serviceprovider.com/encodedTypes"

Regards,
T.Veeraa.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top