Re: axis2:client IP through "X-FORWARDED-FOR"

2009-12-15 Thread aledbf
You can use the http://code.google.com/p/xebia-france/wiki/XForwardedFilter XForwardedFilter Vaibhav Arya wrote: > > Hi all, > > > > Can anyone please tell me, how to use "X-FORWARDED-FOR" to get client IP? > Does SOAP header include this information? And how to write code to access > cli

Re: axis2 client with addressing-1.4.mar and rampart-1.4.mar using java web start

2009-11-17 Thread Anup Mayank
.mar is short for module archive >From page http://ws.apache.org/axis2/1_2/modules.html Package in a ".mar" (Module Archive) On Tue, Nov 17, 2009 at 12:44 PM, Jaime Hablutzel Egoavil wrote: > Hi, can anybody tell me why modules use the .mar extension instead of jar?? > Because right now I'm fa

Re: AXIS2 Client beginner... Exception converting to string.

2009-09-30 Thread lyall
Found the problem, needed to insert a _returnEnv.build() prior to the return. Trying to do a toString() on the object, outside of the 'skeleton' class failed because objects that where used to build the object had been garbage collected. lyall wrote: > > > ...snip... > public org.apache.axi

Re: Axis2 client stubs with customizable server - unexpected subelement ADBException

2009-08-25 Thread Amila Suriarachchi
On Tue, Aug 25, 2009 at 10:38 PM, Remko Dobber wrote: > Hello, > > > > I’ve been using Axis2 successfully to generate client stubs for several > commercial products such as HP Service Manager to integrate our monitoring > tool with those products using web services. My problem is that the > comme

RE: Axis2 Client in Weblogic: org.apache.axis2.deployment.DeploymentException

2009-08-13 Thread IamSam
; > >> Date: Thu, 13 Aug 2009 07:01:47 -0700 >> From: sameer.mhas...@gmail.com >> To: axis-user@ws.apache.org >> Subject: Re: Axis2 Client in Weblogic: >> org.apache.axis2.deployment.DeploymentException >> >> >> Guys, Any takers for this? >>

RE: Axis2 Client in Weblogic: org.apache.axis2.deployment.DeploymentException

2009-08-13 Thread Martin Gainty
13 Aug 2009 07:01:47 -0700 > From: sameer.mhas...@gmail.com > To: axis-user@ws.apache.org > Subject: Re: Axis2 Client in Weblogic: > org.apache.axis2.deployment.DeploymentException > > > Guys, Any takers for this? > > > IamSam wrote: > > > > Hell

Re: Axis2 Client in Weblogic: org.apache.axis2.deployment.DeploymentException

2009-08-13 Thread IamSam
Guys, Any takers for this? IamSam wrote: > > Hello Members, > > I am using Stub generated by Axis2 1.4 (WSDL2java) in a TimerTask > scheduled inside Weblogic 9.0. It works normally but some times throws > this exceptions and then onwards stops working > > org.apache.axis2.deployment.Deployme

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-05 Thread Amila Suriarachchi
On Tue, Jan 6, 2009 at 1:21 AM, excess2 wrote: > > The non-working request matches the wsdl. wsdl2java tool assumes that the wsdl correctly describes the service. one option is to change the wsdl file to suite for the service and generate the code with that. thanks, Amila. > > > Somehow the w

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-05 Thread excess2
The non-working request matches the wsdl. Somehow the working request has apparently been tweaked. G Andreas Veithen-2 wrote: > > Can you check which of the two requests conforms to the WSDL? > > Andreas > > On Mon, Jan 5, 2009 at 20:21, excess2 wrote: >> >> Thanks! >> >> I see the proble

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-05 Thread Andreas Veithen
Can you check which of the two requests conforms to the WSDL? Andreas On Mon, Jan 5, 2009 at 20:21, excess2 wrote: > > Thanks! > > I see the problem you pointed out. > > However, I have no idea how to fix this. > > The stubs I'm using for the client were generated from a > VOIP_SIP_Trouble_Ticke

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-05 Thread excess2
Thanks! I see the problem you pointed out. However, I have no idea how to fix this. The stubs I'm using for the client were generated from a VOIP_SIP_Trouble_Ticket10 wsdl. The is populated by stub code not by an explicit call. How do I force it to VOIP_SIP_Trouble_Ticket instead? Is there

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-01 Thread Andreas Veithen
The difference between the two requests is in the namespace URIs of AuthenticationInfo and its children. In the first request all elements are in the "urn:VOIP_SIP_Trouble_Ticket10" namespace, while in the second, AuthenticationInfo is in "urn:VOIP_SIP_Trouble_Ticket" and its children in "Authentic

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-01 Thread Afkham Azeez
If you look at the second request, there is a custom SOAP header that is sent (some sort of custom authentication/UsernameToken protocol, not WS-Sec). I assume that this header is validated on the server side. On the Axis2 client you may need to set this custom header before sending the request.

