default SecurityProvider as MessageContext property

2004-08-27 Thread Daniel Amadei
Hi All,   Do you know how can I set a custom security provider as the default, being kept as the MessageContext Security Provider property? (Maybe using WSDD)   Thanks   Daniel     Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade!

Extracting the return value from MessageContext Obj?

2004-08-20 Thread Christian Villoslada
In the "responseFlow" for a service I'd like a Handler to extract the return object, modify it, and put it back into the MessageContext.   I know how to get the ParameterDesc represention like so:   public void invoke(MessageContext arg0) throws AxisFault {   OperationDes

MessageContext highFidelity flag

2004-08-05 Thread Simon Fell
Hi, I have a service deployed with the standard Axis Servlet (using Axis 1.1) is there anyway to turn off the highFidelity flag in the MessageContext, I'm doing doc/literal SOAP, so have no need for the EventRecorder overhead. Thanks Simon

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
My bad. The class i was using was implementing the javax.xml.rpc.Handler interface. It should be implementing the org.apache.axis.Handler interface. Once i did that i got the handler to work. Thanks for all the help.

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
Message- From: Kapil Khanna [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: Re: How to get a MessageContext from a client I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the

RE: How to get a MessageContext from a client

2004-07-28 Thread Brian Freeman
, 2004 4:44 PM To: [EMAIL PROTECTED] Subject: Re: How to get a MessageContext from a client I defined a simple Handler class and tried to set up the handler in the client-config.wsdd file. I am using the following client-config.wsdd file http://xml.apache.org/axis/wsdd/"; xmlns:java="http:

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
sdd. Just place it on your clients classpath. --m Kapil Khanna wrote: >I am consuming an external web service and am trying to get a handle to the >MessageContext via MessageContext.getCurrentContext(). Unfortunately the >MessageContext i >get is always null. >The purpose of

Re: How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
an external web service and am trying to get a handle to the >MessageContext via MessageContext.getCurrentContext(). Unfortunately the >MessageContext i >get is always null. >The purpose of getting to the MessageContext is to get to the SOAPRequest and >SOAPResponse >messages. Th

Re: How to get a MessageContext from a client

2004-07-28 Thread Michael Thompson
You can setup client side handlers in client-config.wsdd. Just place it on your clients classpath. --m Kapil Khanna wrote: I am consuming an external web service and am trying to get a handle to the MessageContext via MessageContext.getCurrentContext(). Unfortunately the MessageContext i

How to get a MessageContext from a client

2004-07-28 Thread Kapil Khanna
I am consuming an external web service and am trying to get a handle to the MessageContext via MessageContext.getCurrentContext(). Unfortunately the MessageContext i get is always null. The purpose of getting to the MessageContext is to get to the SOAPRequest and SOAPResponse messages. There

RE: Getting header from MessageContext

2004-04-30 Thread Yakulis, Ross (Ross)
[mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 5:32 AM To: [EMAIL PROTECTED] Subject: Getting header from MessageContext Hi all how can i get the soap header from MessageContext. i have tried to get the SOAPPart then SOAPEnvelope and the SOAPHeader. i am tryibg to implement this in a log

Getting header from MessageContext

2004-04-30 Thread Vineet Singh
Hi all how can i get the soap header from MessageContext. i have tried to get the SOAPPart then SOAPEnvelope and the SOAPHeader. i am tryibg to implement this in a log class which extends the basis handler class. thaks in advance vineet

RE: MessageContext doesn't work at client side?

2003-11-15 Thread I-Sampige, Srinivas
Chris, From you posting I am a bit confused. As far as I understand, after the client has completed the call to the web service, the MessageContext object can still be accessed by retrieving it from the Call object by invoking the getMessageContext() method. So, how can it be said that the

RE: MessageContext doesn't work at client side?

2003-11-14 Thread chris
Gloria - At what step are you attempting to capture the message context? MessageContext is *only* present and valid while the client is processing the SOAP method call. Until the call method is triggered by ClientMain, a message context doesn't exist. By the time control is return

Re: MessageContext doesn't work at client side?

2003-11-14 Thread Michael Binz
I have created a service and successfully deployed. At client side, I created a ClientMain.java which only contains a "main" method for the purpose of testing. I tried to use "MessageContext.getCurrentContext()", but I always get NullPointerException. Does MessageContext

MessageContext doesn't work at client side?

2003-11-13 Thread Yan Lin
Hi, I have created a service and successfully deployed. At client side, I created a ClientMain.java which only contains a "main" method for the purpose of testing. I tried to use "MessageContext.getCurrentContext()", but I always get NullPointerException. Does MessageCon

RE: Client accessing MessageContext?

2003-11-13 Thread I-Sampige, Srinivas
Well, I am doing a similar thing..my code for receiving attachments works - Client snippet... String[] array = new String[1]; array[0] = "hello"; org.apache.axis.MessageContext messageContext = call.getMessageContext(); org.apache.ax

Client accessing MessageContext?

2003-11-13 Thread Greg Hess
working fine as far as the client sending up an attachment to the server. But when my client receives an attachment from the server and I try and read it the same way as the server using the following getAttachments(). The MessageContext is null. I am not sure what is wrong. Does the client not have

Getting MessageContext in Web-Service Implementation

2003-11-10 Thread Stefan . A . Schuster
Hi there, I have a simple WebService written in Java and invoked through the RPC provider. In one of the methods of the service I need a Client-Certificate (X509). The only way to get this seems to write a new provider that passes the messageContext on to the client. Probably a handler would

MessageContext not conform to standard

2003-10-10 Thread Vy Ho
Hi, I try to do some simple param init things. So I see this example: MessageContext msgContext = MessageContext.getContext(); SOAPServiceservice= msgContext.getService(); paramValue = service.getOption("paramName"); However, this MessageContext is fr

MessageContext not conform to standard

2003-10-10 Thread Vy Ho
Hi, I try to do some simple param init things. So I see this example: MessageContext msgContext = MessageContext.getContext(); SOAPServiceservice= msgContext.getService(); paramValue = service.getOption("paramName"); However, this MessageContext is fr

RE: MessageContext not conform to standard

2003-10-10 Thread Vy Ho
003 5:19 PM To: '[EMAIL PROTECTED]' Subject: MessageContext not conform to standard Hi, I try to do some simple param init things. So I see this example: MessageContext msgContext = MessageContext.getContext(); SOAPServiceservice= msgContext.getServic

Is the configuration of MessageContext buggy ?

2003-09-19 Thread Haug Thomas
t work because of the implementation of the invoke(Object[]) itself calls the invoke(). This method calls the reset() method of the MessageContext class, which removes all settings of the MessageContext Can anybody of you tell me how to configure the HTTP Transport to use keep-alive. Thank you very much, Thomas

RE: Axis MessageContext to the WebService

2003-08-19 Thread Robert Lowe
Jakob Skovenborg [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 11:44 PM To: [EMAIL PROTECTED] Subject: RE: Axis MessageContext to the WebService Hej Rober and Jim Thank's a lot. I did'nt know this ThreadLocal mechanism. For other purposes, do you know any examples how to use it.

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
Hej Jim Actualy there are a method in MessageContext called getSession(). I thought that it was the HttpServletRequest getSession(). /Jakob Jim Harris <[EMAIL PROTECTED]> wrote: > I am not sure what you mean... > > It depends what you mean by 'session'. By default t

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jim Harris
Skovenborg [mailto:[EMAIL PROTECTED] > Sent: 18 August 2003 15:08 > To: '[EMAIL PROTECTED]' > Subject: SV: Axis MessageContext to the WebService > > > Hej Jim > How does that work with concurrent WebServices? Wont you get a > MessageContext belongs to another sess

SV: Axis MessageContext to the WebService

2003-08-18 Thread Hans Jakob Skovenborg
Hej Jim How does that work with concurrent WebServices? Wont you get a MessageContext belongs to another session. /Jakob -Oprindelig meddelelse- Fra: Jim Harris [mailto:[EMAIL PROTECTED] Sendt: 18. august 2003 15:10 Til: [EMAIL PROTECTED] Emne: RE: Axis MessageContext to the WebService

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
rned depending the thread that invokes it. > > - Rob > > > - Original Message - > From: "Jakob Skovenborg" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 18, 2003 10:54 PM > Subject: Re: RE: Axis MessageContext

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
Hej Jim How does that work with concurrent WebServices? Wont you get a MessageContext belongs to another session. /Jakob Jim Harris <[EMAIL PROTECTED]> wrote: > Jakob > > Usually the MessageContext is available to a Web service > invoked by axis > through the

Re: RE: Axis MessageContext to the WebService

2003-08-18 Thread Peter Mount
On Mon, 18 Aug 2003, Jakob Skovenborg wrote: > Hej Jim > How does that work with concurrent WebServices? Wont you get a > MessageContext belongs to another session. > /Jakob It uses ThreadLocal, so it returns the current MessageContext for that Thread. Peter -- Peter Mount [EMA

Re: RE: Axis MessageContext to the WebService

2003-08-18 Thread Robert Lowe
Subject: Re: RE: Axis MessageContext to the WebService > Hej Jim > How does that work with concurrent WebServices? Wont you get a > MessageContext belongs to another session. > /Jakob > > Jim Harris <[EMAIL PROTECTED]> wrote: > > Jakob > > > > Usually the

RE: RE: Axis MessageContext to the WebService

2003-08-18 Thread Jim Harris
> Sent: 18 August 2003 15:55 > To: [EMAIL PROTECTED] > Subject: Re: RE: Axis MessageContext to the WebService > > > Hej Jim > How does that work with concurrent WebServices? Wont you get a > MessageContext belongs to another session. > /Jakob > > Jim Harr

Re: RE: Axis MessageContext to the WebService

2003-08-18 Thread Jakob Skovenborg
Hej Jim How does that work with concurrent WebServices? Wont you get a MessageContext belongs to another session. /Jakob Jim Harris <[EMAIL PROTECTED]> wrote: > Jakob > > Usually the MessageContext is available to a Web service > invoked by axis > through the

RE: Axis MessageContext to the WebService

2003-08-18 Thread Jim Harris
Jakob Usually the MessageContext is available to a Web service invoked by axis through the static method of the MessageContext class as follows: MessageContext msgContext = MessageContext.getCurrentContext(); I think that is the one... HTH Jim > -Original Message- > From:

Axis MessageContext to the WebService

2003-08-16 Thread Jakob Skovenborg
How do I pass the Axis MessageContext from the Pivot Handler to the WebService. My Webservice has to get access to a backend service which need the UserID from MessageContext. /Jakob

Problem getting MessageContext object from client stubs

2003-08-14 Thread Naresh Agarwal
Hi   How can I get MessageContext object at client side (from the stubs generated from WSDL2Java tool)   If I use MessageContext.getcurrentContext(), then I get null value.   thanks, Naresh  Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software

MessageContext interface in JAX-RPC

2003-07-23 Thread Dimuthu Leelarathne
Hi,   I was going through MessageContext interface provided in JAX-RPC. To be precise it is "javax.xml.rpc.handler.MessageContext". It contains 4 methods as    containsProperty(String name), getProperty(Stirng name), getPropertyNames( ), removeProperty(String name)   Now my q

MessageContext interface in JAX-RPC

2003-07-22 Thread Jeyakumaran.C
    Hi,   I was going through MessageContext interface provided in JAX-RPC. To be precise it is "javax.xml.rpc.handler.MessageContext". It contains 4 methods as    containsProperty(String name), getProperty(Stirng name), getPropertyNames( ), remo

Is MessageContext Problem specific to Windows 2k/XP?

2003-07-11 Thread Chen, Li (Research, YOH)
Hi, It seems that trying to access MessageContext using MessageContext context = MessageContext.getCurrentContext(); Inside a service (not a handler) on the server side will result in InvocationTargetException on Windows 2000/XP. Has anyone else been able to replicate the

RE: Simple MessageContext problem...

2003-07-10 Thread Chen, Li (Research, YOH)
MessageContext problem... 1) Is this the username/password for the HTTP Basic Authentication header or for a SOAP security header?   2) how can we extract the userid & password for SOAP security header in AXIS handler? "Chen, Li (Research, YOH)" <[EMAIL

RE: Simple MessageContext problem...

2003-07-10 Thread Chen, Li (Research, YOH)
answer embedded in message: -Original Message-From: Tony Opatha [mailto:[EMAIL PROTECTED]Sent: Thursday, July 10, 2003 1:58 PMTo: [EMAIL PROTECTED]Subject: Re: Simple MessageContext problem... 1) Is this the username/password for the HTTP Basic Authentication header

Re: Simple MessageContext problem...

2003-07-10 Thread Tony Opatha
a problem with using MessageContext object in Axis1.1. I've deployed a service (a .java file, not JWS) with deploy.wsdd andall, plus a handler that intercepts the incoming SOAP message before itarrives the service...there was no problem accessing MessageContext (forusername and password) in the hand

Simple MessageContext problem...

2003-07-10 Thread Chen, Li (Research, YOH)
Hi All, There seems to be a problem with using MessageContext object in Axis 1.1. I've deployed a service (a .java file, not JWS) with deploy.wsdd and all, plus a handler that intercepts the incoming SOAP message before it arrives the service...there was no problem accessing MessageCo

(How) can I use MessageContext in service implementation?

2003-03-28 Thread Hardi Rokk
Hi everyone, I am newby to axis, therefore my question might be little silly, but... When I set the user password and username in call I can read those on server-side from MessageContext. Thats good in handlers, but I would like to use this username in my service code (to check the rights for

AW: messageContext

2003-03-04 Thread Oliver Adler
_ -Ursprüngliche Nachricht- Von: John Chen [mailto:[EMAIL PROTECTED] Gesendet: Di 04.03.2003 20.29 Uhr An: [EMAIL PROTECTED] Cc: Betreff: Fwd: messageContext Sorry if you got this message twice, but I was not the mailing lis

Fwd: messageContext

2003-03-04 Thread John Chen
Sorry if you got this message twice, but I was not the mailing list earlier. If anyone can help, it would be much appreciated~!! John Date: Mon, 03 Mar 2003 12:38:16 -0800 To: [EMAIL PROTECTED] From: "John L. Chen" <[EMAIL PROTECTED]> Subject: messageContext I am attem

RE: MessageContext

2003-01-27 Thread Cory Wilkerson
htler [mailto:[EMAIL PROTECTED]] Sent: Monday, January 27, 2003 12:06 PM To: [EMAIL PROTECTED] Subject: Re: MessageContext Hi Cory, My understanding is that this is thread-safe, because MessageContext.getCurrentContext() uses a ThreadLocal variable to get the current context (so each separate thread

Re: MessageContext

2003-01-27 Thread Jess Sightler
ngs could >get a little funky. > > > public static RequestHandler getInstance() { > RequestHandler handler = null; > > MessageContext mc = MessageContext.getCurrentContext(); > if (mc != null && mc.getService() != null) { &g

MessageContext

2003-01-27 Thread Cory Wilkerson
RequestHandler getInstance() { RequestHandler handler = null; MessageContext mc = MessageContext.getCurrentContext(); if (mc != null && mc.getService() != null) { String serviceName = mc.getService().getName(); if (serviceName != null) {

RE: Axis MessageContext

2003-01-24 Thread Cory Wilkerson
one: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/ (see srv.2.2). Thanks for the clarification on MessageContext... Cory -Original Message- From: Wes Devauld [mailto:[EMAIL PROTECTED]] Sent: Friday, January 24, 2003 9:38 AM To: [EMAIL PROTECTED] Subject: Re: Axis MessageContext

Re: Axis MessageContext

2003-01-24 Thread Wes Devauld
Firstly I don't think there is only one instance of a servlet for all calls to a web context. The reason all member variables are static is because it does create several servlets. With Servlets you do have to deal with mulitple threading issues. Second, MessageContext.getCurrentContext does co

Axis MessageContext

2003-01-24 Thread Cory Wilkerson
Two questions: 1) Like servlets, is there exactly one instance of the service I've exposed via axis? 2) If so, can I operate under the assumption that MessageContext.getCurrentContext() directly correlates to the current request? Much like Thread.currentThread()? Thanks! Cory

MessageContext and OperationDesc

2003-01-17 Thread Brian Madigan
Handler implementation question: Do MessageContext instances that get passed to Handlers have an OperationDesc? I see that OperationDesc is a 'Work in progress' in the API. Is there a way (that works) to get the name of the operation in the current MessageContext? (from within a Hand

Retrieving the parameters from MessageContext

2002-12-09 Thread jimmy coyne
Hi all Im developing a custom handler and need to retrieving the parameters passed in the soap call from the MessageContext .Is there a standard way of doing this? For example , getting the values xxx and yyy from the body of the envelope below http://schemas.xmlsoap.org/soap/encoding

RE: MessageContext at server side

2002-06-11 Thread Wimmer, Matthias
egards Matthias Wimmer -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 10:10 AM To: [EMAIL PROTECTED] Subject: RE: MessageContext at server side Try using MessageContext.getCurrentContext() -Original Message- From: ext W

RE: MessageContext at server side

2002-06-11 Thread Geza.Szocs
Try using MessageContext.getCurrentContext() -Original Message- From: ext Wimmer, Matthias [mailto:[EMAIL PROTECTED]] Sent: 11. June 2002 16:08 To: '[EMAIL PROTECTED]' Subject: MessageContext at server side Hello, I read that the current MessageContext can be retrieved at s

MessageContext at server side

2002-06-11 Thread Wimmer, Matthias
Hello,   I read that the current MessageContext can be retrieved at server side (using JWS files) very simple: you just add a MessageContext parameter to your method. I wrote the following method and published the whole class as a JWS file.      public String echoMethod

RE: an access to a MessageContext

2002-05-23 Thread Martin Senger
> Is it not what org.apache.axis.MessageContext.getCurrentContext() is for? > Perfect! I have missed it - but it seems "The" solution I was looking for. Thanks, Martin -- Martin Senger EMBL Outstation - Hinxton[EMAIL PROTECTED] European Bioinformatics Institute

RE: an access to a MessageContext

2002-05-23 Thread thomas . cherel
Title: RE: an access to a MessageContext Is it not what org.apache.axis.MessageContext.getCurrentContext() is for? -Original Message- From: Martin Senger [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 4:12 AM To: [EMAIL PROTECTED] Subject: an access to a MessageContext

an access to a MessageContext

2002-05-23 Thread Martin Senger
t it was called? For example, to get hand on the MessageContext would be perfect. Note please that my provider is java:RPC, not java:MSG. Thanks for any help or pointers. Martin -- Martin Senger EMBL Outstation - Hinxton[EMAIL PROTECTED] European Bioinformatics Institu

RE: How to access MessageContext in a Web service?

2002-04-12 Thread Chris Haddad
Naveen - MessageContext is not passed from the client to the service. It is created by the Axis engine from the SOAP/HTTP information and passed to the service. If you desire to pass information from the client to the service, it needs to either be an HTTP header or a SOAP part. To access

How to access MessageContext in a Web service?

2002-04-12 Thread Naveen Kumar.M
> Hi, > We have implemented a EJB as a web service. And our requirement is > to access MessageContext object in the web service(EJB) methods. > 1. We tried accessing it MessageContext object by passing it from > the client to a method of the web service(EJB) but i

Re: MessageContext?

2002-04-09 Thread Adam Greene
wsdd. - Original Message - From: "Hozefa Botee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 11:29 PM Subject: RE: MessageContext? > does that mean I call .setMaintainSession(true) in the service > method as well? is that all tha

RE: MessageContext?

2002-04-08 Thread Hozefa Botee
D] > Subject: Re: MessageContext? > > > Hi Hozefa: > > I wouldn't rely on the MessageContext being set in the > constructor for your object, although it is interesting that > we apparently make two service objects - I'll look into that > to see what's up

Re: MessageContext?

2002-04-08 Thread Glen Daniels
Hi Hozefa: I wouldn't rely on the MessageContext being set in the constructor for your object, although it is interesting that we apparently make two service objects - I'll look into that to see what's up there. The MessageContext represents information about a PARTICULAR req

MessageContext?

2002-04-04 Thread Hozefa Botee
If I want to access the MessageContext to add a header to the response from a client call, where is the appropriate place in my code to call MessageContext.getCurrentContext()? if I put it in the constructor of my service with some debugging code, it appears that the constructor gets called

RE: MessageContext argument in service method

2002-03-28 Thread Ramon Turnes
So, what does this mean, that the signature for Messaging style methods will change from: public class MyService { Document myMethod(MessageContext, Document xml) { } } to to sth like this?: public class MyService { Document myMethod(Document xml

RE: MessageContext argument in service method

2002-03-27 Thread Glen Daniels
ilto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 7:48 AM > To: '[EMAIL PROTECTED]' > Subject: RE: MessageContext argument in service method > > > > You can do that if you are using Messaging style services. > > Ramón. > > > -Original M

RE: MessageContext argument in service method

2002-03-26 Thread Ramon Turnes
You can do that if you are using Messaging style services. Ramón. > -Original Message- > From: Ken Weiner [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, March 26, 2002 2:49 AM > To: [EMAIL PROTECTED] > Subject: Re: MessageContext argument in service method > > >

Re: MessageContext argument in service method

2002-03-25 Thread Ken Weiner
Glen, Thank you so much - that worked. Is having MessageContext as the first argument of a service method a thing of the past? -Ken - Original Message - From: "Glen Daniels" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 25, 2002 1:52 PM Subje

RE: MessageContext argument in service method

2002-03-25 Thread Glen Daniels
Hi Ken: Try MessageContext.getCurrentContext(). --Glen > -Original Message- > From: Ken Weiner [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 4:49 PM > To: [EMAIL PROTECTED] > Subject: MessageContext argument in service method > > > Sho

MessageContext argument in service method

2002-03-25 Thread Ken Weiner
s the session object which I understand I can get from MessageContext.getSession() or set and get properties from MessageContext.setProperty() and MessageContext.getProperty(). How do I access MessageContext in my service? When I try adding it as the first argument to a method, my client throw

WSDL2Java server side Axis Beta 1 : where is MessageContext ?

2002-03-11 Thread herve attia
I moved to Axis Beta 1. How to generate method within the Stub implementation with MessageContext as input Parameter ? Does this features has been removed ? (option WSDL2Java "-m" ) I need my stubImplementation to access MessageContext to do the following : HttpServlet servlet = (H