Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 75329 invoked from network); 23 Dec 2007 21:54:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Dec 2007 21:54:32 -0000 Received: (qmail 95371 invoked by uid 500); 23 Dec 2007 21:54:13 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 95361 invoked by uid 500); 23 Dec 2007 21:54:13 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 95350 invoked by uid 99); 23 Dec 2007 21:54:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Dec 2007 13:54:13 -0800 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of apache-axis-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Dec 2007 21:53:49 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J6YlH-0000yU-ES for axis-user@ws.apache.org; Sun, 23 Dec 2007 21:53:31 +0000 Received: from 87.68.217.38.adsl.012.net.il ([87.68.217.38]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Dec 2007 21:53:31 +0000 Received: from bmf1972 by 87.68.217.38.adsl.012.net.il with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Dec 2007 21:53:31 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: axis-user@ws.apache.org From: Adrian Herscu Subject: [axis2] newbie question regarding java proxies generated by wsdl2java Date: Sun, 23 Dec 2007 23:53:09 +0200 Lines: 29 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 87.68.217.38.adsl.012.net.il User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am learning about Axis2 using this WSDL: http://www.webservicex.net/CurrencyConvertor.asmx?wsdl I have generated a Java proxy by using this command: wsdl2java.bat -or -uw -o ${project_loc} -uri ${string_prompt:WSDL URL} and I have built a Swing UI on top of it. I can invoke the service synchronously and asynchronously through the Swing UI. I have also built an HTML+JavaScript UI and it works also. I had to make it work through a server proxy because the cross-domain limitation in browsers. So the browser sends a POST request to http://localhost:7586/ws-clients/ws/CurrencyConvertor.asmx and the server proxy maps it to http://www.webservicex.net/CurrencyConvertor.asmx Now I am trying to make the Swing client talk through the server proxy and it doesn't work :-( After monitoring the network I found that the browser creates a nice HTTP POST request, while the Swing client doesn't create any HTTP request... Perhaps it's too late and I am too tired... How could it be???? Please help, Adrian P.S. I can attach the pcap files as a proof.... --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org