she_be_me
she_be_me

Reputation: 79

How do i remove the <soapenv:Envelope> <soapenv:Header/> <soapenv:Body> tags from getting generated from my wsdl?

I need to generate a soap request like the below one :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document xmlns:ns2="http://www.xyz" xmlns="thsss.738.syhd.738">
    <Customer>
       <Group>
            <Message>Something</Message>
       </Group>
    </Customer>
</Document>

But the request getting generated is as below:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://eygyjdg.dbajshb/" xmlns:thss="thsss.738.syhd.738" xmlns:xyz="http://www.xyz">
   <soapenv:Header/>

   <soapenv:Body>
      <Document>
         <Customer>
            <Group>
               <Message>Something</Message>
            </Group>
        </Customer>
</Document>

   </soapenv:Body>
</soapenv:Envelope>

Hence i get a namespace on the "Document" element, is not a valid SOAP version Can you please tell me how to go about this.

Upvotes: 0

Views: 647

Answers (0)

Related Questions