[ 
http://jira.codehaus.org/browse/XFIRE-967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103375
 ] 

Michael Mattox commented on XFIRE-967:
--------------------------------------

Another note (I hope this is useful for someone).. The fix works with ANT.  The 
potential problem is creating both XSD & generating stubs from the WSDL in the 
same ANT buildfile.  This does not work.  I assume one cannot modify the 
contents of a JAR in an ANT file and have the change taken into account.  There 
must be some kind of cash or something and ANT thinks the JAR is invalid.  I 
believe this is what causes a lot of the NPE people are reporting.  WsGen can't 
find the schemas because the JAR was modified by the xmlbeans task.  Two 
separate invocations of the targets seems to work ok.



> wsgen with xmlbeans binding does not create concrete objects
> ------------------------------------------------------------
>
>                 Key: XFIRE-967
>                 URL: http://jira.codehaus.org/browse/XFIRE-967
>             Project: XFire
>          Issue Type: Bug
>          Components: Generator, XMLBeans
>    Affects Versions: 1.2.5
>         Environment: Mac OS X 10.4.9 with Java 1.5.0_07-164
>            Reporter: Matthew J. Graham
>            Assignee: Dan Diephouse
>         Attachments: testcase.tar, wsdl.zip
>
>
> Using XFire 1.2.5 with XmlBeans 2.2.0 and wsgen (Maven2) to generate stub 
> code produces methods such as:
>     public XmlObject setNode(XmlObject node) throws InternalFaultMessage, 
> InvalidArgumentFaultMessage, InvalidUriFaul tMessage, 
> NodeNotFoundFaultMessage,
> PermissionDeniedFaultMessage
>      {
>          throw new UnsupportedOperationException();
>      } 
> whereas the same beans and XFire1.2RC produced:
>     public SetNodeResponseDocument setNode(SetNodeDocument SetNode)  throws 
> InternalFault_Exception, InvalidArgumentFault_Exception, 
> InvalidUriFault_Exception, NodeNotFoundFault_Exception, 
> PermissionDeniedFault_Exception
>     {
>          throw new UnsupportedOperationException();
>     } 
> XFire 1.2.5 seems to have lost the ability to bind to the specific beans and 
> just produces XmlObject.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email

Reply via email to