• Vichhay Chheng
  • NEWBIE
  • 0 Points
  • Member since 2015
  • C# Programmer
  • KhmerDev

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 7
    Replies

Hi all,

When i tried to push data to salesforce(Marketing Cloud API) , i have got the error message like this " Unable to retrieve Data Extension. Unable to locate Data Extension for CustomObjectKey". What should i do with this error ? 

Actually, I already customer key and client id are correct , but it still got message like above. 

Thank you

Dear All,

I have followed this blog to get soap envelope from saleforce api, but it was returning null xml soap envelope.
http://blog.encoresystems.net/articles/how-to-capture-soap-envelopes-when-consuming-a-web-service.aspx 

Help me please!!!
 

Thank you

Dear Experts,

I would like to ask that I have coding pushed data into Data Extension on Salesforce by using C# and it was success (Added and update). The data extension is Customer for company A.

Then I created Customer B for company and the same structure. But my program cannot pushed data into Data Extension and got the error like this  "Unable to retrieve Data Extension using CustomerKey". Even I have double checked my customerkey and clientid are correctly already, but it still cannot push data.

Please help me in this issue.

Thank You.

Dear Expert, 

As I am using the Web Services API, I should be able to provide a SOAP envelope for an example call that's failing.  
Here's an example of what this SOAP envelope will look like:
 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Header>
      <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-452336374" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsse:Username>Enter Username</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Enter Password</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soap:Header>
   <soap:Body>
      <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
         <Options/>
         <Objects xsi:type="TriggeredSend">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
            <TriggeredSendDefinition>
               <PartnerKey xsi:nil="true"/>
               <ObjectID xsi:nil="true"/>
               <CustomerKey>ENTER CUSTOMER KEY HERE</CustomerKey>
            </TriggeredSendDefinition>
            <Subscribers>
               <PartnerKey xsi:nil="true"/>
               <ObjectID xsi:nil="true"/>
               <EmailAddress>ENTER EMAIL ADDRESS HERE</EmailAddress>
               <SubscriberKey>ENTER SUBSCRIBER KEY HERE</SubscriberKey>
               <Attributes>
                  <Name>ENTER ATTRIBUTE NAME HERE</Name>
                  <Value>ENTER ATTRIBUTE VALUE HERE</Value>
               </Attributes>
            </Subscribers>
         </Objects>
      </CreateRequest>
   </soap:Body>
 </soap:Envelope>
 

Please me , How to get it in Visual Studio or other ways?

 

Thank you 

Dear All,

I have followed this blog to get soap envelope from saleforce api, but it was returning null xml soap envelope.
http://blog.encoresystems.net/articles/how-to-capture-soap-envelopes-when-consuming-a-web-service.aspx 

Help me please!!!
 

Thank you

Dear Expert, 

As I am using the Web Services API, I should be able to provide a SOAP envelope for an example call that's failing.  
Here's an example of what this SOAP envelope will look like:
 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Header>
      <wsse:Security soap:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-452336374" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsse:Username>Enter Username</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Enter Password</wsse:Password>
         </wsse:UsernameToken>
      </wsse:Security>
   </soap:Header>
   <soap:Body>
      <CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI">
         <Options/>
         <Objects xsi:type="TriggeredSend">
            <PartnerKey xsi:nil="true"/>
            <ObjectID xsi:nil="true"/>
            <TriggeredSendDefinition>
               <PartnerKey xsi:nil="true"/>
               <ObjectID xsi:nil="true"/>
               <CustomerKey>ENTER CUSTOMER KEY HERE</CustomerKey>
            </TriggeredSendDefinition>
            <Subscribers>
               <PartnerKey xsi:nil="true"/>
               <ObjectID xsi:nil="true"/>
               <EmailAddress>ENTER EMAIL ADDRESS HERE</EmailAddress>
               <SubscriberKey>ENTER SUBSCRIBER KEY HERE</SubscriberKey>
               <Attributes>
                  <Name>ENTER ATTRIBUTE NAME HERE</Name>
                  <Value>ENTER ATTRIBUTE VALUE HERE</Value>
               </Attributes>
            </Subscribers>
         </Objects>
      </CreateRequest>
   </soap:Body>
 </soap:Envelope>
 

Please me , How to get it in Visual Studio or other ways?

 

Thank you