hello Pontus,

regarding the endpoint of the non jws service, yes it is :
 http://localhost:8080/MyProject/services/MyServiceNJ
but you can also make use of AxisServlet for establishing a call from your
client
 http://localhost:8080/MyProject/servlet/AxisServlet

thanks for your time

VINK

-----Original Message-----
From: Pontus Amberg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:34 PM
To: [EMAIL PROTECTED]
Subject: Re: Urgent: Deploy problem: "Axis Engine could not find target
service"


I'm not sure but shouldn't the non jws endpoint be
http://localhost:8080/MyProject/services/MyServiceNJ ?

/Pontus

----- Original Message ----- 
From: "Kumar, Vinay 2" <[EMAIL PROTECTED]>
To: "'AXIS-USER'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 12, 2002 12:29 PM
Subject: Urgent: Deploy problem: "Axis Engine could not find target service"


> 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