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 Dimuthu Leelarathne <mu...@vijayaba.cse.mrt.ac.lk> on 2002/10/01 08:00:28 UTC
Re: problems with setting soapAction to method name
Hi Abhijat,
Try setting the SOAP Action as follows in your client/ stub.
call.setUseSOAPAction(true);
call.setSOAPActionURI("method-Name")
Cheers,
Dimuthu.
----- Original Message -----
From: "Abhijat Thakur" <at...@bdnacorp.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, October 01, 2003 3:53 AM
Subject: problems with setting soapAction to method name
I am publishing the services using the wsddd file which looks something like
this.
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="rsApp" provider="java:RPC">
<parameter name="scope" value="Session"/>
<parameter name="soapAction" value="operation"/>
<parameter name="className" value="com.bdna.pl.RSApp"/>
<parameter name="allowedMethods" value="*"/>
</service>
<service name="rsAttributeSet" provider="java:RPC">
<parameter name="scope" value="Session"/>
<parameter name="soapAction" value="operation"/>
<parameter name="className" value="com.bdna.pl.RSAttributeSet"/>
<parameter name="allowedMethods" value="*"/>
</service>
<service name="rsDBUpdate" provider="java:RPC">
<parameter name="scope" value="Session"/>
<parameter name="soapAction" value="operation"/>
<parameter name="className" value="com.bdna.pl.RsDBUpdate"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment >
When my services are published the soapAction field is set to "". My SOAP
client is java script and it is complaining about SOAPAction being empty.
How can i set the value of soapAction attribute to method name.
thanks
abhijat