Re: Axis2 client - counting bytes sent and received

2008-12-14 Thread Dave Meibusch
> You should be able to do this easily by using a module. We do this to show statistics in the WSO2 Web Services Application Server (WSO2 WSAS) [1] which is built on top of Axis2. We have done this by using a module. > Thanks,Keith.[1] http://wso2.org/projects/wsas Yes, a module with a custom h

Re: Axis2 client - counting bytes sent and received

2008-12-12 Thread keith chapman
You should be able to do this easily by using a module. We do this to show statistics in the WSO2 Web Services Application Server (WSO2 WSAS) [1] which is built on top of Axis2. We have done this by using a module. Thanks, Keith. [1] http://wso2.org/projects/wsas On Fri, Dec 12, 2008 at 4:04 PM

Re: Axis2 client - counting bytes sent and received

2008-12-12 Thread Michele Mazzucco
What about using a custom handler with a null output stream? Michele On 11 Dec 2008, at 23:42, Dave Meibusch wrote: Hi, I'm attempting to log statistics for my system, including the bytes sent/received for the components using Axis2 client code. Digging through the source of HttpClient, Http

Re: Axis2 Client get "Premature end of file." from server

2008-12-11 Thread Tsvetelin Saykov
Hi all, I find that the error "Premature end of file." which I received from Lotus Domino over MS Windows server is something happening in HTTP level. To solve this problem I configure the Axis2 HTTP Transport Sender not to use Transfer-Encoding : Chunked stub._getServiceClient().getOptions().set

Re: Axis2 Client side deployment configuration

2008-08-06 Thread Amila Suriarachchi
a. > > > Sumit > > > -- > > *From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED] > *Sent:* Wednesday, August 06, 2008 4:30 AM > > *To:* axis-user@ws.apache.org > *Subject:* Re: Axis2 Client side deployment configuration > > > > > > On Fri, Aug 1,

RE: Axis2 Client side deployment configuration

2008-08-06 Thread Shah, Sumit
Thanks Amila. So for services, there is no configuration file on the client side that can be utilized? Sumit From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 4:30 AM To: axis-user@ws.apache.org Subject: Re: Axis2 Client

Re: Axis2 Client side deployment configuration

2008-08-06 Thread Amila Suriarachchi
module.xml file thanks, Amila. > > > Thanks > > Sumit > > > -- > > *From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED] > *Sent:* Friday, August 01, 2008 1:17 AM > *To:* axis-user@ws.apache.org > *Subject:* Re: Axis2 Client side deployment configuration > > > &g

RE: Axis2 Client side deployment configuration

2008-08-01 Thread Shah, Sumit
EMAIL PROTECTED] Sent: Friday, August 01, 2008 1:17 AM To: axis-user@ws.apache.org Subject: Re: Axis2 Client side deployment configuration On Thu, Jul 31, 2008 at 11:18 PM, Shah, Sumit <[EMAIL PROTECTED]> wrote: Hello, I would appreciate if someone could tell me how I can specify co

Re: Axis2 Client side deployment configuration

2008-07-31 Thread Amila Suriarachchi
On Thu, Jul 31, 2008 at 11:18 PM, Shah, Sumit <[EMAIL PROTECTED]> wrote: > Hello, > > > > I would appreciate if someone could tell me how I can specify configuration > options for invoking 3rd party web services using Axis2 client side APIs. > The parameters maybe specified at the global, service

RE: Axis2 client time out

2008-07-23 Thread pritam.muthyala
Depends on what kind of client you are using, if its a generated stub that you are using, you can make the change in the generated files constructor. One of the constructors makes changes to the ServiceClient. Add the followng line to change th time out value, _serviceClient.getOptions().setTim

Re: Axis2 client time out

2008-07-23 Thread Pierre Muller
With the ServiceClient Options (eg stub._getServiceClient().getOptions() ), set  : options.setTimeOutInMilliSeconds(9) Shehan Simen a écrit : Hi, How to set up client timeout interval in axis2 client code? In server side it takes around 1min to send reply to the client

