Various xsd:choice issues (duplicates)

2005-02-14 Thread Yves Langisch
Dims, I think you can close the bugs 1558, 1753 and 1813 since they are duplicates from 1437. Please note that there is a patch available from Steve in 1753 that solves the problem. Can you also apply the patch? Thanks... Regards, Yves

Re: duplicating namespaces

2005-02-07 Thread Yves Langisch
All, Filed this issue as http://issues.apache.org/jira/browse/AXIS-1805 Yves On Fri, 2005-02-04 at 16:03 +0100, Yves Langisch wrote: > I still have this issue with 1.2RC2. Any ideas? > > Yves > > On Fri, 2004-11-05 at 15:15 +0100, Yves Langisch wrote: > > All, >

Re: duplicating namespaces

2005-02-04 Thread Yves Langisch
I still have this issue with 1.2RC2. Any ideas? Yves On Fri, 2004-11-05 at 15:15 +0100, Yves Langisch wrote: > All, > > I try to access a message style web service with following client code > (1.2RC1): > > Call call = (Call) new Se

Re: Problems with Axis with document/literal-wrapped

2005-02-02 Thread Yves Erb
or example (although I doubt it will change anything) Regards Yves - Original Message - From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 02, 2005 11:23 AM Subject: Problems with Axis with document/literal-wrapped Hi, I'm t

Re: returning complex types

2005-01-26 Thread Yves Erb
Hi Ed, Here is the code I'm currently using. Regards   Yves - Original Message - From: Edward Overly To: [EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 7:16 PM Subject: returning complex types Does anyone have an example of returning an instance

Re: Samples/fault: empty detail item

2005-01-26 Thread Yves Erb
Hi Sunil, I'd like to see your code please. Thanks Yves - Original Message - From: "Sunil Kothari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, January 26, 2005 3:51 PM Subject: Re: Samples/fault: empty detail item Hi

Re: Securing an Axis deployment

2005-01-26 Thread Yves Erb
Hello, I think I can help you for the first point. In the service element of your deploy.wsdd file, add yourWsdlFile. I read somewhere that you should put this wsdl in the AXIS_HOME/WEB-INF/classes directory (or some descendant) but maybe it's not a requirement. Yves - Original Me

Re: Samples/fault: empty detail item

2005-01-26 Thread Yves Erb
Hello, I took a look at this sample but I encountered the same problem as you. I also have another difficult : the monitor displays all SOAP messages except the fault messages. I see the exception only on the client side. Is there a special config to set ? Thanks Yves Hello. I'm

Re: Need extended Message Services Example

2005-01-21 Thread Yves Langisch
John, The point that I was missing trying message type service get working was following line in the deploy.wsdd/server-config.wsdd: ... ... Do you have this line? Yves On Thu, 2005-01-20 at 23:34 -0500, John Menke wrote: > I am trying to use the message type service - i can

Re: Problems with adding wss4j security token

2005-01-12 Thread Yves Langisch
Tim, Xalan is part of the JDK. I had similar problems when I tried to use my own (newer) version of xalan which I put in the endorsed directory of my tomcat server. Please check where you put xalan.jar and/or try to remove it completely from your classpath. Yves On Wed, 2005-01-12 at 09:34

Re: compressing requests

2004-12-01 Thread Yves Langisch
Nigel, check: http://www.osmoticweb.com/axis-soap-compression.htm http://www.osmoticweb.com/soap-compression-howto.htm Yves Nige White wrote: Is it possible to compress the SOAP requests from Axis? In Apache Soap, you just use Call.getSOAPContext().setGzip(true); Would I have to interfere with

Re: Using a serializer and deserializer

2004-11-23 Thread Yves Langisch
(reader), msgContext, org.apache.axis.Message.REQUEST); // parse the InputSource dser.parse(); SOAPEnvelope env = dser.getEnvelope(); RPCElement rpcElem = (RPCElement)env.getFirstBody(); Object result = rpcElem.getValueAsType(qname, clazz); return result; } Regards, Yves On Thu

Re: beginning with WS-Security

