Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 67640 invoked from network); 27 Oct 2009 12:07:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Oct 2009 12:07:08 -0000 Received: (qmail 49169 invoked by uid 500); 27 Oct 2009 12:07:06 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 49083 invoked by uid 500); 27 Oct 2009 12:07:05 -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 49074 invoked by uid 99); 27 Oct 2009 12:07:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2009 12:07:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of e-jborges@tap.pt designates 91.198.90.24 as permitted sender) Received: from [91.198.90.24] (HELO mail.tap.pt) (91.198.90.24) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2009 12:06:56 +0000 Received: from localhost (unknown [127.0.0.1]) by MAILRELAY1.tap.pt (Postfix) with ESMTP id BC8BF1C5EF for ; Tue, 27 Oct 2009 12:06:35 +0000 (UTC) X-Virus-Scanned: by Amavisd-new using ClamAV at quarentena.tap.pt Received: from mail.tap.pt ([127.0.0.1]) by localhost (quarentena.tap.pt [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q5VzvKlO9Ivw for ; Tue, 27 Oct 2009 12:06:29 +0000 (WET) Received: from JUNGFRAU.tapnet.tap.pt (jungfrau.tapnet.tap.pt [172.17.3.46]) by MAILRELAY1.tap.pt (Postfix) with ESMTP id B4BA81C2AE for ; Tue, 27 Oct 2009 12:06:29 +0000 (WET) Received: from ALPES-1.tapnet.tap.pt ([172.17.3.43]) by JUNGFRAU.tapnet.tap.pt ([172.17.3.46]) with mapi; Tue, 27 Oct 2009 12:06:26 +0000 From: =?iso-8859-1?Q?Jo=E3o_Manuel_Roseira_Borges?= To: "axis-user@ws.apache.org" Date: Tue, 27 Oct 2009 12:06:26 +0000 Subject: A question about the stub binding class from the WSDL2Java generated code Thread-Topic: A question about the stub binding class from the WSDL2Java generated code Thread-Index: AcpWb80KmMR0xqcsRM6SNUFo64Wl7QAfPEQgAAQQNRA= Message-ID: <90178A5376F11345AE00C8D256B9AC35287FB5E4B9@ALPES-1.tapnet.tap.pt> Accept-Language: en-US, pt-PT Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, pt-PT Content-Type: multipart/alternative; boundary="_000_90178A5376F11345AE00C8D256B9AC35287FB5E4B9ALPES1tapnett_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_90178A5376F11345AE00C8D256B9AC35287FB5E4B9ALPES1tapnett_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello to whoever cares to answer me to this question, I recently started to work in a team that is meant to give support to some = java web applications in a production environment. The framework is JAVA2EE= with usage of your axis packages to provide the web services. In the follo= wing a debugging incursion to the code, I found myself looking to the code = of the binding stub class generated by the WSDL2Java tool - version 1.4 - s= pecificaly the implemented method from the portType interface. In this file= servicemaneSoapBindingStub.java, at lines 104 and 105, I find the followin= g: 94: org.apache.axis.client.Call _call =3D createCall(); ... try{ 104: java.lang.Object _resp =3D _call.invoke(new java.lang.= Object[] {parameterStringRequest}); 105: if (_resp instanceof java.rmi.RemoteException) { My question is the following: After examining the code from the class org.apache.axis.client.Call, I've g= ot under the impression that the method invoke from class org.apache.axis.c= lient.Call may throw exceptions from class java.rmi.RemoteException but ne= ver returns an object from this Exception class. Am i right? If so, is this= a problem for the stub class code? Looking forward to hear from you, --- Jo=E3o Manuel Roseira Borges Suporte Aplicacional TAP/Megasis Ed19 - Piso 2 - Sala 24 extens=E3o 36108 --_000_90178A5376F11345AE00C8D256B9AC35287FB5E4B9ALPES1tapnett_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello to whoever cares to answer me to this quest= ion,

 

I r= ecently started to work= in a team that is meant to give support to some java web applications in a production environment. The framework is JAVA2EE with us= age of your axis packages to provide the web services. In the following a debug= ging incursion to the code, I found myself looking to the code of the binding st= ub class generated by the WSDL2Java tool - version 1.4 - specificaly the implemented method from the portType interface. In this file servicemane= SoapBindingStub.java, at lines 104 an= d 105, I find the following:

 

94:       org.apache.axis.client.Call _call =3D createCall();

<= /span>

        &= nbsp;   try{=

104:       &nb= sp;         java.lang.Object _resp =3D _call.invoke(new java.lang.Object[] {parameterStringRequest}); 

105:       &nb= sp;         if (_resp instanceof java.rmi.RemoteException) {            &n= bsp;            = ;          

 

My question is the following:

After examining the code from the class org.apache.axis.client.Call, I've got und= er the impression that the method invoke from class org.apache.axis.client.Call may throw exceptions from class j= ava.rmi.RemoteException =A0but never returns= an object from this Exception class. Am i right? If so, = is this a problem for the stub class code?

 

Looking forward to hear from you,

 

 

---
Jo=E3o Manuel Roseira Borges

Suporte Aplicacional TAP/Megasis

Ed19 - Piso 2 - Sala 24
extens=E3o 36108

 

--_000_90178A5376F11345AE00C8D256B9AC35287FB5E4B9ALPES1tapnett_--