You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Dan Labrecque <la...@us.ibm.com> on 2004/03/19 00:24:10 UTC

has format of server.wsdd changed?

I recently updated my axis c++ from the 1.0 release to the axis that is on 
the cvs head.
But now  my regenerated web service calls to axis C++ are returning a SOAP 
FAULT with "Soap method is not allowed to invoke"
I see from the code that ServerAxisEngine.cpp is checking whether the 
method is allowed as specified by the server.wsdd file.
Has the format of the server.wsdd changed from 1.0?

The snippet from my server.wsdd file is:

<service name="FractalCalc">
<parameter name="classname" value="Axis\webservices\Fractal.dll"/>
<parameter name="allowedMethods" value="calculate "/>
</service>

Thanks for your help,
Dan

RE: has format of server.wsdd changed?

Posted by Susantha Kumara <su...@opensource.lk>.
I think the only difference is in the "provider"
See,

 <service name="InteropBase" provider="CPP:RPC" description="SOAPBuilders
Interoperability Lab Round 2 base test suite described at
http://www.whitemesa.com/interop/proposal2.html ">
  <parameter name="allowedMethods" value="echoString" />
  <parameter name="className"
value="C:\susantha\ws-axis\c\release\win32\interopbase.dll"/>
 </service>
 <service name="InteropBaseDL" provider="CPP:DOCUMENT"
description="SOAPBuilders Interoperability Lab Round 2 base test suite
described at http://www.whitemesa.com/interop/proposal2.html ">
  <parameter name="allowedMethods" value="echoString "/>
  <parameter name="className"
value="C:\susantha\ws-axis\c\vc\server\samples\interoptests\doclitbase\Relea
se\doclitbase.dll"/>
 </service>

this "description" is optional,

----
Susantha.
 -----Original Message-----
From: Dan Labrecque [mailto:labrec@us.ibm.com]
Sent: Friday, March 19, 2004 5:24 AM
To: axis-c-user@ws.apache.org
Subject: has format of server.wsdd changed?



  I recently updated my axis c++ from the 1.0 release to the axis that is on
the cvs head.
  But now  my regenerated web service calls to axis C++ are returning a SOAP
FAULT with "Soap method is not allowed to invoke"
  I see from the code that ServerAxisEngine.cpp is checking whether the
method is allowed as specified by the server.wsdd file.
  Has the format of the server.wsdd changed from 1.0?

  The snippet from my server.wsdd file is:

  <service name="FractalCalc">
  <parameter name="classname" value="Axis\webservices\Fractal.dll"/>
  <parameter name="allowedMethods" value="calculate "/>
  </service>

  Thanks for your help,
  Dan