Yoni
Yoni

Reputation: 10321

how to customize the xsd that axis2 generates

I am following the "web service from pojo"[1] bottom-up guide in axis2 documentations, but the wsdl that is generated is not good. Specifically, the xsd schema that is embedded in the wsdl is not good and I want to customize it. I want to allow cyclic references, in a similar fashion to what jaxb lets you do with XMLID and XMLREFID.

Any ideas?

Thanks

[1] -> http://ws.apache.org/axis2/1_5_1/pojoguide.html

Upvotes: 3

Views: 1601

Answers (1)

blank
blank

Reputation: 18170

If you use the Netbeans plugin for AXIS2 (tutorial here) you can specify to edit the WSDL, otherwise I can't help, sorry. Maybe you could look at the options available for the ant task?

I do find AXIS2 overly painful compared to other web service frameworks, and the documentation leaves a lot to be desired.

Upvotes: 2

Related Questions