hello,

i've created a WebService, initially as JWS
which is working perfectly

my directory structure:

MyProject\MyService.jws                 [For JWS Service]
MyProject\MyService.wsdd                        [For NONJWS Service]
MyProject\WEB-INF\classes\MyService.class       [For NONJWS Service]
MyProject\WEB-INF\lib\                          [All the libs]

& now i'm trying to deploy that service through WSDD, shown below
############################################################################
###############################
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
 <service name="MyServiceNJ" provider="java:RPC">
  <parameter name="className" value="MyService"/>
  <parameter name="allowedMethods" value="*"/>
  <parameter name="scope" value="session"/>
 </service>
</deployment>
############################################################################
###############################
Command used to Deploy:
java org.apache.axis.client.AdminClient deploy.wsdd
says, Deployed Successfully
but unable to see its wsdl, ???
############################################################################
###############################
mCall    = (org.apache.axis.client.Call) mService.createCall();
if(JWS_Service)
        mCall.setTargetEndpointAddress(new
java.net.URL("http://localhost:8080/MyProject/MyService.jws";));
else
{
        mCall.setTargetEndpointAddress(new
java.net.URL("http://localhost:8080/MyProject/servlet/AxisServlet";));
        mCall.setProperty(mCall.NAMESPACE, "MyServiceNJ");
}
mCall.setMaintainSession(true);
status = (java.lang.Boolean)mCall.invoke("StartFunction", new Object[]
{"Parameters"});
############################################################################
###############################
for NONJWS Service, it raises an exception that "Axis Engine could not find
a target service"

pl. suggest..

VINK


Reply via email to