-
Dec 8th, 2011, 10:01 PM
#1
Page not found error when tryin to access the webservice url
I am using spring-ws in order to create a new webservice.
I have the below entries in my web.xml
<servlet>
<servlet-name>services</servlet-name>
<servlet-class>org.springframework.ws.transport.http.Messag eDispatcherServlet</servlet-class>
<init-param>
<!-- Transform the location attributes in WSDLs -->
<param-name>transformWsdlLocations</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<!-- Location of the servlet -->
<param-name>contextConfigLocation</param-name>
<param-value>classpath:/services-servlet.xml</param-value>
</init-param>
</servlet>
<!-- Map all requests to this servlet -->
<servlet-mapping>
<servlet-name>services</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
services-servlet.xml contains the endpoint details. I am using an existing wsdl therefore using a static-wsdl.
<bean id="HealthCheckWS" class="org.springframework.ws.wsdl.wsdl11.SimpleWs dl11Definition">
<property name="wsdl" value="classpath:/wsdl/hc/HealthCheckWS.wsdl"/>
</bean>
In HealthCheckWS.wsdl, i have the soap address defined as
<wsdlsoap:address location="http://localhost:9083/test-war/services/HealthCheckWS"/>
I have deployed the application on Websphere and when i access the url http://localhost:9083/test-war/servi...thCheckWS.wsdl, I see the wsdl being displayed.
I have also used SOAP-UI to test my webservice and that works fine as well.
But when I access http://localhost:9083/test-war/services to view all the webservices, I get a page cannot be displayed error.
Can you please help.
-
Jan 12th, 2012, 09:46 PM
#2
-
Jan 13th, 2012, 01:09 AM
#3
-
Jan 31st, 2012, 06:21 PM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules