soap server/client error |
[eluser]Unknown[/eluser]
Hello, I write soapServer and soapClient controller. Code is: SoapServer: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); when I acces the webpage on link http://localhost/NWTrepozitorij/trunk/re.../hellowsdl I can see my server and it looks like: Screenshot 1: http://pokit.org/get/?fb9e7f44e2b8143229...02b56f.jpg Screenshot 2: http://pokit.org/get/?9482ed94e92372bb30...c0c472.jpg But when I try to access to my client on link: http://localhost/NWTrepozitorij/trunk/re...wsdlclient I get this error: "error in msg parsing: xml was empty, didn't parse! Screenshot of error: http://pokit.org/get/?6dd69cf5462dbbd39e...16e642.jpg As you can see my server is working fine but cannot access to it, and don't know where the error is cause the same example works fine in pure php but in codeigniter won't work. I need it in codeigniter to work. Please help!
[eluser]TheFuzzy0ne[/eluser]
Have you tried validating your XML? http://www.xmlvalidation.com/index.php Also, be sure that there are no errors being output by the server, which could be mucking up your XML.
[eluser]kostyak[/eluser]
Hi! I have tried your code but don't find appropriate version of the 'nusoap'. But what I want to say. In the samples I didn't find a remote procedure call like you used. Code: $client->hello('Scott'); Code: $client->call('hello',array('parameters'=>'Scott'), '', '', false, true); May be problem in this? |
Welcome Guest, Not a member yet? Register Sign In |