jQuery in Action, 3rd edition
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
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Data type checking in Axis2
It's not a secret anymore!