[
http://jira.jboss.com/jira/browse/JBWS-1321?page=comments#action_12346232 ]
Jason T. Greene commented on JBWS-1321:
---------------------------------------
Updated test case to verify fault existance
assertEquals("oh no, a runtime exception occured.", e.getMessage());
assertEquals("oh no, a runtime exception occured.",
e.getFault().getFaultString());
-Jason
CTS: JAX-WS SOAP fault processing is incomplete
-----------------------------------------------
Key: JBWS-1321
URL:
http://jira.jboss.com/jira/browse/JBWS-1321
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jaxws
Reporter: Jason T. Greene
Priority: Blocker
Fix For: jbossws-2.0.0
Since there is no code to handle faults the following error always appears:
0-31-2006 16:40:12: ERROR: java.lang.NullPointerException
at javax.xml.ws.soap.SOAPFaultException.<init>(SOAPFaultException.java:49)
at org.jboss.ws.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:189)
at org.jboss.ws.jaxws.client.ClientImpl.invoke(ClientImpl.java:151)
at org.jboss.ws.jaxws.client.ClientProxy.invoke(ClientProxy.java:156)
at org.jboss.ws.jaxws.client.ClientProxy.invoke(ClientProxy.java:142)
at $Proxy17.shortArrayTest(Unknown Source)
at
com.sun.ts.tests.jaxws.ee.j2w.document.literal.marshalltest.client.Client.shortArrayTest(Client.java:891)
This is because the implementation is missing:
if (SOAPBinding.SOAP11HTTP_BINDING.equals(bindingId) ||
SOAPBinding.SOAP12HTTP_BINDING.equals(bindingId))
{
throw new SOAPFaultException(null);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira