Hi Pete,

Thanks for your reply. I am not sure how to change the XML schema to 
omit an element. It would be great if you take your time and give me 
a direction on that.

On the other note, I need something like this because in my Class on 
flex, I have some properties that have no role to play on the server 
side (like a formatted date field stored as a string). So I dont want 
them to send to the server.

I am sorry as I cant provide a URL for the web service as it is not 
hosted on a public domain yet. It is still under development.

Thanks
Vikram
--- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> 
wrote:
>
> Can you change the XML Schema to omit this element and thus it 
shouldn't
> be encoded? Otherwise you could encode the XML yourself... but I'm
> interested in the use case surrounding wanting to omit a value. Is 
the
> WebService including something unexpected? Is there something in the
> Schema that isn't being followed? If so, can you log a bug at
> http://bugs.adobe.com/flex/?
> 
> When logging WebService bugs, ideally you'd provide the WSDL (and 
any
> imported schemas), a snippet showing how you're calling the 
WebService
> and a capture of the SOAP response XML.
> 
> Thanks!
>     Pete
> 
> 
> 
> -----Original Message-----
> From: [email protected] 
[mailto:[EMAIL PROTECTED] On
> Behalf Of vikram
> Sent: Tuesday, August 28, 2007 1:47 PM
> To: [email protected]
> Subject: [flexcoders] Re: Ignoring a public member during 
serialization
> 
> Hi,
> 
> It works only for Remoting. I tried it with web service, but it 
didnt
> work :(
> 
> Please let me know if there is any other option.
> 
> Thanks
> Vikram
> 
> --- In [email protected], "Christophe Herreman" <lists@>
> wrote:
> >
> > Hi,
> > 
> > check out the [Transient] metadata tag.
> > 
> > regards,
> > Christophe
> > 
> > --- In [email protected], "vikram" <vikramrkin@> wrote:
> > >
> > > Hi,
> > > 
> > > I am using .Net web services to communicate with the server in 
my
> Flex 
> > > application.
> > > 
> > > In action script, is there a way to prevent serialization of 
some
> of 
> > > the public variables during a web service request? In .Net, 
there
> is am 
> > > attribute called [XmlIgnore] which will make a variable not to 
> > > serialize. I am looking for something similar in AS3.
> > > 
> > > Thanks
> > > Vikram
> > >
> >
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>


Reply via email to