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-ENVrotocol; 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
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-ENVrotocol; 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