Grafumbly has asked for the wisdom of the Perl Monks concerning the following question:
<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:namesp1="http://namespaces.soaplite.com/perl" soa +p:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soa +p="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://s +chemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/ +XMLSchema-instance" xmlns:ysm="http://marketing.ews.yahooapis.com/V4" + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/ +04/secext"> <wsse:UsernameToken soapenc:arrayType="xsd:string[2]" xsi: +type="soapenc:Array"> <wsse:Username xsi:type="xsd:string">xxxxxxxxxxx</wsse +:Username> <wsse:Password xsi:type="xsd:string">xxxxxxxxxxx</wsse +:Password> </wsse:UsernameToken> </wsse:Security> <license xmlns="http://marketing.ews.yahooapis.com/V4" xsi:typ +e="xsd:string">x11111111111111x</license> <masterAccountID xmlns="http://marketing.ews.yahooapis.com/V4" + xsi:type="xsd:string">1111111</masterAccountID> <accountID xmlns="http://marketing.ews.yahooapis.com/V4" xsi:t +ype="xsd:string">11111111111</accountID> </soap:Header> <soap:Body> <addCampaign xmlns="http://marketing.ews.yahooapis.com/V4"> <campaign xsi:type="tns:Campaign"> <accountID xsi:type="xsd:string">11111111111</accountI +D> <endDate xsi:type="xsd:dateTime"> <local_rd_secs xsi:type="xsd:int">0</local_rd_secs +> <local_rd_days xsi:type="xsd:int">733705</local_rd +_days> <rd_nanosecs xsi:type="xsd:int">0</rd_nanosecs> <locale href="#ref-74529744" xsi:type="namesp1:Dat +eTime__Locale__en_US"/> <local_c> <hour xsi:type="xsd:int">0</hour> <second xsi:type="xsd:int">0</second> <month xsi:type="xsd:int">10</month> <quarter xsi:type="xsd:int">4</quarter> <day_of_year xsi:type="xsd:int">298</day_of_ye +ar> <day_of_quarter xsi:type="xsd:int">25</day_of_ +quarter> <minute xsi:type="xsd:int">0</minute> <day xsi:type="xsd:int">25</day> <day_of_week xsi:type="xsd:int">7</day_of_week +> <year xsi:type="xsd:int">2009</year> </local_c> <utc_rd_secs xsi:type="xsd:int">21600</utc_rd_secs +> <formatter xsi:type="namesp1:DateTime__Format__W3C +DTF"/> <tz xsi:type="namesp1:DateTime__TimeZone__OffsetOn +ly"> <name xsi:type="xsd:int">-0600</name> <offset xsi:type="xsd:int">-21600</offset> </tz> <utc_year xsi:type="xsd:int">2010</utc_year> <utc_rd_days xsi:type="xsd:int">733705</utc_rd_day +s> <offset_modifier xsi:type="xsd:int">0</offset_modi +fier> </endDate> <name xsi:type="xsd:string">test campaign</name> <startDate xsi:type="xsd:dateTime"> <local_rd_secs xsi:type="xsd:int">0</local_rd_secs +> <local_rd_days xsi:type="xsd:int">733340</local_rd +_days> <rd_nanosecs xsi:type="xsd:int">0</rd_nanosecs> <locale href="#ref-74529744" xsi:type="namesp1:Dat +eTime__Locale__en_US"/> <local_c> <hour xsi:type="xsd:int">0</hour> <second xsi:type="xsd:int">0</second> <month xsi:type="xsd:int">10</month> <quarter xsi:type="xsd:int">4</quarter> <day_of_year xsi:type="xsd:int">299</day_of_ye +ar> <day_of_quarter xsi:type="xsd:int">25</day_of_ +quarter> <minute xsi:type="xsd:int">0</minute> <day xsi:type="xsd:int">25</day> <day_of_week xsi:type="xsd:int">6</day_of_week +> <year xsi:type="xsd:int">2008</year> </local_c> <utc_rd_secs xsi:type="xsd:int">21600</utc_rd_secs +> <formatter xsi:type="namesp1:DateTime__Format__W3C +DTF"/> <tz xsi:type="namesp1:DateTime__TimeZone__OffsetOn +ly"> <name xsi:type="xsd:int">-0600</name> <offset xsi:type="xsd:int">-21600</offset> </tz> <utc_year xsi:type="xsd:int">2009</utc_year> <utc_rd_days xsi:type="xsd:int">733340</utc_rd_day +s> <offset_modifier xsi:type="xsd:int">0</offset_modi +fier> </startDate> <status xsi:type="tns:CampaignStatus">On</status> </campaign> </addCampaign> <DateTime__Locale__en_US xsi:type="namesp1:DateTime__Locale__e +n_US" id="ref-74529744"> <default_time_format_length xsi:type="xsd:string">medium</ +default_time_format_length> <native_territory xsi:type="xsd:string">United States</nat +ive_territory> <native_language xsi:type="xsd:string">English</native_lan +guage> <native_complete_name xsi:type="xsd:string">English United + States</native_complete_name> <en_language xsi:type="xsd:string">English</en_language> <id xsi:type="xsd:string">en_US</id> <default_date_format_length xsi:type="xsd:string">medium</ +default_date_format_length> <en_complete_name xsi:type="xsd:string">English United Sta +tes</en_complete_name> <en_territory xsi:type="xsd:string">United States</en_terr +itory> </DateTime__Locale__en_US> </soap:Body> </soap:Envelope>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with Yahoo::Marketing module
by Your Mother (Archbishop) on Oct 23, 2008 at 21:07 UTC | |
|
Re: Problem with Yahoo::Marketing module
by Anonymous Monk on Oct 24, 2008 at 12:52 UTC | |
|
Re: Problem with Yahoo::Marketing module
by Anonymous Monk on Oct 26, 2008 at 12:26 UTC | |
by Grafumbly (Initiate) on Oct 28, 2008 at 16:43 UTC |