aspose file tools*
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
JavaRanch » Java Forums » Java » Web Services
Bookmark ""issues" with 1.2 wsdl" Watch ""issues" with 1.2 wsdl" New topic
Author

"issues" with 1.2 wsdl

Bill Tims
Greenhorn

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?


Bill
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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:
http://wso2.org/library/tutorials/reference-guide-axis2-code-generation-parameters-part-1
Best wishes!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: "issues" with 1.2 wsdl