From: Matthew F. <ma...@il...> - 2004-02-18 18:46:58
|
Scott. The debug is at the bottom of the link. http://www.ilonhosting.com/ssl/csrcheck.php I don't want to flood the list with 300 lines of debugging info. Thanks in advance.. Matthew Feinberg VP Operations Internet Labs of Nevada, Inc. http://ilonhosting.com/ http://internetlabs.net/ > -----Original Message----- > From: nus...@li... = [mailto:nusoap-general- > ad...@li...] On Behalf Of Scott Nichol > Sent: Monday, February 16, 2004 4:23 PM > To: Nus...@li... > Subject: Re: [Nusoap-general] STRPOS ERROR >=20 > Can you post the debug output? >=20 > Scott Nichol >=20 > Do not send e-mail directly to this e-mail address, > because it is filtered to accept only mail from > specific mail lists. > ----- Original Message ----- > From: "Matthew Feinberg" <ma...@il...> > To: <Nus...@li...> > Sent: Monday, February 16, 2004 1:03 PM > Subject: [Nusoap-general] STRPOS ERROR >=20 >=20 > I am new to nusoap and have a problem I hope someone can help me with. >=20 > I get the following error when running a script. > (http://www.ilonhosting.com/ssl/csrcheck.php) >=20 > Warning: strpos(): Offset not contained in string. in > /var/www/html/ssl/nusoap.php on line 1820 >=20 > The server only seems to send the first character of the string. I get = a > response back, however it is only what is sent. >=20 > Here is my code (most borrowed from tutorials on the web. >=20 > <?php > // Pull in the NuSOAP code > require_once('nusoap.php'); > // glogal vars > require('config.local.php'); > // Create the client instance > $client =3D new > soapclient('https://prodapi.geotrust.com/webtrust/query.jws?WSDL', = true); > //$client =3D new > soapclient('http://www.ilonhosting.com/ssl/hellowsdl.php?wsdl', true); > // Check for an error > $err =3D $client->getError(); > if ($err) { > // Display the error > echo '<h2>Constructor error</h2><pre>' . $err . '</pre>'; > // At this point, you know the call that follows will fail > } > // Call the SOAP method > $result =3D $client->call('hello', 'stuff here'); >=20 > // Check for a fault > if ($client->fault) { > echo '<h2>Fault</h2><pre>'; > print_r($result); > echo '</pre>'; > } else { > // Check for errors > $err =3D $client->getError(); > if ($err) { > // Display the error > echo '<h2>Error</h2><pre>' . $err . '</pre>'; > } else { > // Display the result > echo '<h2>Result</h2><pre>'; > print_r($result); > echo '</pre>'; > } > } > // Display the request and response > echo '<h2>Request</h2>'; > //echo '<pre>' . htmlspecialchars($client->request, ENT_QUOTES) . > '</pre>'; > print > = '<p>REQUEST:<xmp>'.str_replace('><',">\n<",$client->request).'</xmp></p>'= ; > echo '<h2>Response</h2>'; > //echo '<pre>' . htmlspecialchars($client->response, ENT_QUOTES) . > '</pre>'; > print > '<p>RESPONSE:<xmp>'.str_replace('><',">\n<",$client- > >response).'</xmp></p>'; >=20 > // Display the debug messages > echo '<h2>Debug</h2>'; > echo '<pre>' . htmlspecialchars($client->debug_str, ENT_QUOTES) . > '</pre>'; > ?> >=20 >=20 >=20 >=20 > Matthew Feinberg > VP Operations > Internet Labs of Nevada, Inc. > http://ilonhosting.com/ > http://internetlabs.net/ >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Nusoap-general mailing list > Nus...@li... > https://lists.sourceforge.net/lists/listinfo/nusoap-general >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id438&op=CCk > _______________________________________________ > Nusoap-general mailing list > Nus...@li... > https://lists.sourceforge.net/lists/listinfo/nusoap-general |