Re: [Axis2] Axis2 and New field

2007-08-31 Thread Leon Hwang
Thank you, Norris. Yes I am using 1.3 and it didn't work. I understand that it will work if I modify the java code or xslt file. However, I am more concerned about my clients who probably don't want to waste time looking into Axis2 code. I could explain to them change such such lines and recompi

AXIS-2095 / AXIS-2250 array item element QName doesn't match generated schema - workaround?

2007-08-31 Thread Simon Gibbs
Hi Guys First post and new to the list so apologies in advance for any breach of ettiquette. I have run into what looks like bug AXIS-2095 / AXIS-2250 but I'll briefly describe the problem below. I'm just looking for a work around really. I have a service generated from an Eclipse Europa wizard

RE: [Axis2] Axis2 and New field

2007-08-31 Thread Merritt, Norris
See the earlier thread (attached) on this issue. I haven't had the opportunity to try -Eosv with Axis2 1.3 yet. I'm curious, are you using Axis 1.3 or an earlier version? As I explained in my earlier post, the only way I have been able to work around this issue is to modify the XSLT contained in t

running into classnotfound exception with .net wsdl

2007-08-31 Thread Matt L. Zhu
Anyone ran into this problem? 1. server webservice is using .net, 2. I got the wsdl, ran wsdl2java, ran compile, created jar file using adb 3. created my client code, and ran tomcat, it will get to the response section successfully, but the moment it calls getresult, it will gen

Rampart broken links

2007-08-31 Thread Todd Allen
Can someone please fix the broken links on the Rampart information page? The URL is http://ws.apache.org/axis2/modules/rampart/1_3/security-module.html The link to the Rampart configuration XSD file gives a 404 error: http://ws.apache.org/axis2/modules/rampart/1_3/sec-conf/rampart-config.xsd Sam

Setting Timestamp expiry limit.

2007-08-31 Thread Sriram Vaidyanathan
Hello, I am using WS- Security Policy style configuration for setting the WS-Security headers. Is there any way I can set the timestamp expiration limit in the policy file. Any help on this would be appreciated. Thanks in Advance Sriram smime.p7s Description: S/MIME cryptographic sig

Rampart sample/tutorial

2007-08-31 Thread Todd Allen
I need to implement user name/password authentication in an Axis2 1.1 web service. Can someone point me to a useful set of samples or a good tutorial on Rampart and the user name token? Thanks, Todd - To unsubscribe, e-mail:

Re: WSDLException : OTHER_ERROR: Unable to locate with a locator the schema referenced at ...

2007-08-31 Thread Linus Kamb
Linus Kamb wrote: I wonder, should those various downloaded xsd's be packaged in the aar? Seems not right to me, if that's the case. I can try that, but where should they go? Well, naively just putting them into META-INF in the aar did not work. There was a thread earlier (last year) ab

question about encodings

2007-08-31 Thread arkady sharkansky
how do i get axis 1.4 client generated from a wsdl using wsdl2java to encode '\r' as a thanks.

Re: WSDLException : OTHER_ERROR: Unable to locate with a locator the schema referenced at ...

2007-08-31 Thread Linus Kamb
Thanks a lot for looking. wsdl2java seems to run successfully: ant target is:

Re: RE: entry before soap message

2007-08-31 Thread Michael Sutter
Thanks for your fast reply - it works fine. Original-Nachricht > Datum: Fri, 31 Aug 2007 10:05:36 -0400 > Von: "Walker, Jeff" <[EMAIL PROTECTED]> > An: axis-user@ws.apache.org > Betreff: RE: entry before soap message > Most likely caused by HTTP 1.1 chunking. > See here: http://

RE: entry before soap message

2007-08-31 Thread Walker, Jeff
Most likely caused by HTTP 1.1 chunking. See here: http://wso2.org/library/952 -jeff -Original Message- From: Michael Sutter [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 9:27 AM To: axis-user@ws.apache.org Subject: entry before soap message Hello list, I have a problem by q

entry before soap message

2007-08-31 Thread Michael Sutter
Hello list, I have a problem by querying a webservice from a axis2 Java client. I have the WSDL of the service and generated the client stubs. After implementation of the client and accessing the service I always get a exception. I recorded the whole http request with a monitor program and so I

RE: Improved Error Response for Bad Requests on ADB