RE: Axis2 Client config location

2008-07-04 Thread Brian Dillon
Thanks for this, much appreciated From: Sameera Jayasoma [mailto:[EMAIL PROTECTED] Sent: 03 July 2008 20:22 To: axis-user@ws.apache.org Subject: Re: Axis2 Client config location Hi Brian, I just have look at Axis2 source code. I noticed that Axis2 uses the

Re: Axis2 Client config location

2008-07-03 Thread Sameera Jayasoma
Hi Brian, I just have look at Axis2 source code. I noticed that Axis2 uses the system properties "axis2.repo" and "axis2.xml" to get the locations of the repository and the axis2.xml, if you haven't specified them in your client side code. So you can use -Daxis2.repo or -Daxis2.xml system proper

RE: Axis2 Client config location

2008-07-03 Thread Brian Dillon
[mailto:[EMAIL PROTECTED] Sent: 03 July 2008 11:05 To: axis-user@ws.apache.org Subject: Re: Axis2 Client config location Hi Brian, You can use ConfigurationContext to pick up config files (e.g:- axis2.xml) as follows 1.Create configurationContext from file system as follows. ConfigurationContext cc

Re: Axis2 Client config location

2008-07-03 Thread Charitha Kankanamge
Hi Brian, You can use ConfigurationContext to pick up config files (e.g:- axis2.xml) as follows 1.Create configurationContext from file system as follows. ConfigurationContext cc = ConfigurationContextFactory.createConfigurationContextFromFileSystem("\home\user\axis2\repository","\home\user\ax

Re: Axis2 client stub, OMElement object in method

2008-05-06 Thread Deepal jayasinghe
i sucessfuly created WS from pojo class, there is example of one method from POJO : public boolean compatible ( final HashMap pReq) { ... } I am sorry this will not work with Axis2 , since we do not support generic. However we are planing to support generic very nea

Re: Axis2 Client Engage Module

2008-04-07 Thread Michele Mazzucco
Try to globally engage the module (i.e. from axis2.xml). Michele On 6 Apr 2008, at 20:51, A Sunley wrote: We're experiencing "java.net.SocketException: Too many open files" exceptions on the server. And I think it might be down to the module files in the temp folder. When I list the ope

Re: Axis2 Client Engage Module

2008-04-06 Thread A Sunley
We're experiencing "java.net.SocketException: Too many open files" exceptions on the server. And I think it might be down to the module files in the temp folder. When I list the open files for the tomcat process (lsof -a -p 28938) it throws up many, many lines like the following: java28938 u

Re: [Axis2] Client Thread Safety

2008-04-04 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes. Daniel Ritchey wrote: | From what I understand with Axis2 1.3, client stubs are not thread safe, | however the ConfigurationContext is; so I can create a single | ConfigurationContext (an expensive operation) and reuse it for all stub | instance

Re: Axis2 Client Engage Module

2008-04-04 Thread A Sunley
Thanks Dimuthu, By engaging the module with each request, do you think this represents any significant difference in performance? Regards, Alan. Dimuthu-2 wrote: > > Hi, > > When you engage the module to client it has to be engaged each time you > instantiate a new ServiceClient. Each time

Re: Axis2 Client Engage Module

2008-04-03 Thread Dimuthu Leelarathne
Hi, When you engage the module to client it has to be engaged each time you instantiate a new ServiceClient. Each time the module is engaged it will be extracted into the temp folder to do class loading much faster. You can avoid this by engaging the module to the ConfigurationContext[1]. Then it

Re: axis2 client gives unexpected results

2008-03-12 Thread Upul Godage
Following is a something similar example code. But Axis2 does not support SOAP RPC/encoded combination. http://ws.apache.org/axis2/1_3/quickstartguide.html#clientaxiom Upul On Tue, Mar 11, 2008 at 12:08 PM, Vaibhav Gulati < [EMAIL PROTECTED]> wrote: > Hi, > > > > In axis 1 I set the parameter

Re: Axis2 client and security help

2008-02-28 Thread SGruverman
John-Paul, I am finding this to be helpful - with Axis2 in general and with using Rampart for security: http://www.agileskills2.org/DWSAA/index.html If you're using Eclipse, it's even better. Hope this helps, Steve _ Steven Gruverman IntelliCa

Re: Axis2 client and security help

2008-02-28 Thread Paul Fremantle
The best documentation on Rampart is the samples - especially the policy ones. Paul On Thu, Feb 28, 2008 at 3:46 PM, <[EMAIL PROTECTED]> wrote: > > > > > I am trying to access a service with a security policy but cannot find much > documentation on > > Configuring axis2 for security on the clien

RE: Axis2 client hangs with multiple requests in one session

2008-02-18 Thread Pär Malmqvist
Thanks! /Pär> Date: Sun, 17 Feb 2008 06:01:01 -0800> From: [EMAIL PROTECTED]> To: axis-user@ws.apache.org> Subject: RE: Axis2 client hangs with multiple requests in one session> > > Yes, doing the following after each AxisFault would help me prevent the

RE: Axis2 client hangs with multiple requests in one session

2008-02-17 Thread Landslide
Yes, doing the following after each AxisFault would help me prevent the Axis2 client to hang: client.cleanupTransport(); and my server side still gets all the preset cookie values. -- View this message in context: http://www.nabble.com/Axis2-client-hangs-with-multiple-requests-in-one-sess

RE: Axis2 client hangs with multiple requests in one session

2008-02-17 Thread Pär Malmqvist
t; axis-user@ws.apache.org> Subject: Re: Axis2 client hangs with multiple > requests in one session> > > 1) Yes, the Axis2 client would hang on the 3rd > call if the first 2 requests> get an AxisFault when I use:> > options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true);&g

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Landslide
1) Yes, the Axis2 client would hang on the 3rd call if the first 2 requests get an AxisFault when I use: options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true); options.setCallTransportCleanup(true); 2) The Axis2 client would hang on the 3rd call no matter what when I use:

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Michele Mazzucco
TECTED] > To: axis-user@ws.apache.org > Subject: Re: Axis2 client hangs with multiple requests in one session > > > Thanks, Michele! > > The combination of these 2 lines works for multiple requests/ responses: > options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true); >

