[jboss-remoting-issues] [JBoss JIRA] Commented: (JBREM-1153) Malformed Method line in HTTP requests thru HTTP Proxy
Sebastien Favre (JIRA)
jira-events at lists.jboss.org
Wed Dec 9 08:21:30 EST 2009
[ https://jira.jboss.org/jira/browse/JBREM-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12499018#action_12499018 ]
Sebastien Favre commented on JBREM-1153:
----------------------------------------
I have got the same issue using JBoss AS 5.1.0 and its embedded JBossWS libraries when my machine is behind our Squid Internet proxy.
But if I use the same WS client classes outside JBoss in a simple java program with same WS implementation libraries, it works even behind the same proxy !
So it sounds like there is something specific to JBoss...
Any idea for a workaround ?
> Malformed Method line in HTTP requests thru HTTP Proxy
> ------------------------------------------------------
>
> Key: JBREM-1153
> URL: https://jira.jboss.org/jira/browse/JBREM-1153
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: transport
> Affects Versions: 2.2.2.SP8
> Environment: JBoss 4.2.3.GA patched with JBossWS 3.0.5
> Reporter: Gerald Turner
> Attachments: jbossws-noproxy.cap, jbossws-proxy.cap
>
>
> Invoking a web service with http.proxyHost and http.proxyPort System properties is broken. It produces a request like the following:
> POST http://btnwks10.corp.inthosts.net:9090/HVODWebService/Import HTTP/1.1
> Authorization: Basic b5V0am91bmR5ZbN0ZXI6bH5cdW9yT3Aw
> SOAPAction: ""
> Content-Type: text/xml; charset=UTF-8
> JBoss-Remoting-Version: 22
> User-Agent: JBossRemoting - 2.2.2.SP8
> Host: btnwks10.corp.inthosts.net:9090
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Proxy-Connection: keep-alive
> Transfer-Encoding: chunked
> With the System properties removed, the request is sent correctly:
> POST /HVODWebService/Import HTTP/1.1
> Authorization: Basic b5V0am91bmR5ZbN0ZXI6bH5cdW9yT3Aw
> SOAPAction: ""
> Content-Type: text/xml; charset=UTF-8
> JBoss-Remoting-Version: 22
> User-Agent: JBossRemoting - 2.2.2.SP8
> Host: btnwks10.corp.inthosts.net:9090
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> Transfer-Encoding: chunked
> Bug appears to be exactly as described in JBREM-569, however that bug claims to have been fixed in 2.0.0.GA, maybe a regression occurred?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-remoting-issues
mailing list