2004-11-05 Thread Yves Langisch
Illias, you also need the activation.jar and mail.jar which you can find at sun's site. Yves Ilias Bartolini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i'm a master student from university of Bologna, some week ago i tried the examples in the documentation of axis 1.1 w

duplicating namespaces

2004-11-05 Thread Yves Langisch
a/sd/20040701/SalaryDeclarationContainer"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> Producer Test 0.1 None ... Any ideas why this duplicating of namespaces is happening? Yves

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
Yet another question, are you working with the Axis-generated stub? I assume that the relevant is: See above in your file how handlers have to be declared. Transport (e.g. java:) is missing: Yves Mahen Perera wrote: this is the client-config file http://xml.apache.org/axis/wsdd

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
Mahen, Can you please post your client-config.wsdd? Yves Yves Langisch wrote: Mahen, put the client-config.wsdd into the WEB-INF/classes folder not into the root of WEB-INF. Yves Mahen Perera wrote: I am using WebSphere 5.1, Any id how to do in this? Anyway I replaced the client-config.wsdd file

Re: AW: AW: AW: AW: AW: Session Management using SOAP Headers in AXIS

2004-08-25 Thread Yves Langisch
Mahen, put the client-config.wsdd into the WEB-INF/classes folder not into the root of WEB-INF. Yves Mahen Perera wrote: I am using WebSphere 5.1, Any id how to do in this? Anyway I replaced the client-config.wsdd file in AXIS.jar with my newer version. Still didnt work Please help me Mahen On

Re: Client stub as singleton service impossible?

2004-08-22 Thread Yves Langisch
: CustomService cservice = new CustomService(); cservice.setTimeout(timeoutInteger); cservice.setReqHandlers(reqChain); XYZStub stub = new XYZStub(uri, cservice); stub.method1(); Hope this help. Yves On Friday 06 August 2004 10:14, Shantanu Sen wrote: What is the

Re: serialize only certain fields of bean

2004-08-02 Thread Yves
it's written without c -> transient Arnaud Vezain wrote: What about transcient property. In a classic serializable object, writing "transcient" before any field name allows to hide it to the serialization process. -Original Message- From: "Maurice Marrink" <[EMAIL PROTECTED]> To: <[EMAIL PR

Re: AW: Check if parameter is null ?

2004-07-26 Thread Yves Langisch
ypeDesc td = (TypeDesc) getTypeDescMethod.invoke(null, null); // Iterate through all elements and set minOccurs() to zero for each element FieldDesc[] fds = td.getFields(); for (int i = 0; i < fds.length; i++) { ElementDesc ed = (ElementDesc) fds[i]; ed.setMinOccurs(0); }

Re: Check if parameter is null ?

2004-07-26 Thread Yves Langisch
Thomas, Do you mean that an Axis client (wsdl2jave) sends xsi:nil="true" altough the wsdl denies it? Yves On Mon, 2004-07-26 at 14:32, Dorner Thomas wrote: > Hi all, > > is it possible to let AXIS check if a parametervalue is == null? > > It shouldn t be possible

Re: How do I get the underlying request/response xml?

2004-07-22 Thread Yves Langisch
Are, - Yes, code snippet is for Axis 1.2 - XMLUtils.outputDOM additionally canonicalize the output but normally this is not necessary and you can directly use Xerces Yves Tysnes Are Thobias wrote: And one more thing: setCurrentMessage and FORM_BYTES in axis.SOAPPart looks private to me

RE: How do I get the underlying request/response xml?

2004-07-21 Thread Yves Langisch
m os = new ByteArrayOutputStream(); XMLUtils.outputDOM(doc, os, true); sPart.setCurrentMessage(os.toByteArray(), SOAPPart.FORM_BYTES); The XMLUtils class you get from the XML Security library (see Apache project). Yves On Wed, 2004-07-21 at 09:18, Tysnes Are Thobias wrote: > Hello

Re: Deseralize XML

2004-07-20 Thread Yves Langisch
tionRequestType";), SDeclarationRequestType.class); It seems that in your case the QName element is missing the classname thus the deserializer can't find any appropriate class. Yves On Wed, 2004-07-21 at 01:43, wei zhu wrote: > Thanks Yves and Aoife. > I made code compiled, but whe

