I am struggling to find a reason why this API call is failing. Obviously the username and password are incorrect - but that should at least give an error message of access denied. Can anyone see why this is a invalid SOAP message?
I am just getting this 500 Internal Server Error
.
<soap:Reason>
<soap:Textxml:lang="en">
WSE012: The input was not a valid SOAP message
because the following information is missing: action.
</soap:Text>
</soap:Reason>
My SOAP Call
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header>
<Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<UsernameToken>
<Username>MYSUERNAME</Username>
<Password>PASSWORD</Password>
</UsernameToken>
</Security>
</Header>
<Body>
<CreateRequest xmlns="http://exacttarget.com/wsdl/partnerAPI ">
<Objects xsi:type="TriggeredSend">
<PartnerKey xsi:nil="true"/>
<ObjectID xsi:nil="true"/>
<TriggeredSendDefinition>
<PartnerKey xsi:nil="true"/>
<ObjectID xsi:nil="true"/>
<CustomerKey>Definition_Key</CustomerKey>
</TriggeredSendDefinition>
<Subscribers>
<PartnerKey xsi:nil="true"/>
<ObjectID xsi:nil="true"/>
<EmailAddress>[email protected]</EmailAddress>
<SubscriberKey>[email protected]</SubscriberKey>
<Attributes>
<Name>HTML__BODY</Name>
<Value>????????????????????</Value>
</Attributes>
</Subscribers>
</Objects>
</CreateRequest>
</Body>
</Envelope>