You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Victor Hadianto <vi...@nuix.com.au> on 2001/10/02 06:05:23 UTC
Re: Getting the Call/RPCMessage object from within the RPC-based SOAP service
Where exactly are you trying to get the Call object? Because if you are
trying to get it from your ServiceProvider (implements Provider), the locate
method will get the call object as the Parameter.
If you create your own servlet to intercept the soap call you can do
something like this:
call = RPCRouter.extractCallFromEnvelope(serviceManager, callEnv,
reqCtx);
just like it was done in RPCRouterServlet.
/victor
On Tue, 2 Oct 2001 14:13, you wrote:
> Hi,
>
> I am developing Access Control List for the SOAP services. Basically all
> RPC-based SOAP service.
>
> Is there anyway to obtain the Call, org.apache.soap.rpc.RPCMessage object
> that was sent by the soap
> client from within the SOAP service on the server side. I can obtain the
> SOAPContext object from the
> first arguement of my service method.
>
> It will easier and require to access the service
> id="urn:jsoap-Sess-HelloSOAP", or MethodName and param
> to map this info back to the ACL database.
>
> Help needed urgently. I have look through the
> org.apache.soap.rpc.SOAPContext document API I can't
> figure out how to get the Call object. Am I looking in the wrong document?
>
> Code example is to show how to do this will be great!
>
>
> Thks 1000 & Cheers,
> Boon Pang
> ongbp@coleridge.com.sg
--
Victor Hadianto
Nuix Pty. Ltd. (02) 9283 9010
Re: Getting the Call/RPCMessage object from within the RPC-based SOAP service
Posted by Victor Hadianto <vi...@nuix.com.au>.
Yupe,
that what i means by the locate() method will get the call object as the
Parameter.
/victor
On Tue, 2 Oct 2001 19:41, you wrote:
> Hi Victor,
>
> I am taking up recommendation to write my own provider to centralize all
> the ACL code +
> logging...
>
> Thks 1000,
> Boon Pang
>
> At 02:05 PM 10/2/2001 +1000, you wrote:
> >Where exactly are you trying to get the Call object? Because if you are
> >trying to get it from your ServiceProvider (implements Provider), the
> > locate method will get the call object as the Parameter.
> >
> >If you create your own servlet to intercept the soap call you can do
> >something like this:
> >
> >call = RPCRouter.extractCallFromEnvelope(serviceManager, callEnv,
> >reqCtx);
> >
> >just like it was done in RPCRouterServlet.
> >
> >/victor
> >
> >On Tue, 2 Oct 2001 14:13, you wrote:
> > > Hi,
> > >
> > > I am developing Access Control List for the SOAP services. Basically
> > > all RPC-based SOAP service.
> > >
> > > Is there anyway to obtain the Call, org.apache.soap.rpc.RPCMessage
> > > object that was sent by the soap
> > > client from within the SOAP service on the server side. I can obtain
> > > the SOAPContext object from the
> > > first arguement of my service method.
> > >
> > > It will easier and require to access the service
> > > id="urn:jsoap-Sess-HelloSOAP", or MethodName and param
> > > to map this info back to the ACL database.
> > >
> > > Help needed urgently. I have look through the
> > > org.apache.soap.rpc.SOAPContext document API I can't
> > > figure out how to get the Call object. Am I looking in the wrong
> > > document?
> > >
> > > Code example is to show how to do this will be great!
> > >
> > >
> > > Thks 1000 & Cheers,
> > > Boon Pang
> > > ongbp@coleridge.com.sg
> >
> >--
> >Victor Hadianto
> >Nuix Pty. Ltd. (02) 9283 9010
--
Victor Hadianto
Nuix Pty. Ltd. (02) 9283 9010
Re: Getting the Call/RPCMessage object from within the RPC-based SOAP service
Posted by Victor Hadianto <vi...@nuix.com.au>.
Yupe,
that what i means by the locate() method will get the call object as the
Parameter.
/victor
On Tue, 2 Oct 2001 19:41, you wrote:
> Hi Victor,
>
> I am taking up recommendation to write my own provider to centralize all
> the ACL code +
> logging...
>
> Thks 1000,
> Boon Pang
>
> At 02:05 PM 10/2/2001 +1000, you wrote:
> >Where exactly are you trying to get the Call object? Because if you are
> >trying to get it from your ServiceProvider (implements Provider), the
> > locate method will get the call object as the Parameter.
> >
> >If you create your own servlet to intercept the soap call you can do
> >something like this:
> >
> >call = RPCRouter.extractCallFromEnvelope(serviceManager, callEnv,
> >reqCtx);
> >
> >just like it was done in RPCRouterServlet.
> >
> >/victor
> >
> >On Tue, 2 Oct 2001 14:13, you wrote:
> > > Hi,
> > >
> > > I am developing Access Control List for the SOAP services. Basically
> > > all RPC-based SOAP service.
> > >
> > > Is there anyway to obtain the Call, org.apache.soap.rpc.RPCMessage
> > > object that was sent by the soap
> > > client from within the SOAP service on the server side. I can obtain
> > > the SOAPContext object from the
> > > first arguement of my service method.
> > >
> > > It will easier and require to access the service
> > > id="urn:jsoap-Sess-HelloSOAP", or MethodName and param
> > > to map this info back to the ACL database.
> > >
> > > Help needed urgently. I have look through the
> > > org.apache.soap.rpc.SOAPContext document API I can't
> > > figure out how to get the Call object. Am I looking in the wrong
> > > document?
> > >
> > > Code example is to show how to do this will be great!
> > >
> > >
> > > Thks 1000 & Cheers,
> > > Boon Pang
> > > ongbp@coleridge.com.sg
> >
> >--
> >Victor Hadianto
> >Nuix Pty. Ltd. (02) 9283 9010
--
Victor Hadianto
Nuix Pty. Ltd. (02) 9283 9010
Re: Getting the Call/RPCMessage object from within the
RPC-based SOAP service
Posted by Ong Boon Pang <on...@coleridge.com.sg>.
Hi Victor,
I am taking up recommendation to write my own provider to centralize all
the ACL code +
logging...
Thks 1000,
Boon Pang
At 02:05 PM 10/2/2001 +1000, you wrote:
>Where exactly are you trying to get the Call object? Because if you are
>trying to get it from your ServiceProvider (implements Provider), the locate
>method will get the call object as the Parameter.
>
>If you create your own servlet to intercept the soap call you can do
>something like this:
>
>call = RPCRouter.extractCallFromEnvelope(serviceManager, callEnv,
>reqCtx);
>
>just like it was done in RPCRouterServlet.
>
>/victor
>
>
>On Tue, 2 Oct 2001 14:13, you wrote:
> > Hi,
> >
> > I am developing Access Control List for the SOAP services. Basically all
> > RPC-based SOAP service.
> >
> > Is there anyway to obtain the Call, org.apache.soap.rpc.RPCMessage object
> > that was sent by the soap
> > client from within the SOAP service on the server side. I can obtain the
> > SOAPContext object from the
> > first arguement of my service method.
> >
> > It will easier and require to access the service
> > id="urn:jsoap-Sess-HelloSOAP", or MethodName and param
> > to map this info back to the ACL database.
> >
> > Help needed urgently. I have look through the
> > org.apache.soap.rpc.SOAPContext document API I can't
> > figure out how to get the Call object. Am I looking in the wrong document?
> >
> > Code example is to show how to do this will be great!
> >
> >
> > Thks 1000 & Cheers,
> > Boon Pang
> > ongbp@coleridge.com.sg
>
>--
>Victor Hadianto
>Nuix Pty. Ltd. (02) 9283 9010
Re: Getting the Call/RPCMessage object from within the
RPC-based SOAP service
Posted by Ong Boon Pang <on...@coleridge.com.sg>.
Hi Victor,
I am taking up recommendation to write my own provider to centralize all
the ACL code +
logging...
Thks 1000,
Boon Pang
At 02:05 PM 10/2/2001 +1000, you wrote:
>Where exactly are you trying to get the Call object? Because if you are
>trying to get it from your ServiceProvider (implements Provider), the locate
>method will get the call object as the Parameter.
>
>If you create your own servlet to intercept the soap call you can do
>something like this:
>
>call = RPCRouter.extractCallFromEnvelope(serviceManager, callEnv,
>reqCtx);
>
>just like it was done in RPCRouterServlet.
>
>/victor
>
>
>On Tue, 2 Oct 2001 14:13, you wrote:
> > Hi,
> >
> > I am developing Access Control List for the SOAP services. Basically all
> > RPC-based SOAP service.
> >
> > Is there anyway to obtain the Call, org.apache.soap.rpc.RPCMessage object
> > that was sent by the soap
> > client from within the SOAP service on the server side. I can obtain the
> > SOAPContext object from the
> > first arguement of my service method.
> >
> > It will easier and require to access the service
> > id="urn:jsoap-Sess-HelloSOAP", or MethodName and param
> > to map this info back to the ACL database.
> >
> > Help needed urgently. I have look through the
> > org.apache.soap.rpc.SOAPContext document API I can't
> > figure out how to get the Call object. Am I looking in the wrong document?
> >
> > Code example is to show how to do this will be great!
> >
> >
> > Thks 1000 & Cheers,
> > Boon Pang
> > ongbp@coleridge.com.sg
>
>--
>Victor Hadianto
>Nuix Pty. Ltd. (02) 9283 9010