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

Emilio Jose Mena Cebrian commented on XFIRE-967:
------------------------------------------------

I thing there is a bug related with type search...

Class XmlBeansSchemaSupport search in XMLBEANS  SchemaTypeLoader


        SchemaType xst = loader.findDocumentType(concreteType);
        
        if (xst == null)
        {    
            xst = loader.findDocumentType(schemaType);
        }
        
but it's only using findDocumentType() method , wich only finds anonymous types 
for declared elements in the included schemas...


It must also search using findType() method  for declared Types (and maybe 
findAttributeType() method for attributes)






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