you most like need to use encoding=url in the
here is an example of a url I did for USPS address verification

<pre>

<@assign local$USPS_XML '<AddressValidateRequest USERID="<@var local $custid>"><Address ID="0"><FirmName><@ARG company_name></ FirmName><Address1><@arg address2></Address1><Address2><@arg address1></Address2><City><@arg city></City><State><@arg State_Option></State><Zip5><@arg zip_code></Zip5><Zip4></Zip4></ Address></AddressValidateRequest>'>


<@assign local$USPS_URL 'http://testing.shippingapis.com/ShippingAPITest.dll?API=Verify&XML= <@var local$USPS_XML encoding=url>'>
</pre>


Ben

On Feb 8, 2008, at 7:23 AM, Chuck Lockwood wrote:

We are using a webservice that requires that the XML be passed in as a get, not a post argument (so it seems).

The below works until the <@ARG testXML> gets over 2000 characters then it starts getting truncated. Am I nuts or does witango do this?

<@ASSIGN request$method_response VALUE="<@URL LOCATION='<@ARG vURL>&xml=<@ARG TestXML>'>">

Suggestions?

Chuck Lockwood
President

<image001.jpg>
............................................
309 Main Avenue
Hawley, Pa 18428
(P) 570.226.7340
(F) 570.226.7341

www.lockdata.com


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to