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

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

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
Robert & Web Service   Message List  
Reply | Forward Message #4842 of 8443 |
Robert, try to change the type of the file from mac to unix....
Are you on OSX?


For me it worked :
http://radio.weblogs.com/0001103/2002/02/04.html

But when I copy-pasted the python script from a web page, the script
file showed crap when making a "cat" or "more" in the terminal, and of
course it was not working. Changing from mac linefeeds to unix linefeeds
solved the problem.

I'm confused with osX using the two types... ?

JY.




> Message: 24
> Date: Sun, 3 Feb 2002 17:26:17 -0600
> From: Robert Barksdale <robert@...>
> Subject: Re: BMB: Web Services for Radio 8
>
> Am working on it, guys. I appreciated your patience....
>
> 1. Here's what I did:
>
> First, I created a text file named helloWorld.txt and placed it in the
> Web Services Folder located in my Radio UserLand Folder. This file has
> the following:
>
> on helloWorld (name) {return ("Hello " + name + "!")}
>
> Next, I entered the following in the edit box of my DWHP:
>
> <%params = {"Dave"}; xml.rpc ("127.0.0.1", 5335,
> "radio.helloWorld", @params)%>
>
> And then I ran the script in the Quick Script window:
>
> params = {"Dave"}; xml.rpc ("127.0.0.1", 5335,
> "radio.helloWorld", @params)
>
> 2. This is what I expected to happen: I expected "Hi, Dave!" to
> magically appear.
>
> 3. This is what actually happened:
>
> In both instances I received the following error:
>
> The server, 127.0.0.1, returned error code 7: Canít evaluate the
> expression because the name ìhelloWorldî hasnít been defined.
>
> Go To is: systems.verbs.builtins.betty.rpc.client
> Line: scriptError ("The server, " + rpcServer + ", returned error
> code " + faultCode + ": " + faultString)
>
> Continuing to dig, but I'm beginning to think I need a bigger shovel!
>
> Robert




Mon Feb 4, 2002 6:14 pm

jystervinou
Offline Offline
Send Email Send Email

Forward
Message #4842 of 8443 |
Expand Messages Author Sort by Date

Robert, try to change the type of the file from mac to unix.... Are you on OSX? For me it worked : http://radio.weblogs.com/0001103/2002/02/04.html But when I...
JY Stervinou
jystervinou
Offline Send Email
Feb 4, 2002
6:13 pm
Advanced

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