Re: Can you have more then one client handler

2005-12-09 Thread iksrazal
endpoint=http://localhost:9080/hub/servlet/AxisServlet
portQN=AxisServlet

QName portQN = new QName(endpoint, portQN);

Em Quinta 08 Dezembro 2005 18:35, o Parikh,Pratik escreveu:
 What does portQN stand for???

 Thanks,
 Parikh, Pratik


 -Original Message-
 From: iksrazal [mailto:[EMAIL PROTECTED]
 Sent: Thursday, December 08, 2005 1:06 PM
 To: axis-user@ws.apache.org
 Subject: Re: Can you have more then one client handler

 Here's a rough example for how it works for one handler.

   //add ClientHandler to chain of events
   java.util.List list =
 svc.getHandlerRegistry().getHandlerChain(portQN);
   list.add(new
 javax.xml.rpc.handler.HandlerInfo(ClientHandler.class,this.handlerConfig
 ,null));

 I guess just repeat for the second, third etc ? Not sure how the
 ordering would work either. Suggest looking at the API docs.

 iksrazal

 Em Quinta 08 Dezembro 2005 17:56, o Parikh,Pratik escreveu:
  Is there a example for this???
 
  Thanks,
  Parikh, Pratik
 
 
  -Original Message-
  From: Guy Rixon [mailto:[EMAIL PROTECTED]
  Sent: Thursday, December 08, 2005 1:56 AM
  To: axis-user@ws.apache.org
  Subject: RE: Can you have more then one client handler
 
  You could try combining them into a handler chain. You could then
  assign the chain to handle the request.
 
  On Wed, 7 Dec 2005, Parikh,Pratik wrote:
   Can anyone reply to this??
  
  
   Thanks,
   Parikh, Pratik
  
   
  
   From: Parikh,Pratik [mailto:[EMAIL PROTECTED]
   Sent: Wednesday, December 07, 2005 10:02 AM
   To: axis-user@ws.apache.org
   Subject: Can you have more then one client handler
  
  
  
   Hi Everyone,
  
   I have two handler in my client stub, one for logging out
   messages
  
   to MQ and second is for CommonsHTTPSender. Now the problem I am
   running into is that it only allow me to have one handler. Is there
   anyway I can run both, please let me know?
  
   Thanks,
   Pratik
  
   CONFIDENTIALITY NOTICE
  
   This message and any included attachments are from Cerner
   Corporation and are intended only for the addressee. The information
  
   contained in this message is confidential and may constitute inside
   or non-public information under international, federal, or state

 securities laws.

   Unauthorized forwarding, printing, copying, distribution, or use of
   such information is strictly prohibited and may be unlawful. If you
   are not the addressee, please promptly delete this message and
   notify the sender of the delivery error by e-mail or you may call
   Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
   (816)221-1024.
    --
 
  Guy Rixon   [EMAIL PROTECTED]
  Institute of Astronomy  Tel: +44-1223-337542
  Madingley Road, Cambridge, UK, CB3 0HA  Fax:

 +44-1223-337523

  CONFIDENTIALITY NOTICE
 
  This message and any included attachments are from Cerner Corporation
  and are intended only for the addressee. The information contained in
  this message is confidential and may constitute inside or non-public
  information under international, federal, or state securities laws.
  Unauthorized forwarding, printing, copying, distribution, or use of
  such information is strictly prohibited and may be unlawful. If you
  are not the addressee, please promptly delete this message and notify
  the sender of the delivery error by e-mail or you may call Cerner's
  corporate offices in Kansas City, Missouri, U.S.A at (+1)
  (816)221-1024.
   --

 CONFIDENTIALITY NOTICE

 This message and any included attachments
 are from Cerner Corporation and are intended
 only for the addressee. The information
 contained in this message is confidential and
 may constitute inside or non-public information
 under international, federal, or state
 securities laws. Unauthorized forwarding,
 printing, copying, distribution, or use of such
 information is strictly prohibited and may be
 unlawful. If you are not the addressee, please
 promptly delete this message and notify the
 sender of the delivery error by e-mail or you
 may call Cerner's corporate offices in Kansas
 City, Missouri, U.S.A at (+1) (816)221-1024.
  --


RE: Can you have more then one client handler

2005-12-08 Thread Parikh,Pratik

Is there a example for this???

Thanks,
Parikh, Pratik


-Original Message-
From: Guy Rixon [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 08, 2005 1:56 AM
To: axis-user@ws.apache.org
Subject: RE: Can you have more then one client handler

You could try combining them into a handler chain. You could then assign
the chain to handle the request.

On Wed, 7 Dec 2005, Parikh,Pratik wrote:

 Can anyone reply to this??


 Thanks,
 Parikh, Pratik

 

 From: Parikh,Pratik [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 07, 2005 10:02 AM
 To: axis-user@ws.apache.org
 Subject: Can you have more then one client handler



 Hi Everyone,

 I have two handler in my client stub, one for logging out messages

 to MQ and second is for CommonsHTTPSender. Now the problem I am
 running into is that it only allow me to have one handler. Is there
 anyway I can run both, please let me know?

 Thanks,
 Pratik

 CONFIDENTIALITY NOTICE

 This message and any included attachments are from Cerner Corporation
 and are intended only for the addressee. The information contained in
 this message is confidential and may constitute inside or non-public
 information under international, federal, or state securities laws.
 Unauthorized forwarding, printing, copying, distribution, or use of
 such information is strictly prohibited and may be unlawful. If you
 are not the addressee, please promptly delete this message and notify
 the sender of the delivery error by e-mail or you may call Cerner's
 corporate offices in Kansas City, Missouri, U.S.A at (+1)
 (816)221-1024.
  --



Guy Rixon   [EMAIL PROTECTED]
Institute of Astronomy  Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA  Fax: +44-1223-337523

CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
 --


Re: RE: Can you have more then one client handler - using client-config.wsdd

2005-12-08 Thread GEORGE MCKINNEY
The following is a sanitized (client identification info removed ) version of 
the file we use, with a few comments. It has two handlers outgoing and one 
incoming. Hope this helps.

?xml version=1.0 encoding=UTF-8?
!--  George McKinney 
This file defines the handlers used by the 
SOAP client.
It is here ( in the root of /src ) so that the build will
add it to the jar.
This version can be overridden by putting a revised version into
WEB-INF/classes.
--

deployment name=AxisClient
xmlns=http://xml.apache.org/axis/wsdd/;
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
   handler name=log type=java:com.xxx.LogHandler/
   handler name=ucp type=java:com.xxx..UcpHandler/

   globalConfiguration
requestFlow
handler type=ucp/
handler type=log/
/requestFlow
responseFlow
handler type=log/
/responseFlow
/globalConfiguration
 
transport name=http 
pivot=java:org.apache.axis.transport.http.HTTPSender/
transport name=local 
pivot=java:org.apache.axis.transport.local.LocalSender/
transport name=java 
pivot=java:org.apache.axis.transport.java.JavaSender/  

/deployment

- Original Message -
From: Parikh,Pratik [EMAIL PROTECTED]
Date: Thursday, December 8, 2005 11:56 am
Subject: RE: Can you have more then one client handler

 
 Is there a example for this???
 
 Thanks,
 Parikh, Pratik
 
 
 -Original Message-
 From: Guy Rixon [EMAIL PROTECTED]
 
 Sent: Thursday, December 08, 2005 1:56 AM
 To: axis-user@ws.apache.org
 Subject: RE: Can you have more then one client handler
 
 You could try combining them into a handler chain. You could then 
 assignthe chain to handle the request.
 
 On Wed, 7 Dec 2005, Parikh,Pratik wrote:
 
  Can anyone reply to this??
 
 
  Thanks,
  Parikh, Pratik
 
  
 
  From: Parikh,Pratik [EMAIL PROTECTED]
  Sent: Wednesday, December 07, 2005 10:02 AM
  To: axis-user@ws.apache.org
  Subject: Can you have more then one client handler
 
 
 
  Hi Everyone,
 
  I have two handler in my client stub, one for logging out 
 messages
  to MQ and second is for CommonsHTTPSender. Now the problem I am
 
  running into is that it only allow me to have one handler. Is there
 
  anyway I can run both, please let me know?
 
  Thanks,
  Pratik
 
  CONFIDENTIALITY NOTICE
 
  This message and any included attachments are from Cerner 
 Corporation
  and are intended only for the addressee. The information 
 contained in
 
  this message is confidential and may constitute inside or non-public
 
  information under international, federal, or state securities laws.
 
  Unauthorized forwarding, printing, copying, distribution, or use of
 
  such information is strictly prohibited and may be unlawful. If you
 
  are not the addressee, please promptly delete this message and 
 notify
  the sender of the delivery error by e-mail or you may call Cerner's
 
  corporate offices in Kansas City, Missouri, U.S.A at (+1)
 
  (816)221-1024.
   --
 
 
 
 Guy Rixon [EMAIL PROTECTED]
 Institute of Astronomy   Tel: +44-1223-337542
 Madingley Road, Cambridge, UK, CB3 0HAFax: +44-1223-337523
 
 CONFIDENTIALITY NOTICE
 
 This message and any included attachments
 are from Cerner Corporation and are intended
 only for the addressee. The information
 contained in this message is confidential and
 may constitute inside or non-public information
 under international, federal, or state
 securities laws. Unauthorized forwarding,
 printing, copying, distribution, or use of such
 information is strictly prohibited and may be
 unlawful. If you are not the addressee, please
 promptly delete this message and notify the
 sender of the delivery error by e-mail or you
 may call Cerner's corporate offices in Kansas
 City, Missouri, U.S.A at (+1) (816)221-1024.
  --
 



Can you have more then one client handler

2005-12-07 Thread Parikh,Pratik
Title: Can you have more then one client handler






Hi Everyone,


 I have two handler in my client stub, one for logging out messages to MQ and second is for CommonsHTTPSender. Now the problem I am running into is that it only allow me to have one handler. Is there anyway I can run both, please let me know?

Thanks,

Pratik




CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
 --


RE: Can you have more then one client handler

2005-12-07 Thread Parikh,Pratik
Title: Can you have more then one client handler



Can anyone reply to this??

Thanks,
Parikh, Pratik


From: Parikh,Pratik 
[mailto:[EMAIL PROTECTED] Sent: Wednesday, December 07, 2005 
10:02 AMTo: axis-user@ws.apache.orgSubject: Can you have 
more then one client handler

Hi Everyone, 
 I have two handler in my client 
stub, one for logging out messages to MQ and second is for CommonsHTTPSender. 
Now the problem I am running into is that it only allow me to have one handler. 
Is there anyway I can run both, please let me know?
Thanks, Pratik 

  
  
CONFIDENTIALITY NOTICEThis 
  message and any included attachmentsare from Cerner Corporation and 
  are intendedonly for the addressee. The informationcontained in 
  this message is confidential andmay constitute inside or non-public 
  informationunder international, federal, or statesecurities laws. 
  Unauthorized forwarding,printing, copying, distribution, or use of 
  suchinformation is strictly prohibited and may beunlawful. If you 
  are not the addressee, pleasepromptly delete this message and notify 
  thesender of the delivery error by e-mail or youmay call Cerner's 
  corporate offices in KansasCity, Missouri, U.S.A at (+1) 
  (816)221-1024. 
  --


Re: RE: Can you have more then one client handler

2005-12-07 Thread GEORGE MCKINNEY

Pratik,

We've used a client-config.wsdd file to specify two handlers for the outgoing 
side of things and one for incoming.

I'll try to remember to send more information tomorrow when I have access to 
the file we used.

George McKinney

- Original Message -
From: Parikh,Pratik [EMAIL PROTECTED]
Date: Wednesday, December 7, 2005 3:34 pm
Subject: RE: Can you have more then one client handler

 Can anyone reply to this??
 
 
 Thanks,
 Parikh, Pratik
 
 
 
 From: Parikh,Pratik [EMAIL PROTECTED] 
 Sent: Wednesday, December 07, 2005 10:02 AM
 To: axis-user@ws.apache.org
 Subject: Can you have more then one client handler
 
 
 
 Hi Everyone, 
 
I have two handler in my client stub, one for logging out messages
 to MQ and second is for CommonsHTTPSender. Now the problem I am 
 runninginto is that it only allow me to have one handler. Is there 
 anyway I can
 run both, please let me know?
 
 Thanks, 
 Pratik 
 
 CONFIDENTIALITY NOTICE
 
 This message and any included attachments
 are from Cerner Corporation and are intended
 only for the addressee. The information
 contained in this message is confidential and
 may constitute inside or non-public information
 under international, federal, or state
 securities laws. Unauthorized forwarding,
 printing, copying, distribution, or use of such
 information is strictly prohibited and may be
 unlawful. If you are not the addressee, please
 promptly delete this message and notify the
 sender of the delivery error by e-mail or you
 may call Cerner's corporate offices in Kansas
 City, Missouri, U.S.A at (+1) (816)221-1024.
  --