Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Internet/XML/Data Binding    [ Add a report in this area ]  
Report #:  83368   Status: Reported
Data Binding Wizard xs:any in xsd
Project:  Delphi Build #:  14.0.3513.24210
Version:    14.0 Submitted By:   Zoltán Horváth
Report Type:  Basic functionality failure Date Reported:  3/26/2010 6:27:47 AM
Severity:    Critical / Show Stopper Last Updated: 3/27/2010 6:41:28 PM
Platform:    All versions Internal Tracking #:  
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Hi,

When I import an xsd with DataBinding Wizard, the xs:any members are not imported. Why?

example:
<xs:complexType name="FormType">


<xs:sequence>



<xs:any namespace="##any" processContents="skip" minOccurs="0" maxOccurs="unbounded"/>


</xs:sequence>


<xs:attribute name="FormID" type="xs:string" use="optional"/>


<xs:attribute name="JogCim" type="xs:string" use="optional"/>


....
{ IXMLFormType }

  IXMLFormType = interface(IXMLNode)
    ['{2A227EAB-0DBF-4EF1-9E0B-9D5EF7526F0B}']
    { Property Accessors }
    function Get_FormID: UnicodeString;
    function Get_JogCim: UnicodeString;
    procedure Set_FormID(Value: UnicodeString);
    procedure Set_JogCim(Value: UnicodeString);
    { Methods & Properties }
    property FormID: UnicodeString read Get_FormID write Set_FormID;
    property JogCim: UnicodeString read Get_JogCim write Set_JogCim;
  end;

{ TXMLFormType }

  TXMLFormType = class(TXMLNode, IXMLFormType)
  protected
    { IXMLFormType }
    function Get_FormID: UnicodeString;
    function Get_JogCim: UnicodeString;
    procedure Set_FormID(Value: UnicodeString);
    procedure Set_JogCim(Value: UnicodeString);
  end;
Steps to Reproduce:
None
Workarounds
None
Attachment
xml.zip
Comments

Tomohiro Takahashi at 3/26/2010 7:57:39 AM -
Could you please attach simple sample .xsd file to reproduce your issue?

Zoltán Horváth at 3/27/2010 8:59:01 AM -
I upload every xsd and wsdl file. IOP.xsd contain the "FormType" complex type.
I need reproduct then next soap question:
<Kerdes xmlns="http://www.iop.hu/2004">



<KerdesFejlec>




<Felhasznalo>kvvm</Felhasznalo>




<UzenetIdopont>2009-11-20T12:59:09</UzenetIdopont>



</KerdesFejlec>



<Session>
</Session>



<Parancs>




<Rendszer>HKP</Rendszer>




<Szolgaltatas Module="HivataliModule">PostaFiokLekerdezes</Szolgaltatas>




<Cimke/>



</Parancs>



<Form xmlns:hkp="http://iop.gov.hu/2006/01/hkp">




<hkp:PostafiokLekerdezes>





<hkp:PostafiokAzonosito>5170</hkp:PostafiokAzonosito>




</hkp:PostafiokLekerdezes>



</Form>


</Kerdes>

Server Response from: ETNACODE01