English 中文(简体)
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

问题回答

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.





相关问题
Backwards compatibility and Web Services

So I m a bit new to web services and a situation recently came up where we added an element to a data-type that gets returned to the client. The clients complained that this broke their ...

Cannot create Java Webservice in Eclipse

I would like to create a Web Service in Eclipse. I already wrote a class and generated a WSDL file from it with Java2WSDL. I started a new "Dynamic Web Project" and added the axis2 facet to it. After ...

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 ...

Consume a webservice - WS Security

I am about to develop a windows applikation which need to communicate with an Axis2 webservice using Web Service Security - all the documentation says is, that the SOAP security communication is ...

How do you Change a Package s Log Level using Log4j?

I ve encountered the following bug: http://issues.apache.org/jira/browse/AXIS2-4363 It states the following: This error only occurs when log level for org.apache.axiom is DEBUG so a ...

热门标签