Re: Passing string as ELEMENT

2003-06-05 Thread Scott Nichol
If you want to send an Element using SOAP encoding, you would need to create a serializer and deserializer. The "standard" way to send an element using Apache SOAP is to use literal XML encoding, which the getAllAddresses sample does. This will not interoperate with many (any?) other SOAP imp

Re: Passing string as ELEMENT

2003-06-05 Thread Parames
Thanks Jonathan --- Jonathan Roberts <[EMAIL PROTECTED]> wrote: > Hi. > > You can presumably only send an XML element if you > define it as an object, and pass this over. > > RegisterSettings just sets up which xml-app to use. > > Jonathan > > Parames <[EMAIL PROTECTED]> wrote: > HI , > Tha

Re: Passing string as ELEMENT

2003-06-05 Thread Parames
Thanks Jonathan --- Jonathan Roberts <[EMAIL PROTECTED]> wrote: > Hi. > > You can presumably only send an XML element if you > define it as an object, and pass this over. > > RegisterSettings just sets up which xml-app to use. > > Jonathan > > Parames <[EMAIL PROTECTED]> wrote: > HI , > Tha

Re: Passing string as ELEMENT

2003-06-05 Thread Scott Nichol
What about sending an Element is causing you a problem? You pass it like any other parameter, although you must use literal XML encoding for the service rather than SOAP encoding. On 4 Jun 2003 at 3:08, Parames wrote: > HI , > Thanks a lot .. > The same logic is working for me with java bean..

Re: Passing string as ELEMENT

2003-06-04 Thread Vishal Shah
Correct me if I'm wrong, but this requires defining de/serializer for this object type.   There is a difference between an XML file (Document) and Element (DOM element).   VSParames <[EMAIL PROTECTED]> wrote: Thanks Jonathan--- Jonathan Roberts <[EMAIL PROTECTED]>wrote:> Hi.> > You can presumably

Re: Passing string as ELEMENT

2003-06-04 Thread Jonathan Roberts
Hi.   You can presumably only send an XML element if you define it as an object, and pass this over.   RegisterSettings just sets up which xml-app to use.   JonathanParames <[EMAIL PROTECTED]> wrote: HI ,Thanks a lot ..The same logic is working for me with java beanim trying to pass XML element

Re: Passing string as ELEMENT

2003-06-04 Thread Parames
HI , Thanks a lot .. The same logic is working for me with java bean im trying to pass XML element to service instead of string...ie.XML file. Im getting string from client side but need to send as Element ... im dont want to use java bean.. any idea?? And what is call.registerSettings() method