Jump to content
Farid

Access to the Webservice

Recommended Posts

Hello and Happy New Year !! :) I am trying to develop an easy Webservice (an addition). I developped the WSDL, then the Webservice from WSDL and finally the Webservice client. To print the result of the addition I tried to use the JSP page and to use a servlet but Ive got in both cases this error:com.sun.xml.ws.ClientTransportException: HTTP Status-Code 404: Not Found - Not FoundIm trying to figure out what is this issue but I don't what I can do. I know, using the Debug Mode, that this issue appears when I call the java function (Port.add) but I dont know where is exactly the issue.Can you help me? Which sample of my code do you need? Thanks!Farid.

Share this post


Link to post
Share on other sites

Do you have the URL to the web service? I can see if soapUI will resolve the structure from here.

Share this post


Link to post
Share on other sites

Actually it's a local server, so its not possible. Is any sample of some code can help you? As you said real_illusions, I think that is the issue but I can't figure out why I get this issue...

Share this post


Link to post
Share on other sites

if it says 404 then the url you are using just isn't correct. It doesn't really matter what code you have, its not even getting that far. Put a static HTML file in the same folder and see if you can see it through your web server - not by way of physical path.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...