[AXIS2] Integration with SPRING

2006-08-11 Thread Fabien Couble
Hi all,   Actually, I'm implementing a protocol using the AXIS2, HIBERNATE and SPRING architecture. I have an application which use HIBERNATE and SPRING to do the Data Object Access. And I want to use this code to ensure the persistence in Axis2. Actually, I was wondering how I should integ

[AXIS2] AXIS2 and HIBERNATE

2006-08-08 Thread Fabien Couble
Hi all,   I have chosen to use HIBERNATE to manage the persistence in AXIS2. I know that people have already used HIBERNATE with AXIS2 that's wy, I'd to know what is the protocol to install and use HIBERNATA with AXIS2? Should I install absolutly a J2EE server like JBOSS or JONAS? Or Can I

Re: [AXIS2] persistence

2006-08-08 Thread Fabien Couble
e you thought about a database? Perhaps with Hibernate/Java Persistence? David On 08/08/06, Fabien Couble <[EMAIL PROTECTED]> wrote: Hi Deepal Thx for your response... but actually I'd like to know how I can implement persistence in Axis. I mean I need to use an object which must be persi

Re: [AXIS2] persistence

2006-08-08 Thread Fabien Couble
ou help me?? Fabien - Original Message - From: "Deepal Jayasinghe" <[EMAIL PROTECTED]> To: Sent: Monday, August 07, 2006 6:07 PM Subject: Re: [AXIS2] persistence Hi Fabien; Please see my comments below; Fabien Couble wrote: Hi all, I have checked that AXIS 2 don't sup

[AXIS2]

2006-08-07 Thread Fabien Couble
Hi all, I'm implementing a protocol in which I have to manage an array of resources. Indeed, I have to add, get or delete resources from that array. Actually, when a web service receives a request from a client, depending on the request, the web service has to get, add or delete the resource

[AXIS2] Web service initialisation

2006-08-07 Thread Fabien Couble
Hi all,   I have to manage an array of resources in my web service (add, get, delete resources). That's why, I have to init my web service with an array the first time it is used... That's why, I'm wondering how I can do that... Is it possible?   Moreover, is an AXIS2 web service persistent?

[AXIS2] persistence

2006-08-07 Thread Fabien Couble
Hi all, I have checked that AXIS 2 don't support the persistence by default. That's why, by surfing on the Web, I have found that to make a service persistent, we have to configure the service.xml file with the following line: I did that by replacing the word value by "application". Normally,

Re: [AXIS2] ReferenceParameter

2006-07-31 Thread Fabien Couble
. You never do sender.setOptions(options) in the code you are showing here.So the options you are setting up arent used.Paul On 7/31/06, Fabien Couble <[EMAIL PROTECTED]> wrote: Hi all, I have a problem with the addressing module!!! Actually this

[AXIS2] ReferenceParameter

2006-07-31 Thread Fabien Couble
Hi all, I have a problem with the addressing module!!! Actually this is the code of my client:      WSTransferServiceStub stub = new WSTransferServiceStub(configContext, "http://localhost:8080/axis2/services/WSTransferService");    ServiceClient sender = stub._getServiceClient();  Endpoi

[AXIS2] soap header

2006-07-31 Thread Fabien Couble
Hi all, I'd like to know if it is possible to have access to the SOAP  header in the implementation of the service (skeleton). Actually, I'd like to get some information. If it is not possible, I suppose I have to get this information in a module!!?   Thx Fabien This message contains infor

Re: [AXIS 2] WS-addressing module

2006-07-31 Thread Fabien Couble
which is the reference parameters. This extension point is ALREADY built in.   resource URI       ...    These can be set using the following Axis2 code:EndpointReference epr; epr.addReferenceParameter(OMElement el);Paul On 7/31/06, Fabien Couble <[EMAIL PROTECTED]

Re: [AXIS2] problem addressing

2006-07-31 Thread Fabien Couble
forgot the previous message!! It was the soapmonitor module. it must be engaged at the server sid only!! Sorry for disturbing!   - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Monday, July 31, 2006 10:35 AM Subject: [AXIS2] problem

