Pro PHP- Patterns, Frameworks, Testing and More

(vip2019) #1

(^296) CHAPTER 19 ■ INTRODUCTION TO WEB SERVICES WITH SOAP
information. You then call the ItemSearch operation on the service and output the response.
If everything is working properly, you will see a response that looks like the following:
object(stdClass)#2 (2) {
["OperationRequest"]=>
object(stdClass)#3 (4) {
["HTTPHeaders"]=>
object(stdClass)#4 (1) {
["Header"]=>
object(stdClass)#5 (2) {
["Name"]=>
string(9) "UserAgent"
["Value"]=>
string(8) "PHP-SOAP"
}
}
["RequestId"]=>
string(20) "0000000000000000"
["Arguments"]=>
object(stdClass)#6 (1) {
["Argument"]=>
object(stdClass)#7 (2) {
["Name"]=>
string(7) "Service"
["Value"]=>
string(19) "AWSECommerceService"
}
}
["RequestProcessingTime"]=>
float(0.0457289218903)
}
["Items"]=>
object(stdClass)#8 (4) {
["Request"]=>
object(stdClass)#9 (2) {
["IsValid"]=>
string(4) "True"
["ItemSearchRequest"]=>
object(stdClass)#10 (4) {
["Publisher"]=>
string(6) "Apress"
["ResponseGroup"]=>
string(5) "Small"
["SearchIndex"]=>
string(5) "Books"
["Title"]=>
string(7) "Pro PHP"
McArthur_819-9.book Page 296 Friday, February 29, 2008 8:03 AM

Free download pdf