RE: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Pär Malmqvist
is always an AxisFault with an error message? I hope it is not that hard to find out what parameters to use in your call to get an AxisFault from the server. Thanks! /Pär > Date: Sat, 16 Feb 2008 03:30:16 -0800> From: [EMAIL PROTECTED]> To: > axis-user@ws.apache.org> Sub

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Landslide
Thanks, Michele! The combination of these 2 lines works for multiple requests/responses: options.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true); options.setCallTransportCleanup(true); This line only tracks the cookie "JSESSIONID" but nothing else: options.setManageSes

Re: Axis2 client hangs with multiple requests in one session

2008-02-16 Thread Michele Mazzucco
Have you tried to call options.setCallTransportCleanup(true)?, my guess is that the problem lies at the transport level. If still does not work try to create a custom HttpConnectionManager for the client -- see AsyncTest2Test into the integration test module. Michele On 16 Feb 2008, at 02:

Re: axis2 client and axis1 server with use=encoded

2008-01-16 Thread Mauro Molinari
Ilon Sjögren ha scritto: I got a problem with integrating with a axis1 server that is using encoded. Is there a way to use axis2 on the client tho the server is using axis1? I'm not able to change ANYTHING on the server-side, the server is totally out of our control, and the only thing we're su

Re: Axis2 client

2007-10-12 Thread Deepal Jayasinghe
Hi rajnishe , In your client code do you have configurationContext.terminate() method ? Thanks Deepal > Hello All > > I am using axis2 for webservice development. > When i run client first time it gives me error below . > But second time and later many times it runs successfully. > I am using jbos

RE: Axis2 client

2007-10-11 Thread ROSSILLE Samuel
I'm not sure, but I think I saw "Exception occurred while trying to invoke service method" before, when my service method raised an Exception. Maybe, you could try to catch all Exception whit "catch (Exception ex) {" in the body of your service method, to see if the problem comes from Axis or

Re: Axis2 client

2007-10-02 Thread jerome.mariette
Thx so much it's working :) Anas Mughal wrote: > > Try this: > > http://localhost:8080/axis2/services/Version/getVersion > > > -- > Anas Mughal > > > > On 9/28/07, jerome.mariette <[EMAIL PROTECTED]> wrote: >> >> >> Hello everybody, >>

Re: Axis2 client

2007-09-30 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you mean by "access endpoint first". When you send a request to Axis2 egnine, it will always tries to find a service and operation corresponding to that service. In your request, you have only given the name of the service (Version) and not th

Re: Axis2 client

