namespace move with axis 1.2

2004-12-06 Thread valerie . bauche
I try to use the last version of axis : 1.2RC2 instead of the axis 1.1 I have a web service with a method of this type : public Document execute(Document body) when the web service receive the document, it has changed : all namespaces had been moved to the root element ! The problem is that

Réf. : RE: Debugging WS

2004-02-25 Thread valerie . bauche
Yes, I use this one "Pedro Maia" <[EMAIL PROTECTED]> sur 25/02/2004 12:54:51 Veuillez répondre à [EMAIL PROTECTED] Pour : <[EMAIL PROTECTED]> cc : Objet : RE: Debugging WS Hi Valerie, There are several Tomcat plug-ins for Eclipse... are you using the Sysdeo plug-in? Thank you very muc

Réf. : Debugging WS

2004-02-25 Thread valerie . bauche
I use eclipse with the tomcat plugin, it allows me to debug very precisely every web service and handler I use. Valerie "Pedro Maia" <[EMAIL PROTECTED]> sur 24/02/2004 18:48:34 Veuillez répondre à [EMAIL PROTECTED] Pour : <[EMAIL PROTECTED]> cc : Objet : Debugging WS Hi, I would

problem with getTargetService

2004-02-19 Thread valerie . bauche
Hello I have a client and a service, with a handler on the client side and a handler on the server side. It works ok. But in my client handler I need to use msgContext.getTargetService() and it always return null !! If I try to use it in the server handler, it works. So, what's the problem with th

Réf. : RE: question about handlers

2004-02-06 Thread valerie . bauche
Thanks everybody for your answers. I've found where is the problem : my client handler does not manage correctly the fault and then when it reach the client I lost information. It's ok now Valerie "chris" <[EMAIL PROTECTED]> sur 04/02/2004 17:36:21 Veuillez répondre à [EMAIL PROTECTED] Pou

Réf. : Re: question about handlers

2004-02-05 Thread valerie . bauche
The wssd for the service looks like this : and here is the handler : (See attached file: handler1.java) this handler works very well except for error handling. Another important thing is I also h

question about handlers

2004-02-04 Thread valerie . bauche
Hello I have a simple client and a simple service which have a handler on its request flow. My handler must sometimes refuse the access to the service. In this case, I want it to return a special error message to the client. How can I do this ? I've tried throwing an AxisFault, but on the client I

Réf. : Axis/Tomcat Servlet Problem.

2003-12-19 Thread valerie . bauche
I had this problem and I solved it looking at the axis jar files : they must be in a unique directory. In your case, be sure they are in jakarta-tomcat-4.1.29/common/lib and nowhere else under jakarta-tomcat-4.1.29/.. Valerie "Jens Mittag" <[EMAIL PROTECTED]> sur 18/12/2003 14:51:00 Veu

Réf. : Re: SOAP to DOM

2003-12-10 Thread valerie . bauche
normalize() has no effect on that... This is really a big problem for me, because I insert into the SOAP message a piece of xml SIGNED... When I take it back it is full of "\n" and then I cannot verify the signature. Axis compromise the integrity of my message : it's very embarrassing !! I do

Réf. : Re: SOAP to DOM

2003-12-09 Thread valerie . bauche
I've done exactly the same : public void invoke(MessageContext msgContext) throws AxisFault { try { org.apache.axis.Message testMsg = msgContext.getCurrentMessage (); org.w3c.dom.Element element = testMsg.getSOAPEnvelope ().getAsDOM(); .. eleme

SOAP to DOM

2003-12-09 Thread valerie . bauche
In a handler (axis BasicHandler type), I need to transform the soap part of the message into a Document object I use the javax.xml.transform.Transformer and I get the Document object. But this Document is full of "\n" and sometimes "\r" or spaces !!! It's not very easy to use : is there any solutio

Réf. : Re: handler : how to get information on the sender ?

2003-12-08 Thread valerie . bauche
I have many web services and servlets talking to each other For security reasons I want to identify the application who send the message : If it's a web service I would like to know its logical name (or uri...). If it's a servlet I would need something like ServletContextName... Security is a very

handler : how to get information on the sender ?

2003-12-05 Thread valerie . bauche
In a handler we can find who will receive the request with the method getTargetService() But how can we get information about who is the sender of this request ? Valerie

Réf. : Re: Réf. : Re: Réf. : Re: problem with client-config.wsdd

