You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Panos Konstantinidis <gi...@yahoo.com> on 2009/04/21 17:49:38 UTC

service-config.wsdd and parameter passing

Hello I have a server-config.wsdd file which has the following line (under the <service> element)

 <parameter name="className" value="a.b.c.MySoapSkeleton"/>

>From what I understand this is using the default constructor of the MySoapSkeleton class (this MySoapSkeleton was auto-generated from WSDL) and instantiates it. What I would like to do is to instantiate the MySoapSkeleton class by using the constructor that takes a MyMessageSoap implementation as a parameter, since I would like to use my own Soap implementation with the MySoapSkeleton class. Is there a way to configure it from within the service-config.wsdd file? Or programmatically? Are there any pointers/links? The only reference I found is through this link: http://ws.apache.org/axis/java/reference.html#DeploymentWSDDReference which is not much of a help since it does not explain all the parameter I can pass to the service.

Thanks

Panos