Attached you'll find a full dump of both communications.
Any help would be appreciated.

1. Client -> ServiceMix

Request
-------
POST / HTTP/1.1
Content-Type: text/xml; charset=utf-8
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-Length: 435
SOAPAction: ""
User-Agent: Java/1.5.0_06
Host: 10.3.102.193:8082
Connection: keep-alive

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns0="http://org.epo.esb.ops//types";><env:Body><ns0:getPatentData><String_1>Give
me a nice patent via
servicemix!</String_1></ns0:getPatentData></env:Body></env:Envelope>


Response
--------
HTTP/1.1 500 Error+executing+http+request
Content-Type: text/html
Content-Length: 1251
Connection: keep-alive
Server: Jetty(6.0.x)

<html>
<head>
<title>Error 500 Error executing http request</title>
</head>
<body>
<h2>HTTP ERROR: 500</h2><pre>Error executing http request</pre>
<p>RequestURI=/</p>
<p><small> Powered by Jetty:// </small></p>
</body>
</html>


2. ServiceMix -> JBoss

Request
-------
POST /opsservice/ops HTTP/1.1
SCRIPT_NAME: 
SERVER_PROTOCOL: HTTP/1.1
SERVER_PORT: 8082
User-Agent: Java/1.5.0_06
PATH_INFO: /
REQUEST_METHOD: POST
REMOTE_ADDR: 127.0.0.1
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
CONTENT_LENGTH: 435
SERVER_NAME: 10.3.102.193
SOAPAction: ""
CONTENT_TYPE: text/xml; charset=utf-8
REMOTE_HOST: 127.0.0.1
Content-Type: text/html; charset=UTF-8
Host: 10.3.102.192:8080
Content-Length: 538

<?xml version="1.0" encoding="UTF-8"?><env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";><env:Body><env:Envelope
xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns0="http://org.epo.esb.ops//types";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";><env:Body><ns0:getPatentData><String_1>Give
me a nice patent via
servicemix!</String_1></ns0:getPatentData></env:Body></env:Envelope></env:Body></env:Envelope>

Response
--------
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2
date=200603311500)/Tomcat-5.5
Transfer-Encoding: chunked
Date: Mon, 15 May 2006 10:47:23 GMT

0

--
View this message in context: 
http://www.nabble.com/wrong-http-header-t1608026.html#a4388926
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to