2007-09-29 Thread Anas Mughal
Try this: http://localhost:8080/axis2/services/Version/getVersion -- Anas Mughal On 9/28/07, jerome.mariette <[EMAIL PROTECTED]> wrote: > > > Hello everybody, > I'm using axis2 to develop a web service. I did it and it's working but I > can't acce

Re: [AXIS2] Client API in EJB

2007-06-29 Thread Martin Gainty
Appears that the asynchronous sendReceiveNonBlocking is not yet available in EJBProvider http://www.stylusstudio.com/api/axis-1_1/org/apache/axis/providers/java/EJBProvider.htm Anyone else? M-- This email message and any files transmitted with it contain confidential information intended only fo

Re: Axis2 client stub thread safety question

2007-05-31 Thread Deepal Jayasinghe
Hi Saju , Axis2 client side is not thread safe , but if you create multiple stubs then I hope it will be thread safe (if you use only one stub and try to access that in different threads then that will not work). I have not tested that , but if you can please try and see. Thanks Deepal > Hello, >

Re: [axis2] client side : how to get servicegroupid [END] .

2007-05-24 Thread Fabrice Airault
thanks Deepal & thanks paul Fabrice Deepal Jayasinghe a écrit : Hi Fabrice , Pls have a look at http://wso2.org/library/182 Thanks Deepal hi Paul, i copy addressing.mar in addressing.jar and i add in my classpath. in my code i add this line System.out.println(AddressingFaultsHelper.class)

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Deepal Jayasinghe
Hi Fabrice , Pls have a look at http://wso2.org/library/182 Thanks Deepal > hi Paul, > > i copy addressing.mar in addressing.jar and i add in my classpath. > > in my code i add this line > System.out.println(AddressingFaultsHelper.class); > > i have my trace ans always exception. > class org.apac

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Paul Fremantle
If you rename it addressing.jar its no good. Axis2 has a special classloader for MARs. It must be named .MAR Also you need to create the stub: WebServiceWCPStub stub = new WebServiceWCPStub ("http://localhost:8080/axis2/services/WebServiceWCP";); (remove ?wsdl) Paul On 5/24

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Fabrice Airault
hi Paul, i copy addressing.mar in addressing.jar and i add in my classpath. in my code i add this line System.out.println(AddressingFaultsHelper.class); i have my trace ans always exception. class org.apache.axis2.addressing.AddressingFaultsHelper org.apache.axis2.AxisFault: Unable to engage m

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Paul Fremantle
Have you got addressing.mar in the client's classpath? Paul On 5/24/07, Fabrice Airault <[EMAIL PROTECTED]> wrote: Hi Deepal Jayasinghe, in client side; i don't know how to engage addressing. if i add this line : stub._getServiceClient().engageModule(new QName("addressing")); i have an except

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Fabrice Airault
Hi Deepal Jayasinghe, in client side; i don't know how to engage addressing. if i add this line : stub._getServiceClient().engageModule(new QName("addressing")); i have an exception : org.apache.axis2.AxisFault: Unable to engage module : addressing at org.apache.axis2.client.ServiceClient.enga

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Deepal Jayasinghe
Hi Fabrice , You need to engage addressing in both client and server side. Thanks Deepal > Hi, > > > I create a "Web Service"(axis2-1.1.1) and i want to use SoapSession > but I never receive a servicegroupid. > > > i create a Stub (WebServiceWCPStub) with $AXIS2_HOME/bin/wsdl2java.sh > and my clie

Re: Axis2 client + Xfire service : OutOfMemoryError

2007-05-21 Thread Paul Fremantle
Glad you sorted it out! Paul On 5/21/07, Raf177 <[EMAIL PROTECTED]> wrote: pzfreo, You are right, the problem was there ! I have declared ConfigurationContext as static. pzfreo wrote: > > Are you calling > > ConfigurationContext myConfigContext = >> ConfigurationContextFactory.createConf

Re: Axis2 client + Xfire service : OutOfMemoryError

