I have seen two
types of WSDD files come with IBM WSDK.
one
is
<m:deploy xmlns:m="AdminService">
<service name="message" pivot="RPCDispatcher">
<option name="className" value="SimpleApp"/>
<option name="methodName" value="getMessage"/>
</service>
<beanMappings xmlns:sa="urn:SimpleApp-types">
<sa:SimpleApp classname="SimpleApp"/>
</beanMappings>
</m:deploy>
<service name="message" pivot="RPCDispatcher">
<option name="className" value="SimpleApp"/>
<option name="methodName" value="getMessage"/>
</service>
<beanMappings xmlns:sa="urn:SimpleApp-types">
<sa:SimpleApp classname="SimpleApp"/>
</beanMappings>
</m:deploy>
The
second one is
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
name="test">
<service name="StockQuoteService" provider="java:RPC">
<parameter value="StockQuoteService" name="className"/>
<parameter value="getQuote" name="allowedMethods"/>
</service>
</deployment>
<service name="StockQuoteService" provider="java:RPC">
<parameter value="StockQuoteService" name="className"/>
<parameter value="getQuote" name="allowedMethods"/>
</service>
</deployment>
When i write some web service and use One It gets deployed but if i use
Two the webs service is not deployed properly
and
I get the message service not found.
Would be glad if anyone can help me out on
this.
Regards
Krishnakumar B
