Asankha,

The webservice that I'm calling is hosted in a Weblogic environment. The
SOAP response I'm receiving is the following one: "<?xml version='1.0'
encoding='utf-8'?><SOAP-ENV:Envelope
...><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode
xmlns:fc="http://www.bea.com/2003/04/jwFaultCode/";>fc:JWSError</faultcode><faultstring>Expected
XML, but no elements found.</faultstring><detail><jwErr:jwErrorDetail
xmlns:jwErr="http://www.bea.com/2002/04/jwErrorDetail/";>Expected XML, but no
elements
found.</jwErr:jwErrorDetail></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>".
 

So there is something going wrong between the webserver and the Weblogic
server. Based on a previous experience in contacting this webservice with
Axis2, I known that this is related to data that gets chunked.

Regards, Stefan Lecho.


asankha wrote:
> 
> Stefan
>> The reason to use HTTP 1.0 is that the webservice I'm calling does not
>> support the chunked encoding style.
>>   
> If your end server replied with a successful HTTP 200 message for a 
> chunked encoded HTTP 1.1 request, then that end service and its HTTP 
> environment does understand chunking perfectly. Looking at the traces, 
> it seems like its an "Apache-Coyote/1.1" server.. BTW, you did not post 
> the reply you saw on the TCPMon trace
> 
> asankha
>> Ruwan Linton-3 wrote:
>>   
>>> stlecho wrote:
>>>     
>>>> Ruwan,
>>>>
>>>> I've created a Proxy that sends the requests to TCPMon (localhost:8444)
>>>> and
>>>> here is the result:
>>>> POST http://localhost:8444 HTTP/1.1
>>>> host: localhost:9444
>>>> SOAPAction: urn://fsb.belgium.be/fphp/v3_0/findPerson
>>>> Content-Type: text/xml; charset=UTF-8
>>>> Transfer-Encoding: chunked
>>>> Connection: Keep-Alive
>>>> User-Agent: Synapse-HttpComponents-NIO
>>>>   
>>>>       
>>>
> 
> _______________________________________________
> Esb-java-user mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Control-chunked-encoding-tp16092138p17758275.html
Sent from the WSO2 ESB Users mailing list archive at Nabble.com.


_______________________________________________
Esb-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to