Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-380

Incorrect soap:address location="http://localhost:8080/holidayService/ for samples/tutorial - resource (/holidayService/) is not available

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.5.3
    • Component/s: Samples
    • Labels:
      None
    • Environment:
      Tomcat 6.0.16
      Windows XP
      java version "1.6.0_02"
      Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
      Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)

      Description

      The soap:address location="http://localhost:8080/holidayService/ for samples/tutorial is incorrect.

      spring-ws-servlet.xml should contain

      bad: <property name="locationUri" value="http://localhost:8080/tutorial/holidayService/"/>

      instead of

      good: <property name="locationUri" value="http://localhost:8080/holidayService/"/>

      A SoapUi test with the bad location results in the error

      Tue Jun 17 19:06:38 EDT 2008:WARN:Failed to prettyPrint xml [<html><head><title>Apache Tomcat/6.0.16 - Error report</title><style><!--H1

      {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}

      H2

      {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}

      H3

      {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}

      BODY

      {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}

      B

      {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}

      P

      {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}

      A

      {color : black;}

      A.name

      {color : black;}

      HR

      {color : #525D76;}

      --></style> </head><body><h1>HTTP Status 404 - /holidayService/</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/holidayService/</u></p><p><b>description</b> <u>The requested resource (/holidayService/) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.16</h3></body></html>]: org.apache.xmlbeans.XmlException: error: </body> does not close tag <HR>.

      1. holiday-sample.patch
        1 kB
        Tareq Abedrabbo
      2. tutorial-doc.patch
        2 kB
        Tareq Abedrabbo

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        12d 12h 46m 1 Arjen Poutsma 29/Jun/08 10:55 PM
        Resolved Resolved Closed Closed
        21d 23h 11m 1 Arjen Poutsma 21/Jul/08 10:07 PM

          People

          • Assignee:
            tareq Tareq Abedrabbo
            Reporter:
            buzz3791 Brian Brooks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: