Results 1 to 4 of 4

Thread: Page not found error when tryin to access the webservice url

  1. #1
    Join Date
    Sep 2010
    Posts
    3

    Default 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. #2
    Join Date
    Sep 2010
    Posts
    3

    Default

    This issue was resolved.

  3. #3
    Join Date
    Jan 2012
    Posts
    4

    Default

    Thanks for this updated

  4. #4

    Default

    thanx vashidee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •