I'm having a problem
with the namespaces in the WSDL generated using the "?wsdl" URL
parameter. I'm using Axis 1.2
alpha (Java version) and according to
the documentation it defaults to use SOAP 1.1, which is what I want.
After my service is deployed,
I retrieve the WSDL with the correct URL and the "?wsdl" parameter. In the
returned WSDL, Axis is mapping
all of the primitive types to the SOAP 1.2 "http://www.w3.org/2003/05/soap-encoding" namespace. I was expecting it to use the SOAP 1.1 "http://schemas.xmlsoap.org/soap/encoding/" namespace.
It's creating errors with other systems because they only support SOAP 1.1.
I've got these properties in my WSDD
file:
<globalConfiguration>
<parameter name="enable2DArrayEncoding" value="true"/>
<parameter name="sendMultiRefs" value="false"/>
<parameter name="sendXsiTypes" value="true"/>
</globalConfiguration>
<parameter name="enable2DArrayEncoding" value="true"/>
<parameter name="sendMultiRefs" value="false"/>
<parameter name="sendXsiTypes" value="true"/>
</globalConfiguration>
I've got these initialization parameters in my web.xml
when the AxisServlet starts up:
<servlet>
<servlet-name>
AxisServlet
</servlet-name>
<display-name>
Apache-Axis Servlet
</display-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
<init-param>
<param-name>
axis.ServerConfigFile
</param-name>
<param-value>
/server-config.wsdd
</param-value>
</init-param>
<init-param>
<param-name>
use-servlet-security
</param-name>
<param-value>
true
</param-value>
</init-param>
<init-param>
<param-name>
axis.development.system
</param-name>
<param-value>
false
</param-value>
</init-param>
<servlet-name>
AxisServlet
</servlet-name>
<display-name>
Apache-Axis Servlet
</display-name>
<servlet-class>
org.apache.axis.transport.http.AxisServlet
</servlet-class>
<init-param>
<param-name>
axis.ServerConfigFile
</param-name>
<param-value>
/server-config.wsdd
</param-value>
</init-param>
<init-param>
<param-name>
use-servlet-security
</param-name>
<param-value>
true
</param-value>
</init-param>
<init-param>
<param-name>
axis.development.system
</param-name>
<param-value>
false
</param-value>
</init-param>
....
</servlet>
Is there something I'm
missing or need to configure? Thanks in advance if there's anyone else out there
who can help me.
Ben