Hi Curt

The routine should work as stands, though if you're not using a proxy it
might be worth commenting out the proxy name header. The snipped sections
are setting custom http headers and filling out posted form data, neither of
which applies here.  

Also be aware that it is actually making the call. The error returned is
coming from your web server, not from the CallHTTP library (that would fill
out ErrText with "Error submitting request (3)" ). So I'm not sure what's
going on there ..

For example:

www.brianleach.eu does not exist -

>TestStdCall
Subroutine Name : ?TestWebCall
InData: ( Use ^ for FM, ] for VM
)?http://www.brianleach.eu/somepage.asp^id=1^GET
[ErrText]
Error submitting request (3)


This page (from one of my demos) does exist -

TestStdCall
Subroutine Name : ?TestWebCall
InData: ( Use ^ for FM, ] for VM
)?http://212.241.202.162/demo/title.wsp^id=1^GET
[ErrText]

[OutData]
200ýOK
ConnectionýcloseýDateýMon, 22 Jun 2009 13:29:35
GMTýServerýMicrosoft-IIS/6.0ýX-P
owered-ByýASP.NETýSet-CookieýSessId=87.114.1.240_090622152935409ýExpiresýMon
, 22
 Jun 2009 15:29:35 GMTýCache-Controlýno-cache, no-store,
max-age=1ýExpiresýSun,
21 Jun 2009 00:00:00 GMTýContent-Typeýtext/htmlýContent-Lengthý2525
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<title>mvScript Demo</title>
<link rel=stylesheet href="style.css">
<meta name="Author" content="Brian Leach">
<script language="javascript">
function go(pageName){
  window.location.href=pageName;
}
</script>

</head>
<div id="container">

         <!-- Title area -->
         <div id="banner" style="width: 750px">
         </div>

 <div id="title_container">
   <h1>Audio Titles Detail</h1>
 </div>


 <!-- Main content area -->
 <div id="plain">

        <p>&nbsp;</p>
        <div align="right">
        <input type="button" onclick="javascript:go('search.wsp')"
value="Back t
o Search" />
        <input type="button"
onclick="javascript:go('cart.wsp?action=add&id=1')"
 value="Add to Cart" />
        </div>
        <p>&nbsp;</p>


        <table width="100%">
                <tr><td width="96" align="right"><b>Title
Id:</b></td><td>1</td>
</tr>
                <tr><td width="96" align="right"><b>Short
Title:</b></td><td>Jus
t William: No. 6 (BBC Radio Collection)</td></tr>
                <tr><td width="96" align="right"><b>Author
Name:</b></td><td>Ric
hmal Crompton</td></tr>
(etc)

> -----Original Message-----
> From: u2-users-boun...@listserver.u2ug.org 
> [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of 
> u2list0...@curt.com
> Sent: 22 June 2009 11:31
> To: U2 Users List
> Subject: Re: [U2] uvRunCommand
> 
> To me the big question is, am I using your routine correctly?
> It concerned me when I saw the 'Snip Snip Snip' part, it was 
> like there should have been code inserted there by me.
> Should I be expecting success with the parameters provided.
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> 

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to