function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vichhay ChhengVichhay Chheng 

SOAP Envelope

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 

Daniel BallingerDaniel Ballinger
Marketing Cloud (a.k.a Exact Targer) provides a library for .NET based integrations. This includes a sample call for creating a Triggered Send Definition (https://code.exacttarget.com/apis-sdks/soap-api/creating-a-triggered-send-definition.html)

See also: Getting Started with the C# SDK (https://code.exacttarget.com/apis-sdks/fuel-sdks/csharp/getting-started-with-the-csharp-sdk.html)
Vichhay ChhengVichhay Chheng

hi,

it still cant get SOAP envelop xml like sample xml above.

Thank you

Daniel BallingerDaniel Ballinger
As Exact Target aren't using the standard .NET add as reference functionality to interact with the SOAP web service you might find it easier to use an external tool like Fiddler to capture the outbound SOAP request.