Hi,

 

I need to implement a WS client and want to use strong types defined in a XSD, but I came to the following problems:

 

1.       The namespace deifined in the web service looks like this “test.ws.com/ver2”. When I execute the WSDL2Java tool with specified package “test.ws.com”  it gets ignored and the created classes become the package as specified in the namespace. Of course it comes to a compiler error, because of the invalid format.

2.       In the “stub” class the following method is called, which does not exist; org.apache.axiom.om.OMElement.newXMLStreamReader()

This I found is probably some version mismatch. The method is now called getXMLStreamReader.

3.       Again in the “stub” class the method “org.apache.axiom.om.OMElement.Factory.parse” is called in a static way and could not be found in the provided packages.

 

Could you, please, point me to some solution or alternative?

I use Axis2 v1.0 with databinding name “xmlbeans”.

 

Thank you in advance.

 

Br,

Atanas

 

Reply via email to