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
CodePatriot
Post subject: Web service tutorial out of date  PostPosted: Jan 16, 2011 - 02:39 AM
Registered Member
Registered Member


Joined: Jun 07, 2006
Posts: 28

Running MyEclipse v8.6. The tutorial has you select XFire, which is not a selection in this version of MyEclipse.
Sort of lost, since I can't use the tutorial.
(In another post there was a link for the tutorial for "Blue", which I am not running. And the screen shots in the tutorial also do not match v8.6, so please don't suggest I use that one.)
Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject: RE: Web service tutorial out of date  PostPosted: Jan 17, 2011 - 06:48 AM



Joined: Nov 11, 2010
Posts: 2193

CodePatriot,

Sorry for the inconvenience caused to you. The tutorials are indeed outdated. They do differ with the latest version screens but you should not have much difficulty in trying to get it work for latest versions.

Which webservice are you trying to create? If you can let us know what specific support you need, I can send you the screenshots.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
CodePatriot
Post subject:   PostPosted: Jan 17, 2011 - 02:04 PM
Registered Member
Registered Member


Joined: Jun 07, 2006
Posts: 28

v 8.6.1
Help --> Help Contents --> Web Services --> JAX-WS SOAP-based web services
 
 View user's profile Send private message  
Reply with quote Back to top
CodePatriot
Post subject:   PostPosted: Jan 17, 2011 - 02:07 PM
Registered Member
Registered Member


Joined: Jun 07, 2006
Posts: 28

(why can I not edit something I just posted?)

The first page of the tutorial refers to XFire, which is not part of v8.6.1. As far as I can tell.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 18, 2011 - 10:28 AM



Joined: Nov 11, 2010
Posts: 2193

CodePatriot,

You can use JAX-WS instead of XFire and follow the wizard.

Let us know how it works.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
CodePatriot
Post subject:   PostPosted: Jan 20, 2011 - 04:16 AM
Registered Member
Registered Member


Joined: Jun 07, 2006
Posts: 28

Ok. So the only thing to add to the first screen is the name of the project. "Next" is not selectable, so I select "Finish". I now have a project with almost nothing in it.
In the tutorial Fig 2.1.5 shows a "Web Services" folder in the project. My project doesn't have that folder. All my project has is a web.xml with one entry for index.jsp.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 20, 2011 - 12:13 PM



Joined: Nov 11, 2010
Posts: 2193

CodePatriot,

Sorry for the confusion.

Here are the steps to enable XFire :

1.Go to MyEclipse Configuration Center > Dashboard. Scroll down the MyEclipse Features list and check the 'XFire Webservices Support for MyEclipse'.
2.Apply the changes and restart the IDE when it prompts.
3. New > Web Service Project and you should see XFire in the window.

Let us know how it works for you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
CodePatriot
Post subject:   PostPosted: Jan 22, 2011 - 07:05 PM
Registered Member
Registered Member


Joined: Jun 07, 2006
Posts: 28

Ok, dragging in the XFire component has gotten me a little further into the tutorial.
But the services.xml which is generated doesn't look like the one in Figure 6.1.2
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">
</beans>
I also get a pop-up saying my default compliance level of 5.0 should be 1.4, do I want to use a customized setting for this project? I selected "yes".
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 25, 2011 - 08:31 AM



Joined: Nov 11, 2010
Posts: 2193

CodePatriot,

The service.xml which you are seeing is perfect.As I communicated to you earlier, the screen shots in the tutorials do differ with the latest versions.
With little effort you will be able to run the examples.
We appreciate your patience. You will see updated tutorials soon.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
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