Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Data type checking in Axis2  RSS feed

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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!