CodeIgniter Forums
NuSOAP error: Invalid value... - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: NuSOAP error: Invalid value... (/showthread.php?tid=6638)



NuSOAP error: Invalid value... - El Forum - 03-06-2008

[eluser]Varzock[/eluser]
Hi guys,

I've started studying and using NuSOAP for CI few days ago and now I have ran into a problem. Maybe it's a just a minor one, something little that I haven't noticed but when I try to test the NuSOAP library it gives me this error "Invalid value...". I got the NuSOAP library from here: http://codeigniter.com/wiki/CI_Nusoap_Library/

here's my code:
Code:
$this->load->library('nusoap');
$soapclient = $this->nusoap->getProxy(
    'http://soap.search.msn.com/webservices.asmx?wsdl');
    
$test = array('Request' => array(
            'AppID' => 'MSN_SEARCH_API_KEY',
            'Query' => 'Seinfeld',
            'CultureInfo' => 'en-US',
            'SafeSearch' => 'Strict',
            'Flags' => '',
            'Location' => '',
            'Requests' => array(
                    'SourceRequest' => array(
                            'Source' => 'Web',
                            'Offset' => 0,
                            'Count' => 50,
                            'ResultFields' => 'All'))));                    

$result = $soapclient->call(
    'Search',
    $test
);

I enabled logging and debugging and it seems it actually is sending the right kind of info to the SOAP server but it still gives me this error.

Please please point my mistake and prove my stupidity because I'm getting irritated Smile


NuSOAP error: Invalid value... - El Forum - 03-07-2008

[eluser]Varzock[/eluser]
Duh, of course! There it is, right in front of me. I didn't put the API key in... how dumb of me Smile


NuSOAP error: Invalid value... - El Forum - 03-07-2008

[eluser]wiredesignz[/eluser]
Glad we could help Wink


NuSOAP error: Invalid value... - El Forum - 04-09-2008

[eluser]herrucules[/eluser]
ups sorry i've post at the wrong topic.. but the problem is still about nusoap lib http://ellislab.com/forums/viewthread/59710/#381622 any help please Sad