Hi Throwaway. I also had this problem when generating the javacode from
the wsdl. It looks like xmlbeans is broken (which is ok because it
sucks anyway). I changed the databinding mechanism to adb. I suggest
you try the same.
<java classname="org.apache.axis2.wsdl.WSDL2Java">
<arg value="-uri"/>
<arg value="callback_endpoint.wsdl"/>
<arg value="-ss"/>
<arg value="-sd"/>
<arg value="-d"/>
<arg value="adb"/>
<arg value="-o"/>
<arg value="callback_endpoint_service"/>
<arg value="-p"/>
<arg value="au.com.nec.ssd.rfid.ws"/>
<classpath>
<fileset dir="${axis2.home}/lib" includes="*.jar" />
</classpath>
</java>
Warren
> I have generated code using WSDL2Java and the XMLBeans databinding.
>
> However, when I go to compile the code, I get compilation errors in my
> MessageReceiverInOut class.
>
> The errors are:
> symbol : method newXMLStreamReader()
> location: interface org.apache.axiom.om.OMElement
> (org.apache.axiom.om.OMAbstractF
> actory.getOMFactory(),new
> org.apache.axis2.util.StreamWrapper(param.newXMLStreamReader()))
> ;
>
> symbol : variable Factory
> location: interface org.apache.axiom.om.OMElement
> return
> org.apache.axiom.om.OMElement.Factory.parse(
>
> symbol : variable Factory
> location: interface org.apache.axiom.om.OMElement
> return
> org.apache.axiom.om.OMElement.Factory.parse(
>
> It appears that the generated code is trying to using a method
> (newXMLStreamReader) and the Factory class that do not exist in the
> OMElement class.
>
> I am at a loss, here is my WSDL, does anyone have any idea what is going
> wrong here?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]