Hi Doug,

The namespaces are the same in your two samples - the namespace *prefixes* are different ("soapenv" vs. "soap"), but these are just placeholders. I suspect the real issue is that your SOAP Body element is missing the expected <Login> element.

How are you trying to call the service?

 - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Axis2 Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Doug Schaible wrote:
Good Morning,
How do you change the namespace that is used by the Axis engine when it generates the SOAP body and envelope tags? I am trying to call a .Net WS and it expects <soap:Body> and <soap:Envelope>, but <soapenv:Body> and <soapenv:Envelope> are being created. Thanks,
Doug
Example of what is being generated:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd=" http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Body>
</soapenv:Body>
</soapenv:Envelope>
The .Net WS is expecting this: <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema>"xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Body>
    <Login xmlns=" http://BrassRing.WebServices.SSO/";>
    </Login>
  </soap:Body>
</soap:Envelope>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to