RE: AXIS2: fixing client sockets used

2011-03-28 Thread Bhat B, Niranjan (NSN - IN/Bangalore)
Oh! So with Axis2.1 I can't bind the client stubs to an IP address you mean ? regards, Niranjan -Original Message- From: ext Andreas Veithen [mailto:[email protected]] Sent: Tuesday, March 29, 2011 11:13 AM To: [email protected] Subject: Re: AXIS2: fixing client sockets

Re: Two Services Same Name Allowed?

2011-03-28 Thread Andreas Veithen
It's only supported in 1.6.0-SNAPSHOT and 1.7.0-SNAPSHOT. Andreas On Mon, Mar 28, 2011 at 21:11, Wally Dennis wrote: > > Is there something special I need to do to allow this?  When I deploy my .aar > to the services directory, it works fine.  However, when I try to move it to > services/1.0,

Re: AXIS2: fixing client sockets used

2011-03-28 Thread Andreas Veithen
I think that 4.0 is not compatible with 3.1. Therefore upgrading is non trivial and will require updates to the Axis2 code. Andreas On Tue, Mar 29, 2011 at 06:14, Bhat B, Niranjan (NSN - IN/Bangalore) wrote: > > --cut-- > it is indeed a valid requirement to be able to select the > IP address. I

Re: Generating WSDL for custom rampart policy token

2011-03-28 Thread Amila Jayasekara
Hi Shyameniw, The wsdl generated in my environment also doesnt show "custom token" details. I didnt notice this in previous attempt as i was more focused on the exception. Sorry about that. About the custom token, As far as i know, there is no custom token implementation in rampart-policy. As per

RE: AXIS2: fixing client sockets used

2011-03-28 Thread Bhat B, Niranjan (NSN - IN/Bangalore)
--cut-- it is indeed a valid requirement to be able to select the IP address. I think that this is supported in HttpClient 4.0, but not in 3.1 (which is the version used by Axis2). --cut-- Oh great! So is it ok that I can just change the Commons HTTP Client from 3.1 to 4.0 in the axis2 webapplica

Exclude operations programmatically

2011-03-28 Thread aditya chitre
Hi All, Is there a way in axis2 to programmatically exclude some operations of a service? In my project I am creating my services programmatically and I want to exclude some of the operations. Regards, Aditya

Re: Generating WSDL for custom rampart policy token

2011-03-28 Thread shyameniw
Hi Amila, When i used your services.xml it generated following wsdl for the policy. Following is not in the wsdl. http://docs.oasis-open.org/ws-sx/ws-

Re: Two Services Same Name Allowed?

2011-03-28 Thread Afkham Azeez
http://charithaka.blogspot.com/2010/05/hierarchical-service-deployment-support.html On Tue, Mar 29, 2011 at 12:41 AM, Wally Dennis wrote: > > Is there something special I need to do to allow this? When I deploy my > .aar to the services directory, it works fine. However, when I try to move > i

Re: Generating WSDL for custom rampart policy token

2011-03-28 Thread shyameniw
Hi Amila, I'm using rampart trunk version. I have used your services.xml and generated the wsdl without an error. So what could be the problem here? Amila Jayasekara wrote: > > Hi Shyameniw > > I used attached services xml with a custom token and i was able to > generate WSDL without an error

Re: Two Services Same Name Allowed?

2011-03-28 Thread Wally Dennis
Is there something special I need to do to allow this? When I deploy my .aar to the services directory, it works fine. However, when I try to move it to services/1.0, I get deployment errors indicating it cannot find META-INF/services.xml. Any help would be most appreciated. Thanks, Wally

Re: Generating WSDL for custom rampart policy token

2011-03-28 Thread Amila Jayasekara
Hi Shyameniw I used attached services xml with a custom token and i was able to generate WSDL without an error. I used the rampart trunk version. What is the rampart version you are using ? Thanks AmilaJ On Mon, Mar 28, 2011 at 10:25 AM, shyameniw wrote: > > I have created a new Security Policy

Re: AXIS2: fixing client sockets used

