[jboss-jira] [JBoss JIRA] Resolved: (JBREM-626) Allow unmarshalling of HTTP response with error code 500
Jason T. Greene (JIRA)
jira-events at jboss.com
Mon Nov 6 20:37:41 EST 2006
[ http://jira.jboss.com/jira/browse/JBREM-626?page=all ]
Jason T. Greene resolved JBREM-626.
-----------------------------------
Resolution: Rejected
Adding the following fixes it:
// We need to unmarshall faults (HTTP 500)
metadata.put(HTTPMetadataConstants.NO_THROW_ON_ERROR, "true");
> Allow unmarshalling of HTTP response with error code 500
> --------------------------------------------------------
>
> Key: JBREM-626
> URL: http://jira.jboss.com/jira/browse/JBREM-626
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Tom Elrod
>
> From the BasicProfile
> // R1126 An INSTANCE MUST return a "500 Internal Server Error" HTTP status code
> // if the response envelope is a Fault.
> Caused by: org.jboss.remoting.transport.http.WebServerError: Error received when calling on web server. Error returned was 500
> at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:272)
> at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:94)
> at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:125)
> at org.jboss.remoting.Client.invoke(Client.java:589)
> at org.jboss.remoting.Client.invoke(Client.java:581)
> at org.jboss.ws.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:201)
> /home/tdiesler/svn/jbossws/trunk/src/test
> [tdiesler at tddell test]$ ant -Dtest=jaxws/jsr181/webmethod test
> tests-main:
> [junit] Running org.jboss.test.ws.jaxws.jsr181.webmethod.JSR181WebMethodTestCase
> [junit] Tests run: 4, Failures: 0, Errors: 2, Time elapsed: 4.094 sec
> [junit] Test org.jboss.test.ws.jaxws.jsr181.webmethod.JSR181WebMethodTestCase FAILED
--
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
More information about the jboss-jira
mailing list