facebook

Create web service client fails

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

    ldkline
    Member

    I tried to create a new web service client using the wizard. When I pressed the Finish button I get the dialog titled “Generating JAX-WS web service client”.

    But then before the progress bar goes very far I get an Error dialog with the following message:

    “A class/interface with the same name xxx.yyy.IdListType is already in use. Use a class customization to resolve this conflict.”

    Where xxx.yyy is my package structure. Below this line is another message:

    “Click here for a list of common generation problems and solutions.”

    The word here is a link to the document http://127.0.0.1:40266/help/index.jsp?topic=%2Fcom.genuitec.myeclipse.doc%2Fhtml%2Fquickstarts%2Fwebservices_faq%2Findex.html

    The web service link I am using is http://eutils.ncbi.nlm.nih.gov/entrez/eutils/soap/v2.0/eutils.wsdl

    My project is a Java project with web, hibernate, and Spring capabilities added.

    Any suggestions on how to proceed? Since the wizard doesn’t actually generate anything I don’t know what I could possibly customize.

    Thanks,

    Larry

    #298642 Reply

    Loyal Water
    Member

    Larry,
    Can you take a look at this thread? A similar issue has been discussed here:-
    http://www.myeclipseide.com/PNphpBB2-printview-t-21064-start-0.html

    #298654 Reply

    ldkline
    Member

    That is interesting and perhaps would work for me, but I ended up downloading Axis2 and running their wsdl2java program which created the java classes correctly.

    It does seem that the element IdListType appears twice. I’m not sure how wsdl2java exactly handled it but I was able to successfully run a test client.

    Thanks for your suggestion.

    #298681 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Create web service client fails

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