Thank you all for bearing with me here (especially Scott...you’re a God lol) I think it didn’t go through the first time. So kids here’s what we got.
XML Stuff being assigned into a DOM variable called aiiDom(thanks to all that drilled it into my head to URL Encode everything so it doesn’t blow up):
<@ASSIGN NAME="aiiDom" SCOPE="request" VALUE="<@DOM VALUE='<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ProcessLead xmlns="http://posturl.com/leadServicePoster">
<lead>
<vendorCode xmlns="">COLONLINE</vendorCode>
<vendorLeadIdentifier xmlns="">@@Market_MID</vendorLeadIdentifier>
<versionIdentifier xmlns="">3</versionIdentifier>
<testCase xmlns="">Y</testCase>
<nameLast xmlns=""><@URLENCODE STR="<@ARG LASTNAME>"></nameLast>
<nameMiddle xmlns=""></nameMiddle>
<nameFirst xmlns=""><@URLENCODE STR="<@ARG FIRSTNAME>"></nameFirst>
<nameSuffix xmlns=""></nameSuffix>
<addressLine1 xmlns=""><@URLENCODE STR="<@ARG ADDRESS_1>"></addressLine1>
<addressLine2 xmlns=""><@URLENCODE STR="<@ARG ADDRESS_2>"></addressLine2>
<addressCity xmlns=""><@URLENCODE STR="<@ARG CITY>"></addressCity>
<addressState xmlns=""><@URLENCODE STR="<@ARG STATE>"></addressState>
<addressZip xmlns=""><@URLENCODE STR="<@ARG ZIPCODE>"></addressZip>
<addressCountryCode xmlns=""><@URLENCODE STR="<@ARG COUNTRY_CODE>"></addressCountryCode>
<homePhone xmlns=""><@ARG AREA_CODE_1>@@user$phone1</homePhone>
<workPhone xmlns=""></workPhone>
<otherPhone xmlns=""></otherPhone>
<internationalPhone xmlns=""><@ARG AREA_CODE_1>@@user$phone1</internationalPhone>
<email xmlns=""><@URLENCODE STR="<@ARG EMAIL>"></email>
<bestTimeToCall xmlns=""><@URLENCODE STR="<@ARG TIME_TO_CALL>">
</bestTimeToCall><highSchoolGradYear xmlns=""><@ARG GRAD_YEAR></highSchoolGradYear>
<locationCode xmlns=""><@URLENCODE STR="@@request$SCHOOL_CODE"></locationCode>
<educationCompleted xmlns=""></educationCompleted><dateDegreeCompleted xmlns="">
</dateDegreeCompleted><studentVisaRequired xmlns="">N</studentVisaRequired>
<countryCitizenship xmlns=""></countryCitizenship><militaryStatus xmlns=""></militaryStatus>
<areaOfInterest xmlns=""></areaOfInterest>
<programOfInterest xmlns=""><@URLENCODE STR="<@ARG PROGRAM_CODE>"></programOfInterest>
<educationObjective xmlns=""></educationObjective><inquiredBefore xmlns="">N</inquiredBefore>
<sourceCode xmlns=""><@URLENCODE STR="COLOL"></sourceCode>
<sourceDate xmlns=""><@URLENCODE STR="<@CURRENTDATE>"></sourceDate>
<sourceTime xmlns=""><@URLENCODE STR="<@CURRENTTIME>"></sourceTime>
<sourceTimeOffset xmlns=""></sourceTimeOffset><sourceNumber xmlns=""></sourceNumber>
<vendorAffiliate xmlns=""></vendorAffiliate><comments xmlns=""></comments><preassignedAda xmlns="">
</preassignedAda><warmTransferResult xmlns=""></warmTransferResult><other xmlns=""></other><validationResults xmlns="">
</validationResults><validationNotes xmlns=""></validationNotes><validationMessage xmlns="">
</validationMessage></lead></ProcessLead></soap:Body></soap:Envelope>'>">
Our <@URL> String (Thanks again Scott for your guidance)
<@URL LOCATION=https://posrturl.com/LeadServicePoster.asmx USERAGENT='Witango<@VERSION><@PLATFORM><@CRLF>Content-Type: text/xml; charset=utf-8<@CRLF>Content-Length:<@LENGTH STR="<@VAR request$aiiDom>"><@CRLF>SOAPAction:http://postURL.com/leadServicePoster' POSTARGS="<@VAR aiiDOM>">
So basically here we get from our buddies at the other side is that there is a required field missing (which according to aiiDom, is there). So the thing is is that our tango application is talking with their servers initially, but it seems as though the data is falling apart when it reaches their actual service that does the data processing.
Any idea why this might be happening? Is there a different way to go about this other than Tango? Maybe we can output the file and then write a perl script or something to just hit their server with the information? It seems as though Tango came to the end of it’s capabilities? Am I going insane?
Any help is much appreciated. Thanks again!
Kaustav
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
