You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Stefan Lischke <li...@novacom.net> on 2004/12/17 21:47:01 UTC

Mixing RPCProvider and MsgProvider

hi there,

I'm in need of a provider, that works like the RPCProvider. But if there 
is a Request, for which a method is not available, it should call the 
MsgProvider style methods :

public Element [] method(Element [] bodies); public SOAPBodyElement [] 
method (SOAPBodyElement [] bodies); public Document method(Document 
body); public void method(SOAPEnvelope req, SOAPEnvelope resp);

i tried this by adding a method to the deploy.wsdd

 <parameter name="allowedMethods" value="method, SubscriptionEnd"/>

but i get an Exception, that the Method "SubscriptionEnd" is wrong.

has anybody come to that problem before? a Service with a well defined 
set of Operations, but thats also "Open" for any other SOAPRequests.

Or do i have to write my own provider?

thanx for any help, hint and discussion

stefan


-- 
My place : http://user.cs.tu-berlin.de/~lischke


Re: Mixing RPCProvider and MsgProvider

Posted by Anne Thomas Manes <at...@gmail.com>.
I think you need to write your own provider.

Anne


On Fri, 17 Dec 2004 21:47:01 +0100, Stefan Lischke <li...@novacom.net> wrote:
> hi there,
> 
> I'm in need of a provider, that works like the RPCProvider. But if there
> is a Request, for which a method is not available, it should call the
> MsgProvider style methods :
> 
> public Element [] method(Element [] bodies); public SOAPBodyElement []
> method (SOAPBodyElement [] bodies); public Document method(Document
> body); public void method(SOAPEnvelope req, SOAPEnvelope resp);
> 
> i tried this by adding a method to the deploy.wsdd
> 
> <parameter name="allowedMethods" value="method, SubscriptionEnd"/>
> 
> but i get an Exception, that the Method "SubscriptionEnd" is wrong.
> 
> has anybody come to that problem before? a Service with a well defined
> set of Operations, but thats also "Open" for any other SOAPRequests.
> 
> Or do i have to write my own provider?
> 
> thanx for any help, hint and discussion
> 
> stefan
> 
> --
> My place : http://user.cs.tu-berlin.de/~lischke
> 
>