Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data type checking in Axis2

 
Dan Gunawan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic