facebook

Problem with xFire WSDL to Java code generation

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #285850 Reply

    simonwlamb
    Member

    Hi all,

    Firstly I’d like to say I’m very impressed with the Web Services integration within MyEclipse, it certainly has made developing and deploying them so much more easier!

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

    
    <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 I get the following method in my ‘MyRepo_FedoraUtilsImpl.java :-

    
    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?

    Here is my MyEclipse Installation details :-

    
    *** Date: 
    12 June 2008 18:03:39 o'clock BST
    
    ** System properties:
    OS=WindowsVista
    OS version=6.0
    Java version=1.5.0_11
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710
    
    
    *** Eclipse details:
    MyEclipse Enterprise Workbench
    
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710
    
    
    
    
    Eclipse Platform
    
    Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
    Build id: M20070921-1145
    
    
    Eclipse RCP
    
    Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
    Build id: M20070921-1145
    
    
    Eclipse Java Development Tools
    
    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: M20070921-1145
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
    Build id: M20070921-1145
    
    
    Eclipse Project SDK
    
    Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
    Build id: M20070921-1145
    
    
    Eclipse Graphical Editing Framework
    
    Version: 3.3.1.v20070814
    Build id: 20070814-1555
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\applications\MyEclipse\eclipse\eclipse.exe
    -name
    Eclipse
    --launcher.library
    C:\applications\MyEclipse\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
    -startup
    C:\applications\MyEclipse\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -exitdata
    15f0_68
    -vm
    C:\applications\MyEclipse\jre\bin\javaw.exe
    

    Any help would be very much appreciated. Keep up the good work 🙂

    Cheers
    Simon

    #285853 Reply

    Loyal Water
    Member

    Simon,
    Can you cross post your query on the XFire forums as well. I’ll check with my team in the mean time.

    #285858 Reply

    simonwlamb
    Member

    @support-nipun wrote:

    Simon,
    Can you cross post your query on the XFire forums as well. I’ll check with my team in the mean time.

    Thanks, I’ve now posted on the xfire user list, so I will let you all know if I get anything back from those guys.

    Cheers
    Simon

    #285938 Reply

    simonwlamb
    Member

    Just wondering if anyone from the MyEclipse team had managed to take a look at this issue? It’s quite worrying that its not been resolved on the xFire issue page, and it was listed last year.

    I did post to the xFire Users mailing list, however there doesn’t appear to be much activity on there? I get the impression that Codehaus seem to be moving on with CXF, rather then maintaining/updating xfire.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Problem with xFire WSDL to Java code generation

You must be logged in to post in the forum log in