2007-08-31 Thread Geoff Peart
I guess my problem is that the error message isn't really clear, I'm in a situation of putting an API out there to third parties, and so I've gone with a pretty strict API to make message validation easier, but I'm finding ADB error messages to be rather terse and uninformative. So I'm kind

RE: wsdl2java question

2007-08-31 Thread Geoff Peart
Sorry wrong thread From: Geoff Peart [mailto:[EMAIL PROTECTED] Sent: Friday, August 31, 2007 9:04 AM To: axis-user@ws.apache.org Subject: RE: wsdl2java question From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Fri

RE: wsdl2java question

2007-08-31 Thread Geoff Peart
I guess my problem is that the error message isn't really clear, I'm in a situation of putting an API out there to third parties, and so I've gone with a pretty strict API to make message validation easier, but I'm finding ADB error messages to be rather terse and uninformative. So I'm kind of cur

Re: WSDL problem

2007-08-31 Thread mchmiel
Why this definition doeas not use the soapenc:Array i looked throuh several examples and this is the right way:-) in axis1 wsdl tool generates something like this

RE: Axis2-1.2+rampart1.2 ....policy sample03 problem

2007-08-31 Thread Grégoire Rolland
Hi, Check Exception on the server side, It should help. Try debuging your service. Gregoire De : Ashique [mailto:[EMAIL PROTECTED] Envoyé : vendredi 31 août 2007 14:46 À : [EMAIL PROTECTED] Cc : axis-user@ws.apache.org Objet : Axis2-1.2+rampart1

Axis2-1.2+rampart1.2 ....policy sample03 problem

2007-08-31 Thread Ashique
Hi, I am testing Axis2 with Rampart1.2. While testing the sample03 of policy i am getting the following exception in the client side ... [java] Exception in thread "main" org.apache.axis2.AxisFault: unknown [java] at org.apache.axis2.util.Utils.getInboundFaultFromMes

Re: wsdl2java question

2007-08-31 Thread Lindsey Hess
Thank you, Amila. Which template is that? Lindsey Amila Suriarachchi <[EMAIL PROTECTED]> wrote: in the template it says /** * .java * * This file was auto-generated from WSDL * by the Apache Axis2 version: #axisVersion# #today# */ I think it has pick a wrong version some where. A

Re: Improved Error Response for Bad Requests on ADB

2007-08-31 Thread Jorge Fernandez
Hi Amila, For some exceptions it works fine. I'm getting 500 HTTP header for most or all the exceptions but sometimes, the client doesn't get the reason of the exception. Attached file contains two exceptions received in the client. First one is a null pointer exception. When client receives

Re: ClassLoader to look for a resource within META-INF ?

2007-08-31 Thread Florent Georges
Sanka Samaranayke wrote: Hi > IFAIK, in Axis2 world, META-INF folder inside a service > archive file (e.g. foo.aar) is used to store any metadata > about the service. Yes. But I have inherited a web application that embeds the Axis2 engine and doesn't use an AAR to add a service. The servi

Re: WSDL problem

2007-08-31 Thread Amila Suriarachchi
Amila. On 8/31/07, mchmiel <[EMAIL PROTECTED]> wrote: > > I am using a WTP plugin for editing WSDL > > I tried to define my String array > like this > > > > >

Axis2 and Rampart: WSS in WSDL

2007-08-31 Thread Chris82KS
Hello! It is possible to use WS-policy and WS-SecurityPolicy in the WSDL of the webservice. But can Ramaprt read out the security-policy out of the WSDL or must it be in a separte file like policy.xml? I use Axis2 1.1 and Rampart 1.1. Would be nice if you could answer me this question. Greeting

WSDL problem

2007-08-31 Thread mchmiel
I am using a WTP plugin for editing WSDL I tried to define my String array like this I also needed to add http://schemas.xmlsoap.org/soap/encoding/"/>

axis-castor : unable to find fieldDescriptor

2007-08-31 Thread Thomas Beaujard
Hello I am trying the example from this link : http://www.ibm.com/developerworks/webservices/library/ws-castor/ And I get the following error : org.xml.sax.SAXException: Unable to marshall between XML and Castor Objects :unable to find FieldDescriptor for 'DOC_ID' in ClassDescriptor of GMDSREQC