Stefan
How can I verify that the proxy connects to the Target Endpoint with HTTP
1.0 ?
Ok.. the following shows this..
11:52:16,052 DEBUG [main][header] >> "POST /esb/soap/FSB-Proxy-WsSecurity
HTTP/1.1[\r][\n]"
11:52:16,067 DEBUG [main][HttpMethodBase] Adding Host request header
11:52:16,083 DEBUG [main][header] >> "Content-Type:
text/xml;charset=UTF-8[\r][\n]"
11:52:16,083 DEBUG [main][header] >> "SOAPAction:
urn://fsb.belgium.be/fphp/v3_0/findPerson[\r][\n]"
11:52:16,083 DEBUG [main][header] >> "User-Agent: Jakarta
Commons-HttpClient/3.0.1[\r][\n]"
11:52:16,114 DEBUG [main][header] >> "Host: localhost:9444[\r][\n]"
11:52:16,114 DEBUG [main][header] >> "*Content-Length: 1421*[\r][\n]"
The Content-Length header shows that your configuration is working..
else this will not be present, and the request would have been chunked.
I however spot a slight mistake here, that since we force HTTP 1.0, the
above "POST /xxx HTTP/1.1" must change to 1.0 as well
11:52:16,114 DEBUG [main][header] >> "[\r][\n]"
11:52:16,114 DEBUG [main][content] >> "<?xml version='1.0'
encoding='UTF-8'?><soapenv:Envelope ..."
11:52:16,161 DEBUG [main][EntityEnclosingMethod] Request body sent
11:52:16,473 DEBUG [main][header] << "*HTTP/1.1* 200 OK[\r][\n]"
11:52:16,473 DEBUG [main][header] << "Server: Apache-Coyote/1.1[\r][\n]"
11:52:16,473 DEBUG [main][header] << "Content-Type:
text/xml;charset=UTF-8[\r][\n]"
11:52:16,473 DEBUG [main][header] << "Transfer-Encoding: *chunked*[\r][\n]"
11:52:16,473 DEBUG [main][header] << "Date: Tue, 10 Jun 2008 09:48:16
Ok.. this proves that your target endpoint undertands HTTP 1.1 including
chunking.. so you do not need to force 1.0 in the first place
asankha
_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user