2003-12-05 Thread valerie . bauche
It's a "security agent" which can be called by every servlet or web service handler so it needs to be in the common directory. This agent is axis dependant because it asks security information to specialized axis web services (authentication and autorization servers). I have a lot of interaction b

Réf. : Re: Réf. : Re: Réf. : Re: problem with client-config.wsdd

2003-12-05 Thread valerie . bauche
With or without the default client-config.wsdd inside the common/lib/axis.jar, the problem is the same, this error comes from a sort of "collision" between the two axis.jar. Valerie Harald Pollak <[EMAIL PROTECTED]> sur 05/12/2003 10:20:11 Veuillez répondre à [EMAIL PROTECTED] Pour : [EMAI

Réf. : Re: Réf. : Re: problem with client-config.wsdd

2003-12-05 Thread valerie . bauche
I've already tried that : If I put axis.jar both in common/lib and TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib, it solves the problem for client-config.wsdd because myservlet use its own axis.jar BUT it causes another error. This error comes because from "myservlet" I call a class located in common/

Réf. : Re: problem with client-config.wsdd

2003-12-05 Thread valerie . bauche
I think there's a big problem with this. Because axis.jar is located in TOMCAT_HOME/common/lib, it searchs for client-config.wsdd only in TOMCAT_HOME/common/classes ! If I try to put it anywhere else I get an error... This would mean that we must use the same client-config.wsdd for all clients !!!

problem with client-config.wsdd

2003-12-04 Thread valerie . bauche
I have a first config which works correctly : TOMCAT_HOME/webbaps/myservlet/WEB-INF/classes/client-config.wsdd TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib/axis.jar (without client-config.wsdd) But next, I need to use the axis.jar elsewhere in tomcat so I need to put the axis.jar in TOMCAT_HO

Réf. : Re: Réf. : RE: Client handler

2003-12-04 Thread valerie . bauche
Ok, client-config.wsdd was not in the rigth place ! Everything works fine now : it's so simple ! Thanks a lot for your help ! Valerie Harald Pollak <[EMAIL PROTECTED]> sur 04/12/2003 13:24:37 Veuillez répondre à [EMAIL PROTECTED] Pour : [EMAIL PROTECTED] cc : Objet : Re: Réf. : RE: Clie

Réf. : RE: Client handler

2003-12-04 Thread valerie . bauche
I've tried your solution and I get this error : org.apache.axis.ConfigurationException: No engine configuration file - aborting! Which file is missing ? Valerie "Jan Kester" <[EMAIL PROTECTED]> sur 04/12/2003 11:38:55 Veuillez répondre à [EMAIL PROTECTED] Pour : <[EMAIL PROTECTED]> cc :

Client handler

2003-12-04 Thread valerie . bauche
Hello I have a simple servlet (not a web service) deployed on tomcat, it works like a normal servlet : receveiving http request and sending http response. But this servlet also have to invoke an axis webservice to get some information : no problem with that : it works ! The problem start here : I

Réf. : Re: Réf. : Re: Unable to locate a validEngineConfigurationFactory

2003-11-27 Thread valerie . bauche
All axis jars are located on TOMCAT_HOME/webapps/axis/WEB-INF/lib and I add some of them on TOMCAT_HOME/common/lib : common-logging, common-discovery, jaxrpc, wsd4j and saaj Valerie Guillaume Sauthier <[EMAIL PROTECTED]>@bull.net sur 26/11/2003 16:53:16 Veuillez répondre à [EMAIL PROTECTED]

Réf. : Re: Unable to locate a valid EngineConfigurationFactory

2003-11-26 Thread valerie . bauche
I use axis 1.1 and I didn't modify any of the axis classes. Perhaps the context of my problem could help : I call a first axis service which has an handler This handler call an external class (not a web service) located in TOMCAT_HOME/common/classes This external class call a second axis web servi

Unable to locate a valid EngineConfigurationFactory

2003-11-26 Thread valerie . bauche
The code : org.apache.axis.client.Service service = new Service(); generates the following error : - Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet Ignored: missing required method: public static EngineConfigurationFactory newFactory(Object). - Factory org.apache.axis.co

problem with axis and tomcat

2003-11-26 Thread valerie . bauche
Hello I'm working with axis and tomcat 4.1 I have created an axis web service which works correctly when I invoke it with a simple client. But I need to invoke this service with a special client which is located in tomcat (TOMCAT_HOME/common/classes) and then I get the following error. I guess it'