how to read the response via OData XDTOFactory?

Understanding basics of 1C:Enterprise platform. To start working with 1C:Enterprise platform visit Getting started page

#1
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Oct 20, 2014
Company:

how to read the response by a factoryXDTO?

 
#2
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Maxim Makarov.

Please, see following articles:
REST interface
RESTful HTTP Service

 
#3
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Oct 20, 2014
Company:

hi

i have an answer platform

Code
<?xml version="1.0" encoding="UTF-8"?>
<edmx:Edmx xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"
      Version="1.0">
   <edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"
         m:DataServiceVersion="3.0"
         m:MaxDataServiceVersion="3.0">
      <Schema xmlns="http://schemas.microsoft.com/ado/2009/11/edm"
            Namespace="StandardODATA">
         <EntityType Name="Catalog_Номенклатура">
            <Key>
               <PropertyRef Name="Ref_Key"/>
            </Key>
            <Property Name="Ref_Key"
                  Type="Edm.Guid"
                  Nullable="false"/>

how i can read this with factoryxdto?

 
#4
People who like this:0Yes/0No
Timofey Bugaevsky
Guest

Joined:
Company:

You need to create an XDTO description to read this. Try this topic: I want to create .xsd file from .xml file and create xdto object from that .xsd file.

Hope, this helps.

 
#5
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Dec 9, 2015
Company:

Quote
Maxim Makarovundefinedhow i can read this with factoryxdto?
Hi.
Code
XMLReader= New XMLReader;
XMLReader.SetString("<?xml...."); // your text
Obj = XDTOFactory.ReadXML(XMLReader);

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.