2007-05-21 Thread Raf177
pzfreo, You are right, the problem was there ! I have declared ConfigurationContext as static. pzfreo wrote: > > Are you calling > > ConfigurationContext myConfigContext = >> ConfigurationContextFactory.createConfigurationContextFromFileSystem(cheminDisque, >> cheminDisque +"/conf/axis2.xml

Re: axis2 client handlers

2007-05-18 Thread robert lazarski
The migration guide has an example of porting an axis1 handler to an axis2 module: http://ws.apache.org/axis2/1_2/migration.html#custom_deployment You can use the ServiceClient API to engage the module client side. Google for engaging the addressing module, as that is the most frequent use. HTH

Re: axis2 client handlers

2007-05-18 Thread Deepal Jayasinghe
In Axis2 you can do the same thing with Axis2, you need to create a module with your handlers and then need to engage that at the client side. Please read the user guide then you will understand how to create a module , if you have any question please ask them in the list. We are more than happy

Re: Axis2 client + Xfire service : OutOfMemoryError

2007-05-17 Thread Paul Fremantle
Are you calling ConfigurationContext myConfigContext = ConfigurationContextFactory.createConfigurationContextFromFileSystem(cheminDisque, cheminDisque +"/conf/axis2.xml"); 200 times? You don't need to be. In fact you might only need to create a single instance of the stub. The configContext i

Re: Axis2 client + Xfire service : OutOfMemoryError

2007-05-16 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can you please create a JIRA issue giving information to re-create this issue? Someone from Axis2 team will look in to that. Chinthaka Raf177 wrote: > Hi, > > I'm using Axis2 as client (adb binding) and Xfire as service. After around > 200 calls, ax

RE: Axis2 Client Stub not Generating WS-Security Headers

2007-03-29 Thread Ted Jones
Thanks for your assistance Ruchith. I was able to get it working. Thanks, Ted -Original Message- From: Ruchith Fernando [mailto:[EMAIL PROTECTED] Sent: Thursday, March 29, 2007 2:34 AM To: axis-user@ws.apache.org Subject: Re: Axis2 Client Stub not Generating WS-Security Headers Hi Ted

Re: Axis2 Client Stub not Generating WS-Security Headers

2007-03-28 Thread Ruchith Fernando
uchith Fernando [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 11:04 PM To: axis-user@ws.apache.org Subject: Re: Axis2 Client Stub not Generating WS-Security Headers Hi Ted, Please see this : http://www.wso2.org/library/240 Thanks, Ruchith On 3/28/07, Ted Jones <[EMAIL PROTECTED]> wr

RE: Axis2 Client Stub not Generating WS-Security Headers

2007-03-28 Thread Ted Jones
, the code sample links are broken on the link you gave me. Thanks, Ted -Original Message- From: Ruchith Fernando [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 27, 2007 11:04 PM To: axis-user@ws.apache.org Subject: Re: Axis2 Client Stub not Generating WS-Security Headers Hi Ted, Please

Re: Axis2 Client Stub not Generating WS-Security Headers

2007-03-27 Thread Ruchith Fernando
Hi Ted, Please see this : http://www.wso2.org/library/240 Thanks, Ruchith On 3/28/07, Ted Jones <[EMAIL PROTECTED]> wrote: I have an Axis2 1.1.1 ADB generated client stub that is instantiated using a client axis2.xml config and pointing to a client repository that has the rampart and address

RE: Axis2 Client Stub not Generating WS-Security Headers

2007-03-27 Thread Ted Jones
I'm thinking this is due to not using the -r in my WSDL2JAVA command to include my client repository? I added this and now I am getting the following: java.lang.IllegalStateException: No valid ObjectCreator found. Threads I have come across indicate that this error is caused by an incorrect ver

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-07 Thread aravind1001
> > To: axis-user@ws.apache.org > Sent: Tuesday, March 6, 2007 6:32:42 PM > Subject: Re: Axis2 Client performance issue - AxisConfiguration Caching > > You can cache configContext itself! > > -- dims > > On 3/6/07, sean curtis <[EMAIL PROTECTED]> wrote: > &g

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-07 Thread sean curtis
ing the same thing? We're seeing the same issues, with degraded performance and seeming to leak memory? - Original Message From: Michele Mazzucco <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent: Wednesday, March 7, 2007 9:45:09 AM Subject: Re: Axis2 Client performance iss

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-07 Thread Michele Mazzucco
es axis2 as a client reads this and gets the benefit of OOM > better performance and elminating a pervasive memory leak problem. > > - Original Message > From: Davanum Srinivas <[EMAIL PROTECTED]> > To: axis-user@ws.apache.org > Sent: Tuesday, March 6, 2007 6:3

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-07 Thread sean curtis
TED]> To: axis-user@ws.apache.org Sent: Tuesday, March 6, 2007 6:32:42 PM Subject: Re: Axis2 Client performance issue - AxisConfiguration Caching You can cache configContext itself! -- dims On 3/6/07, sean curtis <[EMAIL PROTECTED]> wrote: > When running some recent tests agains

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-06 Thread aravind1001
Curtis, I faced the same problem. It also leaks around 250KB per call. Though I couldn't figure out the root set that is holding references to a lot of OMElementImpl and OMTextImpl objects. The JVM was also crashing every few days. Change the code generated to cache the ConfigurationContext and

Re: Axis2 Client performance issue - AxisConfiguration Caching

2007-03-06 Thread Davanum Srinivas
You can cache configContext itself! -- dims On 3/6/07, sean curtis <[EMAIL PROTECTED]> wrote: When running some recent tests against our webserver that contains our client code, it seems that the client causes a huge bottleneck in performance. Perhaps we have it configured incorrectly, but d

Re: [AXIS2] client call operations (Sync vs. Async)

2007-02-02 Thread Thilina Gunarathne
Hi, Editing the generated stubs is not recommended... you can try code generating giving the -a option to the wsdl2java.. It'll generate the async code together with CallBacks... Normally the async invocation methods of the operations are named as start.. ~Thilina On 1/30/07, W.Y. Ho <[EMAIL PR

RE: Axis2 client JAR requirements

2007-01-16 Thread Danny Lin
10:21 AM To: axis-dev@ws.apache.org; axis-user@ws.apache.org Subject: RE: Axis2 client JAR requirements I copied all Axis2 jar files to my Tomcat shared/lib directory and removed 4 jars that are different versions: activation.jar commons-fileupload.jar commons-logging.jar mail.jar

RE: Axis2 client JAR requirements

2007-01-16 Thread Danny Lin
I copied all Axis2 jar files to my Tomcat shared/lib directory and removed 4 jars that are different versions: activation.jar commons-fileupload.jar commons-logging.jar mail.jar So, at this point, my Tomcat is using the same jar files as Axis2. I am no longer getting the class loa

Re: [Axis2] Client call using JiBX and rampart

2007-01-15 Thread Dennis Sosnoski
Hi Alex, It looks to me like you've run into an error in the Axiom code, though it's possible the cause is due to misuse of Axiom (either by the JiBX linkage code, or by Rampart). I suggest you add a Jira report on this against Rampart as the best starting point, with example code. I haven't

Re: Axis2 client JAR requirements

2007-01-15 Thread ChadDavis
Danny, The axis2 distribution, probably something similar in axis1, has a script in the bin directory that sets an [EMAIL PROTECTED] variable that includes all the jars from the lib directory automatically. I realize this doesn't answer your question about how many of the jars from the lib are n

RE: Axis2 client JAR requirements

2007-01-15 Thread Danny Lin
Right now I am getting NoClassDefFoundError (see below), when my code is creating a stub. Any help is greatly appreciated. InmateMatchServiceStub stub = new InmateMatchServiceStub(myURL); java.lang.NoClassDefFoundError: org/apache/axis2/client/Stub at java.lang.ClassLoader.defineClass0(Native

Re: [Axis2] client samples failures

2006-10-28 Thread Michele Mazzucco
AXIS2-1539 created. Michele On 27 Oct 2006, at 16:53, Davanum Srinivas wrote: Can u please log a few JIRA's? I don't think they should be failing... thanks, dims On 10/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Hi all, using the snapshot of Wednesday all the asynchronous send oper

Re: [Axis2] client samples failures

2006-10-28 Thread Michele Mazzucco
Yes, I did. Kinichiro Inoguchi wrote: > Hi > > Did you rename axis2-1.1-SNAPSHOT.war to axis2.war before deploying ? > Now I notice about this. > If I don't rename, service call fails. > > kinichiro > > --- Michele Mazzucco <[EMAIL PROTECTED]> wrote: > >> Hi all, >> >> using the snapshot of We

Re: [Axis2] client samples failures

2006-10-27 Thread Eran Chinthaka
Kinichiro Inoguchi wrote: > Hi > > Did you rename axis2-1.1-SNAPSHOT.war to axis2.war before deploying ? > Now I notice about this. > If I don't rename, service call fails. You don't have to do this any more with the latest nightlies as the aar file is renamed to Axis2.war and it doesn't contai

Re: [Axis2] client samples failures

2006-10-27 Thread Kinichiro Inoguchi
Hi Did you rename axis2-1.1-SNAPSHOT.war to axis2.war before deploying ? Now I notice about this. If I don't rename, service call fails. kinichiro --- Michele Mazzucco <[EMAIL PROTECTED]> wrote: > Hi all, > > using the snapshot of Wednesday all the asynchronous send operations > fail, so I've

Re: [Axis2] client samples failures

2006-10-27 Thread Davanum Srinivas
Can u please log a few JIRA's? I don't think they should be failing... thanks, dims On 10/27/06, Michele Mazzucco <[EMAIL PROTECTED]> wrote: Hi all, using the snapshot of Wednesday all the asynchronous send operations fail, so I've tried with the axis2 samples and I've found out that they fail

Re: [axis2] Client stub generates empty soap body

2006-10-08 Thread Deepal Jayasinghe
Hi Andrew ; Can you please create a JIRA attaching your WSDL. It is bit difficult for us to regenerate the problem w.o having the wsdl file around. Thanks Deepal > I am using a client stub generated by Axis2 WSDL2Java. I can call a > method that takes a string as an argument and returns a string

Re: Axis2 client problem ?

2006-08-29 Thread Anne Thomas Manes
Axis2 does not support SOAP Encoding. Anne On 8/29/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: Can you please create a JIRA issue , by attaching service archive file and wsdl Thanks Deepal Eric Chow wrote: > Hi Deepal, > > I used the codegen but also failed. > > If the return type is St

Re: Axis2 client problem ?

2006-08-29 Thread Deepal Jayasinghe
Can you please create a JIRA issue , by attaching service archive file and wsdl Thanks Deepal Eric Chow wrote: > Hi Deepal, > > I used the codegen but also failed. > > If the return type is String, no problem but if I return a customer > JavaBean, it raised the following exception: > > > public

Re: Axis2 client problem ?

2006-08-28 Thread Eric Chow
Hi Deepal, I used the codegen but also failed. If the return type is String, no problem but if I return a customer JavaBean, it raised the following exception: public class Client { public static void main(String[] args) throws Exception { EchoserviceStub stub = new Ec

Re: Axis2 client problem ?

2006-08-28 Thread Deepal Jayasinghe
Hi Eric; Why dont you try to codegen , then that will generate client for you. Thanks Deepal Eric Chow wrote: > Hello, > > How can I write a simple client to the following WSDL with Axis2? > The parameter for QueryInv must use OMElement. How to construct the > OMElement with the following WSDL

Re: [Axis2] Client Digest Authentication

2006-08-09 Thread Saminda Abeyruwan
> >> >> -Original Message- >> From: Davanum Srinivas [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, August 09, 2006 11:02 AM >> To: axis-user@ws.apache.org >> Subject: Re: [Axis2] Client Digest Authentication >> >> No, you don't need WSS

Re: [Axis2] Client Digest Authentication

2006-08-09 Thread Davanum Srinivas
e- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 11:02 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Client Digest Authentication No, you don't need WSSecurity to do HTTP DIGEST auth. The original code you posted will work with Digest as well. Ba

RE: [Axis2] Client Digest Authentication

2006-08-09 Thread Vinh Tran
Does this mean it will attempt to send credentials in clear text first? Doesn't that defeat the purpose? -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 11:02 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Client D

Re: [Axis2] Client Digest Authentication

2006-08-09 Thread Ruchith Fernando
TECTED] Sent: Wednesday, August 09, 2006 9:34 AM To: axis-user@ws.apache.org; Martin Gainty Subject: RE: [Axis2] Client Digest Authentication So I will need to use Rampart for DIGEST authentication. Got it. Thanks Martin. From: Martin Gainty [

Re: [Axis2] Client Digest Authentication

2006-08-09 Thread Davanum Srinivas
: Wednesday, August 09, 2006 9:34 AM To: axis-user@ws.apache.org; Martin Gainty Subject: RE: [Axis2] Client Digest Authentication So I will need to use Rampart for DIGEST authentication. Got it. Thanks Martin. From: Martin Gainty [mailto:[EMAIL PROTE

RE: [Axis2] Client Digest Authentication

2006-08-09 Thread Vinh Tran
@ws.apache.org; Martin Gainty Subject: RE: [Axis2] Client Digest Authentication   So I will need to use Rampart for DIGEST authentication. Got it.   Thanks Martin.   From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 9:29 AM To: axis-user@ws.apache.org Subject

RE: [Axis2] Client Digest Authentication

2006-08-09 Thread Vinh Tran
So I will need to use Rampart for DIGEST authentication. Got it.   Thanks Martin.   From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 9:29 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] Client Digest Authentication   Good Morning Tran

  1   2   >