Re: unknown error

2009-08-07 Thread Andreas Veithen
According to the stack trace, this is not an issue in the client code, but a SOAP fault received from the server. Andreas On Thu, Aug 6, 2009 at 16:39, Asma Maalej wrote: > hello every one > > Actually, i used to work with axis2, implementing web service and invoking > them by a simple client and

Re: Possibility to marshal the request-Parameter to XML?

2009-08-07 Thread Martin Fernau
Hmm, I don't know. Maybe I'm not deep enough into this thematic. But how can I use axis2 without databinding then? And what does this mean for my service class? Am Freitag 07 August 2009 schrieb Andreas Veithen: > Martin, > > If that is the requirement, why do you use databinding at all? > > And

Re: Possibility to marshal the request-Parameter to XML?

2009-08-07 Thread Andreas Veithen
Martin, If that is the requirement, why do you use databinding at all? Andreas On Fri, Aug 7, 2009 at 15:56, Martin Fernau wrote: > Hi Everyone! > > Following question: > > Lets assume that I have a wsdl-File. > Say further I already did the wsdl2java step successfully. > Now I have one Service-

Re: DB storage intercepted response-time values

2009-08-07 Thread Andreas Veithen
Can you please explain your requirement more precisely? From your explanation it is not clear where the two measures are taken, what exactly is communicated in the SOAP headers and where you want to calculate the difference. Andreas On Fri, Aug 7, 2009 at 15:29, Asma Maalej wrote: > Hello > > i'm

[Axis2] How to invoke a secured webservice

2009-08-07 Thread axis
Hello, I am trying to invoke a secured webservice https://example.com using axis2 and get the below exception. Looks like the certificate is not there in the trust store but not sure how to accept the certificate automatically when invoking the webservice. Please help me regarding this. Below is

http transport

2009-08-07 Thread axis
Hi, I'm not sure offhand how to make the server certificate authentication work in that situation, but I believe Axis2 is using the Commons HttpClient by default, and that appears to offer a way of using your own socket factory Below is the exception : SSL HANDSHAKE FAILURE: A signer with Subje

Re: Writing a service with multiple operations

2009-08-07 Thread Chris Mannion
Thank you, that's exactly what I meant. So the method names, "authenticate" and "authenticateWithRole", matching with the operation names defined in the services.xml is enough for Axis to know which method to invoke when a request comes in, thank you. 2009/8/7 Chinmoy Chakraborty : > Do you want

Re: DB storage intercepted response-time values

2009-08-07 Thread Asma Maalej
Thanks for yoour reply but, it seems to me that you didn't understand my problem in fact, i have already this book and i don't need to have more information about the logical process of handler; my problem is so clear it consists of how could I recover the information of the response-time at th

blocked handler thread after returning InvocationResponse.SUSPEND

2009-08-07 Thread Hannes Schubert
Hi all, I use Axis2 1.5 handlers to suspend request processing for some period of time. This seems to compute now, however, there are some issues I do not understand: 1) after returning InvocationResponse.SUSPEND by one handler it is not enough to call Axis2Engine.resume(). I am required to invo

Possibility to marshal the request-Parameter to XML?

2009-08-07 Thread Martin Fernau
Hi Everyone! Following question: Lets assume that I have a wsdl-File. Say further I already did the wsdl2java step successfully. Now I have one Service-Class with the following structure: public MethodResponse1 method1(MethodRequest1 request) ... public MethodResponse2 method2(MethodRequest2 req

Re: DB storage intercepted response-time values

2009-08-07 Thread Chinmoy Chakraborty
Follow the link, you may find it useful... http://www.packtpub.com/article/handler-and-phase-in-apache-axis Chinmoy On Fri, Aug 7, 2009 at 6:59 PM, Asma Maalej wrote: > Hello > > i'm working on the monitoring web services, using axis2-1.4.1 and tomcat > 6.0.18. > I have to intercept QoS parame

Re: Writing a service with multiple operations

2009-08-07 Thread Chinmoy Chakraborty
Do you want to deploy service which has multiple operations? What do you mean by "actually building the java class that implements the service"? If you mean how to write service class with multiple operations then just add public methods as you did for single operation e.g. I can have two operatio

Re: Writing a service with multiple operations

2009-08-07 Thread Chris Mannion
That would be using a client to invoke a service with mutliple operations though, right? I'm talking about actually building the Java class that implements the service. 2009/8/7 Chinmoy Chakraborty : > You can have multiple operations for a single service name. You just need to > set the action (

DB storage intercepted response-time values

2009-08-07 Thread Asma Maalej
Hello i'm working on the monitoring web services, using axis2-1.4.1 and tomcat 6.0.18. I have to intercept QoS parameters like response-time. to do that, I should capture in the handler code the System.currentTimeMillis() and add it to the SOAPheader of the SOAP message. of course, this handl

Re: Writing a service with multiple operations

2009-08-07 Thread Chinmoy Chakraborty
You can have multiple operations for a single service name. You just need to set the action (operation name) of a service you want to invoke. Options options = new Options(); RPCServiceClient client = new RPCServiceClient(); options.setTo(targetEPR); options

Writing a service with multiple operations

2009-08-07 Thread Chris Mannion
Hi all I've been re-building my old Axis based web-services as Axis2 services but am a little puzzled about one issue. Two of the services I have make multiple operations available so I'm just wondering how I got about building that with Axis2. All the other services that I've managed to deploy

Consuming a .net webservice with setManageSession

2009-08-07 Thread mikebgx2
Hi Folks, I'm trying to talk to a .net webservice that saves my context / login state in a cookie. Aparently a .net client would call: m_api.CookieContainer= new CookieContainer() The Axis1 equivalent is: call.setMaintainSession(true); The Axis2 equivalent, which I'm using, is setManageSession(