Most Web Services describe their inputs and outputs with XSD elements, so I'm trying to understand how to create an SDO DataObject for such a Web Service... (I'm using the BigBank scenario to experiment with that).

Here's the XSD defining the output of my Web Service:
<xsd:schema
 targetNamespace="http://www.bigbank.com/AccountService";
 xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

 <xsd:element name="getAccountReportResponse">
  <xsd:complexType>
  <xsd:sequence>
   <xsd:element name="checking" type="tns:CheckingAccount"
     maxOccurs="unbounded"/>
   <xsd:element name="savings" type="tns:SavingsAccount"
     maxOccurs="unbounded"/>
   <xsd:element name="stocks" type="tns:StockAccount"
     maxOccurs="unbounded"/>
  </xsd:sequence>
  </xsd:complexType>
 </xsd:element>

</xsd:schema>

How can I create a DataObject representing the getAccountReportResponse element using the SDO C++ API? Can DataFactory take an element name? Is there a method on XSDHelper or another helper that will give me the name of the type of the getAccountReportResponse element?

Thanks,

--
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to