Skip to content

Instantly share code, notes, and snippets.

@txominpelu txominpelu/log
Last active Aug 29, 2015

Embed
What would you like to do?
Log
#<Gem::Version "2.2.0">
D, [2015-04-14T17:08:28.311546 #11332] DEBUG -- : HTTPI GET request to webservice.exacttarget.com (net_http)
I, [2015-04-14T17:08:29.677913 #11332] INFO -- : SOAP request: https://webservice.exacttarget.com/Service.asmx
I, [2015-04-14T17:08:29.677983 #11332] INFO -- : SOAPAction: "Create", Content-Type: text/xml;charset=UTF-8, Content-Length: 895
D, [2015-04-14T17:08:29.678013 #11332] DEBUG -- : <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://exacttarget.com/wsdl/partnerAPI" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:Username></wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"></wsse:Password></wsse:UsernameToken></wsse:Security></env:Header><env:Body><tns:CreateRequest><tns:Objects xsi:type="tns:Email"><tns:ListName>Savon Test</tns:ListName></tns:Objects></tns:CreateRequest></env:Body></env:Envelope>
D, [2015-04-14T17:08:29.678146 #11332] DEBUG -- : HTTPI POST request to webservice.exacttarget.com (net_http)
I, [2015-04-14T17:08:32.278296 #11332] INFO -- : SOAP response (status 500)
D, [2015-04-14T17:08:32.278407 #11332] DEBUG -- : <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action><wsa:MessageID>urn:uuid:5abb1a19-3b97-4cfc-ae5e-a250d11cbc97</wsa:MessageID><wsa:RelatesTo>urn:uuid:44af49ce-ddc0-4ddf-89a3-22897c278011</wsa:RelatesTo><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-80169e26-215b-44e5-976c-a93d44c55f9c"><wsu:Created>2015-04-14T15:08:32Z</wsu:Created><wsu:Expires>2015-04-14T15:13:32Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><soap:Fault><faultcode xmlns:q0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">q0:InvalidSecurityToken</faultcode><faultstring>An invalid security token was provided</faultstring><faultactor>https://webservice.exacttarget.com/Service.asmx</faultactor></soap:Fault></soap:Body></soap:Envelope>
#<Savon::Response:0x0000000225bac8 @http=#<HTTPI::Response:0x0000000225cb80 @code=500, @headers={"cache-control"=>"private", "content-length"=>"1348", "content-type"=>"text/xml; charset=utf-8", "server"=>"Microsoft-IIS/7.5", "x-aspnet-version"=>"4.0.30319", "x-powered-by"=>"ASP.NET", "date"=>"Tue, 14 Apr 2015 15:08:32 GMT", "connection"=>"close"}, @raw_body="<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\"><soap:Header><wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action><wsa:MessageID>urn:uuid:5abb1a19-3b97-4cfc-ae5e-a250d11cbc97</wsa:MessageID><wsa:RelatesTo>urn:uuid:44af49ce-ddc0-4ddf-89a3-22897c278011</wsa:RelatesTo><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsse:Security><wsu:Timestamp wsu:Id=\"Timestamp-80169e26-215b-44e5-976c-a93d44c55f9c\"><wsu:Created>2015-04-14T15:08:32Z</wsu:Created><wsu:Expires>2015-04-14T15:13:32Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><soap:Fault><faultcode xmlns:q0=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\">q0:InvalidSecurityToken</faultcode><faultstring>An invalid security token was provided</faultstring><faultactor>https://webservice.exacttarget.com/Service.asmx</faultactor></soap:Fault></soap:Body></soap:Envelope>", @body="<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\"><soap:Header><wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action><wsa:MessageID>urn:uuid:5abb1a19-3b97-4cfc-ae5e-a250d11cbc97</wsa:MessageID><wsa:RelatesTo>urn:uuid:44af49ce-ddc0-4ddf-89a3-22897c278011</wsa:RelatesTo><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsse:Security><wsu:Timestamp wsu:Id=\"Timestamp-80169e26-215b-44e5-976c-a93d44c55f9c\"><wsu:Created>2015-04-14T15:08:32Z</wsu:Created><wsu:Expires>2015-04-14T15:13:32Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><soap:Fault><faultcode xmlns:q0=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\">q0:InvalidSecurityToken</faultcode><faultstring>An invalid security token was provided</faultstring><faultactor>https://webservice.exacttarget.com/Service.asmx</faultactor></soap:Fault></soap:Body></soap:Envelope>">, @globals=#<Savon::GlobalOptions:0x000000015911f8 @option_type=:global, @options={:encoding=>"UTF-8", :soap_version=>1, :namespaces=>{}, :logger=>#<Logger:0x00000001591180 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x00000001591158 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x000000015910b8 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x00000001591090 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x00000001591040>>>>, :log=>true, :filters=>[], :pretty_print_xml=>false, :raise_errors=>false, :strip_namespaces=>true, :convert_response_tags_to=>#<Proc:0x00000001590fc8@/var/lib/gems/1.9.1/gems/savon-2.2.0/lib/savon/options.rb:56 (lambda)>, :wsdl=>"https://webservice.exacttarget.com/etframework.wsdl", :endpoint=>"https://webservice.exacttarget.com/Service.asmx", :wsse_auth=>["", ""], :open_timeout=>180, :read_timeout=>180}>, @locals=#<Savon::LocalOptions:0x0000000222f680 @option_type=:local, @options={:advanced_typecasting=>true, :response_parser=>:nokogiri, :message=>{"Objects"=>[{"ListName"=>"Savon Test"}], :attributes!=>{"Objects"=>{"xsi:type"=>"tns:Email"}}}}>>
D, [2015-04-14T18:05:17.365477 #17179] DEBUG -- : HTTPI GET request to webservice.exacttarget.com (net_http)
I, [2015-04-14T18:05:18.795369 #17179] INFO -- : SOAP request: https://webservice.s7.exacttarget.com/Service.asmx
I, [2015-04-14T18:05:18.795444 #17179] INFO -- : SOAPAction: "Create", Content-Type: text/xml;charset=UTF-8, Content-Length: 2011
D, [2015-04-14T18:05:18.795476 #17179] DEBUG -- : <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://exacttarget.com/wsdl/partnerAPI" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header><oAuth xmlns="http://exacttarget.com"><oAuthToken>0mEAANkMvsAAWwNoSC63Pu1MfairZLTUyIv97MYYu43djsXoLGZ01ytAZ5hQkzhFwW2RDmgYyHO5CGRegCSpbufUUo3GePzwARvrx-42r2FHEiE07CspbTYvXnyebGfyzYJbnjMZ60iFFZvqj46RbYAjktoC2jQAnD6t3JpI0ieSsBeJlezi7xPH9mEL2ubyBezbDB-cwDAqaq6kf3jSQ9eJdsf4S_AcXBvjJpXOWusLTw6yu_9OtqodOU8xJNR_k</oAuthToken></oAuth><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:Username>*</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">*</wsse:Password></wsse:UsernameToken></wsse:Security></env:Header><env:Body><tns:CreateRequest><tns:Objects xsi:type="tns:ImportDefinition"><tns:Name>DisplayPymk2</tns:Name><tns:CustomerKey>2307f2d2-3d84-453c-b002-af5f0b127f96</tns:CustomerKey><tns:Description>Created with Ruby SDK</tns:Description><tns:AllowErrors>true</tns:AllowErrors><tns:DestinationObject xsi:type="tns:DataExtension"><tns:ObjectID>C4B5E4EE-587E-4742-B0EC-B24DDA351A2B</tns:ObjectID></tns:DestinationObject><tns:FieldMappingType>InferFromColumnHeadings</tns:FieldMappingType><tns:FileSpec>DisplayPymk.csv</tns:FileSpec><tns:FileType>CSV</tns:FileType><tns:RetrieveFileTransferLocation><tns:CustomerKey>7a472361-73b8-452b-b7c7-6adc0ed4890b</tns:CustomerKey></tns:RetrieveFileTransferLocation><tns:Notification><tns:ResponseType>email</tns:ResponseType><tns:ResponseAddress>imediavilla@viadeoteam.com</tns:ResponseAddress></tns:Notification><tns:UpdateType>Overwrite</tns:UpdateType></tns:Objects></tns:CreateRequest></env:Body></env:Envelope>
D, [2015-04-14T18:05:18.795614 #17179] DEBUG -- : HTTPI POST request to webservice.s7.exacttarget.com (net_http)
I, [2015-04-14T18:05:19.389850 #17179] INFO -- : SOAP response (status 200)
D, [2015-04-14T18:05:19.389993 #17179] DEBUG -- : <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action>CreateResponse</wsa:Action><wsa:MessageID>urn:uuid:cb672da6-5548-4b45-9926-71ed2cb496a8</wsa:MessageID><wsa:RelatesTo>urn:uuid:f7ac2b34-25c1-425a-bfb3-7c393c88b435</wsa:RelatesTo><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-0e767e12-3069-4388-8a77-980934a2027f"><wsu:Created>2015-04-14T16:05:19Z</wsu:Created><wsu:Expires>2015-04-14T16:10:19Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><CreateResponse xmlns="http://exacttarget.com/wsdl/partnerAPI"><Results><StatusCode>Error</StatusCode><StatusMessage>Select the appropriate destination for a Destination Type of Data Extension </StatusMessage><OrdinalID>0</OrdinalID><ErrorCode>43060</ErrorCode><NewID>0</NewID><Object xsi:type="ImportDefinition"><PartnerKey xsi:nil="true" /><ObjectID xsi:nil="true" /><CustomerKey>2307f2d2-3d84-453c-b002-af5f0b127f96</CustomerKey><Name>DisplayPymk2</Name><Description>Created with Ruby SDK</Description><AllowErrors>true</AllowErrors><DestinationObject xsi:type="DataExtension"><PartnerKey xsi:nil="true" /><ObjectID>C4B5E4EE-587E-4742-B0EC-B24DDA351A2B</ObjectID></DestinationObject><FieldMappingType>InferFromColumnHeadings</FieldMappingType><FileSpec>DisplayPymk.csv</FileSpec><FileType>CSV</FileType><Notification><ResponseType>email</ResponseType><ResponseAddress>imediavilla@viadeoteam.com</ResponseAddress></Notification><RetrieveFileTransferLocation><PartnerKey xsi:nil="true" /><ObjectID xsi:nil="true" /><CustomerKey>7a472361-73b8-452b-b7c7-6adc0ed4890b</CustomerKey></RetrieveFileTransferLocation><UpdateType>Overwrite</UpdateType></Object></Results><RequestID>d0c0dac1-ede9-4caa-af04-a92c98415cf1</RequestID><OverallStatus>Error</OverallStatus></CreateResponse></soap:Body></soap:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.