Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Publishing web services problem

Status
Not open for further replies.

karenc

Programmer
Jul 25, 2002
1
CA
Hi,

I am trying to publish a simple web service using IBM’s Public UDDI Test Registry. I have developed a web service which I tested using the sample generated within Websphere Application Developer and it works perfectly. Once I tested the web service I published the business entity and published the service with the uddi test registry but the URL I am using for the WSDL file must be incorrect. I am publishing the web service by launching the UDDI explorer from within Websphere Application Developer.

I was able to publish the web service but when I import the WSDL to another web project and attempt to use it I receive an error. I imported the wsdl file and generated a web service client. I then used the sample generated (TestClient.jsp) but the following error occurs:

Exception: [SOAPException: faultCode=SOAP-ENV:protocol; msg=Unsupported response content type "text/html", must be: "text/xml".
Response was: Virtual Host or Web Application Not Found
The web group /WSWEB/servlet/rpcrouter has not been defined
IBM WebSphere Application Server ]

The link (/WSWEB/servlet/rpcrouter) to the rpcrouter from the error above is pointing to the rpcrouter from the web project I used to create the web service originally and export the WSDL! Any ideas on what the problem is or could anyone point me to a good tutorial, although I have looked and followed most of the tutorials I could find related to web services in developer works.

Any help would be appreciated. Thanks a million

Karen
 
Better late than never??
I also had this problem in v 5.0. I found I was missing a configuration setting.
Go to Window | Preferences | Internet then click on "enable proxy server".
Rerun your service and hopefully will work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top