[AXIS2] problem addressing

2006-07-31 Thread Fabien Couble
Hi all,   I have a problem to engage the addressing module with a stub. An exception is raised!! This is what I have done:       ConfigurationContext configContext =                  ConfigurationContextFactory.createConfigurationContextFromFileSystem                 ("C:/Program Files/Apa

[AXIS 2] WS-addressing module

2006-07-31 Thread Fabien Couble
Hi everybody,   I have to adapt the WS-addressing module in order to make it WS-Management compliant. That's why I'd like to have your point of view.In fact, the WS-Management specification adds two attributes to the WS-addressing header.It is the attributes wsman:ResourceURI and wsman:Selec

Re: [AXIS2] parsing problem

2006-07-28 Thread Fabien Couble
: Friday, July 28, 2006 11:39 AM Subject: Re: [AXIS2] parsing problem Hi,Yep - it does - I am not really sure of the problem in your case though. Can you inspect the code inside the message receiver as to what it is trying to do ? On 7/28/06, Fabien Couble <[EMAIL PROTECTED]>

Re: [AXIS2] parsing problem

2006-07-28 Thread Fabien Couble
Just for information, is xmlbeans works properly with AXIS2? - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Friday, July 28, 2006 9:36 AM Subject: Re: [AXIS2] parsing problem I still have the same problem. This is the exception raised

Re: [AXIS2] parsing problem

2006-07-28 Thread Fabien Couble
ava:86)  at com.example.transfer_wsdl.WSTransferServiceMessageReceiverInOut.fromOM(WSTransferServiceMessageReceiverInOut.java:179)  ... 21 more     I have no idea about how to solve this... Please, help me   Thx Fabien   - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Thursday, July 27, 2006 4:50 P

[AXIS2] parsing problem

2006-07-27 Thread Fabien Couble
Hi all, I think I have a problem concerning xmlbeans. This is what I have done:   - I have generated java code from a wsdl file with xmlbeans databinding . - This wsdl file contains two complex types like this:     - I deployed the web service... - I have done a client which send a

Re: [AXIS2 ]WSDL generation error

2006-07-27 Thread Fabien Couble
heers Fabien - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Wednesday, July 26, 2006 6:05 PM Subject: Re: [AXIS2 ]WSDL generation error Hi,   I have generated my stub/skeleton with the latest XMLschema.jar but the methods toEnv

Re: [AXIS2 ]WSDL generation error

2006-07-26 Thread Fabien Couble
elephone or email and destroy the originalmessage without making a copy.  Thank you.     - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent

Re: [AXIS2] compiltation error

2006-07-26 Thread Fabien Couble
  Which version of jaxb-xjc should I take? It must NOT be the version 2.0.1!!! Am I right?   - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Wednesday, July 26, 2006 10:43 AM Subject: [AXIS2] compiltation error Hi, I have a

[AXIS2] compiltation error

2006-07-26 Thread Fabien Couble
Hi, I have a problem to compile the latest nightly. The following error occurs:     [javac] Compiling 1 source file to D:\axis2-nightly\modules\jaxbri\target\classes    [javac] D:\axis2-nightly\modules\jaxbri\src\org\apache\axis2\jaxbri\CodeGenerationUtility.java:19: cannot access com.sun.c

[AXIS2 ]WSDL generation error

2006-07-25 Thread Fabien Couble
Hi, I'm using the latest nightly version of Axis2 (23/07/06). Actually, I have generated java code from a wsdl file but there is an error in the generated code. The method in cause is the method toEnvelope in the stub code (client side). Actually, the server code is allright. Do you know wha

[AXIS2] WSDL generation

2006-07-25 Thread Fabien Couble
Hi all,   I'm trying to deploy a service WS-Transfer. I have created a wsdl file to describe this service. Then, I have generated my stub and skeleton. The generation seems allright but actually it is not the generation I expected. Actually, I have declared messages with parameters but the g

Re: [AXIS2]axiom-api-1.0 library

2006-07-24 Thread Fabien Couble
al Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Monday, July 24, 2006 2:38 PM Subject: [AXIS2]axiom-api-1.0 library Hi everybody,   I have a question concerning the axiom-api-1.0 library. Actually, I generated java code from a wsdl file but the code gen

