Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

White screen when requesting from web service.

Posted on 2014-09-08
4
Medium Priority
?
187 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 111

Assisted Solution

by:Ray Paseur
Ray Paseur earned 2000 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 111

Accepted Solution

by:
Ray Paseur earned 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

688 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