content type for rest/pox requests

2009-09-22 Thread Alexis Midon
Hi all, I struggled for a while before I finally managed to invoke a service with non-soap message. Here is why. The following documentation *http://ws.apache.org/axis2/1_5/rest-ws.html* says: if the content type is **text/xml** and if the SOAP Action Headers are missing, then the Message is

Re: how to skip a Phase?

2009-09-01 Thread Alexis Midon
object. thanks, Amila. On Tue, Sep 1, 2009 at 12:56 AM, Alexis Midon mi...@intalio.com wrote: Hi Deepal and Amila, thank you guys for your answers. I concede that my use case might sound strange and out of the standard path. Anyway I implemented the following handler witch seems to work fine

Re: how to skip a Phase?

2009-08-31 Thread Alexis Midon
(Remote address is not local); } } return InvocationResponse.CONTINUE; } } On Tue, Aug 25, 2009 at 9:45 PM, Amila Suriarachchi amilasuriarach...@gmail.com wrote: On Tue, Aug 25, 2009 at 11:24 PM, Alexis Midon mi...@intalio.com wrote: Hey there, I'm trying

how to skip a Phase?

2009-08-25 Thread Alexis Midon
Hey there, I'm trying to dynamically skip a phase. Let me explain. Let's say I have defined the following phases as InFlow: Transport, Security, Dispatch, OperationInPhase. I want to skip the Security phase in some cases, in other words I want the phase order to become [Transport, Dispatch,

hot to add Basic Authentication to my service

2009-04-16 Thread Alexis Midon
Hey there, I'd like to deploy a service and require clients to use basic authentication. I found an email [1] from Paul saying that axis2 does not have native support for it, that ws-security is the way to go. But in my case it would be overkilled. His answer is dated from 2006 so I'd like to

many threads invoking the same service

2009-03-13 Thread Alexis Midon
Hey there, I have a few questions about how to use ServiceClient when many threads invoke the same service. In my scenario, multiple threads invoke the same service. The immediate solution is to instantiate a new ServiceClient for each call. client = new ServiceClient();

Re: many threads invoking the same service

2009-03-13 Thread Alexis Midon
and in the end created one AxisConfiguration for many service clients maintained in a commons pool. I'll be watching this thread with interest since I would like to know why a service client is not thread safe. Good luck. P -- *From:* Alexis Midon [mailto:mi

Re: Example for WS-SecurityPolicy in WSDL?

2009-03-12 Thread Alexis Midon
similar question here [1], some examples would be appreciated. Thanks! [1] http://markmail.org/thread/qsn6t4qwepoialud Alexis On Thu, Mar 12, 2009 at 2:39 PM, Dennis Sosnoski d...@sosnoski.com wrote: I've been trying to use the client-side code generation support for WS-SecurityPolicy in

Re: Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4

2009-03-09 Thread Alexis Midon
Hello guys, would you have a working sample of policies embedded in a wsdl, please? thanks in advance for your answers. Alexis On Thu, Mar 5, 2009 at 3:09 PM, Alexis Midon mi...@intalio.com wrote: Hi Nandana, did you have a chance to look at it? Alexis On Fri, Feb 20, 2009 at 1:05 PM

Re: Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4

2009-03-05 Thread Alexis Midon
Hi Nandana, did you have a chance to look at it? Alexis On Fri, Feb 20, 2009 at 1:05 PM, Alexis Midon mi...@intalio.com wrote: The wsdl is also available here : http://gist.github.com/67691 Just in case the attachement did not make it through. Alexis On Fri, Feb 20, 2009 at 1:02 PM

Re: HTTP connection leak and other related issues

2009-02-26 Thread Alexis Midon
no taker for an easy patch? Alexis On Wed, Feb 25, 2009 at 6:45 PM, Alexis Midon mi...@intalio.com wrote: Hi everyone, All the issues relatives to AXIS2-935 are really messy, some of them are closed but their clones are not. Some are flagged as fixed but are obviously not. All

HTTP connection leak and other related issues

2009-02-25 Thread Alexis Midon
Hi everyone, All the issues relatives to AXIS2-935 are really messy, some of them are closed but their clones are not. Some are flagged as fixed but are obviously not. All these issues are really old, so I'd like to take a chance to bring them back to your attention, especially before releasing

Re: Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4

2009-02-20 Thread Alexis Midon
for your help. Alexis 2009/2/16 Nandana Mihindukulasooriya nandana@gmail.com Hi Alexis, can you post the WSDL you used ? thanks, nandana On Mon, Feb 16, 2009 at 9:06 AM, Alexis Midon mi...@intalio.com wrote: I can't wait for your feedback, and may be a working sample

Re: Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4

2009-02-20 Thread Alexis Midon
The wsdl is also available here : http://gist.github.com/67691 Just in case the attachement did not make it through. Alexis On Fri, Feb 20, 2009 at 1:02 PM, Alexis Midon mi...@intalio.com wrote: Hi Nandana, sorry for the late answer. Here is attached the wsdl I used. And the code to create

Re: Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4

2009-02-15 Thread Alexis Midon
why the policy is not being attached correctly. thanks, nandana On Thu, Feb 12, 2009 at 10:21 AM, Alexis Midon mi...@intalio.com wrote: (forwarding to the rampart folks) Alexis -- Forwarded message -- From: Alexis Midon mi...@intalio.com Date: Tue, Feb 10, 2009 at 5

Fwd: Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4

2009-02-11 Thread Alexis Midon
(forwarding to the rampart folks) Alexis -- Forwarded message -- From: Alexis Midon mi...@intalio.com Date: Tue, Feb 10, 2009 at 5:50 PM Subject: Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4 To: axis-user@ws.apache.org Hi everyone, based

Applying policies at binding hierarchy in Apache Axis2 1.4.1/Rampart 1.4

2009-02-10 Thread Alexis Midon
Hi everyone, based on this article: http://wso2.org/library/3786, I wrote my own (simple) wsdl with a policy attached to the soap binding. I load that wsdl with a WSDL11ToAxisServiceBuilder [1]. My issue is that when I invoke the service the following AxisFault is thrown:

Fwd: Git repo request: Axis2

2009-02-05 Thread Alexis Midon
, Feb 4, 2009 at 2:57 PM Subject: Re: Git repo request: Axis2 To: Alexis Midon alexismi...@gmail.com, infrastructure-...@apache.org Hi, On Wed, Feb 4, 2009 at 4:26 PM, Alexis Midon alexismi...@gmail.com wrote: that looks like a good to split them actually. OK, thanks. I created the axis2

Re: how to enable rampart logging

2009-02-05 Thread Alexis Midon
set log4j.category.org.apache.rampart=TRACE Alexis On Thu, Feb 5, 2009 at 6:11 AM, TomazM tomaz.majerh...@arnes.si wrote: Thx, I have already done this, but I still have to small information to rely debug my problem Regards, Tomaz m4rkuz wrote: Asuming you have log4j in your

Regression in MessageContext#getEffectivePolicy

2009-02-05 Thread Alexis Midon
may I ask your feedback on this issue please? https://issues.apache.org/jira/browse/AXIS2-4233 Alexis

Re: How to engage a module for a ServiceClient with a service.xml file?

2008-10-20 Thread Alexis Midon
method org.apache.axis2.description.AxisService#getModules Any workaround? Alexis On Fri, Oct 17, 2008 at 6:31 PM, Alexis Midon [EMAIL PROTECTED] wrote: be lenient please, it's friday evening here ;) forget it, it works fine now. Thanks a lot for your answer Martin. problem solved. Alexis

Re: How to engage a module for a ServiceClient with a service.xml file?

2008-10-20 Thread Alexis Midon
method org.apache.axis2.description.AxisService#getModules Any workaround? Alexis On Fri, Oct 17, 2008 at 6:31 PM, Alexis Midon [EMAIL PROTECTED] wrote: be lenient please, it's friday evening here ;) forget it, it works fine now. Thanks a lot for your answer Martin. problem solved

How to engage a module for a ServiceClient with a service.xml file?

2008-10-17 Thread Alexis Midon
Hi all, I'm trying to *invoke* a web service that requires some security settings. So I need to engage Rampart. I had no particular issues so far but I have one question regarding my configuration. Here are the details: My server may interact with many different external services, using various

Re: How to engage a module for a ServiceClient with a service.xml file?

2008-10-17 Thread Alexis Midon
the only thinh I'm missing is the name atribute? is that what you mean? Thanks. Alexis On Fri, Oct 17, 2008 at 5:16 PM, Martin Gainty [EMAIL PROTECTED] wrote: ./META-INF/services.xml service name=FuBarService module ref=module_name / Martin

Re: How to engage a module for a ServiceClient with a service.xml file?

2008-10-17 Thread Alexis Midon
humm, looks weird to me because the parameter element is taken into account even with no service name. ok. will try with name attribute. Thanks Alexis On Fri, Oct 17, 2008 at 5:39 PM, Martin Gainty [EMAIL PROTECTED] wrote: yes..the service needs the name attribute to be published by axis2

Re: How to engage a module for a ServiceClient with a service.xml file?

2008-10-17 Thread Alexis Midon
be lenient please, it's friday evening here ;) forget it, it works fine now. Thanks a lot for your answer Martin. problem solved. Alexis On Fri, Oct 17, 2008 at 6:20 PM, Martin Gainty [EMAIL PROTECTED] wrote: Can anyone translate what the op is saying?..englisch only please! Viel Gluck

Re: standalone version of Rampart?

2008-07-31 Thread Alexis Midon
it. http://nandana83.blogspot.com/2008/07/why-cant-we-ship-as-standalone-module.html thanks, nandana On Thu, Jul 31, 2008 at 6:26 AM, Alexis Midon [EMAIL PROTECTED] wrote: Hi, may I ask you all if a standalone version of Rampart exists? A .mar containing all required dependencies etc

standalone version of Rampart?

2008-07-30 Thread Alexis Midon
Hi, may I ask you all if a standalone version of Rampart exists? A .mar containing all required dependencies etc. Actually rampart.mar is empty and all dependencies have to be added manually. And if you can share the reason of this distribution choise, that would be great! Thanks for your great

Re: is ServiceClient thread-safe?

2008-05-23 Thread Alexis Midon
. Instantiating ServiceClient objects is not very expensive -- ConfigurationContext objects are. Michele On 23 May 2008, at 00:15, Alexis Midon wrote: Hi all, I'd like to know if I can share one ServiceClient instance among several threads. Thanks, Alexis

Re: is ServiceClient thread-safe?

2008-05-23 Thread Alexis Midon
of your SeriviceClient please Alexis Midon-2 wrote: Thanks for the clarification! On Fri, May 23, 2008 at 1:32 AM, Michele Mazzucco [EMAIL PROTECTED] wrote: ServiceClient is not thread safe. I suggest you to share the configuration context among several ServiceClient instances

Re: Dynamic Service Config

2008-05-18 Thread Alexis Midon
Hi all, any hints/answer to solve this problem (see my previous email below)? To put it in a nutshell: Is it possible to set the request timeout (and other options params) at runtime by configuration (!= programmatically)? Thanks, Alexis On Thu, May 15, 2008 at 2:17 PM, Alexis Midon [EMAIL

Dynamic Service Config

2008-05-15 Thread Alexis Midon
Hi, I have the following (pseudo) code to invoke an external web service with axis2. My goal is to configure the corresponding ServiceClient with a service.xml file added at runtime. client = new ServiceClient(new ConfigurationContext(axisConfig), null); is = new

Chain of AxisConfiguration

2008-04-18 Thread Alexis Midon
Hi all, I'd like to set up and use a ServiceClient with the merge of 2 different AxisConfiguration instances. One is the parent of the other. (Doing that I could define a set of common settings in one place and some specific settings in antoher.) I found the AxisConfigBuilder as a start point,