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 Jean-Marc Taillant <ta...@bst.bsf.alcatel.fr> on 2002/04/26 16:09:57 UTC
Re: User-specified Provider (Pivot)
----- Original Message -----
From: "Steve Sullivan" <su...@Mathcom.COM>
To: <ax...@xml.apache.org>
Sent: Friday, April 26, 2002 4:11 PM
Subject: User-specified Provider (Pivot)
Use:
<service name="BetaService" provider="Handler">
<parameter name="handlerClass" value="MyHandlerClass"/>
</service>
I thinks this question/response must be in the AXIS documentation because i
saw it a few times ...
Regards,
Jean Marc
>
> Hi,
> I want to write my own provider so I have access to the entire
> message context. But what does the WSDD look like? I tried:
>
> ===== deploy.wsdd:
> <service name="BetaService" provider="java:alphapk.BetaHandler">
> </service>
>
> ===== BetaHandler.java:
> public class BetaHandler extends BasicHandler {
> public void invoke( MessageContext mc)
> throws AxisFault
> {...}
> }
>
> But I get:
>
> Exception: The AXIS engine could not find a target service to invoke!
targetService is null
>
>
> Should I somehow specify the pivot also?
> I'm running axis beta 1.
>
> Many thanks,
>
> Steve