Policy References in services.xml

2007-03-30 Thread Johny Edu
Hi All, I need to use policy references in services.xml, meaning that i do not need the actual policy info but a reference to it, so if i want to change the policy, i should not deal with services.xml but rather with the resource behind that uri, for example: service operation name=echo

Re: [Axis2] WS-Addressing WSDL binding

2007-03-30 Thread David Illsley
We have support for the WSDL binding spec and I intend to implement the WSA-Metadata spec once it's finalised. There's no problem with having an implementation of both, it's just less than ideal for a JSR. David On 29/03/07, Paul Fremantle [EMAIL PROTECTED] wrote: Angel We are just fine AFAIK

Multiple WSDLs inside AAR

2007-03-30 Thread Milan Tomic
I have found this thread: http://www.mail-archive.com/axis-dev@ws.apache.org/msg29607.html it mention that if I have multiple WSDL documents (for multiple services) inside 1 AAR file, then every WSDL file should be named as service_name.wsdl. I did this but when I run:

Re: java.net.BindException

2007-03-30 Thread seehamster
Michele, I could reproduce this behaviour even with a single thread inside a loop. After 4000 calls, Axis2 crashed. By the way, how can I stop local listener? I think this might be a security risk (if not needed). My sample code: ConfigurationContext configurationContext =

Re: How to make SOAP messages smaller?

2007-03-30 Thread Xinjun Chen
Differential encoding indeed has better performance. But it is not really compressing SOAP message. Instead, it reduces both payload data and overhead in the SOAP message. But as far as I know, currently no popular SOAP toolkit supports differential encoding. Regards, Xinjun On 3/29/07,

Re: mapping typed collections

2007-03-30 Thread balazs . szuecs
well, I have written an extension to Axis which is able to cope with typed Collections (jdk 1.5). Type mappings now work just like typed arrays. I had to extend a bunch of Axis-classes, e.g. Emitter, Types, BeanSerializer, ... The main problem was, that it is not possible to determine the

Re: consequences of choosing axis

2007-03-30 Thread Angel Todorov
In fact any databinding framework in Axis2 relies on AXIOM. Take a look at the generated stubs/skeletons. They are indeed XML Beans or JAXB specific, but all of them use AXIOM behind the hood. This means you have a dependency on axiom, regardless of the databinding you choose. fromOM(...),

Re: java.net.BindException

2007-03-30 Thread Michele Mazzucco
On Fri, 2007-03-30 at 12:04 +0200, [EMAIL PROTECTED] wrote: Michele, I could reproduce this behaviour even with a single thread inside a loop. After 4000 calls, Axis2 crashed. What do you mean when you say axis2 crashed? The exception below it's not a crash. Instead, there's a know issue

Re: consequences of choosing axis

2007-03-30 Thread Paul Fremantle
I don't really agree with Anne's point. If you use the current Axis2 WSDL2Java then you are tied to Axis2's current stub model (which is pretty POJO like). But inside those stubs you can use JAXB/JIBX/XMLBeans, all of which isolate you from AXIOM. Were you to choose a different stack, your data

Re: java.net.BindException

2007-03-30 Thread Michele Mazzucco
On Fri, 2007-03-30 at 13:13 +0200, [EMAIL PROTECTED] wrote: Axis2 crashed means: Axis stub throws finally an exception after three retries of httpclient and stops execution - no more Axis stub calls. There is no out of memory printed in console. Please could you run my posted clientcode

Re: java.net.BindException

2007-03-30 Thread seehamster
Simply generate a Stub with your ADB Ant Task and call it in a loop like in my posted code fragment. I can't embedd my full code due to legal reasons. I have used the nightly builds. The duration until exception is 3 minutes at my machine (windows). Tomcat is on a different host. Some posts

Axis2-1.1.1 WSDL2JAVA not creating subclasses!!!

2007-03-30 Thread FURTADO, Murray, GBM
Hi, we have a class XPortfolioProduct, defined by the following wsdl: s:complexType name=XPortfolioProduct s:sequence s:element minOccurs=1 maxOccurs=1 name=PaidOut type=s:boolean/ s:element minOccurs=0 maxOccurs=1 name=InOut type=s:string/ s:element minOccurs=1 maxOccurs=1

Re: java.net.BindException

2007-03-30 Thread seehamster
Could repeat exception with a simple HelloWorld wsdl after 3800 calls in a loop by a single thread. Original-Nachricht Datum: Fri, 30 Mar 2007 13:28:09 +0200 Von: [EMAIL PROTECTED] An: axis-user@ws.apache.org Betreff: Re: java.net.BindException Simply generate a Stub with

RE: Multiple WSDLs inside AAR

