Hi Markus,

ignore my last email. I got it.
The problem was the lack namespace in method invokation.

This does work:

<xsp:page
  language="java"
  xmlns:xsp="http://apache.org/xsp";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:xscript="http://apache.org/xsp/xscript/1.0";
  xmlns:soap="http://apache.org/xsp/soap/3.0";>
<page>
  <soap:call method="Version" url="rpcrouter">
        <m:getVersion xmlns:m="Version">
        </m:getVersion>
  </soap:call>
</page>
</xsp:page>

This does not work:

<xsp:page
  language="java"
  xmlns:xsp="http://apache.org/xsp";
  xmlns:xsp-request="http://apache.org/xsp/request/2.0";
  xmlns:xscript="http://apache.org/xsp/xscript/1.0";
  xmlns:soap="http://apache.org/xsp/soap/3.0";>
<page>
  <soap:call method="Version" url="rpcrouter">
        <getVersion>
        </getVersion>
  </soap:call>
</page>
</xsp:page>

Your help is realy appreciated!

Thanks,

Alexander

>>> Marcus Crafter <[EMAIL PROTECTED]> Wednesday, 12. March 2003 14:09:07 >>>
Hi Alexander,

On Wed, Mar 12, 2003 at 11:26:07AM +0100, Alexander Enns wrote:
> Hi Markus,
> 
> I'm trying to invoke services on the SoapServer but get every time AxisFault.

        Ok.
        
> Axis can not find the Service. The same behaviour if I invoke the
> service from remote Axis client. But the status.xsp is working properly.
> It seems that only the AdminService is known to Axis.

        Ok. Couple of admin questions then, do you something like:
        
<soap-server logger="core.axis.soapserver">
  <managed-services>
      <descriptor 
src="resource://org/apache/cocoon/webservices/memory/DeploymentDescriptor.wsdd"/>
      <descriptor 
src="resource://org/apache/cocoon/webservices/system/DeploymentDescriptor.wsdd"/>
      <descriptor 
src="resource://org/apache/cocoon/webservices/cache/DeploymentDescriptor.wsdd"/>
      <descriptor 
src="resource://org/apache/cocoon/webservices/instrument/DeploymentDescriptor.wsdd"/>  
   
  </managed-services>
</soap-server>

        In your cocoon.xconf file ? This should deploy the services at
        startup time.
        
        Then, in your core.log there should be something like:
        
DEBUG   (2003-03-12) 14:05.54:160   [core.axis.soapserver] (Unknown-URI)
Unknown-thread/SoapServerImpl: Deployed Descriptor:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"; 
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
 <service name="Cocoon-JVM-System" provider="java:RPC">
   <parameter name="allowedMethods" value="getProperties getArchitecture getCPUInfo 
getNumProcessors getOperatingSystem getOperatingSystemVersion"/>
   <parameter name="className" value="org.apache.cocoon.webservices.system.System"/>
 </service>
</deployment>

        If this is all fine, then the Cocoon-JVM-System service should be
        visible on the status page, and should work fine via a remote request.
        
        Does that help at all ? Are those things present in your log and
        configuration mate ?
        
        Hope that helps.
        
        Cheers,
        
        Marcus

        

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to