| Author |
Message |
|
|
Post subject: Web service tutorial out of date
Posted: Jan 16, 2011 - 02:39 AM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Web service tutorial out of date
Posted: Jan 17, 2011 - 06:48 AM
|
|

Joined: Nov 11, 2010
Posts: 2151
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 17, 2011 - 02:04 PM
|
|
Registered Member


Joined: Jun 07, 2006
Posts: 28
|
|
v 8.6.1
Help --> Help Contents --> Web Services --> JAX-WS SOAP-based web services |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 17, 2011 - 02:07 PM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 18, 2011 - 10:28 AM
|
|

Joined: Nov 11, 2010
Posts: 2151
|
|
CodePatriot,
You can use JAX-WS instead of XFire and follow the wizard.
Let us know how it works. |
_________________ Swapna
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 20, 2011 - 04:16 AM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 20, 2011 - 12:13 PM
|
|

Joined: Nov 11, 2010
Posts: 2151
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 22, 2011 - 07:05 PM
|
|
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". |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 25, 2011 - 08:31 AM
|
|

Joined: Nov 11, 2010
Posts: 2151
|
|
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
|
| |
|
|
|
 |
|
|