Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
ldkline
Post subject: Create web service client fails  PostPosted: May 21, 2009 - 09:04 PM



Joined: May 21, 2009
Posts: 2

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Create web service client fails  PostPosted: May 22, 2009 - 06:15 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

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

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
ldkline
Post subject:   PostPosted: May 22, 2009 - 09:29 PM



Joined: May 21, 2009
Posts: 2

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.
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject:   PostPosted: May 25, 2009 - 05:26 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 8013

Your welcome.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits