Is it possible to specify the name of the portType to be used when
axis deploys a webservice using WSDD? I am running into a slight
problem with my web service since Axis generates wsdl and proxies that
use the implementation class name of my web service rather than the
interface.
I have the following setup:
public interface TestService
{
...
}
public class TestServiceImpl implements TestService
{
...
}
---------------- start deploy.wsdd ---------------------------
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
<service name="TestService" provider="java:RPC">
<parameter name="className" value="TestServiceImpl"/>
<parameter name="allowedMethods" value="*"/>
</service>
</deployment>
---------------- end deploy.wsdd ---------------------------
I am getting the following wsdl generated by Axis:
<wsdl:portType name="TestServiceImpl">
....
</wsdl:portType>
I am also getting the following proxy classes generated by Axis:
public interface TestServiceImpl extends java.rmi.Remote
{
..
}
public class TestServiceImplServiceLocator extends
org.apache.axis.client.Service implements
com.bmc.sms.webservice.client.TestServiceImplService
{
...
}