Search the web
Sign In
New User? Sign Up
jsolait
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
XMLRPCMethod sends only the HTTP headers.   Message List  
Reply | Forward Message #398 of 411 |
Hi,
I'm jsolait's XMLRPC to implement a manager, but the
request issued to the HTTP server contains only the HTTP headers.
Is this normal ?

Code:
<script type="text/javascript">listTests();</script>
function listTests()
{
var xmlrpc=null;
try{
xmlrpc = imprt("xmlrpc");
}catch(e){
alert(e);
throw "Importing of xmlrpc module failed.";
}
var methods=["listTests"];
try{
//var service = new xmlrpc.ServiceProxy( server, methods);
//var response = service.listTests();
var service = new xmlrpc.XMLRPCMethod( server, "listTests");
var response = service();

document.write("Common Tests:<br>");
document.write("<select name='sut_tests'
multiple='multiple' size='5'>");
for ( test=0;test< response.length; test++)
{
document.write('<option>' + response[test] +
'</option>');
}
document.write('</select>');
}catch(e){
var em;
if(e.toTraceString){
em=e.toTraceString();
}else{
em = e.message;
}
document.write( "Error trace: <br>" + em+"<br>");
}
}

jsolait 2.0b (2006-07-12)
Browser: Iceweasel 2.0.0.3




Sat Nov 3, 2007 11:45 am

groleo
Online Now Online Now
Send Email Send Email

Forward
Message #398 of 411 |
Expand Messages Author Sort by Date

Hi, I'm jsolait's XMLRPC to implement a manager, but the request issued to the HTTP server contains only the HTTP headers. Is this normal ? Code: <script...
Negreanu Marius-Adrian
groleo
Online Now Send Email
Nov 3, 2007
11:45 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help