facebook

Getting started with Web Services on WebSphere 5.1

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #274499 Reply

    marcusocasey
    Member

    I developed the simplest of web services using the code-first approach and following the MyEclipse tutorial from the documentation. I deployed it and retrieved the WSDL file without issue using Tomcat.

    Then I deployed it to WebSphere 5.1. Although the deployment manager said that it deployed just fine, when I view my enterprise applications using the administration console, it isn’t there. Also I haven’t yet figured out a URL to retrieve the WSDL (or if this is even possible considering that WebSphere is having trouble recognizing it).

    Any help is appreciated.

    #274638 Reply

    Loyal Water
    Member

    Here is a doc that explains working with the WSDL on websphere. This should help you answer your question.
    http://publib.boulder.ibm.com/infocenter/wasinfo/v5r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/twbs_urlwsdl.html

    #274650 Reply

    marcusocasey
    Member

    I tried all of the URL combinations from that and it still doesn’t work.

    I am evaluating MyEclipse to see if I can use it for developing Web Services with WebSphere. I am still on the 30-day trial. If I can get this working relatively painlessly, my company will purchase it. So far it looks great, except that nothing seems to work with WebSphere. When I was not having success with WebSphere, I tried it with Tomcat. No problems at all.

    The URL to access it on Tomcat for my little sample was: http://localhost:8080/contractInterface/services/SimpleWebService?WSDL

    But on WebSphere, it just doesn’t work–regardless of the URL I use. The problem seems to be deeper than just using the wrong URL to get the WSDL. When I run it on WebSphere and check the admin console, the application just isn’t there!

    Am I supposed to develop or deploy the application any differently for WebSphere than on Tomcat? I thought the idea was that you could develop one web service and deploy it on any server without special configuration. Is that the way it is supposed to work or am I being naive?

    #274666 Reply

    tomeksz
    Member

    Can you check if there are any errors on server console ? If so, check http://xfire.codehaus.org/Application+Server+Support page and try to apply workaround.

    I’ve never used Websphere, but i don’t think that MyEclipse generated webservice will be visible in Websphere admin console. I guess there are only Websphere “native” webservices.

    #274680 Reply

    marcusocasey
    Member

    This is a fresh WebSphere install on my local machine, and the error log is still completely empty. I don’t get any clues from the standard SystemOut.log either.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Getting started with Web Services on WebSphere 5.1

You must be logged in to post in the forum log in