[
http://jira.jboss.com/jira/browse/JBESB-727?page=comments#action_12369462 ]
Daniel Bevenius commented on JBESB-727:
---------------------------------------
Hi Burr,
just wanted to mention that I had to add content-type and soapAction as parameters to the
SOAPClient when working with the WSGateway:
<property name="soapAction"
value="http://xxx.xxx.com/GetSomething"/>
<property name="contentType" value="application/soap+xml"/>
I added this after discussing it with Tom. I'm not sure if has also added this too.
I you want to test this I can attach the jar.
SOAPClient Action & .NET Endpoints
----------------------------------
Key: JBESB-727
URL:
http://jira.jboss.com/jira/browse/JBESB-727
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web Services
Affects Versions: 4.2 Milestone Release 2
Reporter: Burr Sutter
Assigned To: Tom Fennelly
Fix For: 4.2
Attachments: Bad_Request.txt, Good_Request.txt, jboss-esb.xml,
Response_To_Bad_Request.txt, Response_To_Good_Request.txt
Attached are my "traces" from using TcpMon to evaluate why it "fails"
from the ESB but succeeds when using the SoapUI GUI.
Plus attached is my jboss-esb.xml.
The problem appears to be in the SOAPAction HTTPHeader. The ESB SOAPClient action is not
prefixing it with the namespace while the SoapUI GUI tool is and that appears to be the
difference.
In the case of "Bad_Request" if I manually modify the following lines then it
all works. Content-Type had to be added, SOAPAction needed the double quotes and the
namespace.
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://tempuri.org/Greeting"
--
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