File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Data type checking in Axis2

Dan Gunawan
Greenhorn

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.
 
 
subject: Data type checking in Axis2