What to free after a SOAP request (Axis2/C ADB)

2008-12-15 Thread Sérgio Gomes
Hi there! I'm using the ADB generated code to write some small apps (samples for an API). I'd like to make this code as correct as possible, since developers will be using it as a reference, but I can't find anything in the documentation as to what exactly I'm supposed to free or not. In the

Re: What to free after a SOAP request (Axis2/C ADB)

2008-12-15 Thread Dimuthu Gamage
Hi Sérgio Gomes, If you are writing clients, you need to free the stub, request and response adbs and the env. If you are writing services, you don't need to free any adb. But if you do custom malloc or strdups you have to free them. Thanks Dimuthu On Mon, Dec 15, 2008 at 10:26 PM, Sérgio

Re: Registering new handlers programmatically with Axis2

2008-12-15 Thread Deepak Vishwakarma
Thanks for your response. But, will this approach work in IBM WebSphere Application Server 6.1v? --- On Wed, 3/12/08, Amila Suriarachchi amilasuriarach...@gmail.com wrote: From: Amila Suriarachchi amilasuriarach...@gmail.com Subject: Re: Registering new handlers programmatically with Axis2

Axis 1.3 - Problem with Handler

2008-12-15 Thread Harikrishna Vemula
Hi, I have a Webservice for that i implemented a Handler to validate input request with XSD. Whenever any exception occurs in invoke method i'm throwing AxisFault. But client doesn't want to have exception as return value even though any exception occurs. Client is expecting to recieve a normal

Unexpected subelement issue when using Axis2 and eclipse

2008-12-15 Thread Menahem Elgavi
Hi All I`m having a Unexpected subelement getMetaDataResponse exception when calling my web service. the WS was created from a POJO using the Axis2 eclipse plugin. im using Apache Tomcat as my web server. i followed the code in the generated stub class , and it fails when doing:

RE: Axis2/Rampart Signature Validation

2008-12-15 Thread Hassel, Maik
The error message indicates that the server doesn't know the client's certificate... did you add the CA that signed the client's certificate OR the client certificate itself to the server's keystore? -Original Message- From: Thorsten Deelmann [mailto:th.deelm...@gmail.com] Sent:

RE: thread safe axis2 client stub

2008-12-15 Thread Paul French
I would have thought making the client stub thread safe would be the superior solution. If this cannot be done then I would opt for the pooling solution. Out of interest is this a general problem due a specific API that axis2 has implemented or is it an axis2 design problem? Is there another

get Resource inside .aar?

2008-12-15 Thread Seem
Hi, I still have problems to access a file inside an .aar. I tried to extend the simple quickstart example from the axis2 repository, but I won't get access?!?!?! The .aar folder structure is META-INF/ samples/... res/stock.txt here is my code: #

RE: [axis2] chunked encoding

2008-12-15 Thread Marc Lefebvre
Cant seem to turn off Chunked encoding. I have removed parameter name=Transfer-Encodingchunked/parameter from my axis2.xml file, and I restarted my tomcat/axis2 server. I sent a test message and it still comes back chunked. Am I missing something? __ Marc Lefebvre, Principle Software

Re: get Resource inside .aar?

2008-12-15 Thread Deepal jayasinghe
Seem wrote: Hi, I still have problems to access a file inside an .aar. I tried to extend the simple quickstart example from the axis2 repository, but I won't get Try this MessageContext.getCurrentMessageContext().getAxisService().getClassLoader().getResourceAsSteam(); Thank you! Deepal

Re: Axis 1.3 - Problem with Handler

2008-12-15 Thread Guo Tianchong
Hi, you can do something in the Handler's invoke() method and encapsulate a new SOAP body in the MessageContext object. Using AXIOM, that looks like : public InvocationResponse invoke(MessageContext msgContext) throws AxisFault { SOAPFactory fac = OMAbstractFactory.getSOAP12Factory();

do I need to recreate axis2 client stub?

2008-12-15 Thread Shehan Simen
Hi, I have deployed an axis2 web service which is already using by the clients. I have to update this service to pass another input parameter to one of web service method, let's say getName() method. If I add a new parameter to the request as an optional field (minOccurs=0), will it affect the

Re: Axis 1.3 - Problem with Handler

2008-12-15 Thread Harikrishna Vemula
Hi guo, Thanks, But in Axis 1.3 we don't have InvocationResponse object itself. In 1.3 invoke method return type is void. So, as per my knowledge only way to stop the process and send back the response by throwing Fault. But is there any other way by which we can catch Fault and process the

Re: Axis 1.3 - Problem with Handler

2008-12-15 Thread Guo Tianchong
hi, Hari I am working with Axis2 1.4.1 and don't know well about Axis 1.3. Sorry! but I also remain concerned about this issue. guo. - Original Message - From: Harikrishna Vemula To: axis-user@ws.apache.org Sent: Tuesday, December 16, 2008 2:05 PM Subject: Re: Axis 1.3 -

Re: Axis 1.3 - Problem with Handler

2008-12-15 Thread Harikrishna Vemula
Thanks guo... can anybody help me out? -Hari On Tue, Dec 16, 2008 at 11:47 AM, Guo Tianchong gu...@nec-as.nec.com.cnwrote: hi, Hari I am working with Axis2 1.4.1 and don't know well about Axis 1.3. Sorry! but I also remain concerned about this issue. guo. - Original Message

AW: get Resource inside .aar?

2008-12-15 Thread Mario-Leander Reimer
Hi, I think you need to use getResourceAsStream(/res/stock.txt); (mind the / at the beginning) Have you tried that? BR, Leander -Ursprüngliche Nachricht- Von: Seem [mailto:sim...@gmx.de] Gesendet: Montag, 15. Dezember 2008 19:56 An: axis-user@ws.apache.org Betreff: get Resource

[Axis2] SOAP-Faults

2008-12-15 Thread Gaiser, Matthias
Hi, I am using Axis2 and I have invested some time to understand the generation of SOAP faults with Axis2. IMHO, the SOAP specification allows multiple elements in the env:Detail -section of a SOAPFault, e.g.: env:Fault env:Code env:Valueenv:Sender/env:Value env:Subcode