• Gabriel Turkadze
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
Hello guys,
Glas to see you here, I'm making saleforce integration from 3rd party app, I made callout and got 
response xml schema (xsd), was trying to generate classes from wsdl but seems like response does
 not has wsdl tags.

This response has metadata information about model classes (entities). I want somehow parse xml (xsd) and register custom objects. Please help me , how can I do it?
 
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType id="id425f2cd2-975b-4f10-a56c-9dd6dfd16b39" name="TRule_Action_Activ_Entity">
<xs:annotation>
<xs:documentation>Marks an Entity as available in the structure</xs:documentation>
<xs:appinfo>Base:022a1daf-7ee8-4c2e-959c-c330416e05c5</xs:appinfo>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="TRule_Activate_Action">
<xs:sequence>
<xs:element id="id102ca5af-93a8-4a87-923a-a9207b6f5def" name="Entity" type="xs:string">
<xs:annotation>
<xs:documentation>The Entity in the structure to be activated</xs:documentation>
<xs:appinfo>Domain:Tier 2</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>

thanks


 
Hello guys,
Glas to see you here, I'm making saleforce integration from 3rd party app, I made callout and got 
response xml schema (xsd), was trying to generate classes from wsdl but seems like response does
 not has wsdl tags.

This response has metadata information about model classes (entities). I want somehow parse xml (xsd) and register custom objects. Please help me , how can I do it?
 
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:complexType id="id425f2cd2-975b-4f10-a56c-9dd6dfd16b39" name="TRule_Action_Activ_Entity">
<xs:annotation>
<xs:documentation>Marks an Entity as available in the structure</xs:documentation>
<xs:appinfo>Base:022a1daf-7ee8-4c2e-959c-c330416e05c5</xs:appinfo>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="TRule_Activate_Action">
<xs:sequence>
<xs:element id="id102ca5af-93a8-4a87-923a-a9207b6f5def" name="Entity" type="xs:string">
<xs:annotation>
<xs:documentation>The Entity in the structure to be activated</xs:documentation>
<xs:appinfo>Domain:Tier 2</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>

thanks


 

Hi I have Objects defined in XSD and i want to create an Object in salesforce. can any one suggest me an approach to do this.

Manually creating relation is tedious and error prone. i highly appreciate any inputs.

Thanks in advance.

 

further How should i represent 

<xs:complexType name="USPrice">
       <xs:sequence>
         <xs:element name="price" type="xs:decimal" nillable="true" minOccurs="1"/>
       </sequence>
     </xs:complexType>

in salesforce Object. further i got data in xml.

the Research i did is to develop using JPA App with java sdk and create Entity Class along with those relations. Wanted to know is that the right solution. or any other solution we have got to parse the xml records or create Objects.

 

Please Suggest.

Thanks in advance.