[jboss-user] [JBossWS] - ant tests errors: SOAP request exception

soch do-not-reply at jboss.com
Tue Apr 29 19:28:01 EDT 2008


Ran the ant tests on the native jaxws installation.


Saw following errors on the JBOSS AS. Is this normal.
C:\jbossws-3.0.1-native-2.0.4.GA\jbossws-native-dist>ant tests

...

15:03:10,254 INFO  [WSDLFilePublisher] WSDL published to: file:/C:/jboss-4.2.2.GA/server/default/data/wsdl/jaxws-samples-exception.w
ar/ExceptionEndpointImplService41482.wsdl
15:03:11,364 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.RuntimeException: oh no, a runtime exception occured.
        at org.jboss.test.ws.jaxws.samples.exception.server.ExceptionEndpointImpl.throwRuntimeException(ExceptionEndpointImpl.java:3
9)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
...

15:03:11,770 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
javax.xml.ws.soap.SOAPFaultException: this is a fault string!
        at org.jboss.test.ws.jaxws.samples.exception.server.ExceptionEndpointImpl.throwSoapFaultException(ExceptionEndpointImpl.java
:51)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

...

& some more simillar SOAP exceptions.

On the client side the ant tests threw following failures:
 [junit] Corrupt JPEG data: 1 extraneous bytes before marker 0xc4
 [junit] Test org.jboss.test.ws.jaxws.samples.xop.doclit.XOPBareTestCase FAILED
 [junit] Running org.jboss.test.ws.jaxws.samples.xop.doclit.XOPHandlerTestCase
 [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 4.313 sec

15:05:00,791 INFO  [TestEndpointImpl] echo: Hello
15:05:00,838 INFO  [TestEndpointImpl] echo: Hello
15:05:00,854 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
org.jboss.ws.core.CommonSOAPFaultException: Endpoint {http://webmethod.samples.jaxws.ws.test.jboss.org/}TestEndpointPort does not co
ntain operation meta data for: {http://webmethod.samples.jaxws.ws.test.jboss.org/}noWebMethod
        at org.jboss.ws.core.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:468)



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147674#4147674

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147674



More information about the jboss-user mailing list