2011-03-28 Thread Andreas Veithen
If the IP addresses are in different subnets, then the OS will select the right one. If the machine has multiple IP addresses in the same subnet, then it is indeed a valid requirement to be able to select the IP address. I think that this is supported in HttpClient 4.0, but not in 3.1 (which is the

Generating WSDL for custom rampart policy token

2011-03-28 Thread shyameniw
I have created a new Security Policy token for Rampart say of type SignedSupportingToken. It successfully generates a request with custom tag in the policy.xml http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";> http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/In

Re: Axis2 won't respond to empty SOAP body

2011-03-28 Thread Sanka Samaranayake
Can you post the WSDL which you used to generate the skeleton ? Sanka On Mon, Mar 28, 2011 at 11:39 AM, enrique_s wrote: > > hi, i have wsdl-generated a web service that should respond to a certain > incoming SOAP message > > the thing is that incoming message has no body parts, info is in heade

RE: AW: transactions

2011-03-28 Thread Caristi, Joe
This would be very difficult to implement. Here are two articles on SOA transactions that will give you an idea of what would be involved: http://www.ibm.com/developerworks/rational/library/may06/lieberman/index.html http://www.ibm.com/developerworks/rational/library/jun06/lieberman/index.html

Re: AW: transactions

2011-03-28 Thread robert lazarski
On Mon, Mar 28, 2011 at 10:28 AM, nch wrote: > Hi! > I'm resending this email in the hope somebody who might have missed it can > read > it this time. > > Cheers. > Does Axis2 have support for transactions spanning several web services? > Does the question make sense in the first place? > What w

Re: AW: transactions

2011-03-28 Thread nch
Hi! I'm resending this email in the hope somebody who might have missed it can read it this time. Cheers. - Mensaje original De: nch Para: [email protected] Enviado: mar,22 marzo, 2011 08:48 Asunto: Re: AW: transactions Exactly. I find this issue quite restricting at the tim

RE: AXIS2: fixing client sockets used

2011-03-28 Thread Bhat B, Niranjan (NSN - IN/Bangalore)
Hi Andreas, Thanks for the help ! And I get your point. Could you please let me know that is it possible to bind these clients to send a request from a particular IP address/IP interface on the machine ? This case might occur when the same machine will have multiple IP addresses . regards, Nira

Deployment fault issue with Axis2 1.5.4

2011-03-28 Thread Nishant Joshi
Hi All, I was working fine with AXIS2 1.5.1 on WL9.2MP3 but when i was migrated to AXIS2 1.5.4 with the same service but latest Axis jars i was getting following error after successful deployment. This Axis service has deployment faults. Error: java.lang.LinkageError: loader constraints violated

Re: asynchronous messages - long running operations

2011-03-28 Thread Christophe Noël
Hello Andrej, I have already ask for examples of such a communication pattern, one IN / many OUT, but for now, I haven't found how to do it with Axis2. Please, let's keep in touch in case anybody found a solution. Christophe. 2011/3/28 Andrej Hollmann > Dear axis community, > > > > I want impl

Axis2 won't respond to empty SOAP body

2011-03-28 Thread enrique_s
hi, i have wsdl-generated a web service that should respond to a certain incoming SOAP message the thing is that incoming message has no body parts, info is in header, and Axis2 won't let me process it or respond in the skeleton, and ALWAYS ends up with (whatever i put in the skeleton method): H

asynchronous messages - long running operations

2011-03-28 Thread Andrej Hollmann
Dear axis community, I want implement a web service which has long running operations, I want send messages about progress of execution of such operations to the client. How can I do so in java/axis2? In Book "Developing Web Services with Apache Axis2" is described the scenario where a server s

Re: ClassLoader choosing in JAXWSProxyHandler ?

2011-03-28 Thread Ivan
I attached a patch AXIS-4990-ThrowException.patch in the https://issues.apache.org/jira/browse/AXIS2-4990 2011/3/28 Ivan > Hi, > In the class JAXWSProxyHandler, there is some logic for choosing > classloader of SEI and context classloader. Currently, it would try to build > the JAXBContext w

ClassLoader choosing in JAXWSProxyHandler ?

2011-03-28 Thread Ivan
Hi, In the class JAXWSProxyHandler, there is some logic for choosing classloader of SEI and context classloader. Currently, it would try to build the JAXBContext with both classloaders, and compare them with a set of rules, But I found that JAXBUtils.getJAXBContext method would not return null