after
<service name="Cocoon-JVM-Memory" provider="java:RPC">

try adding
<namespace>your_own_unique_identifier</namespace>

or you can also try adding

<parameter name="wsdlTargetNamespace" value="your_own_unique_identifier"/>

Not sure what's the difference between these two, but I've seen them both
being used to declare a specific namespace for your service.

Vlad

-----Original Message-----
From: Frederic Bertin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 6:04 AM
To: [EMAIL PROTECTED]
Subject: give URN to a service in a WSDD file


Hi all,

I'm trying to call a web service deployed using this WSDD file:

<deployment xmlns="http://xml.apache.org/axis/wsdd/";
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>

 <service name="Cocoon-JVM-Memory" provider="java:RPC">
  <parameter name="className"
value="org.apache.cocoon.webservices.memory.Memory"/>
  <parameter name="allowedMethods" value="getFreeMemory getTotalMemory
invokeGC"/>
 </service>

</deployment>

But I don't manage to call it using SOAP XSP logicsheet syntax:

<soap:call method="Cocoon-JVM-Memory" url="rpcrouter">
     <getTotalMemory>
           <soap:enc/>
     </getTotalMemory>
</soap:call>

The service is not found by the AXIS engine. I guess it's a problem of
URN. Indeed I don't know how to specify the URN of a service using WSDD
files. Can anyone help me?

Thanks.


Reply via email to