Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 26846 invoked from network); 21 Mar 2006 11:34:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Mar 2006 11:34:05 -0000 Received: (qmail 19300 invoked by uid 500); 21 Mar 2006 11:34:04 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 19267 invoked by uid 500); 21 Mar 2006 11:34:04 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 19256 invoked by uid 99); 21 Mar 2006 11:34:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 03:34:04 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of HAWKINSJ@uk.ibm.com designates 195.212.29.136 as permitted sender) Received: from [195.212.29.136] (HELO mtagate3.uk.ibm.com) (195.212.29.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Mar 2006 03:34:01 -0800 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate3.uk.ibm.com (8.12.10/8.12.10) with ESMTP id k2LBXeTJ171488 for ; Tue, 21 Mar 2006 11:33:40 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k2LBY3gG179358 for ; Tue, 21 Mar 2006 11:34:03 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.13.3) with ESMTP id k2LBXdWp029970 for ; Tue, 21 Mar 2006 11:33:39 GMT Received: from d06ml068.portsmouth.uk.ibm.com (d06ml068.portsmouth.uk.ibm.com [9.149.38.194]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id k2LBXdrL029965 for ; Tue, 21 Mar 2006 11:33:39 GMT In-Reply-To: To: "Apache AXIS C User List" Subject: Re: Application, Session or Request scope MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005 From: John Hawkins X-MIMETrack: S/MIME Sign by Notes Client on John Hawkins/UK/IBM(Release 7.0 HF85|November 04, 2005) at 21/03/2006 11:15:54, Serialize by Notes Client on John Hawkins/UK/IBM(Release 7.0 HF85|November 04, 2005) at 21/03/2006 11:15:54, Serialize complete at 21/03/2006 11:15:54, S/MIME Sign failed at 21/03/2006 11:15:54: The cryptographic key was not found, Serialize by Router on D06ML068/06/M/IBM(Release 6.53HF247 | January 6, 2005) at 21/03/2006 11:34:03, Serialize complete at 21/03/2006 11:34:03 Message-ID: Date: Tue, 21 Mar 2006 11:33:44 +0000 Content-Type: multipart/alternative; boundary="=_alternative 003DE1A880257138_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 003DE1A880257138_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Antoine, Can I clarify what you're trying to do here? Are you trying to have a=20 stateful session with a particular instance of a service i.e. the same=20 service gets called twice? Or pass context across the-wire on subsequent=20 uses of the same stub? thanks, John. "Antoine Galataud" =20 21/03/2006 09:27 Please respond to "Apache AXIS C User List" To "Apache AXIS C User List" cc Subject Re: Application, Session or Request scope Hi ! I've found no way to solve my scope issue for the moment, I'm still=20 looking for a way to do this (application scope, not handlers). Thanks for any idea ! 2006/3/16, Antoine Galataud < antoine.galataud@gmail.com>: It doesn't work :=20 in fact, I succeeded in getting a session scope, e.g I request the service = 2 times in the same main() client, but I can't have an application scope.=20 But I don't get the error I described in my earlier mail, now it gives me=20 nothing. And I'm talking about service scope, I don't use any handler.=20 Thanks for your answer 2006/3/16, John Hawkins : I've just looked at this again and I'm not sure I understand your question = now!=20 If I look at your wsdd file it doesn't look correct to my thoughts (is it=20 the complete wsdd file?) e.g. this is a client sample wsdd file=20 =20 =20 =20 =20 \samples\handlers\myClientHandler.dll"> \samples\handlers\myClientHandler.dll">=20 =20 =20 =20 \samples\handlers\myClientHandler.dll"> \samples\handlers\myClientHandler.dll">=20 =20 =20 =20 =20 "Antoine Galataud" =20 16/03/2006 12:57=20 Please respond to "Apache AXIS C User List" To "Apache AXIS C User List" =20 cc Subject Re: Application, Session or Request scope yes, i'm referring to the service scope. I saw in the doc that I could set = a scope for handlers in response/reauest flows, but I didn't see anything=20 about service. I'll try to set the scope also in client.wsdd, maybe it's what I'm=20 missing.=20 Thanks for any further comments/suggestions. 2006/3/16, James Jose :=20 Hi,=20 We are running HandlerTest01 to HandlerTest10. But here Antoine is=20 referring the scope of the service ..?=20 Regards James -------------------------------------------------- James Jose Messaging Clients Team, WMQDDC IBM Software Labs, India Direct: 91-80- 25094331 Ext :2331 E-mail: jamejose@in.ibm.com=20 John Hawkins < HAWKINSJ@uk.ibm.com>=20 03/16/2006 17:50=20 Please respond to "Apache AXIS C User List" To "Apache AXIS C User List" =20 cc Subject Re: Application, Session or Request scope Well, service and global handlers should work for the client and I'm=20 surprised they aren't working for the server. Can you try it in the client = and see if you get the same results. James - what tests do we run on=20 handlers nowadays?=20 "Antoine Galataud" =20 16/03/2006 11:38=20 Please respond to "Apache AXIS C User List" To "Apache AXIS C User List" =20 cc Subject Re: Application, Session or Request scope So, is there any work around to get this feature working ? Thanks for your answer 2006/3/15, Antoine Galataud :=20 Hum, seems scope is not yet correctly implemented (or tested) in 1.6a.n=20 (solaris) release. Here is my server.wsdd : =20 =20 =20 If I do that I get this in the init logs : [15/03/2006 13:40:42:387 MET] 1 WSDDHandler > setScope=20 @11cec8,"application" But if I invoke the service, it fails with :=20 [15/03/2006 13:40:49:215 MET] 1 AxisWsddException > AxisWsddException=20 @ff0da988,7, [15/03/2006 13:40:49:215 MET] 1 AxisWsddException >=20 getMessageForExceptionCode @ff0da988,7 [15/03/2006 13:40:49:216 MET] 1 AxisWsddException <=20 getMessageForExceptionCode @ff0da988,"AxisWsddException:Requested service=20 not found"=20 I also tested with request and session scopes, it failed too. 2006/3/9, John Hawkins < HAWKINSJ@uk.ibm.com>:=20 I'll put it this way - it's not tested.=20 "Antoine Galataud" =20 09/03/2006 14:23=20 Please respond to "Apache AXIS C User List" To "Apache AXIS C User List" =20 cc Subject Application, Session or Request scope Hi ! does Axis 1.6x handle scope ? I tried to add a scope=3D"Application" in my service declaration in server.wsdd, but it doesn't seem to work... Thanks -- Antoine Galataud antoine.galataud@gmail.com=20 D?partement Architecture des Syst?mes d'Information INSA - Rouen --=20 Antoine Galataud antoine.galataud@gmail.com=20 D?partement Architecture des Syst?mes d'Information INSA - Rouen=20 --=20 Antoine Galataud antoine.galataud@gmail.com D?partement Architecture des Syst?mes d'Information INSA - Rouen=20 --=20 Antoine Galataud antoine.galataud@gmail.com=20 D?partement Architecture des Syst?mes d'Information INSA - Rouen=20 --=20 Antoine Galataud antoine.galataud@gmail.com=20 D=E9partement Architecture des Syst=E8mes d'Information INSA - Rouen=20 --=20 Antoine Galataud antoine.galataud@gmail.com D=E9partement Architecture des Syst=E8mes d'Information INSA - Rouen=20 --=_alternative 003DE1A880257138_= Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
Antoine,

Can I clarify what you're trying to do here? Are you trying to have a stateful session with a particular instan= ce of a service i.e. the same service gets called twice? Or pass context across the-wire on subsequent uses of the same stub?

thanks,
John.




"Antoine Galatau= d" <antoine.galataud@gmail.com>

21/03/2006 09:27
Please respond to
"Apache AXIS C User List" <axis-c-user@ws.apache.org>

To
"Apache AXIS C User List" <axis-c-user@ws.apache.org>
cc
Subject
Re: Application, Session or Request scope





Hi !

I've found no way to solve my scope issue for the moment, I'm still looking for a way to do this (application scope, not handlers).

Thanks for any idea !

2006/3/16, Antoine Galataud < antoine.galataud= @gmail.com>:
It doesn't work :

in fact, I succeeded in getting a session scope, e.g I request the service 2 times in the same main() client, but I can't have an application scope. But I don't get the error I described in my earlier mail, now it gives me nothing. And I'm talking about service scope, I don't use any handler.

Thanks for your answer

2006/3/16, John Hawkins <HAWKINSJ@u= k.ibm.com >:

I've just looked at this again and I'm not sure I understand your question now!



If I look at your wsdd file it doesn't look correct to my thoughts (is it the complete wsdd file?) e.g. this is a client sample wsdd file
<= font size=3D3>
<?xml version=3D"1.0" encoding= =3D"UTF-8"?>
<deployment xmlns=3D"htt= p://xml.apache.org/axis/wsdd/" xlmns:C=3D"http//xml.apache.org.axis/wsdd/providers/c">
 <service name=3D"Handler" provider=3D= "CPP:DOCUMENT" description=3D"Handler">
 <requestFlow>
 <handler name=3D"myClientHandlerReq" type=3D"<inst=5Fdir>\samples\handlers\myClientHandler.dll"&= gt;  <handler name=3D"myClientHandlerReq" type=3D"<in= st=5Fdir>\samples\handlers\myClientHandler.dll">
 </handler>
 </requestFlow>
 <responseFlow>
 <handler name=3D"myClientHandlerRes" type=3D"<inst=5Fdir>\samples\handlers\myClientHandler.dll"&= gt;  <handler name=3D"myClientHandlerRes" type=3D"<in= st=5Fdir>\samples\handlers\myClientHandler.dll">
 </handler>
 </responseFlow>
 </service>
 </deployment>










"Antoine Galatau= d" <antoine.galataud@gm= ail.com>

16/03/2006 12:57


Please respond to
"Apache AXIS C User List" <
axis-c-user@ws.apache.org>

To
"Apache AXIS C User= List" <<= font size=3D1 color=3Dblue face=3D"sans-serif">axis-c-user@ws.apache.org= >
cc
Subject
Re: Application, Session or Request scope







yes, i'm referring to the service scope. I saw in the doc that I could set a scope for handlers in response/reauest flows, but I didn't see anythi= ng about service.

I'll try to set the scope also in client.wsdd, maybe it's what I'm missing.

Thanks for any further comments/suggestions.

2006/3/16, James Jose <
jamejose@in.ibm.com >:

Hi,


 We are running HandlerTest01 to HandlerTest10.  But here Antoine is referring the scope of the service ..?


Regards
James
--------------------------------------------------
James Jose
Messaging Clients Team, WMQDDC
IBM Software Labs, India
Direct: 91-80- 25094331  Ext :2331
E-mail:
jamejose@in.ibm.com


John Hawkins <= HAWKINSJ@uk.ibm.com>

03/16/2006 17:50
Please respond to
"Apache AXIS C User List"


To
"Apach= e AXIS C User List" <axis-c-= user@ws.apache.org >
cc
Subject
Re: Application, Session or Request scope










Well, service and global handlers should work for the client and I'm surpri= sed they aren't working for the server. Can you try it in the client and see if you get the same results. James - what tests do we run on handlers nowad= ays?


"Antoine Galatau= d" <antoine.galataud@gm= ail.com >

16/03/2006 11:38
Please respond to
"Apache AXIS C User List" <
axis-c-user@ws.apache.org >


To
"Apache AXIS C User= List" <<= font size=3D1 color=3Dblue face=3D"sans-serif">axis-c-user@ws.apache.org= >
cc
Subject
Re: Application, Session or Request scope











So, is there any work around to get this feature working ?

Thanks for your answer

2006/3/15, Antoine Galataud <
antoine.galataud@g= mail.com >:
Hum, seems scope is not yet correctly implemented (or tested) in 1.6a.n (solaris) release. Here is my server.wsdd :

<service name=3D"IAdminConfiguration" provider=3D"CPP:RP= C" description=3D"IAdminConfiguration Web Services">
    <parameter name=3D"allowedMethods" value=3D&quo= t;notifyDictionaryReinit initService"/>
    <parameter name=3D"scope" value=3D"applica= tion">
    <parameter name=3D"className" value=3D"/ho= me/antgalat/apache/webservices/libiadminconfig.so"/>
</service>

If I do that I get this in the init logs :

[15/03/2006 13:40:42:387 MET] 1 WSDDHandler > setScope @11cec8,"app= lication"

But if I invoke the service, it fails with :

[15/03/2006 13:40:49:215 MET] 1 AxisWsddException > AxisWsddException @ff0da988,7, <null>
[15/03/2006 13:40:49:215 MET] 1 AxisWsddException > getMessageForExcepti= onCode @ff0da988,7
[15/03/2006 13:40:49:216 MET] 1 AxisWsddException < getMessageForExcepti= onCode @ff0da988,"AxisWsddException:Requested service not found"

I also tested with request and session scopes, it failed too.

2006/3/9, John Hawkins <
HAWKINSJ@uk.ibm.com>:

I'll put it this way - it's not tested.


"Antoine Galatau= d" <antoine.galataud@gm= ail.com >

09/03/2006 14:23
Please respond to
"Apache AXIS C User List" <
axis-c-user@ws.apache.org >


To
"Apache AXIS C User= List" <<= font size=3D1 color=3Dblue face=3D"sans-serif">axis-c-user@ws.apache.org= >
cc
Subject
Application, Session or Request scop= e













Hi !

does Axis 1.6x handle scope ? I tried to add a scope=3D"Application&qu= ot; in
my service declaration in server.wsdd, but it doesn't seem to work...

Thanks
--
Antoine Galataud

antoine.galataud@gmail.com=

D�partement Architecture des Syst�mes d'Information
INSA - Rouen





--

Antoine Galataud

antoine.galataud@gmail.com
D�partement Architecture des Syst�mes d'Information
INSA - Rouen



--
Antoine Galataud
antoine.galataud@gmail.com
D�partement Architecture des Syst�mes d'Information
INSA - Rouen



--
Antoine Galataud
antoine.galataud@gmail.com
D�partement Architecture des Syst�mes d'Information
INSA - Rouen



--
Antoine Galataud

antoine.galataud@gmail.com
D=E9partement Architecture des Syst=E8mes d'Information<= br> INSA - Rouen



--
Antoine Galataud

antoine.galataud@gmail.com
D=E9partement Architecture des Syst=E8mes d'Information
INSA - Rouen

--=_alternative 003DE1A880257138_=--