Solved

White screen when requesting from web service.

Posted on 2014-09-08
4
171 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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…

734 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