Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
My bad. The class i was using was implementing the javax.xml.rpc.Handler interface. It should be implementing the org.apache.axis.Handler interface. Once i did that i got the handler to work. Thanks for all the help.

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
Message- From: Kapil Khanna [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: Re: How to get a MessageContext from a client I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the

RE: How to get a MessageContext from a client

2004-07-28 Thread Brian Freeman
, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: Re: How to get a MessageContext from a client I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the following client-config.wsdd file http://xml.apache.org/axis/wsdd/"; xmlns:java="http:

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
Ok, i got past the NullPointerException. Its seems like i was missing the keyword type in the After fixing that i get the following error:- AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.apache.axis.ConfigurationException: j

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the following client-config.wsdd file http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apac he.org/axis/wsdd/providers/java"> When i try to execute the SOAP client i

Re: How to get a MessageContext from a client

2004-07-28 Thread Michael Thompson
You can setup client side handlers in client-config.wsdd. Just place it on your clients classpath. --m Kapil Khanna wrote: I am consuming an external web service and am trying to get a handle to the MessageContext via MessageContext.getCurrentContext(). Unfortunately the MessageContext i get

How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
I am consuming an external web service and am trying to get a handle to the MessageContext via MessageContext.getCurrentContext(). Unfortunately the MessageContext i get is always null. The purpose of getting to the MessageContext is to get to the SOAPRequest and SOAPResponse messages. There ha