Re: client-config.wsdd overrides encoding style

2004-07-20 Thread Yves Langisch
Dims, done, with test project. Hope someone has time to look at it soon since there is no easy workaround. Yves On Mon, 2004-07-19 at 15:21, Davanum Srinivas wrote: > please log a bug (a test would be much appreciated) > > thanks, > dims > > On Mon, 19 Jul 2004 14:00:20 +0

Re: Deseralize XML

2004-07-20 Thread Yves Langisch
Wei, this was my own class but you are right that there is also an AxisUtil class in the axis.jar. The two classes are independent, so just give it another name. Yves On Tue, 2004-07-20 at 09:21, [EMAIL PROTECTED] wrote: > Hi Wei, > > There is an AxisUtil class in wss4j jar. How

Re: client-config.wsdd overrides encoding style

2004-07-19 Thread Yves Langisch
Follow-up: I have the same behaviour when I set the handlers on the call (setClientHandlers). It's already enough to invoke the method with an empty chain to get the described behaviour. Tested with 1.2beta1 and 1.2beta2. What's wrong here? Yves On Mon, 2004-07-19 at 11:31, Yves Lang

client-config.wsdd overrides encoding style

2004-07-19 Thread Yves Langisch
roviders/java";> Is this a normal behaviour? Yves

Re: Deseralize XML

2004-07-15 Thread Yves Langisch
; } Regards, Yves On Thu, 2004-07-15 at 11:58, [EMAIL PROTECTED] wrote: > Hi, > This is exactly what I need also. Has anybody found a solution for > this? > Thanks, > Aoife > > >Hi, > >I've been looking to do the same thing. If I can find out how to call > the axis

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread Yves Langisch
here is no released standard yet for Web Service Security but there is a lot of engagement from the Oasis group. Anyway, I made very good experience with WSS4J. Yves peter anthony cowan wrote: I have not heard of that, do you have a link? Is it production ready? thanks, -peter Yves Langisch wro

Re: Need help signing a SOAP Request with a Digital Signature

2004-03-23 Thread Yves Langisch
Have a look at the WSS4J project. They provide Axis handlers for signing and encrypting as it is described in WS Security. Yves Mei Wu wrote: Hey, the sample.security package has a simple way although it is not a wsdl generated client stubs, but I think you can deploy the ClientHandler to do it

How to suppress xsi:nil="true" elements?

2004-02-02 Thread Yves Langisch
How can I suppress xsi:nil="true" elements in my SOAP Body? I looked through the source and found the 'hardcoded' sendNull flag (which is true) in SerializationContext. Is the only way to suppress them to modify axis' source? Thanks Yves

Re: Deserialization from a file

2004-01-30 Thread Yves Langisch
Thanks for your hint, but I need the Axis class representation in order to use the Axis generated stubs for the webservice methods... Yves Leo de Blaauw wrote: Hi, Well its not a free library but we use jsx for serialisation and deserialisatin of java objects to xml and reverse. Not in

Re: Deserialization from a file

2004-01-30 Thread Yves Langisch
sch/tmp/ICHAGCompany.xml"))); But after parsing the deser.getValue object is not filled with the values from xml-file. Any ideas why this code doesn't work??? Thanks Yves Yves Langisch wrote: Hi I have a document style web service and at the moment I'm writing some test cases fo

response-SOAPEnvelope -> Java Class

2004-01-30 Thread Yves Langisch
Hi, I invoke a webservice through the org.apache.axis.client.Call class and as result I get a SOAPEnvelope. How can I convert this SOAPEnvelope instance to the appropriate Java Class? Thanks Yves

Deserialization from a file

2004-01-29 Thread Yves Langisch
tructure (the thing axis is doing in the skeleton when receiving a client request). Is there a way to force this manually with a file? Any ideas? Thanks Yves

Re: BEA Web Logic & Axis

2004-01-28 Thread Yves Langisch
We use WLS 7.0 with Axis. Works without any issues so far. Hainer Neil wrote: Hi, Are there Axis users using BEA Web Logic as your web server instead of Tomcat? If so, have you encountered any issues? TIA, Neil

