Announcement Announcement Module
Collapse
No announcement yet.
Page not found error when tryin to access the webservice url Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    This issue was resolved.

    Comment


    • #3
      Thanks for this updated

      Comment


      • #4
        thanx vashidee

        Comment

        Working...
        X