Re: Help with a POST with an XMLRPC call.
--- In
xml-rpc@yahoogroups.com, "oazyl" <carloszamoraorozco@...> wrote:
>
>
> Hello everybody.
>
> First, I must apollogize for the very novice basic newbie nature of my
> question. I'm currently trying to generate RPC calls from a web page.
> And started with a (supposedly) simple HTML exercise I found in the web.
> This piece of code:
>
> <form
> method="post"
> action="
http://betty.userland.com/RPC2
> <
http://betty.userland.com/RPC2> ">
> text:<input type="Type your command here" size =900 name="name">
> <input type=submit value="Press button">
> </form>
>
>
> And I'm typing this XML code in the text input box:
>
> <?xml version="1.0"?>
> <methodCall><methodName>examples.getStateName</methodName><params><param\
> ><value><int>41</int> </value></param></params></methodCall>
>
>
> The exercise says it should give me back the name of the State. However,
> all I have gotten is this response from the server:
> <?xml version="1.0" ?> - <
http://betty.userland.com/RPC2#>
> <methodResponse> - <
http://betty.userland.com/RPC2#> <fault> -
> <
http://betty.userland.com/RPC2#> <value> -
> <
http://betty.userland.com/RPC2#> <struct> -
> <
http://betty.userland.com/RPC2#> <member> <name>faultCode</name>
> - <
http://betty.userland.com/RPC2#> <value> <int>6</int>
> </value> </member> - <
http://betty.userland.com/RPC2#> <member>
> <name>faultString</name> - <
http://betty.userland.com/RPC2#> <value>
> <string>Poorly formed XML text, it must end with a </tag>. (At character
> #232.)</string> </value> </member> </struct> </value>
> </fault> </methodResponse> I know the problem is with the syntax (at
> least it says so), but I really canīt figure out what's wrong with
> the semantic of the command. I have already read the online XML RPC
> tutorials and still can't find out what am I doing wrong. Any help would
> be greatly appreciated. Thanks!
>
>
> [Non-text portions of this message have been removed]
>