MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mitu
Post subject: Consume a web service in MyEclipse  PostPosted: Jul 18, 2006 - 12:27 AM
Veteran Member
Veteran Member


Joined: Apr 06, 2006
Posts: 11

I have a web service that was developed in C#. I want to use/consume that web service in my java web app. How can I do that? Is there a document that can guide me through it?

Thanks for the help!
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jul 18, 2006 - 02:34 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Please have a look at our web service getting started guide:
http://www.myeclipseide.com/images/tutorials/quickstarts/webservices-codefirst

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
toconnor
Post subject:   PostPosted: Jul 18, 2006 - 03:02 PM



Joined: Feb 07, 2006
Posts: 12

I have what I think is the same question and it isn't really addressed by the documentation. If I have a wsdl for some web service external to my application and I want to generate just the client so I can access the service is there a way to do this? I notice that the wizard for "top down" will generate a test client, but I don't really want to generate the service, just the client piece from a wsdl. Thanks..
 
 View user's profile Send private message  
Reply with quote Back to top
mitu
Post subject:   PostPosted: Jul 18, 2006 - 04:25 PM
Veteran Member
Veteran Member


Joined: Apr 06, 2006
Posts: 11

Yes my question is same as "toconnor's.

In the document "Testing the Web Service" talks about using "web Service explorer to test any web service given a wsdl. I am using MyEclipse 4.1.1GA. I couldn't find the Web Service explorer. Is this feature available only for MyEclipse 5.0 M2? If yes, how do I do this in 4.1.1?

Thanks for help.
 
 View user's profile Send private message  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Jul 18, 2006 - 07:18 PM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2512

Toconnor,

Sorry, we don't have independent client generation right now. You will have to go through the Top down wizard and probably delete all the other files.
We know this is important, so independent client generation will be available soon.

Mitu,

Web Service features are only available in 5.0M2 and up. There are no features in 4.1.1 GA at all and I don't think you can get it working in 4.1.1 without much pain.
I would recommend a test installation of 5.0M2 and using the WS Explorer in there to test your webservices. Or you can wait a few weeks for 5.0GA and upgrade to that.

Best,
Brian.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ayampols
Post subject:   PostPosted: Aug 09, 2006 - 09:19 PM
Registered Member
Registered Member


Joined: Mar 26, 2004
Posts: 49

Support-Brian wrote:
Or you can wait a few weeks for 5.0GA and upgrade to that.


OK, I've upgraded. Could someone help me find the new web service client wizard?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Aug 10, 2006 - 10:31 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

ayampols,
Brian mentioned that there is no client generation wizard yet, that is still the case in 5.0 GA but is high on our list to get done.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
idfbins
Post subject: When will the client generator be ready?  PostPosted: Sep 15, 2006 - 01:39 AM
Registered Member
Registered Member


Joined: Apr 11, 2006
Posts: 27

The client WS wizard has always been enabled in WTP base version. In my opinion, this is a case where I actually get less from MyEclipse than I get from the core version. When will the client generator be ready? Are we talking days, weeks, or months?
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Sep 15, 2006 - 01:42 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Since we build ontop of WTP there is nothing *removed* from WTP, just hidden so our users don't get confused from dual-functionality (like multiple kinds of "Web projects"). You can however re-enabled all this functionality under Windows > Preferences > General > Capabilities. Please keep in mind if you reneable everything, it might become confusing to tell what is being provided by MyEclipse and what is provided by WTP, but that should atleast get you the wizard you were looking for.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ayampols
Post subject:   PostPosted: Nov 06, 2006 - 10:42 PM
Registered Member
Registered Member


Joined: Mar 26, 2004
Posts: 49

support-rkalla wrote:
that should atleast get you the wizard you were looking for.

I'm looking for a way to create a client's generated support classes using the XFire libraries that the MyEclipse team has settled on for its web service functionality. Doesn't look like there is any way to do this currently. I think you've neglected the web services client feature entirely in all your releases thus far.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-michael
Post subject:   PostPosted: Nov 07, 2006 - 06:34 AM
Moderator
Moderator


Joined: May 05, 2003
Posts: 1037

Quote:
I'm looking for a way to create a client's generated support classes using the XFire libraries that the MyEclipse team has settled on for its web service functionality. Doesn't look like there is any way to do this currently. I think you've neglected the web services client feature entirely in all your releases thus far.


MyEclipse 5.1 will provide a web service client wizard. It is currently in QA and will be available in less than 2 weeks.

_________________
Michael
MyEclipse Support

Posting Guidelines FYI
When posting a bug report, click the "Insert" button above the message window and fill out the empty fields to help us troubleshoot your problem.
 
 View user's profile Send private message  
Reply with quote Back to top
idfbins
Post subject:   PostPosted: Nov 07, 2006 - 04:29 PM
Registered Member
Registered Member


Joined: Apr 11, 2006
Posts: 27

ayampols,

XFire has an Eclipse plugin for generating client code from a WSDL. You can find the plugin here:

http://xfire.codehaus.org/Eclipse+Plugin
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ayampols
Post subject:   PostPosted: Nov 13, 2006 - 10:58 PM
Registered Member
Registered Member


Joined: Mar 26, 2004
Posts: 49

support-michael wrote:
MyEclipse 5.1 will provide a web service client wizard. It is currently in QA and will be available in less than 2 weeks.
I just did an upgrade from 5.0 to 5.1 using the archived update site option. All the XFire libraries are gone under Prefs -> MyEclipse -> Project Capabilities -> Web Services for existing workspaces (the libraries are there for freshly created workspaces). I tried the -clean arg, didn't help. Easy to work around, just an FYI.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 14, 2006 - 12:23 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

ayampols,
Try and hit "Restore Defaults" and see if that fixes it.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
ayampols
Post subject:   PostPosted: Nov 16, 2006 - 04:14 PM
Registered Member
Registered Member


Joined: Mar 26, 2004
Posts: 49

support-rkalla wrote:
Try and hit "Restore Defaults" and see if that fixes it.
That does the trick, thanks!
 
 View user's profile Send private message Visit poster's website  
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