axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Dyachuk (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-1972) The options specified in a deploy file cannot be accessed with JavaProvider
Date Tue, 03 May 2005 01:03:04 GMT
The options specified in a deploy file cannot be accessed with JavaProvider
---------------------------------------------------------------------------

         Key: AXIS-1972
         URL: http://issues.apache.org/jira/browse/AXIS-1972
     Project: Axis
        Type: Bug
  Components: Basic Architecture  
    Versions: 1.2RC2    
 Environment: JDK 1.5.0_02-b09, Tomcat 5.0
    Reporter: Dmytro Dyachuk
    Priority: Blocker





I have the handler which inherits BasicHandler(used with JavaProvider), but the options field
is always null(not initialized) and so there is not way of accessing the options specified
in deploy-file. 

-piece of code which causes problems 
public Proxy() {
		super();
		EndPointService = (String)getOption("EndpointService"); //throws exception
		System.out.println(getOptions()==null); //returns true;
}

-part of the deploy.wsdd

 <service name="ScheduledProxy" provider="Handler">
  <parameter name="handlerClass" value="WSP.ScheduledProxy"/>
  <parameter name="scope" value="application"/>
  <parameter name="EndpointService" value="http://someURL:8080/axis/services/DBWebService"/>
  <parameter name="Schedule" value = "true"/>  
 </service> 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message