Re: server-config.wsdd in a Weblogic environment

2004-01-08 Thread Yves Langisch
Thanks a lot Keith, that did the trick. Yves Keith Hatton wrote: Hi Yves, You will need to include a preconfigured server-config.wsdd file (which you will probably need to write by hand) in the WEB-INF folder of the war file that gets deployed to Weblogic. Hope this helps Keith -Original

exceptionName element in Soap-Fault

2004-01-08 Thread Yves Langisch
xception Acceptance error xyz http://www.xyz";> xyz xyz 0.1 xyz xyz 94DD02B0E0DE7205BFFC8FB4586F2958 281441 NOT_plausible http://xml.apache.org/axis/";>a.b.c.SalaryDeclarationFaultType Thanks! Yves

server-config.wsdd in a Weblogic environment

2004-01-08 Thread Yves Langisch
avoid redeploying after Wls restarts? Thank you! Yves

Remote client can't talk to server

2003-12-16 Thread Yves
Hi, I've got a small java app running that works in a client/server relationship on MY computer, but when I go to run the app from a completely different machine I get ye old "Exception in thread main java.lang.NoClassDefFoundError: org/apache/axis/AxisFault" does this mean, that since it's h

Re: Remote client can't access server

2003-12-15 Thread Yves
Hey that worked! When I just added the axis.jar to the classpath it complained about javax or something, so I just ended up adding all eight .jar files to the classpath, are they all necessary? Thanks again.Ben Souther <[EMAIL PROTECTED]> wrote: You just need to make sure that your client app has a

Re: Remote client can't access server

2003-12-15 Thread Yves
Hey that worked! When I just added the axis.jar to the classpath it complained about javax or something, so I just ended up adding all eight .jar files to the classpath, are they all necessary? Thanks again.Ben Souther <[EMAIL PROTECTED]> wrote: You just need to make sure that your client app has a

Re: Remote client can't access server

2003-12-15 Thread Yves
Awesome! It works! Just a question, I ended up adding all 8 .jar files to the classpath of the client machine, because after just adding the axis.jar it complained about javax something so I just added 'em all, was that necessary or are there only a couple I really need? Thanks again!Ben Souther <[

Re: Remote client can't access server

2003-12-15 Thread Yves
Hey that worked! When I just added the axis.jar to the classpath it complained about javax or something, so I just ended up adding all eight .jar files to the classpath, are they all necessary? Thanks again.Ben Souther <[EMAIL PROTECTED]> wrote: You just need to make sure that your client app has a

Remote client can't access server

2003-12-15 Thread Yves
Hi, I've got a small java app running that works in a client/server relationship on MY computer, but when I go to run the app from a completely different machine I get ye old "Exception in thread main java.lang.NoClassDefFoundError: org/apache/axis/AxisFault" does this mean, that since it's h

Re: Apache Axis Tutorial

2003-12-12 Thread Yves
Nevermind... I just needed to restart the service...Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail

Re: Apache Axis Tutorial. Problem solved: new problem

2003-12-12 Thread Yves
I got the TaxClient.java to compile, it was a case that I needed to first compile the other four dependent files, now that's okay. When I go to run the app (java TaxClient) I get: An Axis Fault occurred: java.net.ConnectException: Connection refused: connect What's up with that?   Cheers   YvesDo Y

Re: Apache Axis Tutorial

2003-12-11 Thread Yves
Original Message -----| *From:* Yves | *To:* [EMAIL PROTECTED] | *Sent:* Wednesday, December 10, 2003 7:02 PM| *Subject:* Re: Apache Axis Tutorial|| Hmmm... same thing. I did that step before: the 4 files created are:| TaxService.java TaxServiceService.java TaxServiceServiceLocator.java| and TaxServiceBinding

Re: Apache Axis Tutorial

2003-12-10 Thread Yves
I don't know what's going on, nothing seems to be helping... I've got all the classpath & path variables set (in XP). Come to think of it, I was able to compile another thing with javac, so I don't think there's a problem on that endXavier Renard <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED

Re: Apache Axis Tutorial

