I have seen this happen when the transfer-encoding is set to 'chunked'. Try 
disabling this on the client side (if you are using Axis2, it should be present 
in the axis2.xml file for the 'http' transport sender).

Murali

-----Original Message-----
From: Juho Jussila [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2008 12:19 PM
To: [email protected]
Subject: Re: Running Synapse 1.2 on Aix / Unexpected EOF in prolog

Hi

Paul Fremantle kirjoitti:

> Please subscribe to the mailing list or you won't see the responses - 
> I let your message through, but in general this is a subscriber only 
> list.

Oh, I'm sorry, I am a little bit newbie to mailing list practices.

> I don't have an AIX box to test on - can you please use TCPMON to 
> trace the wire messages between the client and server and post them 
> here.
> Let me know if you need help with that.

Thanks for the advice. I created TCPMon listener port 9000 and target port 
8607. I don't understand why Soap message is missing?

==============
Listen Port: 9000
Target Host: 127.0.0.1
Target Port: 8607
==== Request ====
POST http://localhost:9000/soap/SimpleStockQuoteService/ HTTP/1.1
Host: 127.0.0.1:9000
SOAPAction: urn:getQuote
Content-Type: text/xml; charset=UTF-8
Transfer-Encoding: chunked
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

==== Response ====

==============


I tested also on Linux server.
I think this is desirable result.
==============
Listen Port: 9000
Target Host: 127.0.0.1
Target Port: 8607
==== Request ====
POST http://localhost:9000/soap/SimpleStockQuoteService HTTP/1.1
Host: 127.0.0.1:9000
SOAPAction: urn:getQuote
Content-Type: text/xml; charset=UTF-8
Transfer-Encoding: chunked
Connection: Keep-Alive
User-Agent: Synapse-HttpComponents-NIO

15a
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Header
xmlns:wsa="http://www.w3.org/2005/08/addressing"; 
/><soapenv:Body><m0:getQuote
xmlns:m0="http://services.samples/xsd";><m0:request><m0:symbol>IBM</m0:symbol></m0:request></m0:getQuote></soapenv:Body></soapenv:Envelope>
 

0

==== Response ====
HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Thu, 31 Jul 2008 15:34:57 GMT
Server: Synapse-HttpComponents-NIO
Transfer-Encoding: chunked
Connection: Keep-Alive

38b
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns:getQuoteResponse
xmlns:ns="http://services.samples/xsd";><ns:return
type="samples.services.GetQuoteResponse"><ns:change>-2.4741103874177757</ns:change><ns:earnings>-8.512128119235099</ns:earnings><ns:high>-144.57080730296153</ns:high><ns:last>145.8127088525282</ns:last><ns:lastTradeTimestamp>Thu
Jul 31 17:34:57 GMT+02:00
2008</ns:lastTradeTimestamp><ns:low>151.92850926893593</ns:low><ns:marketCap>4.088996315077977E7</ns:marketCap><ns:name>IBM
Company</ns:name><ns:open>-144.89544883903292</ns:open><ns:peRatio>-19.429599067865958</ns:peRatio><ns:percentageChange>1.7076958446416557</ns:percentageChange><ns:prevClose>-144.88003792835516</ns:prevClose><ns:symbol>IBM</ns:symbol><ns:volume>8310</ns:volume></ns:return></ns:getQuoteResponse></soapenv:Body></soapenv:Envelope>
 

0


==============


      

Reply via email to