Hi Steve:
The provider question has already been answered, but I wanted to note that you don't need to use your own Handler as a provider in order to access the MessageContext. You can simply deploy a standard RPC or Message service and call "MessageContext.getCurrentContext()" from your service method. This is now in the FAQ. --Glen > -----Original Message----- > From: Steve Sullivan [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 26, 2002 10:12 AM > To: [EMAIL PROTECTED] > Subject: User-specified Provider (Pivot) > > > > 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 >
