This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Web Services and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark ""issues" with 1.2 wsdl" Watch ""issues" with 1.2 wsdl" New topic

"issues" with 1.2 wsdl

Bill Tims

Joined: Sep 28, 2005
Posts: 4
I am generating a java client that lets me make calls to a Microsoft web service.

I used IBM's RAD to generate the java code and all worked well. The server has now been updated and includes 1.2 support...unfortunately RAD 6.1, which I am using does not.

When I try and use Axis 1.4 wsdl2java to generate the same client data, I have problems. In the wsdl there several instances of a type s1:char variables. RAD converted this into an int, which shouldn't work but did. Axis converts the s1:char into org.apache.axis.types.UnsignedShort which should be fine, but the Microsoft side does not appear to be able to handle this conversion.

Any suggestions?

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
My guess is that you may need to define custom type mappings when you use the wsdl2java tool.
Here is the first in a three-part article discussing the subject:
Best wishes!
I agree. Here's the link:
subject: "issues" with 1.2 wsdl
It's not a secret anymore!