axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Triggs, Julian JMB" <Julian.Tri...@astrazeneca.com>
Subject RE: WSDL includes transient fields ! (& I guess the serialization probably does too as a consequence)
Date Mon, 03 Apr 2006 12:45:08 GMT


>  -----Original Message-----
> From: 	Triggs, Julian JMB  
> Sent:	03 April 2006 13:31
> To:	'axis-user@ws.apache.org'
> Subject:	WSDL includes transient fields ! (& I guess the
> serialization probably does too as a consequence)
> 
> Dear Sirs,
> I'm using Axis for WebServices on a J2EE project with a .NET client. 
> I'm generating the WSDL with java2WSDL.
> Recently I introduced a few transient fields in the java object model
> classes that are used on the interface.
> I am surprised that these have been included in the WSDL,  I didnt expect
> this or want this to happen, I expected Axis to honour the normal meaning
> of transient and exclude such fields. I guess this means also that at
> runtime the fields will be serialized to XML.
> 
> Can I change this behaviour by any options on Axis ? - I couldnt see any.
> If I were to consider changing the code would it be easy ? Without having
> to fully understand how Axis works could anyone point me to the source
> modules and line of code where this behaviour could be adjusted in the
> emitter and the serializer ? (I guess its only in one place in each)
> 
> Any help appreciated !
> 
> 
> 	Regards,
> 	Julian Triggs.
> 
> 	Application Architect
> 
> 

Mime
View raw message