[AXIS2]axiom-api-1.0 library

2006-07-24 Thread Fabien Couble
Hi everybody,   I have a question concerning the axiom-api-1.0 library. Actually, I generated java code from a wsdl file but the code generated has errors whereas everything was allright during the generation. Indeed, the errors are the following: param.newXMLStreamReader - Eclipse tells

Re: [AXIS2] userguide problem

2006-07-24 Thread Fabien Couble
Fabien, how do you generate your wsdl file ? manually write it ?   On 7/24/06, Fabien Couble <[EMAIL PROTECTED]> wrote: Hi Anne, Thx for your reply... You can see enclosed my wsdl file   Thx very much for your review  

WS-Transfer protocol using AXIS2

2006-07-24 Thread Fabien Couble
Hi everybody,   I'd like advices concerning a project I have to do using Apache AXIS2. Actually, I have to implement the WS-Transfer protocol using Apache AXIS2. I spent time to understand how AXIS2 works and I have some questions. Maybe you could answer to them:       First of all, implement

Re: [AXIS2] userguide problem

2006-07-24 Thread Fabien Couble
ust be defined/imported/included in the section. If you post your WSDL, I'd be happy to review it for you.Anne On 7/21/06, Fabien Couble < [EMAIL PROTECTED]> wrote: Hi all, Still have a problem with the userguide. The client using the stub gener

[AXIS2] userguide problem

2006-07-21 Thread Fabien Couble
Hi all, Still have a problem with the userguide. The client using the stub generated from a WSDL file doesn't work. I have modified the WSDL file and I put "document" instead of "RPC" for the method. ().There is the same problem.  

[AXIS2] userguide Writing Web Service Clients using Code Generation with Data Binding Support

2006-07-20 Thread Fabien Couble
Hi all, I have one question concerning the userguide and more precisely the part: Writing Web Service Clients using Code Generation with Data Binding Support   In fact, I did everything and more precisely, I deployed the service but now I have a problem with the client.   In fact, I copy pas

[AXIS2] userguide Writing Web Service Clients using Code Generation with Data Binding Support

2006-07-20 Thread Fabien Couble
Hi all, I have one question concerning the userguide and more precisely the part: Writing Web Service Clients using Code Generation with Data Binding Support   In fact, I did everything and more precisely, I deployed the service but now I have a problem with the client.   In fact, I copy pas

Re: [AXIS2]need help

2006-07-18 Thread Fabien Couble
yes I follow all the instructions. I know that my modules are engaged ( I checked it) but the handler is not executed!! Actually, this is what I have done 1) This is a part of my client code: ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileS

[AXIS2]need help

2006-07-18 Thread Fabien Couble
Just for information...   Someone has succeeded to engage a module at the client side or is it a bug to fix?? if yes, is it possible to send me a module with the appropriate axis2.xml file to see if it works on my axis2 application!! I'm getting crazy!   Thx for your help Fab     This messag

[AXIS2] Axis2 Compilation

2006-07-18 Thread Fabien Couble
I downloaded axis2 souces and I compiled them using the tool "maven" (maven war). It created the war file axis2.war. The problem is that the compilation lasts roughly 1 hours, so it is very long. And if I want to do modifications like adding commands to trace the code, it is really too long..

Re: [AXIS2] handler chain

2006-07-18 Thread Fabien Couble
nd handler chains are stored in those AxisOperations Fabien Couble wrote: Hi all, Is it possible to retrieve the handler chain at the client side? Thx for your help Fabien This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is

[AXIS2] handler chain

2006-07-18 Thread Fabien Couble
Hi all, Is it possible to retrieve the handler chain at the client side?   Thx for your help Fabien This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are n

Re: [AXIS2] Problem to engage a module at the client side

2006-07-12 Thread Fabien Couble
As I haven't any answer, I am trying again   Please help me... Fabien - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Tuesday, July 11, 2006 9:59 AM Subject: Re: [AXIS2] Problem to engage a module at the client side i still hav

