Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7383

soap quickstart test returns code 500

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: fuse-7.0
    • Fix Version/s: fuse-7.0
    • Component/s: CXF, Examples
    • Labels:
      None
    • Environment:

      build 7.0.0.fuse-000096

      Description

      After building and installing the cxf/soap quickstart i ran "mvn -Ptest" in quickstart home. I got:

      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.134 s <<< FAILURE! - in org.jboss.fuse.quickstarts.cxf.soap.SoapTest
      [ERROR] sendRequest(org.jboss.fuse.quickstarts.cxf.soap.SoapTest)  Time elapsed: 0.023 s  <<< ERROR!
      java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8181/cxf/HelloWorld
      	at org.jboss.fuse.quickstarts.cxf.soap.SoapTest.sendRequest(SoapTest.java:82)
       
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Errors: 
      [ERROR]   SoapTest.sendRequest:82 ยป IO Server returned HTTP response code: 500 for URL: ...
      [INFO] 
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      [INFO] 
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      

      in fuse log:

      2017-10-17 13:31:24,530 | WARN  | XNIO-1 task-2        | o.a.c.p.PhaseInterceptorChain    | 73 - org.apache.cxf.cxf-core - 3.1.11.fuse-000130 | Interceptor for {http://soap.cxf.quickstarts.fuse.jboss.org/}HelloWorldImplService#{http://soap.cxf.quickstarts.fuse.jboss.org/}sayHi has thrown exception,
       unwinding now org.apache.cxf.interceptor.Fault: 
      Unexpected wrapper element {http://soap.quickstarts.fabric8.io/}sayHi found. 
      Expected {http://soap.cxf.quickstarts.fuse.jboss.org/}sayHi.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jpoth John Poth
                Reporter:
                jkasztur Jan Kasztura
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: