File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Help with soapenc:string vs. xsd:string Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Help with soapenc:string vs. xsd:string" Watch "Help with soapenc:string vs. xsd:string" New topic

Help with soapenc:string vs. xsd:string

Tom Conklin

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

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.


This may even work under the <globalConfiguration> element (and thus for all deployed services) but I haven't tried it yet.

jQuery in Action, 3rd edition
subject: Help with soapenc:string vs. xsd:string
It's not a secret anymore!