You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Markus Knoop <ma...@yahoo.de> on 2007/07/18 11:43:21 UTC

Client Handler for only one Service (clint-config.wsdd)

Hello,

first i must say, i'm new in the development of Web
Services, but it's important for me to solve this
problem.

I tried to add the SimpleSessionHandler into the
request and response flow into my own
client-config.wsdd. I tried this way:

<deployment name="defaultClientConfig"
            xmlns="http://xml.apache.org/axis/wsdd/"
           
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<service name="StatefulWebservice"
provider="java:RPC">
     <requestFlow>
    <handler name="SessionHandler"
type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
  </requestFlow>
  <responseFlow>
  	<handler name="SessionHandler"
type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
  </responseFlow>
</service>
</deployment>

But this didn't work, the client did't use the
SimpleSessionHandler and make a new request without an
id. When i add the handler into the flow of the
globalConfiguration, then it works, but for all
services.  The name of the service equals the name on
serverside. I didn't see my mistake.

Thanks for answers,
Markus Knoop


      __________________________________  Die etwas anderen Infos rund um das Thema Reisen. BE A BETTER WELTENBUMMLER!  www.yahoo.de/clever

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


selecting methods with allowedMethods param

Posted by Dr Janusz Martyniak <ja...@imperial.ac.uk>.
Hi All,

It looked all simple when reading the docs. My goal was to expose only a 
few methods from the interface, so I changed allowedMethods="*" to
allowedMethods="myMethod" in server-config.wsdd.

  Restart tomcat, point a browser to the list of services ...
and:

Exception - org.apache.axis.InternalException: java.lang.Exception: 
Couldn't find a matching Java operation for WSDD operation 
"getProxyRequest" (3 args)

The getProxyRequest happened to be the first method which would normally 
show in the list when a "*" was used.

  I'm using Axis 1.4.

I'm about to edit the wsdl and regenerate the stubs, but maybe there is 
a "lighter" option ?

                any help will be appreciated,
                                cheers JM

p.s I also tried to redeploy with correctons made to deploy.wsdd rather 
that server-config.wsdd, no difference

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org