Re: [AXIS2] Problem to engage a module at the client side

2006-07-11 Thread Fabien Couble
{    log.info(msgContext.getEnvelope().toString());    }       public void setName(QName name) {    this.name = name;    }   }     Notes: The module Addressing works properly in both sides (server and client). The module logging works only in the server side. With all these data, someone

Re: [AXIS2] Problem to engage a module at the client side

2006-07-10 Thread Fabien Couble
that seems to be the culprit. Please comment out the module element and see.Ajith On 7/10/06, Fabien Couble <[EMAIL PROTECTED]> wrote: Yes, the soapMonitor is engaged in the client side I have the following line in my axis2.xml file    

Re: [AXIS2] Problem to engage a module at the client side

2006-07-10 Thread Fabien Couble
ck up by looking at the relevant axis2.xml (and you can programmatically engage modules too). However since you are feeding two Axis2 configurations ( Axis2.xml files) client and server should work differently :)Ajith On 7/10/06, Fabien Couble < [EMAIL PROTECTED

Re: [AXIS2] Problem to engage a module at the client side

2006-07-10 Thread Fabien Couble
stacktrace, that seems to be the culprit. Please comment out the module element and see.Ajith On 7/10/06, Fabien Couble <[EMAIL PROTECTED]> wrote: Yes, the soapMonitor is engaged in the client side I have the following line in my axis2.xml

Re: [AXIS2] Problem to engage a module at the client side

2006-07-10 Thread Fabien Couble
: Re: [AXIS2] Problem to engage a module at the client side Hi,Did you enable the SOAPmonitor ? please check your Axis2.xml to see whether there are any SOAPMonitor handlers engaged in the client sideAjith On 7/10/06, Fabien Couble <[EMAIL PROTECTED]> wrote:

[AXIS2] Problem to engage a module at the client side

2006-07-10 Thread Fabien Couble
Hello, I still have a problem to engage a module at the client side. To engage the module, I just put the following command in my client code:   ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem("D:/eclipse_workspace/axis2", "D:/eclipse

Re: org.apache.axis2.phaseresolver.PhaseException

2006-07-07 Thread Fabien Couble
singhe" <[EMAIL PROTECTED]> To: Sent: Thursday, July 06, 2006 5:47 PM Subject: Re: org.apache.axis2.phaseresolver.PhaseException Hi Fabien; pls see my comments below; Fabien Couble wrote: Thx for your response, but there's still a problem. I add your command: Con

Re: org.apache.axis2.phaseresolver.PhaseException

2006-07-06 Thread Fabien Couble
11:26 AM Subject: Re: org.apache.axis2.phaseresolver.PhaseException Hi Fabien Fabien Couble wrote: I create my ServiceClient like this: ConfigurationContext configContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:/Program Files/Apache Software Foun

Re: org.apache.axis2.phaseresolver.PhaseException

2006-07-06 Thread Fabien Couble
, that your axis2.xml is residing in your classpath. -- Susanne Kaiser On Thursday 06 July 2006 10:29, Fabien Couble wrote: Actually, I have already added this entry as you can see on the file. Or maybe I did it wrong!!? But I added the phase logging in every phase order type without an

Re: org.apache.axis2.phaseresolver.PhaseException

2006-07-06 Thread Fabien Couble
hursday, July 06, 2006 10:01 AM Subject: Re: org.apache.axis2.phaseresolver.PhaseException You need to add following entry into axis2.xml Fabien Couble wrote: Hi, I'm trying to engage a module at the client side but I have the following exception org.apache.axis2.phaseresolver.Ph

[Axis2] How can I engage a module at the client side?

2006-07-05 Thread Fabien Couble
Hi everybody!   I was wondering how I can engage a module at the client side. Actually, I succeeded in engaging a module at the server side (the handler is executed). I also succeeded to engage the adressing module at the client side by adding the command "ConfigurationContext configContext

[AXIS 2] engage Ws-Addressing at the client side

2006-07-04 Thread Fabien Couble
I'm trying to implement a client using WS-Addressing but the command "sender.engageModule(new QName(Constants.MODULE_ADDRESSING));" raises an exception like this: org.apache.axis2.AxisFault: Module not found at org.apache.axis2.description.AxisService.engageModule(AxisService.java:395) at

WS-Addressing

2006-07-04 Thread Fabien Couble
Hi everybody!! I'd like to understand how the Ws-Addressing module works. That's why, I'd like to know how to use it? Indeed, how can I build a SOAP message using this protocol? How can I include the namespace "wsa" and also add all the parameters I want?   Thanks for your help! Fabien This

Re: [AXIS2] Handler problem

2006-07-03 Thread Fabien Couble
orking for you. Why dont you try to use SimpleHTTPServer and see it works there ? Fabien Couble wrote: Hi all, I'm still testing a module which is composed by a handler but I still have a problem. I deployed (globally or for only a service - I tried the two) the module and the web admin con

[AXIS2] Handler problem

2006-07-03 Thread Fabien Couble
Hi all, I'm still testing a module which is composed by a handler but I still have a problem. I deployed (globally or for only a service - I tried the two) the module and the web admin confirms me that the module is well-deployed. When I invoke the service, I have the following trace on the

[Axis2] REST invocation problem

2006-06-30 Thread Fabien Couble
  Regards Fabien COUBLE   This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, d

Re: [Axis2]How can I check that a handler is executed?

2006-06-30 Thread Fabien Couble
modification) and it work for me , and I can see the SOAP message in tomcat console (pls see attached file) Fabien Couble wrote: These are my configuration files - Original Message - From: "Deepal Jayasinghe" <[EMAIL PROTECTED]> To: Sent: Friday, June 30, 2006 9:46 AM Sub

Re: [Axis2]How can I check that a handler is executed?

2006-06-30 Thread Fabien Couble
{>    FileWriter fw = new FileWriter("toto.txt");>    fw.write("Test");>    fw.flush();>    fw.close();>    } catch (IOException e) {>    System.out.println(e.getStackTrace());>    }>>> Fab

Re: [Axis 2]How can I check that a handler is executed?

2006-06-29 Thread Fabien Couble
(); fw.close(); } catch (IOException e) { System.out.println(e.getStackTrace()); } Fabien Couble wrote: I tried to create the file in the invoke method. But no result... Actually, a file should have been created in the module directory of Axis2 but nothing appeared!

