Sure. Here is the action script code for the class which I am sending to .Net web service:
public class ObjectDetailsVONew implements IValueObject { private var objectName: String; private var objectInternalSeqId: int; private var objectExternalSeqId: int; public function get ObjectInternalSeqId() : int { return objectInternalSeqId; } public function set ObjectInternalSeqId (paramObjectName: int) : void { objectInternalSeqId = paramObjectName; } public function get ObjectExternalSeqId() : int { return objectExternalSeqId; } public function set ObjectExternalSeqId (paramObjectName: int) : void { objectExternalSeqId = paramObjectName; } public function get ObjectName() : String { return objectName; } public function set ObjectName(paramObjectName: String) : void { objectName = paramObjectName; } } I want ObjectInternalSeqId to remain with in teh client and not go to the web service. Here is the complex type defn from the WSDL: - <wsdl:types> - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> - <s:element name="ReceiveObjDetailsBin"> - <s:complexType> - <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="aeBin" type="tns:AEObjectDetailsBin" /> </s:sequence> </s:complexType> </s:element> - <s:complexType name="AEObjectDetailsBin" abstract="true"> - <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="ObjectName" type="s:string" /> <s:element minOccurs="1" maxOccurs="1" name="ObjectExternalSeqId" nillable="true" type="s:int" /> </s:sequence> </s:complexType> - <s:element name="ReceiveObjDetailsBinResponse"> <s:complexType /> </s:element> </s:schema> </wsdl:types> Please let me know if you need anything more from my side. Much thanks for all your help. Vikram --- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote: > > > Can you show us the XML Schema definition of the relevant complexType > from your WSDL? Also, can you show us a snippet of ActionScript code > that shows the properties that you have for this complexType and which > ones you don't want to send? > > Pete > > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of vikram > Sent: Wednesday, August 29, 2007 11:33 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: How to use IExternalizable for Web services? > > Hi Peter, > > Thanks again for the reply. I had made a related post in #85277. Now, > after finding out that IExternali... doesnt work with web service, my > question comes back again - how will I hide few public members? > > you mentioned about changing the XML schema or something like that. > If you can throw more light on that, it would be very helpful for me. > > Thanks again > Vikram > > --- In flexcoders@yahoogroups.com, "Peter Farland" <pfarland@> > wrote: > > > > Nope, IExternaliable is only for ActionScript serialization via AMF. > > > > > > -----Original Message----- > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On > > Behalf Of vikram > > Sent: Wednesday, August 29, 2007 11:12 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] How to use IExternalizable for Web services? > > > > Hi, > > > > Can I use IExternalizable to change the behaviour of XML > serialization > > while communicating with a web service? I want to hide some of the > > public properties from getting serialized. > > > > I have a .Net based web service and flex client. I tried to use > > IExternalizable by implementing the methods of the interface. But it > > doesnt seem to be working. Despite not sending a public property, I > am > > getting it on the server side. > > > > 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 > > > > > > > -- > 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 >