XML-RPC can't get data from jsp server,please share of your ideas,th'x again. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: XML-RPC can't get data from jsp server,please share of your ideas,th'x again. (/showthread.php?tid=7280) |
XML-RPC can't get data from jsp server,please share of your ideas,th'x again. - El Forum - 04-01-2008 [eluser]Unknown[/eluser] Hi!every body, here is my problem: when i using the class XML-RPC, if i test it under the mannual descirbe there is all nomal--all the cilent is php as well as server. But when i want get xml data from other type server for instance jsp,it's running abnormaly.Here is my code block, please share of your ideas and opinions,th'x much. function index() { $this->xmlrpc->set_debug(true); $this->xmlrpc->server('http://192.168.6.71/services/TestForYou?wsdl', 80);//Server is JSP $this->xmlrpc->method('echo0');//echo0 is the method which get data from server $request = array(); $this->xmlrpc->request($request); if ( ! $this->xmlrpc->send_request()) { echo $this->xmlrpc->display_error(); } else { echo '<pre>'; print_r($this->xmlrpc->display_response()); echo '</pre>'; } } Here is the reflect errors: ---DATA--- HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=utf-8 Date: Tue, 01 Apr 2008 08:26:53 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlnsoapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode> <faultstring>no SOAPAction header!</faultstring> <detail> <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">S2-chentianyu</ns2:hostname> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> ---END DATA--- Did not receive a '200 OK' response from remote server. (HTTP/1.1 500 Internal Server Error) XML-RPC can't get data from jsp server,please share of your ideas,th'x again. - El Forum - 04-02-2008 [eluser]GSV Sleeper Service[/eluser] you're trying to use XMLRPC to connect to a SOAP server XML-RPC can't get data from jsp server,please share of your ideas,th'x again. - El Forum - 04-06-2008 [eluser]Unknown[/eluser] En,So there is any solution for SOAP in Codeigniter. XML-RPC can't get data from jsp server,please share of your ideas,th'x again. - El Forum - 04-06-2008 [eluser]wiredesignz[/eluser] Yep there is, Welcome to CI forums. |