Mario Remy Almeida wrote:
> Hi Amos,
>
> Thanks for your reply.
>
> You mean the length is less then what is required?
>
No there is an HTTP header "Content-Length:" which is missing from the
POST request.
> When you pass the below SOAP message I get the error, But when it is
> passed directly to the jboss applications server the request is served
> correctly.
>
> What is wrong the Header settings in the soap message or do i need to do
> some config changes in squid.conf file
The SOAP message below looks like data inside the body. The missing bit
is in the wrapping HTTP headers. They are generated by the client software.
Amos
>
> === SOAP MESSAGE ==
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:env="http://schemas.xmlsoap.org/soap/envelop/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soapenv:Header>
> <wsse:Security
> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken><wsse:Username>WSUSER</wsse:Username><wsse:Password>pass43</wsse:Password></wsse:UsernameToken></wsse:Security></soapenv:Header><soapenv:Body><ns2:OTA_ReadRQ
> xmlns:ns2="http://www.opentravel.org/OTA/2003/05"
> EchoToken="WWW0909271406222" PrimaryLangID="en-us" SequenceNmbr="1"
> TimeStamp="2009-09-27T02:06:22"
> TransactionIdentifier=""><ns2:POS><ns2:Source TerminalID="TestUser/Test
> Runner"><ns2:RequestorID ID="WSDIBUSERATM"
> Type="9"></ns2:RequestorID><ns2:BookingChannel
> Type="9"></ns2:BookingChannel></ns2:Source></ns2:POS><ns2:ReadRequests><ns2:ReadRequest><ns2:UniqueID
> ID="18496815"
> Type="14"></ns2:UniqueID></ns2:ReadRequest><ns2:AirReadRequest><ns2:DepartureDate>2009-10-30T00:00:00</ns2:DepartureDate></ns2:AirReadRequest></ns2:ReadRequests></ns2:OTA_ReadRQ><ns1:AAReadRQExt
> xmlns:ns1="http://www.isaaviation.com/thinair/webservices/OTA/Extensions/2003/05"><ns1:AALoadDataOptions><ns1:LoadTravelerInfo>true</ns1:LoadTravelerInfo><ns1:LoadAirItinery>true</ns1:LoadAirItinery><ns1:LoadPriceInfoTotals>true</ns1:LoadPriceInfoTotals><ns1:LoadFullFilment>true</ns1:LoadFullFilment></ns1:AALoadDataOptions></ns1:AAReadRQExt></soapenv:Body></soapenv:Envelope>
>
>
>
> //Remy
>
> Amos Jeffries wrote:
>> Mario Remy Almeida wrote:
>>> Hi All,
>>>
>>> would like to know what is the reason that i get NONE:// in the
>>> access.log file as below
>>>
>>> 1254046127.530 0 195.229.115.202 TCP_DENIED/411 1757 POST NONE:// -
>>> NONE/- text/html
>>>
>>> my squid proxy acts like a reverse proxy.
>>>
>>> A valid request is sent from the above IP
>> 411 status code is failure to pass a basic validity test.
>> This one was a test for Content-Length: header on POST requests.
>>
>>>
>>> Could some one help be in solving the problem.
>>>
>>>
>>> My setup
>>>
>>> Request from Internet -> Squid Reverse proxy(A) -> Squid reverse
>>> proxy(B) -> Jboss Applications Server.
>>>
>> The NONE:// means no the request did not complete, it did not even get
>> far enough to determine if it was a HIT or MISS on the URL.
>> This is due to the required header making Squid abort its processing
>> immediately.
>>
>> Amos
>
Amos
-- Please be using Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19 Current Beta Squid 3.1.0.13Received on Sun Sep 27 2009 - 13:28:18 MDT
This archive was generated by hypermail 2.2.0 : Mon Sep 28 2009 - 12:00:03 MDT