| Author |
Help with soapenc:string vs. xsd:string
|
Tom Conklin
Greenhorn
Joined: Apr 13, 2005
Posts: 1
|
|
|
I'm using Axis 1.2 and am trying to change my Strings in my WSDL from "soapenc:string" to "xsd:string" and am having no luck. I'm deploying my complex types with beanMapping. Is there attribute to beanMapping where I can specify "xsd:string" rather than "soapenc:string"?
|
 |
Mark Petro
Greenhorn
Joined: May 03, 2005
Posts: 1
|
|
I was able to get around this problem under Axis 1.2RC3 by adding the following type mapping under the <service> element of my wsdd config file. <typeMapping encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns1:string" serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory" deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory" type="java:java.lang.String" xmlns:ns1="http://www.w3.org/2001/XMLSchema" /> This may even work under the <globalConfiguration> element (and thus for all deployed services) but I haven't tried it yet. Mark
|
 |
 |
|
|
subject: Help with soapenc:string vs. xsd:string
|
|
|