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: 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 get the

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 so

Re: Using a serializer and deserializer

2004-11-23 Thread Yves Langisch
Check the list. For example: Tom, Noel, Aoife, Try this with 1.2beta: /** * Deserializes an InputStream (i.e. a XML file) to the appropriate Java Class * generated by Axis. * * @param is is the InputStream for deserializing (without SOAP elements) * @param qname is the qualified name of t

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 with tomcat

duplicating namespaces

2004-11-05 Thread Yves Langisch
All, I try to access a message style web service with following client code (1.2RC1): Call call = (Call) new Service().createCall(); call.setTargetEndpointAddress(ENDPOINT); InputStream input = new FileInputStream("h:/COMPLEXCompany.xml"); SOAPEnvelope reqEnv = new SOAPE

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

2004-08-25 Thread Yves Langisch
r.BeanSerializerFactory" type="java:com.fm.poc.service.domain.dataaccess.vo.LoanProductVO" xmlns:ns24="http://vo.dataaccess.domain.service.poc.fm.com"/> http://schemas.xmlsoap.org/soap/encoding/"; qname="ns25:SaveAppDetailVO" serializer="org.apache.axis.

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 W

Re: Client stub as singleton service impossible?

2004-08-22 Thread Yves Langisch
Vjeran, Take this as an idea how to set call parameters without touching the generated stubs: - Shantanu, With Axis handlers I do it as follows: Creating class CustomService: public class CustomService extends Service { private Integer timeout = null; private SimpleChain reqHandlers = n

Re: AW: Check if parameter is null ?

2004-07-26 Thread Yves Langisch
> > > > > > > type="apachesoap:mapItem"/> > > > > > > When I generate my classes from this wsdl, it should not be possible to send > a value that is null!? > > Thanks Tomi > > > -

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 for the client to send a ni

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

2004-07-22 Thread Yves Langisch
messageRes = msgContext.getResponseMessage(); Cheers Dhanush - Original Message - *From:* Yves Langisch <mailto:[EMAIL PROTECTED]> *To:* axis <mailto:[EMAIL PROTECTED]> *Sent:* Wednesday, July 21, 2004 1:10 PM

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

2004-07-21 Thread Yves Langisch
Are, Try this in your handler: Message message = msgContext.getCurrentMessage(); SOAPPart sPart = (org.apache.axis.SOAPPart) message.getSOAPPart(); try { doc = ((org.apache.axis.message.SOAPEnvelope) sPart

Re: Deseralize XML

2004-07-20 Thread Yves Langisch
n I run it, I got exception "No > deserializer for {http://www.opengis.net/xls}";. My code is attached > here. Do you have any suggestion about this issue? > > thanks a lot > Weihong > > > Yves Langisch <[EMAIL PROTECTED]> wrote: > Wei, >

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. However that didn

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
All, I have a document/literal web service which I invoke through the wsdl2java generated stub. So far everything is okay. Now, if I create a client-config.wsdd to define some handlers, it seems that the client-config.wsdd overrides the encoding settings made by the stub although there is no encod

Re: Deseralize XML

2004-07-15 Thread Yves Langisch
Tom, Noel, Aoife, Try this with 1.2beta: /** * Deserializes an InputStream (i.e. a XML file) to the appropriate Java Class * generated by Axis. * * @param is is the InputStream for deserializing (without SOAP elements) * @param qname is the qualified name of the namespace of the XM

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
combination with axis, but we do for instance to translate VO's to xml Greetz Leo -Oorspronkelijk bericht- Van: Yves Langisch [mailto:[EMAIL PROTECTED] Verzonden: vrijdag, januari 2004 14:20 Aan: [EMAIL PROTECTED] Onderwerp: Re: Deserialization from a file I'm still trying to deserial

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
Hi I have a document style web service and at the moment I'm writing some test cases for it. I now have created some testdata xml-files. These files contain exactly the body from the soap message. Now I'm looking for a way to 'deserialize' these files to get the object structure (the thing axi

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
Message- From: Yves Langisch [mailto:[EMAIL PROTECTED] Sent: 08 January 2004 08:50 To: [EMAIL PROTECTED] Subject: server-config.wsdd in a Weblogic environment I run an Axis webservice on a Weblogic 7.0 server. When I deploy the webservice with axis-admin everything is fine except that I can&#

exceptionName element in Soap-Fault

2004-01-08 Thread Yves Langisch
Below you see a Soap-Fault generated by Axis. Can someone explain what the element exceptionName is for? Is a.b.c.SalaryDeclarationFaultType in this response processed through the caller to know which exception has to be thrown (or is this done in the wsdd?) ? If yes, the package structure of b

server-config.wsdd in a Weblogic environment

2004-01-08 Thread Yves Langisch
I run an Axis webservice on a Weblogic 7.0 server. When I deploy the webservice with axis-admin everything is fine except that I can't find any server-config.wsdd generated in the wls domain. Thus I have to redeploy the webservice whenever I restart my Weblogic server. Any solutions that avoid