axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelly Jones <kellyjones1...@yahoo.com>
Subject Method getService() returns null in Handler Class
Date Wed, 24 Dec 2003 20:31:29 GMT

I am trying to pass parameters to a query string handler via the deploy.wsdd file. The code
I use looks like the following: 

public void invoke (MessageContext msgContext) throws AxisFault { 

.... 

SOAPService service = msgContext.getService(); 

String someOption = (String)service.getOption("someOption"); 

.... 

} 

However the method getService() returns null. Is it normal that the service is not available
in the query string handlers or is there another way of passing parameters to a handler? I
am using apache 1.2 with Tomcat 4. Help appreaciated. 

Kelly Jones.

 


---------------------------------
Do you Yahoo!?
Yahoo! Photos - Get your photo on the big screen in Times Square
Mime
View raw message