[
http://issues.apache.org/jira/browse/AXIS-1972?page=comments#action_65825 ]
Jayachandra Sekhara Rao Sunkara commented on AXIS-1972:
-------------------------------------------------------
Hi Dmytro!
Your described mappings will not be featuring as options.
The way you described your wsdd makes the EndpointService and others appear as
parameters of the WSDDService. If you want to get hold of this mapping
information, I'd suggest you code in your custom handler something like...
{
WSDDService myWSDDService
(get hold of the corresponding WSDDService object and assign it to
myWSDDService)
...
...
...
EndPointService = myWSDDservice.getParameter("EndpointService");
...
}
Thank you,
Jayachandra
P.S:: I had tough time understanding your question, if this doesn't solve your
problem, in your next post can you be precise on what you are trying to do.
I've assumed that you wrote a custom provider handler extending JavaProvider
and in one of the methods Proxy() of that handler you tried to access the
deployment information you see in the server-config.wsdd
> 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