]
Thomas Diesler updated JBWS-1181:
---------------------------------
Fix Version/s: jbossws-1.0.4
SOAPAction field not populated on outgoing requests
---------------------------------------------------
Key: JBWS-1181
URL:
http://jira.jboss.com/jira/browse/JBWS-1181
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jaxrpc
Affects Versions: jbossws-1.0.3
Reporter: David Boeren
Assigned To: David Boeren
Fix For: jbossws-1.0.4
Related to support case:
https://na1.salesforce.com/50030000002VWUh
I used wstools to generate a client for the Amazon webservice
(
http://www.xmlme.com/WSAmazonBox.asmx?wsdl), which specifies a SOAPAction value on their
webmethods. When I attempt to call them using the generated classes I receive an error
indicating that the SOAPAction is unpopulated:
Exception in thread "main" java.rmi.RemoteException: Call invocation failed
with code [Client] because of: Server did not recognize the value of HTTP Header
SOAPAction: .; nested exception is:
javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of HTTP Header
SOAPAction: .
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:715)
at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398)
at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164)
at $Proxy0.bookBox(Unknown Source)
at com.xmlme.client.TestClient.main(TestClient.java:31)
Caused by: javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of
HTTP Header SOAPAction: .
at
org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100)
at
org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:505)
at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704)
... 4 more
According to the spec, this field should be populated.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: