Welcome Guest, Not a member yet? Register   Sign In
xml rpc error
#1

[eluser]Unknown[/eluser]
Hi, I have problem with xml rpc. In localhost i try to access xmlrpc that i had create and produce error like this

<methodResponse>

<fault>

<value>

<struct>

<member>
<name>faultCode</name>

<value>
<int>105</int>
</value>
</member>

<member>
<name>faultString</name>

<value>
<string>XML error: Invalid document end at line 1</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>

But in my hosting server, when i access the xmlrpc server that i had create it produce error like this

<methodResponse>

<fault>

<value>

<struct>

<member>
<name>faultCode</name>

<value>
<int>103</int>
</value>
</member>

<member>
<name>faultString</name>

<value>
<string>XML error: no element found at line 1</string>
</value>
</member>
</struct>
</value>
</fault>
</methodResponse>

What is the diference about these two error message above?

If I access my xmlrpc client that i had create, it produce error like this
"Did not receive a '200 OK' response from remote server."

Please somebody help me. Many thanks
#2

[eluser]Nick Husher[/eluser]
Whatever XML you're sending is invalid, the different XML parsers will read malformed XML differently (hence why it's malformed) and give you different errors. Whatever your problem is, it's on line 1 of your XML document: are you opening your document with &lt;?xml version="1.0" encoding="UTF-8"?&gt; ?
#3

[eluser]The Wizard[/eluser]
hello Smile

im reviving the post,
i have a similear problem.

Code:
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
<methodResponse>
<fault>
    <value>
        <struct>
            <member>
                <name>faultCode</name>
                <value><int>105</int></value>
            </member>
            <member>
                <name>faultString</name>
                <value><string>XML error: Invalid document end at line 1</string></value>
            </member>
        </struct>
    </value>
</fault>
</methodResponse>

this is the response, when i access it on my local browser.

do you have an idea?

besides, IF i use the "client" code within the control itself,
and addserss the server url as: "control_name_only" it works
but as soon as i give it a URL like:

Code:
$server_url = site_url('http://127.0.0.1/c88v2/index.php/remote_server');

it will give me Did not receive a '200 OK' response from remote server. (HTTP/1.1 404 Not Found)
error Sad

any ideas?




Theme © iAndrew 2016 - Forum software by © MyBB