2007-03-30 Thread Gopinath K (HCL Financial Services)
Hi Milan, You have to use useOriginalWSDL tag and set it to 'true' in the services.xml. Regards Gopinath -Original Message- From: Milan Tomic [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 2:53 PM To: axis-user@ws.apache.org Subject: Multiple WSDLs inside AAR I have found

Custom WSDL Not Displaying

2007-03-30 Thread Callner, David A.
I have the name of the service name in the wsdl and the service name in the service.xml exactly the same but when I go to access the website I get the standard unable to generate wsdl page. I've looked online that many people have this same issue but have not seen a solution. Does anyone have

WebServices client

2007-03-30 Thread Milan Tomic
I would like to test my web service, so I need a client. My web service takes an XSD Element and returns an XSD Element. Is there some example of such a client? Since input argument is large XML, I would like to load it from a file, rather then building it in code. Thank you in advance, Milan

Re: WS-I 1.0 / 1.1 compliance?

2007-03-30 Thread Davanum Srinivas
http://marc.info/?l=axis-userm=115105788415447w=2 On 3/30/07, Angel Todorov [EMAIL PROTECTED] wrote: Hi guys, Is Axis2 WS-I 1.1 and 1.0 compliant? Are there currently any tests implemented that prove that ? Thanks very much. Regards, Angel

Re: Policy References in services.xml

2007-03-30 Thread Davanum Srinivas
Sanka, Is this planned for 1.2 final release? -- dims On 3/30/07, Sanka Samaranayake [EMAIL PROTECTED] wrote: This feature is not available for Axis2 at the moment. Best, Sanka On 3/30/07, Johny Edu [EMAIL PROTECTED] wrote: Hi All, I need to use policy references in services.xml,

Are the services.list and modules.list really required?

2007-03-30 Thread Josh
All, Are the services.list and modules.list really required? I have deployed a sample service using this document as an example: http://wso2.org/library/90. It has worked successfully on tomcat. When the application starts, it deploys all the exploded services in the /WEB-INF/services

Re: Are the services.list and modules.list really required?

2007-03-30 Thread Davanum Srinivas
They are for use in app servers which do not explode the war into a separate directory. thanks, dims On 3/30/07, Josh [EMAIL PROTECTED] wrote: All, Are the services.list and modules.list really required? I have deployed a sample service using this document as an example:

Re: wsdl message with no parts

2007-03-30 Thread Rishi krish
Hi Amila I am sorry for confusing the qustion. I am WSDL is using soap binding with http as the transport protocol. In my secnario the WSDL operation has both intput and output message and the output message has no part associated with it. My question was should the service response contain an

Re: Policy References in services.xml

2007-03-30 Thread Davanum Srinivas
Next questio :) How does one do this in 1.2 final? :) On 3/30/07, Sanka Samaranayake [EMAIL PROTECTED] wrote: No. This is a post 1.2 goal in which we need to figure out a policy registration / retrieval mechanism for Axis2. Thanks, Sanka On 3/30/07, Davanum Srinivas [EMAIL PROTECTED]

AXIS2-1.2RC1 can NOT deserialize byte[] member variable

2007-03-30 Thread donald yang
I have developed one test case for attachment. AXIS2-1.2 RC1 can NOT desserialize byte[] member variable[1][2][3]. However if the byte[] is NOT a member variable, it works fine. best regards donald [1] ComplexRecord.java which defines a byte[] member variable * import* java.io.Serializable;

[AXIS2] AXIS2 WSDL2Java 2 1.2RC1 vs. AXIS 1.3

2007-03-30 Thread Carlos S. Zamudio
Below is a WSDL that can be used to generate Java classes with Wsdl2java with Axis 1.3 successfully, but fails using AXIS2 1.2RC1. http://www.ncbi.nlm.nih.gov/entrez/eutils/soap/eutils.wsdl With errors like the following: java:491) at

Re: How to make SOAP messages smaller?

2007-03-30 Thread Philipp Leitner
There's an XML compressor called XMill around since 1999 (http://sourceforge.net/projects/xmill). /philipp Xinjun Chen schrieb: Differential encoding indeed has better performance. But it is not really compressing SOAP message. Instead, it reduces both payload data and overhead in the SOAP

Axis2 - Inactivate Service on appserver restart

2007-03-30 Thread Daniel Hiebert
Good Morning, Inactivate Service http://ws.apache.org/axis2/1_0/webadminguide.html I read through Axis 2 documentation a month or so back, and thought I read there was a file that could be maintained that would allow the service to indicate it's initial state of

Re: wsdl message with no parts

2007-03-30 Thread Rishi krish
Also just wanted to show what the TCP monitor is howing for the response ?xml version=1.0 encoding=UTF-8? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:xsi= http://www.w3.org/2001/XMLSchema-instance; soapenv:Body/

[Axis2] Older versions not available anymore

2007-03-30 Thread José Antonio Sánchez
Hello, I'm trying to get an Axis2 1.0 distribution but there seems that all versions prior tu 1.1.1 are missing from the apache servers and mirrors. Could anyone tell me where can I get older versions of Axis1? -- Saludos. José Antonio Sánchez

