This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Web Services and the fly likes Data type checking in Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Data type checking in Axis2" Watch "Data type checking in Axis2" New topic

Data type checking in Axis2

Dan Gunawan

Joined: Jul 25, 2005
Posts: 5
We're currently wanting to use Axis2 to generate the stubs from WSDL provided by outside vendor. Unfortunately although there is an xsd file, the data passed back to the client (us) sometimes is incorrect.

For example, for a URI, which becomes the Java class URI at the client, sometimes the data coming back has characters which caused the instantiation of a new URI class to fail.

My question is, what will be the easiest way to deal with a situation like this. We can probably use JiBx to force all data types to be String (it's all String anyway in the XML payload). But it looks like support for JiBx is rather patchy.

Anyone got any other idea? All help, comments etc. will be much appreciated.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Data type checking in Axis2
jQuery in Action, 3rd edition