Hi all, 

I'm currently using MyEclipse which uses Xfire for it's Web Service generation. 
 Which seems to work very well most of the time. However I've run into a 
problem which is driving me up the wall... Basically I've defined my doc/Lit 
WSDL first and have a XML datatype like this :- 


Code:   

<xsd:element name="getAllCollectionItemsChildrenResponse"> 
            <xsd:complexType> 
               <xsd:sequence> 
                  <xsd:element name="itemList" type="tns:item" minOccurs="0" 
maxOccurs="unbounded"/> 
               </xsd:sequence> 
            </xsd:complexType> 
         </xsd:element> 
         <xsd:complexType name="item"> 
            <xsd:sequence> 
               <xsd:element name="itemPID" type="xsd:string"/> 
               <xsd:element name="isCollection" type="xsd:boolean"/> 
            </xsd:sequence> 
            </xsd:complexType> 
        


After I've gone through the 'Create New Webservice' wizard which generates the 
Java code, I get the following method in my 'MyRepo_FedoraUtilsImpl.java :- 


Code:   

public XmlObject getCollectionItems(String parentCollectionPID) { 
      throw new UnsupportedOperationException(); 
   } 
        


At which point I get very stuck, this XmlObject type method is blatantly wrong 
(I want some sort of itemList type). I managed to track down an xfire bug 
relating to this http://jira.codehaus.org/browse/XFIRE-967 Unfortunately it 
appears that it hasn't been resolved. 

Have anybody else come across this issue and is there a fix I can easily do? 



Any help would be very much appreciated. Keep up the good work :-) 

Cheers 
Simon
 
PS I've posted this on the MyEclipse board to see if the guys there have any 
ideas too.
*****************************************************************************************
To view the terms under which this email is distributed, please go to 
http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to