Re: [Axis2] Older versions not available anymore

2007-03-30 Thread José Antonio Sánchez
Sorry, I mean older versions of Axis2. On 3/30/07, José Antonio Sánchez [EMAIL PROTECTED] wrote: Hello, I'm trying to get an Axis2 1.0 distribution but there seems that all versions prior tu 1.1.1 are missing from the apache servers and mirrors. Could anyone tell me where can I get older

Re: How to get parameter name of a method in a class compiled with -g option

2007-03-30 Thread Ognjen Blagojevic
Hi Chen, This question is about Axis 1.4. I know Axis can extract the parameter names of a method in a class compiled with -g option. During Java2WSDL, Axis does extract the parameter names to generate WSDL. Does anyone know how Axis achieve this? As far as I can see, it uses ClassReader

Re: java.net.BindException

2007-03-30 Thread seehamster
Yes, that was my suggestion, too. HttpClient could have a problem with socket handling. But in the end, Axis2 is failing and HttpClient is the default client. What are your suggestions, because Axis2 is using HttpClient per default and I think that this bug (or more exaclty HttpClient's bug)

Re: [Axis2] Older versions not available anymore

2007-03-30 Thread Davanum Srinivas
http://archive.apache.org/ On 3/30/07, José Antonio Sánchez [EMAIL PROTECTED] wrote: Sorry, I mean older versions of Axis2. On 3/30/07, José Antonio Sánchez [EMAIL PROTECTED] wrote: Hello, I'm trying to get an Axis2 1.0 distribution but there seems that all versions prior tu 1.1.1 are

Re: Axis2 with Spring

2007-03-30 Thread robert lazarski
Rosan, see my comments inline: On 3/29/07, Rosan Roche [EMAIL PROTECTED] wrote: Hi, I am trying the example in http://ws.apache.org/axis2/1_1_1/spring.html#23 I put the services and modules directory under WEB-INF/ dir of my application. Also copied the springExample.aar file under services.

Re: Axis2 with Spring

2007-03-30 Thread robert lazarski
s/axis2.xml/web.xml Robert On 3/30/07, robert lazarski [EMAIL PROTECTED] wrote: Rosan, see my comments inline: On 3/29/07, Rosan Roche [EMAIL PROTECTED] wrote: Hi, I am trying the example in http://ws.apache.org/axis2/1_1_1/spring.html#23 I put the services and modules directory under

Java2WSDL created invalid file?

2007-03-30 Thread Jeff Ramin
Using most recent version of Axis2... I created a WSDL file from a class. When I try to view the service WSDL from a browser (whether it be firefox or IE), the browser is unhappy, because the wsaw namespace referenced in an wsdl:input tag has not been defined. I manually added the wsaw

Re: Java2WSDL created invalid file?

2007-03-30 Thread Paul Fremantle
Jeff Sounds like a bug. Can you please raise a JIRA? http://issues.apache.org/jira Paul On 3/30/07, Jeff Ramin [EMAIL PROTECTED] wrote: Using most recent version of Axis2... I created a WSDL file from a class. When I try to view the service WSDL from a browser (whether it be firefox or

RE: [Axix2] java.lang.RuntimeException: Unexpected subelement value

2007-03-30 Thread Ted Jones
Thanks for your response Amila. The SOAP response looks correct when validating against the wsdl. The issue seems to be in the generated stub code when a check is done comparing the QName of the element. The WSDL targetnamespace http://helper.webservice.soap.test.com/xsd

Re: Axis2: soap/jms question

2007-03-30 Thread Shantanu Sen
Asankha, After I pulled in code from the trunk today, the previous project with jms binding is not working. I think it has to do with the naming of the queue - I am running on JBOSS 4.0.5. Here is the relevant part of service.xml: - Original Message From: Asankha C. Perera [EMAIL

Re: How to make SOAP messages smaller?

2007-03-30 Thread Philipp Leitner
Sorry, no actual experience ... but I guess integrating it with Axis or Axis2 should be rather easy to do. If you plan to do anything in this direction it would be nice to keep us on the run. Perhaps you are interested in this USC paper: http://dblab.usc.edu/Users/shkim/papers/cic.pdf

Axis2: issue with hot update

2007-03-30 Thread Shantanu Sen
With the latest code from the trunk, I was trying to do a make-change-and-redeploy repeatedly for a test service. I have set the hotUpdate parameter to be true in the axis2.xml that is running as WAR on JBoss. parameter name=hotupdate locked=falsetrue/parameter After a couple of deployments

Re: Axis2: issue with hot update

2007-03-30 Thread Lahiru Sandakith
Hi Shantanu, Please log a JIRA @ http://issues.apache.org/jira/browse/AXIS2 Thanks Lahiru On 3/31/07, Shantanu Sen [EMAIL PROTECTED] wrote: With the latest code from the trunk, I was trying to do a make-change-and-redeploy repeatedly for a test service. I have set the hotUpdate parameter to