Ignoring whitespace

2004-11-22 Thread tom ONeill
Hi all, I was wondering if someone could tell me how to get Axis to ignore whitespace when deserializing an XML message into Java types. I am receiving an XML string which includes whitespace as part of the contents of an element whose type is an integer. When this element is deserialized Axis

Re: Custom Serializer is invoked twice for a single web service call

2004-11-11 Thread tom ONeill
sorry the example is missing because I cannot seem to send a mail with an attachment to the mailing list. The zip file is only 45kb but each time I send it I get a delivery failure. I did not read anywhere that mails with attachments cannot be sent to the mailing list! From: "tom O

Re: Custom Serializer is invoked twice for a single web service call

2004-11-11 Thread tom ONeill
hat is weird!! Can you please create a bug report with a small test? are u using latest nightly? thanks, dims On Wed, 10 Nov 2004 12:14:20 +0000, tom ONeill <[EMAIL PROTECTED]> wrote: > Hi all, > > I have written a custom serializer and deserializer for one of my complex > types

Custom Serializer is invoked twice for a single web service call

2004-11-10 Thread tom ONeill
Hi all, I have written a custom serializer and deserializer for one of my complex types and I have configured my client to use these custom serializers using a client-config.wsdd file. I have added some debug output to the serialize method of my custom Serializer and I have noticed that this me

Reading target endpoint from WSDL file

2004-10-19 Thread tom ONeill
Hi all, I want to read the target endpoint address from a WSDL file and I want to know the best way to do this. I can create a Service object by passing it the location of the WSDL file and the name of my web service. I can then use the service object to create a Call object by using a port nam

RE: Deserializing XML w/o using client stubs

2004-10-01 Thread tom ONeill
Hi Michael, Once again thanks for your help. Do not get confused by the next words: The fact that one has to specify the class when deserialising was no problem for us, because we have some kind of a top level 'ResponseType' XML element. All responses are of this type, even if they look pretty

RE: Deserializing XML w/o using client stubs

2004-09-29 Thread tom ONeill
Hi Michael, Yes we are going to work with generated stubs. All Im confused about now is what Axis1.2 offers that supercedes the need to manually register the datat type class (i.e. will mean that I dont have to use reflection to instantiate the stub for my dataclass and then retrive the TypeDesc

RE: Deserializing XML w/o using client stubs

2004-09-28 Thread tom ONeill
( gender ); System.err.println( intermediateString ); deserialised = xmlToAxis( intermediateString, GenderTypeName ); System.err.println( deserialised.toString() ); Gender g = AgTransformer.transform( (GenderType)deserialised ); System.err.println( "Gender is: &qu

Re: XML within string parameter to RPC Service

2004-01-07 Thread tom ONeill
Hi Martin, Thanks for your response. I do not have a choice on the type of web service to use i.e. RPC or messaging. The web service is provided by an external partner and they have decided upon RPC so that is what I have to go with. So because Axis changes all markup characters into their entit

XML within string parameter to RPC Service

2004-01-06 Thread tom ONeill
Hi all, I am going to be using Axis to invoke an RPC style web service which takes a single string parameter. This string parameter is going to contain an XML message. What I am wondering is if I need to wrap this String in a CDATA section before I invoke the web service? From reading the XML s

Deserialize XML

2003-11-06 Thread tom ONeill
Hi all, Some existing mails seem to touch on this subject but Im still not clear on the issue so here goes. I have used wsdl2java to create my stubs and also a number of complex types defined within the wsdl file. Before I invoke my web service I am receiving an XML stream, the structure of wh