Hi,

I was previously using XFire 1.2RC1 with XmlBeans 2.1.0 and generating server side stubs with ws-gen under Maven. This gave me methods such as:

   public SetNodeResponseDocument setNode(SetNodeDocument SetNode)
throws InternalFault_Exception, InvalidArgumentFault_Exception, InvalidU riFault_Exception, NodeNotFoundFault_Exception, PermissionDeniedFault_Exception
   {
       throw new UnsupportedOperationException();
   }

However, with XFire 1.2.5 and XmlBeans 2.2.0, I'm getting:

   public XmlObject setNode(XmlObject node)
throws InternalFaultMessage, InvalidArgumentFaultMessage, InvalidUriFaul
tMessage, NodeNotFoundFaultMessage, PermissionDeniedFaultMessage
   {
       throw new UnsupportedOperationException();
   }

I have generated and compiled the beans from the schema with XmlBeans 2.2.0 and they are in the classpath for the ws-gen task. Why is the newer version of XFire just giving me a generic XmlObject instead of the specific bean type? Am I going to have to cast the XmlObjects by hand into their respective types?

   Cheers,

   Matthew

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to