axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Schaible" <doug...@gmail.com>
Subject Changing the namespace that is being generated by the Axis engine
Date Sun, 20 May 2007 13:34:09 GMT
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"xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Login xmlns="http://BrassRing.WebServices.SSO/">
    </Login>
  </soap:Body>
</soap:Envelope>

Mime
View raw message