[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

White screen when requesting from web service.

Getting white screen, even with error reporting on, when trying to test a SOAP transaction.

<?php
ini_set('display_errors',1);  
error_reporting(E_ALL);
require_once('lib/nusoap.php');
$client = new nusoap_client('https://sso-test.fas.gsa.gov/mpdev/navigator/wsdl','wsdl');
$result = $client->call('retrieveContractVehicles', array(
			'commodity' => 'LAPTOP',
			'location' => 'CONUS',
			'lsaStates' => 'VA',
			'oconusStates' => 'ALASKA',
			'socioEconomicObjective' => 'SB',
			'agencyCode' => '006'));
?>

Open in new window

0
sandshakimi
Asked:
sandshakimi
  • 2
  • 2
3 Solutions
 
Ray PaseurCommented:
Ask the publisher to furnish the data via a RESTful interface design.  Nobody uses SOAP anymore - most services abandoned it in the last millennium!  It's just too hard to program and debug when you have to know what is happening on a computer you cannot see.  In contrast to SOAP, I have never met anyone who could not immediately understand and use REST services.
0
 
sandshakimiAuthor Commented:
The web service was offline. That might been a factor, albeit I didn't get an error thrown up on screen.
0
 
Ray PaseurCommented:
didn't get an error
Yep, that's just one of the many problems with using SOAP in PHP.
0
 
sandshakimiAuthor Commented:
Discovered it was a web service connection issue.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now