You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Veithen <an...@gmail.com> on 2009/01/21 11:24:15 UTC
Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http
headers
Conal,
Can you try to intercept the request (headers) using a tool like
Wireshark or Apache TCPMon and post it here?
Andreas
On Wed, Jan 21, 2009 at 10:25, Conal Markey <C....@kainos.com> wrote:
> Andreas, I ran my test client with the code supplied below and I'm still
> having the issue with headers. See message below.
>
> HTTP/1.1 400 Bad Request ( The HTTP request includes a non-supported
> header. Contact your ISA Server administrator. )
>
> I need to get a POC working and have spent some time on this already so
> for the moment I'm going to plan B!! If I get a resolution to this I'll
> post back to the forum.
>
> It seems to me though that the issue in Jira should not be marked as
> resolved.
>
> Thanks
>
> Conal....
>
>
> -----Original Message-----
> From: Conal Markey [mailto:C.Markey@kainos.com]
> Sent: 20 January 2009 22:16
> To: axis-user@ws.apache.org
> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Thanks for the reply Andreas.
>
> Yes, I'm still seeing issues with this. I'll patch the code tomorrow
> with the source from the link you provided and see if it resolves the
> issue I'm having.
>
> Thanks again
>
> Conal....
>
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: 20 January 2009 21:46
> To: axis-user@ws.apache.org
> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> The code modifications can be found at [1]. Not sure how this change
> would solve problems with screwed up headers. Are you still seeing
> this issue?
>
> Andreas
>
> [1] http://svn.apache.org/viewvc?view=rev&revision=701047
>
> On Tue, Jan 20, 2009 at 17:29, Conal Markey <C....@kainos.com> wrote:
>> According to JIRA this item is resolved by Dimuthu Leelaranthe. Could
> you
>> supply details of the fix applied to resolve this and patched source
> if
>> possible?
>>
>>
>>
>> Thanks
>>
>> This e-mail is intended solely for the addressee and is strictly
>> confidential; if you are not the addressee please destroy the message
> and
>> all copies. Any opinion or information contained in this email or its
>> attachments that does not relate to the business of Kainos is personal
> to
>> the sender and is not given by or endorsed by Kainos. Kainos is the
> trading
>> name of Kainos Software Limited, registered in Northern Ireland under
>> company number: NI19370, having its registered offices at: Kainos
> House, 4-6
>> Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in the
> UK for
>> VAT under number: 454598802 and registered in Ireland for VAT under
> number:
>> 9950340E. This email has been scanned for all known viruses by
> MessageLabs
>> but is not guaranteed to be virus free; further terms and conditions
> may be
>> found on our website - www.kainos.com
>
>
>
> --------------------------------------------------------------------
> This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
> is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
> Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
> found on our website - www.kainos.com
>
>
>
Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http
headers
Posted by "Asankha C. Perera" <as...@apache.org>.
Hi Conal
>
> Our fix for this will be to set the HTTPConstants.CHUNKED property to
> "false". This results in the Content-Length header getting used
> instead of the Transfer-Encoding one. As our messages are fairly
> small I don't think this will be an issue.
>
>
>
> Our system administrator will be following up with Microsoft to see
> what the issue is with the ISA server.
>
Good to hear!.. Chunking should be supported if ISA supports HTTP 1.1..
and results in better performance, as the payload does not have to be
fully buffered in memory to compute its length before starting to write it
>
> Thanks Andreas and Asankha for your help with this.
>
You are welcome, and thanks for updating everyone else with the solution
that worked for you, so that it adds to the knowledge base of problems
and solutions
cheers
asankha
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com
RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers
Posted by Conal Markey <C....@kainos.com>.
Hi
Our fix for this will be to set the HTTPConstants.CHUNKED property to
"false". This results in the Content-Length header getting used instead
of the Transfer-Encoding one. As our messages are fairly small I don't
think this will be an issue.
Our system administrator will be following up with Microsoft to see what
the issue is with the ISA server.
Thanks Andreas and Asankha for your help with this.
Conal....
________________________________
From: Conal Markey [mailto:C.Markey@kainos.com]
Sent: 28 January 2009 18:44
To: axis-user@ws.apache.org
Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
Hi Asankha
Your right, it's the transfer encoding header that is causing the
problem. I implemented a quick hack to force a set of the
Content-Length header and it was successful.
I need to do some more digging with our proxy administrator to try and
resolve the issue.
Thanks for the info
Conal....
________________________________
From: Asankha Perera [mailto:asankha.apache@gmail.com] On Behalf Of
Asankha C. Perera
Sent: 28 January 2009 17:35
To: axis-user@ws.apache.org
Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
Hi Conal
" Check the Alerts tab under the monitoring section in ISA Server
Management console. You should see the exact reason for the header being
rejected." [1] - does this help?
Also, what exactly is the full response you get as seen through
wireshark? Could you post a new example? Also, you could check if the
correct credentials went through by checking the decoded basic auth
string. Try something that works too (any request through the proxy) and
post it, so that its easier to figure out which header is the problem ..
I suspect transfer encoding..
cheers
asankha
[1]
http://www.experts-exchange.com/Other/Miscellaneous/Q_21903188.html?sfQu
eryTermInfo=1+connecto
Below are the headers captured using wireshark.
POST
http://xxxxxx.xxxxxxxx.com/xxxxxdatawebservice/xxxxquery.asmx
HTTP/1.1\r\n
Request Method: POST
Request URI:
http://xxxxxxx.xxxxxxxxx.com/xxxxxxdatawebservice/xxxxxxquery.asmx
Request Version: HTTP/1.1
Content-Type: application/soap+xml; charset=UTF-8;
action="http://xxxx.xxxxxxxx.com/xxxxxDataWebService/xxxxxQuery/Queryxxx
xxx"\r\n
User-Agent: Axis2\r\n
Proxy-Authorization: Basic bWFxxxxxxxx==\r\n
Credentials: xxxxxxx:xxxxxxxxx
Host: idstaging.moneymate.com\r\n
Proxy-Connection: Keep-Alive\r\n
Transfer-Encoding: chunked\r\n
\r\n
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com
This e-mail is intended solely for the addressee and is strictly
confidential; if you are not the addressee please destroy the message
and all copies. Any opinion or information contained in this email or
its attachments that does not relate to the business of Kainos is
personal to the sender and is not given by or endorsed by Kainos. Kainos
is the trading name of Kainos Software Limited, registered in Northern
Ireland under company number: NI19370, having its registered offices at:
Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT, Northern Ireland.
Registered in the UK for VAT under number: 454598802 and registered in
Ireland for VAT under number: 9950340E. This email has been scanned for
all known viruses by MessageLabs but is not guaranteed to be virus free;
further terms and conditions may be found on our website -
www.kainos.com
--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
found on our website - www.kainos.com
RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers
Posted by Conal Markey <C....@kainos.com>.
Hi Asankha
Your right, it's the transfer encoding header that is causing the
problem. I implemented a quick hack to force a set of the
Content-Length header and it was successful.
I need to do some more digging with our proxy administrator to try and
resolve the issue.
Thanks for the info
Conal....
________________________________
From: Asankha Perera [mailto:asankha.apache@gmail.com] On Behalf Of
Asankha C. Perera
Sent: 28 January 2009 17:35
To: axis-user@ws.apache.org
Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
Hi Conal
" Check the Alerts tab under the monitoring section in ISA Server
Management console. You should see the exact reason for the header being
rejected." [1] - does this help?
Also, what exactly is the full response you get as seen through
wireshark? Could you post a new example? Also, you could check if the
correct credentials went through by checking the decoded basic auth
string. Try something that works too (any request through the proxy) and
post it, so that its easier to figure out which header is the problem ..
I suspect transfer encoding..
cheers
asankha
[1]
http://www.experts-exchange.com/Other/Miscellaneous/Q_21903188.html?sfQu
eryTermInfo=1+connecto
Below are the headers captured using wireshark.
POST
http://xxxxxx.xxxxxxxx.com/xxxxxdatawebservice/xxxxquery.asmx
HTTP/1.1\r\n
Request Method: POST
Request URI:
http://xxxxxxx.xxxxxxxxx.com/xxxxxxdatawebservice/xxxxxxquery.asmx
Request Version: HTTP/1.1
Content-Type: application/soap+xml; charset=UTF-8;
action="http://xxxx.xxxxxxxx.com/xxxxxDataWebService/xxxxxQuery/Queryxxx
xxx"\r\n
User-Agent: Axis2\r\n
Proxy-Authorization: Basic bWFxxxxxxxx==\r\n
Credentials: xxxxxxx:xxxxxxxxx
Host: idstaging.moneymate.com\r\n
Proxy-Connection: Keep-Alive\r\n
Transfer-Encoding: chunked\r\n
\r\n
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com
--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
found on our website - www.kainos.com
Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http
headers
Posted by "Asankha C. Perera" <as...@apache.org>.
Hi Conal
" Check the Alerts tab under the monitoring section in ISA Server
Management console. You should see the exact reason for the header being
rejected." [1] - does this help?
Also, what exactly is the full response you get as seen through
wireshark? Could you post a new example? Also, you could check if the
correct credentials went through by checking the decoded basic auth
string. Try something that works too (any request through the proxy) and
post it, so that its easier to figure out which header is the problem ..
I suspect transfer encoding..
cheers
asankha
[1]
http://www.experts-exchange.com/Other/Miscellaneous/Q_21903188.html?sfQueryTermInfo=1+connecto
>> Below are the headers captured using wireshark.
>>
>>
>> POST http://xxxxxx.xxxxxxxx.com/xxxxxdatawebservice/xxxxquery.asmx
>> HTTP/1.1\r\n
>> Request Method: POST
>> Request URI:
>> http://xxxxxxx.xxxxxxxxx.com/xxxxxxdatawebservice/xxxxxxquery.asmx
>> Request Version: HTTP/1.1
>> Content-Type: application/soap+xml; charset=UTF-8;
>>
>>
> action="http://xxxx.xxxxxxxx.com/xxxxxDataWebService/xxxxxQuery/Queryxxx
>
>> xxx"\r\n
>> User-Agent: Axis2\r\n
>> Proxy-Authorization: Basic bWFxxxxxxxx==\r\n
>> Credentials: xxxxxxx:xxxxxxxxx
>> Host: idstaging.moneymate.com\r\n
>> Proxy-Connection: Keep-Alive\r\n
>> Transfer-Encoding: chunked\r\n
>> \r\n
>>
>>
--
Asankha C. Perera
http://adroitlogic.org
http://esbmagic.blogspot.com
RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers
Posted by Conal Markey <C....@kainos.com>.
Hi Andreas
We got that patch applied to our proxy server and it didn't resolve our
issue.
Conal....
-----Original Message-----
From: Conal Markey [mailto:C.Markey@kainos.com]
Sent: 23 January 2009 15:10
To: axis-user@ws.apache.org
Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
Hi Andreas
Thanks for the link below. I have forwarded this onto the ISA
administrator and they are looking into it at the moment.
It may take a few days to resolve but I'll post back with the outcome.
Conal....
-----Original Message-----
From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
Sent: 22 January 2009 22:12
To: axis-user@ws.apache.org
Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
I don't see anything wrong in that request. My guess is that we are
actually looking in the wrong place. Probably there is nothing wrong
with the request, but there is an issue with the ISA server that
causes it to return a misleading error message. Something similar to
[1].
Andreas
[1] http://support.microsoft.com/kb/915045
On Thu, Jan 22, 2009 at 18:18, Conal Markey <C....@kainos.com> wrote:
> Hi Andreas
>
> Below are the headers captured using wireshark.
>
> Conal....
>
> POST http://xxxxxx.xxxxxxxx.com/xxxxxdatawebservice/xxxxquery.asmx
> HTTP/1.1\r\n
> Request Method: POST
> Request URI:
> http://xxxxxxx.xxxxxxxxx.com/xxxxxxdatawebservice/xxxxxxquery.asmx
> Request Version: HTTP/1.1
> Content-Type: application/soap+xml; charset=UTF-8;
>
action="http://xxxx.xxxxxxxx.com/xxxxxDataWebService/xxxxxQuery/Queryxxx
> xxx"\r\n
> User-Agent: Axis2\r\n
> Proxy-Authorization: Basic bWFxxxxxxxx==\r\n
> Credentials: xxxxxxx:xxxxxxxxx
> Host: idstaging.moneymate.com\r\n
> Proxy-Connection: Keep-Alive\r\n
> Transfer-Encoding: chunked\r\n
> \r\n
>
>
>
> -----Original Message-----
> From: Conal Markey [mailto:C.Markey@kainos.com]
> Sent: 21 January 2009 11:09
> To: axis-user@ws.apache.org
> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Hi Andreas
>
> I'll set one of the tools up when I get back to this. For the moment
> the headers below are what I had from debugging through my test
client.
> I got these from the requestHeaders attribute on the
> org.apache.commons.httpclient.methods.PostMethod object.
>
> [Content-Type: application/soap+xml;
> charset=UTF-8;
>
action="http://xxxx.xxxxxxx.com/xxxxxDataWebService/xxxxQuery/Queryxxxx"
> , Host: xxxxxx.xxxxxxxx.com
> , User-Agent: Axis2
> , Proxy-Authorization: Basic bWxxxxxxxxxxxxxxxxxx==
>
> ]
>
> Thanks
>
> Conal....
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: 21 January 2009 10:24
> To: axis-user@ws.apache.org
> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Conal,
>
> Can you try to intercept the request (headers) using a tool like
> Wireshark or Apache TCPMon and post it here?
>
> Andreas
>
> On Wed, Jan 21, 2009 at 10:25, Conal Markey <C....@kainos.com>
wrote:
>> Andreas, I ran my test client with the code supplied below and I'm
> still
>> having the issue with headers. See message below.
>>
>> HTTP/1.1 400 Bad Request ( The HTTP request includes a non-supported
>> header. Contact your ISA Server administrator. )
>>
>> I need to get a POC working and have spent some time on this already
> so
>> for the moment I'm going to plan B!! If I get a resolution to this
> I'll
>> post back to the forum.
>>
>> It seems to me though that the issue in Jira should not be marked as
>> resolved.
>>
>> Thanks
>>
>> Conal....
>>
>>
>> -----Original Message-----
>> From: Conal Markey [mailto:C.Markey@kainos.com]
>> Sent: 20 January 2009 22:16
>> To: axis-user@ws.apache.org
>> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed
up
>> http headers
>>
>> Thanks for the reply Andreas.
>>
>> Yes, I'm still seeing issues with this. I'll patch the code tomorrow
>> with the source from the link you provided and see if it resolves the
>> issue I'm having.
>>
>> Thanks again
>>
>> Conal....
>>
>>
>>
>> -----Original Message-----
>> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
>> Sent: 20 January 2009 21:46
>> To: axis-user@ws.apache.org
>> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed
up
>> http headers
>>
>> The code modifications can be found at [1]. Not sure how this change
>> would solve problems with screwed up headers. Are you still seeing
>> this issue?
>>
>> Andreas
>>
>> [1] http://svn.apache.org/viewvc?view=rev&revision=701047
>>
>> On Tue, Jan 20, 2009 at 17:29, Conal Markey <C....@kainos.com>
> wrote:
>>> According to JIRA this item is resolved by Dimuthu Leelaranthe.
> Could
>> you
>>> supply details of the fix applied to resolve this and patched source
>> if
>>> possible?
>>>
>>>
>>>
>>> Thanks
>>>
>>> This e-mail is intended solely for the addressee and is strictly
>>> confidential; if you are not the addressee please destroy the
message
>> and
>>> all copies. Any opinion or information contained in this email or
its
>>> attachments that does not relate to the business of Kainos is
>personal
>> to
>>> the sender and is not given by or endorsed by Kainos. Kainos is the
>> trading
>>> name of Kainos Software Limited, registered in Northern Ireland
under
>>> company number: NI19370, having its registered offices at: Kainos
>> House, 4-6
>>> Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in
the
>> UK for
>>> VAT under number: 454598802 and registered in Ireland for VAT under
>> number:
>>> 9950340E. This email has been scanned for all known viruses by
>> MessageLabs
>>> but is not guaranteed to be virus free; further terms and conditions
>> may be
>>> found on our website - www.kainos.com
--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
found on our website - www.kainos.com
RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers
Posted by Conal Markey <C....@kainos.com>.
Hi Andreas
Thanks for the link below. I have forwarded this onto the ISA
administrator and they are looking into it at the moment.
It may take a few days to resolve but I'll post back with the outcome.
Conal....
-----Original Message-----
From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
Sent: 22 January 2009 22:12
To: axis-user@ws.apache.org
Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
I don't see anything wrong in that request. My guess is that we are
actually looking in the wrong place. Probably there is nothing wrong
with the request, but there is an issue with the ISA server that
causes it to return a misleading error message. Something similar to
[1].
Andreas
[1] http://support.microsoft.com/kb/915045
On Thu, Jan 22, 2009 at 18:18, Conal Markey <C....@kainos.com> wrote:
> Hi Andreas
>
> Below are the headers captured using wireshark.
>
> Conal....
>
> POST http://xxxxxx.xxxxxxxx.com/xxxxxdatawebservice/xxxxquery.asmx
> HTTP/1.1\r\n
> Request Method: POST
> Request URI:
> http://xxxxxxx.xxxxxxxxx.com/xxxxxxdatawebservice/xxxxxxquery.asmx
> Request Version: HTTP/1.1
> Content-Type: application/soap+xml; charset=UTF-8;
>
action="http://xxxx.xxxxxxxx.com/xxxxxDataWebService/xxxxxQuery/Queryxxx
> xxx"\r\n
> User-Agent: Axis2\r\n
> Proxy-Authorization: Basic bWFxxxxxxxx==\r\n
> Credentials: xxxxxxx:xxxxxxxxx
> Host: idstaging.moneymate.com\r\n
> Proxy-Connection: Keep-Alive\r\n
> Transfer-Encoding: chunked\r\n
> \r\n
>
>
>
> -----Original Message-----
> From: Conal Markey [mailto:C.Markey@kainos.com]
> Sent: 21 January 2009 11:09
> To: axis-user@ws.apache.org
> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Hi Andreas
>
> I'll set one of the tools up when I get back to this. For the moment
> the headers below are what I had from debugging through my test
client.
> I got these from the requestHeaders attribute on the
> org.apache.commons.httpclient.methods.PostMethod object.
>
> [Content-Type: application/soap+xml;
> charset=UTF-8;
>
action="http://xxxx.xxxxxxx.com/xxxxxDataWebService/xxxxQuery/Queryxxxx"
> , Host: xxxxxx.xxxxxxxx.com
> , User-Agent: Axis2
> , Proxy-Authorization: Basic bWxxxxxxxxxxxxxxxxxx==
>
> ]
>
> Thanks
>
> Conal....
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: 21 January 2009 10:24
> To: axis-user@ws.apache.org
> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Conal,
>
> Can you try to intercept the request (headers) using a tool like
> Wireshark or Apache TCPMon and post it here?
>
> Andreas
>
> On Wed, Jan 21, 2009 at 10:25, Conal Markey <C....@kainos.com>
wrote:
>> Andreas, I ran my test client with the code supplied below and I'm
> still
>> having the issue with headers. See message below.
>>
>> HTTP/1.1 400 Bad Request ( The HTTP request includes a non-supported
>> header. Contact your ISA Server administrator. )
>>
>> I need to get a POC working and have spent some time on this already
> so
>> for the moment I'm going to plan B!! If I get a resolution to this
> I'll
>> post back to the forum.
>>
>> It seems to me though that the issue in Jira should not be marked as
>> resolved.
>>
>> Thanks
>>
>> Conal....
>>
>>
>> -----Original Message-----
>> From: Conal Markey [mailto:C.Markey@kainos.com]
>> Sent: 20 January 2009 22:16
>> To: axis-user@ws.apache.org
>> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed
up
>> http headers
>>
>> Thanks for the reply Andreas.
>>
>> Yes, I'm still seeing issues with this. I'll patch the code tomorrow
>> with the source from the link you provided and see if it resolves the
>> issue I'm having.
>>
>> Thanks again
>>
>> Conal....
>>
>>
>>
>> -----Original Message-----
>> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
>> Sent: 20 January 2009 21:46
>> To: axis-user@ws.apache.org
>> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed
up
>> http headers
>>
>> The code modifications can be found at [1]. Not sure how this change
>> would solve problems with screwed up headers. Are you still seeing
>> this issue?
>>
>> Andreas
>>
>> [1] http://svn.apache.org/viewvc?view=rev&revision=701047
>>
>> On Tue, Jan 20, 2009 at 17:29, Conal Markey <C....@kainos.com>
> wrote:
>>> According to JIRA this item is resolved by Dimuthu Leelaranthe.
> Could
>> you
>>> supply details of the fix applied to resolve this and patched source
>> if
>>> possible?
>>>
>>>
>>>
>>> Thanks
>>>
>>> This e-mail is intended solely for the addressee and is strictly
>>> confidential; if you are not the addressee please destroy the
message
>> and
>>> all copies. Any opinion or information contained in this email or
its
>>> attachments that does not relate to the business of Kainos is
>personal
>> to
>>> the sender and is not given by or endorsed by Kainos. Kainos is the
>> trading
>>> name of Kainos Software Limited, registered in Northern Ireland
under
>>> company number: NI19370, having its registered offices at: Kainos
>> House, 4-6
>>> Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in
the
>> UK for
>>> VAT under number: 454598802 and registered in Ireland for VAT under
>> number:
>>> 9950340E. This email has been scanned for all known viruses by
>> MessageLabs
>>> but is not guaranteed to be virus free; further terms and conditions
>> may be
>>> found on our website - www.kainos.com
>
>
>
--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
found on our website - www.kainos.com
Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http
headers
Posted by Andreas Veithen <an...@gmail.com>.
I don't see anything wrong in that request. My guess is that we are
actually looking in the wrong place. Probably there is nothing wrong
with the request, but there is an issue with the ISA server that
causes it to return a misleading error message. Something similar to
[1].
Andreas
[1] http://support.microsoft.com/kb/915045
On Thu, Jan 22, 2009 at 18:18, Conal Markey <C....@kainos.com> wrote:
> Hi Andreas
>
> Below are the headers captured using wireshark.
>
> Conal....
>
> POST http://xxxxxx.xxxxxxxx.com/xxxxxdatawebservice/xxxxquery.asmx
> HTTP/1.1\r\n
> Request Method: POST
> Request URI:
> http://xxxxxxx.xxxxxxxxx.com/xxxxxxdatawebservice/xxxxxxquery.asmx
> Request Version: HTTP/1.1
> Content-Type: application/soap+xml; charset=UTF-8;
> action="http://xxxx.xxxxxxxx.com/xxxxxDataWebService/xxxxxQuery/Queryxxx
> xxx"\r\n
> User-Agent: Axis2\r\n
> Proxy-Authorization: Basic bWFxxxxxxxx==\r\n
> Credentials: xxxxxxx:xxxxxxxxx
> Host: idstaging.moneymate.com\r\n
> Proxy-Connection: Keep-Alive\r\n
> Transfer-Encoding: chunked\r\n
> \r\n
>
>
>
> -----Original Message-----
> From: Conal Markey [mailto:C.Markey@kainos.com]
> Sent: 21 January 2009 11:09
> To: axis-user@ws.apache.org
> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Hi Andreas
>
> I'll set one of the tools up when I get back to this. For the moment
> the headers below are what I had from debugging through my test client.
> I got these from the requestHeaders attribute on the
> org.apache.commons.httpclient.methods.PostMethod object.
>
> [Content-Type: application/soap+xml;
> charset=UTF-8;
> action="http://xxxx.xxxxxxx.com/xxxxxDataWebService/xxxxQuery/Queryxxxx"
> , Host: xxxxxx.xxxxxxxx.com
> , User-Agent: Axis2
> , Proxy-Authorization: Basic bWxxxxxxxxxxxxxxxxxx==
>
> ]
>
> Thanks
>
> Conal....
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: 21 January 2009 10:24
> To: axis-user@ws.apache.org
> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Conal,
>
> Can you try to intercept the request (headers) using a tool like
> Wireshark or Apache TCPMon and post it here?
>
> Andreas
>
> On Wed, Jan 21, 2009 at 10:25, Conal Markey <C....@kainos.com> wrote:
>> Andreas, I ran my test client with the code supplied below and I'm
> still
>> having the issue with headers. See message below.
>>
>> HTTP/1.1 400 Bad Request ( The HTTP request includes a non-supported
>> header. Contact your ISA Server administrator. )
>>
>> I need to get a POC working and have spent some time on this already
> so
>> for the moment I'm going to plan B!! If I get a resolution to this
> I'll
>> post back to the forum.
>>
>> It seems to me though that the issue in Jira should not be marked as
>> resolved.
>>
>> Thanks
>>
>> Conal....
>>
>>
>> -----Original Message-----
>> From: Conal Markey [mailto:C.Markey@kainos.com]
>> Sent: 20 January 2009 22:16
>> To: axis-user@ws.apache.org
>> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
>> http headers
>>
>> Thanks for the reply Andreas.
>>
>> Yes, I'm still seeing issues with this. I'll patch the code tomorrow
>> with the source from the link you provided and see if it resolves the
>> issue I'm having.
>>
>> Thanks again
>>
>> Conal....
>>
>>
>>
>> -----Original Message-----
>> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
>> Sent: 20 January 2009 21:46
>> To: axis-user@ws.apache.org
>> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
>> http headers
>>
>> The code modifications can be found at [1]. Not sure how this change
>> would solve problems with screwed up headers. Are you still seeing
>> this issue?
>>
>> Andreas
>>
>> [1] http://svn.apache.org/viewvc?view=rev&revision=701047
>>
>> On Tue, Jan 20, 2009 at 17:29, Conal Markey <C....@kainos.com>
> wrote:
>>> According to JIRA this item is resolved by Dimuthu Leelaranthe.
> Could
>> you
>>> supply details of the fix applied to resolve this and patched source
>> if
>>> possible?
>>>
>>>
>>>
>>> Thanks
>>>
>>> This e-mail is intended solely for the addressee and is strictly
>>> confidential; if you are not the addressee please destroy the message
>> and
>>> all copies. Any opinion or information contained in this email or its
>>> attachments that does not relate to the business of Kainos is
> personal
>> to
>>> the sender and is not given by or endorsed by Kainos. Kainos is the
>> trading
>>> name of Kainos Software Limited, registered in Northern Ireland under
>>> company number: NI19370, having its registered offices at: Kainos
>> House, 4-6
>>> Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in the
>> UK for
>>> VAT under number: 454598802 and registered in Ireland for VAT under
>> number:
>>> 9950340E. This email has been scanned for all known viruses by
>> MessageLabs
>>> but is not guaranteed to be virus free; further terms and conditions
>> may be
>>> found on our website - www.kainos.com
>
>
>
> --------------------------------------------------------------------
> This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
> is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
> Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
> found on our website - www.kainos.com
>
>
>
RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers
Posted by Conal Markey <C....@kainos.com>.
Hi Andreas
Below are the headers captured using wireshark.
Conal....
POST http://xxxxxx.xxxxxxxx.com/xxxxxdatawebservice/xxxxquery.asmx
HTTP/1.1\r\n
Request Method: POST
Request URI:
http://xxxxxxx.xxxxxxxxx.com/xxxxxxdatawebservice/xxxxxxquery.asmx
Request Version: HTTP/1.1
Content-Type: application/soap+xml; charset=UTF-8;
action="http://xxxx.xxxxxxxx.com/xxxxxDataWebService/xxxxxQuery/Queryxxx
xxx"\r\n
User-Agent: Axis2\r\n
Proxy-Authorization: Basic bWFxxxxxxxx==\r\n
Credentials: xxxxxxx:xxxxxxxxx
Host: idstaging.moneymate.com\r\n
Proxy-Connection: Keep-Alive\r\n
Transfer-Encoding: chunked\r\n
\r\n
-----Original Message-----
From: Conal Markey [mailto:C.Markey@kainos.com]
Sent: 21 January 2009 11:09
To: axis-user@ws.apache.org
Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
Hi Andreas
I'll set one of the tools up when I get back to this. For the moment
the headers below are what I had from debugging through my test client.
I got these from the requestHeaders attribute on the
org.apache.commons.httpclient.methods.PostMethod object.
[Content-Type: application/soap+xml;
charset=UTF-8;
action="http://xxxx.xxxxxxx.com/xxxxxDataWebService/xxxxQuery/Queryxxxx"
, Host: xxxxxx.xxxxxxxx.com
, User-Agent: Axis2
, Proxy-Authorization: Basic bWxxxxxxxxxxxxxxxxxx==
]
Thanks
Conal....
-----Original Message-----
From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
Sent: 21 January 2009 10:24
To: axis-user@ws.apache.org
Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
Conal,
Can you try to intercept the request (headers) using a tool like
Wireshark or Apache TCPMon and post it here?
Andreas
On Wed, Jan 21, 2009 at 10:25, Conal Markey <C....@kainos.com> wrote:
> Andreas, I ran my test client with the code supplied below and I'm
still
> having the issue with headers. See message below.
>
> HTTP/1.1 400 Bad Request ( The HTTP request includes a non-supported
> header. Contact your ISA Server administrator. )
>
> I need to get a POC working and have spent some time on this already
so
> for the moment I'm going to plan B!! If I get a resolution to this
I'll
> post back to the forum.
>
> It seems to me though that the issue in Jira should not be marked as
> resolved.
>
> Thanks
>
> Conal....
>
>
> -----Original Message-----
> From: Conal Markey [mailto:C.Markey@kainos.com]
> Sent: 20 January 2009 22:16
> To: axis-user@ws.apache.org
> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Thanks for the reply Andreas.
>
> Yes, I'm still seeing issues with this. I'll patch the code tomorrow
> with the source from the link you provided and see if it resolves the
> issue I'm having.
>
> Thanks again
>
> Conal....
>
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: 20 January 2009 21:46
> To: axis-user@ws.apache.org
> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> The code modifications can be found at [1]. Not sure how this change
> would solve problems with screwed up headers. Are you still seeing
> this issue?
>
> Andreas
>
> [1] http://svn.apache.org/viewvc?view=rev&revision=701047
>
> On Tue, Jan 20, 2009 at 17:29, Conal Markey <C....@kainos.com>
wrote:
>> According to JIRA this item is resolved by Dimuthu Leelaranthe.
Could
> you
>> supply details of the fix applied to resolve this and patched source
> if
>> possible?
>>
>>
>>
>> Thanks
>>
>> This e-mail is intended solely for the addressee and is strictly
>> confidential; if you are not the addressee please destroy the message
> and
>> all copies. Any opinion or information contained in this email or its
>> attachments that does not relate to the business of Kainos is
personal
> to
>> the sender and is not given by or endorsed by Kainos. Kainos is the
> trading
>> name of Kainos Software Limited, registered in Northern Ireland under
>> company number: NI19370, having its registered offices at: Kainos
> House, 4-6
>> Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in the
> UK for
>> VAT under number: 454598802 and registered in Ireland for VAT under
> number:
>> 9950340E. This email has been scanned for all known viruses by
> MessageLabs
>> but is not guaranteed to be virus free; further terms and conditions
> may be
>> found on our website - www.kainos.com
--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
found on our website - www.kainos.com
RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers
Posted by Conal Markey <C....@kainos.com>.
Hi Andreas
I'll set one of the tools up when I get back to this. For the moment
the headers below are what I had from debugging through my test client.
I got these from the requestHeaders attribute on the
org.apache.commons.httpclient.methods.PostMethod object.
[Content-Type: application/soap+xml;
charset=UTF-8;
action="http://xxxx.xxxxxxx.com/xxxxxDataWebService/xxxxQuery/Queryxxxx"
, Host: xxxxxx.xxxxxxxx.com
, User-Agent: Axis2
, Proxy-Authorization: Basic bWxxxxxxxxxxxxxxxxxx==
]
Thanks
Conal....
-----Original Message-----
From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
Sent: 21 January 2009 10:24
To: axis-user@ws.apache.org
Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
http headers
Conal,
Can you try to intercept the request (headers) using a tool like
Wireshark or Apache TCPMon and post it here?
Andreas
On Wed, Jan 21, 2009 at 10:25, Conal Markey <C....@kainos.com> wrote:
> Andreas, I ran my test client with the code supplied below and I'm
still
> having the issue with headers. See message below.
>
> HTTP/1.1 400 Bad Request ( The HTTP request includes a non-supported
> header. Contact your ISA Server administrator. )
>
> I need to get a POC working and have spent some time on this already
so
> for the moment I'm going to plan B!! If I get a resolution to this
I'll
> post back to the forum.
>
> It seems to me though that the issue in Jira should not be marked as
> resolved.
>
> Thanks
>
> Conal....
>
>
> -----Original Message-----
> From: Conal Markey [mailto:C.Markey@kainos.com]
> Sent: 20 January 2009 22:16
> To: axis-user@ws.apache.org
> Subject: RE: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> Thanks for the reply Andreas.
>
> Yes, I'm still seeing issues with this. I'll patch the code tomorrow
> with the source from the link you provided and see if it resolves the
> issue I'm having.
>
> Thanks again
>
> Conal....
>
>
>
> -----Original Message-----
> From: Andreas Veithen [mailto:andreas.veithen@gmail.com]
> Sent: 20 January 2009 21:46
> To: axis-user@ws.apache.org
> Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up
> http headers
>
> The code modifications can be found at [1]. Not sure how this change
> would solve problems with screwed up headers. Are you still seeing
> this issue?
>
> Andreas
>
> [1] http://svn.apache.org/viewvc?view=rev&revision=701047
>
> On Tue, Jan 20, 2009 at 17:29, Conal Markey <C....@kainos.com>
wrote:
>> According to JIRA this item is resolved by Dimuthu Leelaranthe.
Could
> you
>> supply details of the fix applied to resolve this and patched source
> if
>> possible?
>>
>>
>>
>> Thanks
>>
>> This e-mail is intended solely for the addressee and is strictly
>> confidential; if you are not the addressee please destroy the message
> and
>> all copies. Any opinion or information contained in this email or its
>> attachments that does not relate to the business of Kainos is
personal
> to
>> the sender and is not given by or endorsed by Kainos. Kainos is the
> trading
>> name of Kainos Software Limited, registered in Northern Ireland under
>> company number: NI19370, having its registered offices at: Kainos
> House, 4-6
>> Upper Crescent, Belfast, BT7 1NT, Northern Ireland. Registered in the
> UK for
>> VAT under number: 454598802 and registered in Ireland for VAT under
> number:
>> 9950340E. This email has been scanned for all known viruses by
> MessageLabs
>> but is not guaranteed to be virus free; further terms and conditions
> may be
>> found on our website - www.kainos.com
>
>
>
--------------------------------------------------------------------
This e-mail is intended solely for the addressee and is strictly confidential; if you are not the addressee please destroy the message and all copies. Any opinion or information contained in this email or its attachments that does not relate to the business of Kainos
is personal to the sender and is not given by or endorsed by Kainos. Kainos is the trading name of Kainos Software Limited, registered in Northern Ireland under company number: NI19370, having its registered offices at: Kainos House, 4-6 Upper Crescent, Belfast, BT7 1NT,
Northern Ireland. Registered in the UK for VAT under number: 454598802 and registered in Ireland for VAT under number: 9950340E. This email has been scanned for all known viruses by MessageLabs but is not guaranteed to be virus free; further terms and conditions may be
found on our website - www.kainos.com