Re: [Axis 2]How can I check that a handler is executed?

2006-06-29 Thread Fabien Couble
ne 29, 2006 10:53 AM Subject: Re: [Axis 2]How can I check that a handler is executed? hmm , as I can see everything is OK . I think this is smt to do with logging properties, can you please try the following - juts try to create a file inside invoke method of the handler and see its working :) .

Re: [Axis 2]How can I check that a handler is executed?

2006-06-29 Thread Fabien Couble
uot;Deepal Jayasinghe" <[EMAIL PROTECTED]> To: Sent: Thursday, June 29, 2006 9:53 AM Subject: Re: [Axis 2]How can I check that a handler is executed? Hi Fabien; Fabien Couble wrote: Hello, I'm trying to engage a module in the Axis2 chain. Apparently, the module is well engaged i

[Axis 2]How can I check that a handler is executed?

2006-06-29 Thread Fabien Couble
Hello,   I'm trying to engage a module in the Axis2 chain. Apparently, the module is well engaged in a service (I checked the Administration console) but I'd like to be sure that the handler of the module is executed!! To do that, I put a "System.out.println" command in the method invoke of

Re: trouble to invoke a moduel

2006-06-28 Thread Fabien Couble
Nobody has an idea about this? - Original Message - From: "Fabien Couble" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 28, 2006 12:19 PM Subject: trouble to invoke a moduel Hi everybody, I'm a new user of Axis2 and I'm trying to understand how it works

trouble to invoke a moduel

2006-06-28 Thread Fabien Couble
Hi everybody, I'm a new user of Axis2 and I'm trying to understand how it works. Currently, I'm trying to deploy a module and especially the module "logging" descrisbed in the userguide. I think the module is deployed because I can see it on the Axis2 Console but I'm not sure that it is invo