Forum Discussion

reboltutorial's avatar
reboltutorial
New Contributor
16 years ago

Why does SOAPUI generate a different namespace in request ?

Hello I have a WSDL file here (generated with Visual Studio):

http://reboltutorial.com/webservices/discordian.wsdl

I have tested it with SoapSonar it did work



Under SOAPUI for request it generates a reb namespace from my domain so that my webservice can only fail:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:reb="http://reboltutorial.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <reb:Discordian>
         <reb:year>?</reb:year>
         <reb:month>?</reb:month>
         <reb:day>?</reb:day>
      </reb:Discordian>
   </soapenv:Body>
</soapenv:Envelope>

2 Replies

  • Hi,

    the message generated by soapUI is syntactically correct, "reb" is just a prefix for the "http://reboltutorial.com/" namespace the service is using. Can you show the XML of the request that SOAP Sonar is creating? (in the XML tab under the input form)

    regards!

    /Ole
    eviware.com
  • This is soapsonar:

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://reboltutorial.com/">
      <soap:Body>
        <tns:Discordian>
          <tns:year>2010</tns:year>
          <tns:month>5</tns:month>
          <tns:day>1</tns:day>
        </tns:Discordian>
      </soap:Body>
    </soap:Envelope>