Re: Axis Serialization Behavior

2011-03-01 Thread Dennis Sosnoski
On 03/02/2011 07:54 PM, Buddhike de Silva wrote: > > Thanks Dennis. > > We thought about providing a xs:any element for extensibility. > However, this poses a few other problems as you mentioned below. I > wonder whether it's possible to do xs:any with maxOccurs="unbounded" > as a way of providing

Re: Axis Serialization Behavior

2011-03-01 Thread Buddhike de Silva
erver. If that works record what is >> exchanged an make the same between a WCF Client and a WCF Server. Then take >> a look at the difference using a SOAP Monitor or a TCPMONITOR. >> >> >> >> It’s a hard way but it works. >> >> >> >>

Re: Axis Serialization Behavior

2011-03-01 Thread Dennis Sosnoski
eceive one from the server. If that works >> record what is exchanged an make the same between a WCF Client >> and a WCF Server. Then take a look at the difference using a SOAP >> Monitor or a TCPMONITOR. >> >> >> >> It’s a hard

Re: Axis Serialization Behavior

2011-03-01 Thread Dennis Sosnoski
Client and > a WCF Server. Then take a look at the difference using a SOAP > Monitor or a TCPMONITOR. > > > > It’s a hard way but it works. > > > > Cheers > > > > *Von:* Buddhike de Silva [mailto:buddhike.desi...@gee

Re: Axis Serialization Behavior

2011-03-01 Thread Buddhike de Silva
TCPMONITOR. > > > > It’s a hard way but it works. > > > > Cheers > > > > *Von:* Buddhike de Silva [mailto:buddhike.desi...@geeksdiary.com] > *Gesendet:* Dienstag, 1. März 2011 08:33 > *An:* Dennis Sosnoski > *Cc:* java-user@axis.apache.org > *Betreff:*

AW: Axis Serialization Behavior

2011-03-01 Thread Stadelmann Josef
rks. Cheers Von: Buddhike de Silva [mailto:buddhike.desi...@geeksdiary.com] Gesendet: Dienstag, 1. März 2011 08:33 An: Dennis Sosnoski Cc: java-user@axis.apache.org Betreff: Re: Axis Serialization Behavior Thanks a lot Dennis. Cheers, -Buddhike On Tue, Mar 1, 2011 at 5:30 PM, Dennis Sosno

Re: Axis Serialization Behavior

2011-02-28 Thread Buddhike de Silva
Thanks a lot Dennis. Cheers, -Buddhike On Tue, Mar 1, 2011 at 5:30 PM, Dennis Sosnoski wrote: > Ah, I hadn't realized you were using Axis(1). With Axis2 you can select > the data binding using a parameter to Wsdl2Java. You should be able to see > examples included in the Axis2 download, or yo

Re: Axis Serialization Behavior

2011-02-28 Thread Dennis Sosnoski
Ah, I hadn't realized you were using Axis(1). With Axis2 you can select the data binding using a parameter to Wsdl2Java. You should be able to see examples included in the Axis2 download, or you can try my code from this article: http://www.ibm.com/developerworks/java/library/j-jws8.html I haven't

Re: Axis Serialization Behavior

2011-02-28 Thread Buddhike de Silva
Thanks Dennis. Do you know of a link with some sample code on how to do this? Sorry, I'm not really familier with Axis2. Thanks again. Cheers, -Buddhike On Tue, Mar 1, 2011 at 4:46 PM, Dennis Sosnoski wrote: > Hi Buddhike, > > The handling of unexpected XML elements is determined by the data

Re: Axis Serialization Behavior

2011-02-28 Thread Dennis Sosnoski
Hi Buddhike, The handling of unexpected XML elements is determined by the data binding technique used. JAXB is the sloppiest data binding supported by Axis2 (on a par with WCF), and if you change to that you should be ok. - Dennis Dennis M. Sosnoski Java SOA and Web Services Consulting

Re: Axis Serialization Behavior

2011-02-28 Thread Buddhike de Silva
Anyone? (please... :-)) On Sun, Feb 27, 2011 at 4:28 PM, Buddhike de Silva < buddhike.desi...@geeksdiary.com> wrote: > Hi All, > > We are doing some interop tests between Axis and WCF. In our WCF service we > have a type like this. > > [DataContract] > > public class CompositeType > > { > > [Da

Axis Serialization Behavior

2011-02-26 Thread Buddhike de Silva
Hi All, We are doing some interop tests between Axis and WCF. In our WCF service we have a type like this. [DataContract] public class CompositeType { [DataMemeber] public bool BoolValue {get; set;} } That results in a schema similar to the following. We can generate Ax