E
Eric
Hi,
I have a WebService client. All the code is generated by VS.NET 2003.
The problem is that some attributes are not generated.
All the attributes in the base class are generated.
But the attribute in the inherited class RFCSending are not.
Is it not possible to use this class structure for a SOAP header?
Thanks
Eric
Definition:
----------------------------------------------------------------------------
------------------
public RFCSending RFCSendingValue;
[System.Web.Services.Protocols.SoapHeaderAttribute("RFCSendingValue",
Direction=System.Web.Services.Protocols.SoapHeaderDirection.In,
Required=true)]
----------------------------------------------------------------------------
------------------
RFCSending is defined like that:
----------------------------------------------------------------------------
------------------
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.xxx")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.xxx",
IsNullable=false)]
public class RFCSending : sendingType {
[System.Xml.Serialization.XmlAttributeAttribute("groupe-id")]
public int groupeid;
}
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.xxx")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(EFCSending))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(RFCSending))]
public class sendingType : System.Web.Services.Protocols.SoapHeader {
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute("sending-date")]
public System.DateTime sendingdate;
}
I have a WebService client. All the code is generated by VS.NET 2003.
The problem is that some attributes are not generated.
All the attributes in the base class are generated.
But the attribute in the inherited class RFCSending are not.
Is it not possible to use this class structure for a SOAP header?
Thanks
Eric
Definition:
----------------------------------------------------------------------------
------------------
public RFCSending RFCSendingValue;
[System.Web.Services.Protocols.SoapHeaderAttribute("RFCSendingValue",
Direction=System.Web.Services.Protocols.SoapHeaderDirection.In,
Required=true)]
----------------------------------------------------------------------------
------------------
RFCSending is defined like that:
----------------------------------------------------------------------------
------------------
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.xxx")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://www.xxx",
IsNullable=false)]
public class RFCSending : sendingType {
[System.Xml.Serialization.XmlAttributeAttribute("groupe-id")]
public int groupeid;
}
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.xxx")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(EFCSending))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(RFCSending))]
public class sendingType : System.Web.Services.Protocols.SoapHeader {
/// <remarks/>
[System.Xml.Serialization.XmlAttributeAttribute("sending-date")]
public System.DateTime sendingdate;
}