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
support-rkalla
Post subject: Running & testing web service example  PostPosted: Jan 07, 2008 - 04:38 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Originally Posted by WilliamCraine

Hello!

I doing the "MyEclipse Code-First Web Service QuickStart" example. On step # 8, that is Test a Web Service with Web Service Explorer, it states in the Action Panel enter the following URL to the HelloWorldService WSDL document. It is "http://localhost:8095/HelloWorld/services/HelloWorldService?WSDL" Please not that the port number is 8095. Tomcat-5.0.29 works fine, that is, when I use the following URL
http://localhost:8095/ I get the tomcat home web page, so that is not an issue. My is issue is that it states that the Web Services Explorer will download the auto-gernerated WSDL created by the XFire farmework and create a list of operation, but this never happens.

Another strange thing, is that if I select the Browse... link the open the Web Browser window the Category list-box and the Workspace Project List-box is correctly populated but the WSDL URL list box is empty.

I'm use My Eclipse 5.5.1with Java 5 I thank you for your time and help with my problem

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 07, 2008 - 04:46 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

William,
Just to make sure you are using the explorer correctly. You have to switch to the WSDL inspector mode (Step 1 in screenshot) then click the Main link then enter in the URL and hit Go. Then the operations for your service will be shown to you and can be executed/interacted with.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
WilliamCraine
Post subject:   PostPosted: Jan 08, 2008 - 01:34 AM
Registered Member
Registered Member


Joined: Jan 06, 2008
Posts: 3

Good Morning Riyad!

Your instructions were beyond clear, but the Web Services Explore did not download the auto-generated WSDL document. Also, I have c/p the ambiguous error message. More important, thanks for your time and help with my issue.

IWAB0379E Unable to open http://localhost:8095/HelloWorld/services/HelloWorldService?WSDL.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: http://localhost:8095/HelloWorld/services/HelloWorldService


Note" Tomcat is up & running

William
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 08, 2008 - 03:55 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

William,
I don't know if this is a typo or not, but in the first line of your error, the URL ends with a period ("?WSDL.") was that a typo, or did you try and load the URL with a period at the end?

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
WilliamCraine
Post subject:   PostPosted: Jan 09, 2008 - 04:13 AM
Registered Member
Registered Member


Joined: Jan 06, 2008
Posts: 3

Good Morning Riyad!

I'm sorry but the line you are talking about was just cut & pasted from the following error message (very first line)

Why is (4th line) this error message so ambiguous?

IWAB0379E Unable to open http://localhost:8095/HelloWorld/services/HelloWorldService?WSDL.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: Connection refused: connect

Thanks for all your time and help. Tell me and you can take over my tower and test this app yourself
 
 View user's profile Send private message  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jan 09, 2008 - 03:05 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Well it looks like the URL is wrong. A few things to check:

1. Is your server running? Does http://localhost:8095 reply at all?

2. You are sure 8095 is the right port you set Tomcat to run on right?

3. You made sure to deploy your project correctly right?

4. In your web.xml file, you mapped your web services to the /services/* url pattern right?

5. Did you name your service HelloWorldService?

_________________
Riyad
MyEclipse Support
 
 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