Welcome Guest, Not a member yet? Register   Sign In
NuSOAP error: Invalid value...
#1

[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
#2

[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
#3

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

[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




Theme © iAndrew 2016 - Forum software by © MyBB