Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 80878 invoked from network); 12 Feb 2005 00:38:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Feb 2005 00:38:20 -0000 Received: (qmail 28006 invoked by uid 500); 12 Feb 2005 00:38:09 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 27960 invoked by uid 500); 12 Feb 2005 00:38:08 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 27945 invoked by uid 99); 12 Feb 2005 00:38:08 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=DNS_FROM_RFC_ABUSE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail03.peoplesoft.com (HELO mail03.peoplesoft.com) (192.206.43.75) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 11 Feb 2005 16:38:07 -0800 Received: from psh-mmsrel-01.peoplesoft.com (psh-mmsrel-01.peoplesoft.com [216.131.194.238]) by mail03.peoplesoft.com (8.12.10/8.12.9) with ESMTP id j1C0c5A5028887 for ; Fri, 11 Feb 2005 16:38:05 -0800 (PST) Received: from 216.131.195.63 by psh-mmsrel-01.peoplesoft.com with ESMTP (220 MMS Policy Servers (MMS v5.6.3)); Fri, 11 Feb 2005 16:38:01 -0800 X-Server-Uuid: 97E61B0B-31B1-4572-AFF6-48F591B43C57 Subject: Has anyone had problems with forward proxy servers? (more again ) To: axis-dev@ws.apache.org X-Mailer: Lotus Notes Release 5.0.8 June 18, 2001 Message-ID: From: ricky_frost@peoplesoft.com Date: Fri, 11 Feb 2005 16:38:00 -0800 X-MIMETrack: Serialize by Router on SMTP03/Server/PSExternal( 652HF103|July 23, 2004) at 02/11/2005 04:38:01 PM MIME-Version: 1.0 X-WSS-ID: 6E1390631JK9649451-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I may've stumbled into the reason for the problem... org.apache.axis.transport.http.HTTPSender.invoke method seems to have a variable "useFullURL" that's hard-coded to "false". Then when writeToSocket is called from there it honors it... Can anyone explain this behavior? ----- Forwarded by Ricky Frost/PeopleSoft on 02/11/2005 12:19 PM ----- The access.log from the proxy server clearly shows that the axis message received from wsrp4j/axis doesn't have the "authority" portion of the URL (only the file portion)... I have verified that the "cachedEndpoint" has the correct (complete) URL at the time the call is invoked in the soapStub. I've tried to debug into a few methods in org.apache.axis.client.Call (like setTargetEndpointAddress) but I couldn't get matching axis source for the jar version included in WSRP4J... Here is the proxy access.log showing first, another program sending a post through the proxy, then the wsrp4j request 192.168.31.59 - - [10/Feb/2005:16:35:59 -0800] "POST http://shttp.msg.yahoo.com/notify/ HTTP/1.0" 200 4 200 4 75 75 438 338 513 312 0 216.131.225.152 - - [10/Feb/2005:16:36:00 -0800] "POST /WSRPTestService/WSRPTestService.asmx HTTP/1.0" 500 - - - - - 359 - - - 0 I would really appreciate any help or suggestions on this... Thanks ----- Forwarded by Ricky Frost/PeopleSoft on 02/11/2005 11:05 AM ----- I'm testing the wsrp4j consumer (ProxyPortlet) in an environment that requires going through a NetCache proxy server to get to the internet. Whenever I request a producer on the internet I get an HTTP 500 on the WSRP getServiceDescription. It turns out that the proxy returns the error because it claims it received a bad URL. Upon looking closer at the logs in the proxy it appears that axis isn't sending complete URL's in the requests. The scheme, host and port and missing. Only the "file" part of the URL is in the POST line (but the request does have the correct "Host:" header). My question: What's the right thing to do here? 1. Is axis correct in sending the first HTTP line without the scheme://host:port? 2. Is the proxy correct in rejecting the request without them? 3. Is there some inappropriate coding in axis or wsrp4j that causes this? 4. Something else? Thanks for your time. p.s. Here's a sample of what I mean: POST /WSRPTestService/WSRPTestService.asmx HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.2beta Host: wsrp.netunitysoftware.com:80 Cache-Control: no-cache Pragma: no-cache SOAPAction: "urn:oasis:names:tc:wsrp:v1:getServiceDescription" Content-Length: 597 0b7c607a-5604-42d0-992a-9ca0c84c6628 en nl