Wednesday, June 25, 2008

Axis: WSDD

To list already deployed services


 java org.apache.axis.client.AdminClient list

the content displayed is same as server-config.wsdd file
for example...


...
 <service name="webservice" provider="java:RPC">
  <parameter name="allowedMethods" value="*"/>
  <parameter name="className" value="com.hmco.edison.ws.axis.HierarchyServiceImpl"/>
  <parameter name="wsdlTargetNamespace" value="urn:soap.springaxis.HierarchyService.HMCO.com"/>
 </service>
...



Web Service Deployment Descriptor


<deployment xmlns="http://xml.apache.org/axis/wsdd/xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
  <service name="HierarchyService" provider="java:RPC" ><!-- style="rpc" use="encoded" -->
    <!--<parameter name="wsdlTargetNamespace" value="urn:soap.spring_axis.HierarchyService.HMCO.com/>-->
    <parameter name="className" value="com.hmco.edison.ws.axis.HierarchyServiceImpl" />
    <parameter name="allowedMethods" value="*" />
  </service>
</deployment>


Axis WSDD is mentioned on: AXIS