See <
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/1178/changes...
Changes:
[mageshbk] [SWITCHYARD-736] - Add SOAP1.2 envelope support
------------------------------------------
[...truncated 435 lines...]
Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
Downloading:
http://snapshots.jboss.org/maven2/org/switchyard/components/switchyard-co...
Downloading:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/c...
Downloading:
http://snapshots.repository.codehaus.org/org/switchyard/components/switch...
1014 B
1014 B 1014 B
1014 B 1014 B 1014 B
Downloaded:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/c...
(1014 B at 5.4 KB/sec)
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
(1014 B at 5.3 KB/sec)
Downloaded:
http://snapshots.jboss.org/maven2/org/switchyard/components/switchyard-co...
(1014 B at 3.5 KB/sec)
Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
Downloading:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
Downloading:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-test/0.5.0-SN...
Downloading:
http://snapshots.repository.codehaus.org/org/switchyard/switchyard-test/0...
993 B
993 B 993 B
993 B 993 B 993 B
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
(993 B at 5.0 KB/sec)
Downloaded:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
(993 B at 4.9 KB/sec)
Downloaded:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-test/0.5.0-SN...
(993 B at 3.2 KB/sec)
Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
Downloading:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
Downloading:
http://snapshots.repository.codehaus.org/org/switchyard/switchyard-test/0...
Downloading:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-test/0.5.0-SN...
993 B
993 B 993 B
993 B 993 B 993 B
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
(993 B at 4.9 KB/sec)
Downloaded:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
(993 B at 4.9 KB/sec)
Downloaded:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-test/0.5.0-SN...
(993 B at 3.4 KB/sec)
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
switchyard-quickstart-bean-service ---
[INFO] Deleting
<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-java-version) @
switchyard-quickstart-bean-service ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven-version) @
switchyard-quickstart-bean-service ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
switchyard-quickstart-bean-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
switchyard-quickstart-bean-service ---
[INFO] Compiling 9 source files to
<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
[INFO]
[INFO] --- maven-source-plugin:2.1.1:jar-no-fork (attach-sources) @
switchyard-quickstart-bean-service ---
[INFO] Building jar:
<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
[INFO]
[INFO] --- switchyard-plugin:0.5.0-SNAPSHOT:configure (default) @
switchyard-quickstart-bean-service ---
Downloading:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-config/0.5.0-...
Downloading:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
Downloading:
http://snapshots.repository.codehaus.org/org/switchyard/switchyard-config...
995 B
Downloaded:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-config/0.5.0-...
(995 B at 3.4 KB/sec)
995 B
Downloaded:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
(995 B at 0.8 KB/sec)
995 B
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
(995 B at 0.6 KB/sec)
Downloading:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-common/0.5.0-...
Downloading:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
Downloading:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
Downloading:
http://snapshots.repository.codehaus.org/org/switchyard/switchyard-common...
995 B
995 B 995 B
995 B 995 B 995 B
Downloaded:
https://repository.jboss.org/nexus/content/groups/developer/org/switchyar...
(995 B at 4.4 KB/sec)
Downloaded:
https://repository.jboss.org/nexus/content/groups/public/org/switchyard/s...
(995 B at 4.3 KB/sec)
Downloaded:
http://snapshots.jboss.org/maven2/org/switchyard/switchyard-common/0.5.0-...
(995 B at 3.3 KB/sec)
[INFO] SwitchYard plugin scanning:
[<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
[INFO] Outputting SwitchYard configuration model to
<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
[INFO] Validating SwitchYard configuration model...
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @
switchyard-quickstart-bean-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @
switchyard-quickstart-bean-service ---
[INFO] Compiling 4 source files to
<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
[INFO]
[INFO] --- maven-surefire-plugin:2.6:test (default-test) @
switchyard-quickstart-bean-service ---
[INFO] Surefire report directory:
<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.switchyard.quickstarts.bean.service.WebServiceTest
08:52:08,271 INFO [org.jboss.weld.Version] WELD-000900 1.1.5 (AS71)
08:52:08,878 INFO [org.switchyard.component.soap.InboundHandler] Publishing WebService at
http://127.0.0.1:18001/quickstart-bean/OrderService
Apr 17, 2012 8:52:09 AM com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit
handle
SEVERE: Unsupported Content-Type: application/soap+xml; charset=utf-8 Supported ones are:
[text/xml]
com.sun.xml.internal.ws.server.UnsupportedMediaException: Unsupported Content-Type:
application/soap+xml; charset=utf-8 Supported ones are: [text/xml]
at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:284)
at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:118)
at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:278)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.decodePacket(HttpAdapter.java:266)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.access$500(HttpAdapter.java:82)
at
com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:446)
at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:233)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExchange(WSHttpHandler.java:95)
at
com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WSHttpHandler.java:80)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:557)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:529)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
[Fatal Error] :1:1: Premature end of file.
08:52:09,166 INFO [org.switchyard.component.soap.InboundHandler] WebService
{urn:switchyard-quickstart:bean-service:1.0}OrderService:OrderServicePort stopped.
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.546 sec <<<
FAILURE!
Running org.switchyard.quickstarts.bean.service.OrderServiceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.132 sec
Running org.switchyard.quickstarts.bean.service.TypeTransformationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.309 sec
Running org.switchyard.quickstarts.bean.service.InventoryServiceTest
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.switchyard.component.bean.ServiceProxyHandler.handle(ServiceProxyHandler.java:132)
at
org.switchyard.component.bean.ServiceProxyHandler.handleMessage(ServiceProxyHandler.java:89)
at
org.switchyard.internal.DefaultHandlerChain.handleMessage(DefaultHandlerChain.java:148)
at org.switchyard.internal.DefaultHandlerChain.handle(DefaultHandlerChain.java:121)
at org.switchyard.internal.LocalDispatcher.dispatch(LocalExchangeBus.java:72)
at org.switchyard.internal.ExchangeImpl.sendInternal(ExchangeImpl.java:267)
at org.switchyard.internal.ExchangeImpl.send(ExchangeImpl.java:184)
at org.switchyard.test.Invoker.sendInOut(Invoker.java:223)
at
org.switchyard.quickstarts.bean.service.InventoryServiceTest.testItemLookupNonexistent(InventoryServiceTest.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
at org.switchyard.test.SwitchYardRunner.run(SwitchYardRunner.java:78)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:120)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:103)
at org.apache.maven.surefire.Surefire.run(Surefire.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
Caused by: org.switchyard.quickstarts.bean.service.ItemNotFoundException: We don't got
any GUNS
at
org.switchyard.quickstarts.bean.service.InventoryServiceBean.lookupItem(InventoryServiceBean.java:44)
... 41 more
08:52:09,822 ERROR [org.switchyard.internal.DefaultHandlerChain]
org.switchyard.component.bean.BeanComponentException was thrown by handler(provider):
Invocation of operation 'lookupItem' on bean component
'org.switchyard.quickstarts.bean.service.InventoryServiceBean' failed with
exception. See attached cause. --- Caused by java.lang.reflect.InvocationTargetException:
null --- Caused by org.switchyard.quickstarts.bean.service.ItemNotFoundException: We
don't got any GUNS
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.203 sec
Results :
Failed tests:
invokeOrderWebService(org.switchyard.quickstarts.bean.service.WebServiceTest)
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] SwitchYard: Quickstarts ........................... SUCCESS [1.159s]
[INFO] Quickstart : Bean Service ......................... FAILURE [36.452s]
[INFO] Quickstart : BPEL Service ......................... SKIPPED
[INFO] Quickstart : BPEL Service : Say Hello ............. SKIPPED
[INFO] Quickstart : BPEL Service : JMS Binding ........... SKIPPED
[INFO] Quickstart : BPEL Service : Loan Approval ......... SKIPPED
[INFO] Quickstart : BPEL Service : Simple Correlation .... SKIPPED
[INFO] Quickstart : BPM Service .......................... SKIPPED
[INFO] Quickstart : Camel Binding ........................ SKIPPED
[INFO] Quickstart : Camel JMS Binding .................... SKIPPED
[INFO] Quickstart : Camel REST Binding ................... SKIPPED
[INFO] Quickstart : Camel Service ........................ SKIPPED
[INFO] Quickstart : Camel SOAP Proxy ..................... SKIPPED
[INFO] Quickstart : HornetQ Binding ...................... SKIPPED
[INFO] Quickstart : Rules+Camel Content-Based Router ..... SKIPPED
[INFO] Quickstart : Rules Interview ...................... SKIPPED
[INFO] Quickstart : Rules Interview Agent ................ SKIPPED
[INFO] Quickstart : JAXB Transformation .................. SKIPPED
[INFO] Quickstart : JSON Transformation .................. SKIPPED
[INFO] Quickstart : Smooks Transformation ................ SKIPPED
[INFO] Quickstart : XSLT Transformation .................. SKIPPED
[INFO] Quickstart : XML Message Validation ............... SKIPPED
[INFO] Quickstart Demo : Help Desk ....................... SKIPPED
[INFO] Quickstart Demo : Help Desk - Web App ............. SKIPPED
[INFO] Quickstart Demo : Orders .......................... SKIPPED
[INFO] Quickstart Demo : JEE Webapp Deployment ........... SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Service Artifacts SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Service SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Order Consumer SKIPPED
[INFO] Quickstart Demo: Multiple Applications - Web App .. SKIPPED
[INFO] Quickstart Demo: Multiple Applications ............ SKIPPED
[INFO] Quickstart Demo : Transaction Policy .............. SKIPPED
[INFO] SwitchYard : Quickstarts Distribution Assembly .... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42.318s
[INFO] Finished at: Tue Apr 17 08:52:09 EDT 2012
[INFO] Final Memory: 45M/581M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test
(default-test) on project switchyard-quickstart-bean-service: There are test failures.
[ERROR]
[ERROR] Please refer to
<
http://hudson.qa.jboss.com/hudson/job/SwitchYard-Quickstarts/ws/bean-serv...
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the
following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :switchyard-quickstart-bean-service