Solved

White screen when requesting from web service.

Posted on 2014-09-08
4
170 Views
Last Modified: 2016-02-26
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
Comment
Question by:sandshakimi
  • 2
  • 2
4 Comments
 
LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 500 total points
ID: 40311682
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
 

Assisted Solution

by:sandshakimi
sandshakimi earned 0 total points
ID: 40320994
The web service was offline. That might been a factor, albeit I didn't get an error thrown up on screen.
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 500 total points
ID: 40321121
didn't get an error
Yep, that's just one of the many problems with using SOAP in PHP.
0
 

Author Closing Comment

by:sandshakimi
ID: 40361015
Discovered it was a web service connection issue.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question