2003-12-10 Thread Yves
Hmmm... same thing. I did that step before: the 4 files created are: TaxService.java TaxServiceService.java TaxServiceServiceLocator.java and TaxServiceBindingStub.java   they're there... Just a note, my java command works from everywhere in DOS, but javac only works from within the java_home (C:\j

Apache Axis Tutorial

2003-12-09 Thread Yves
I'm following a tutorial for Apache Axis I found on the web, I'm at the point where I'm supposed to compile the java app but mine keeps returning errors. Here's the DOS prompt from where I tell it to compile and the errors that I get:   C:\j2sdk1.4.1_05\dev>javac TaxClient.java TaxClient.java:2: pa

Re: Java Interfaces

2003-12-02 Thread Yves
. I'd like to> know if anyone knows of a place where I can download sample/example Java> web apps (obviously using SOAP), that I can play with in JBuilder.>> Cheers,>> -Yves>>>>> -> Do You Yahoo!? -- Une adresse

Re: Java Interfaces

2003-12-01 Thread Yves
Hmmm, thanks, but that's not exactly it, basically, I'm just looking for a working example of an actual application. JBuilder 7 came with an IP Works SOAP example that converts national currencies- it doesn't work with JBuilder 9. So that's basically what I'm looking for: an application using SOAP

Java Interfaces

2003-12-01 Thread Yves
Hi, I'm using JBuilder 9 Ent. Which, of course, comes bundled with Axis, as it supports SOAP. I'm getting the hang of using WSDL, SOAP on web interfaces but my Java programming capabilities are limited. I'd like to know if anyone knows of a place where I can download sample/example Java web apps (o

Re: I think my Axis is missing directories...

2003-10-17 Thread Yves Gerber
it doesn't matter what I do, I can't seem to get past NoClassDefFoundError. Are you using Unix or DOS/WinXP?Echo just repeated the line like I entered it.   Cheers -Yves Stephen Gordon <[EMAIL PROTECTED]> wrote: AXISCLASSPATH is just done for the convenience of that guide.My appro

Re: I think my Axis is missing directories...

2003-10-17 Thread Yves Gerber
Is there a difference between AXISCLASSPATH and CLASSPATH? I try following the Axis guide, they keep refering to AXISCLASSPATH, which I have implemented. Also, I have all the jar files listed in the AXISCLASSPATH, in XP, in the enviro var settings so separate each of the jars with a semi-colon ; ri

I think my Axis is missing directories...

2003-10-17 Thread Yves Gerber
On the User's guide, where it tells you to "run the admin client" -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd  but I can't find the "services/AdminService" directory, nor the "servlet/AdminServlet" directory when you click "Administer Axis" from the axis home page. I have Axis 1

RE: Axis on Java Web Services Developer pack

2003-10-16 Thread Yves Gerber
ECTED]> wrote: I don't know what the specific problem is (obviously a classpath issue), but I can confirm that you can run Axis using the the version of Tomcat that ships with the JWSDP. I do that all the time. > -Original Message- > From: Yves Gerber [mailto:[EMAIL PROTECTED]] >

Axis on Java Web Services Developer pack

2003-10-16 Thread Yves Gerber
Hi, I have Sun's Java Web Services Developer pack 1.2, which includes Tomcat... I think 5. Anyway, I installed Axis 1.1 on it, and got the enviro variables set, but I go to run the example (as in the User's guide), or any other .java and I get basically the same error response:   Exception in thre

New to Axis on XP

2003-09-24 Thread Yves Gerber
I have Windows XP Professional installed. And I've downloaded and installed Apache Tomcat 4.1.27 and Apache Axis 1.1 (I'm not going to be using .Net or anything like that). Can someone tell me step-by-step exactly what I should do to set this machine up to run SOAP? I've tried following examples on

EJB Web Service example with Jonas open-source EJB server

2002-06-07 Thread Pierre-Yves Gibello
://alpha.experlog.com/xml/jonassoap There is a few documentation provided, and all the source code. Of course, the examples posted can be reused freely. Regards, Pierre-Yves Gibello and Xavier Spengler - ExperLog