Last active
August 29, 2015 14:09
-
-
Save BryanWilhite/656e3b393a0576a38091 to your computer and use it in GitHub Desktop.
PHP: SoapClient Result Output As JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$client = new SoapClient($CFG->studioServicesCheckCodingSOAPWsdl); | |
$params = array( | |
'businessUnit' => $_REQUEST['businessUnit'], | |
'market' => $_REQUEST['market'], | |
'projectId' => $_REQUEST['projectId'], | |
'resourceType' => $_REQUEST['resourceType'], | |
'resourceCategory' => $_REQUEST['resourceCategory'] | |
); | |
$operationResult = $client->CheckCoding($params); | |
echo json_encode($operationResult); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment