Ysgrifennodd Peter Bradley:
<snip />
> The code now gets past the require_once() line, but then
> hangs on the line:
>
> $client = new soapclient("http://soap.amazon.com/onca/soap2", false,
> $proxyhost, $proxyport, $proxyusername,
> $proxypassword);
>
> The application hangs on every one of the samples that I try. Can
> anyone help?
>
Sorry to follow up on my own post. I think I've made some progress.
Firstly I altered the offending line to read:
$client = new soapclient2("http://soap.amazon.com/onca/soap2", false,
$proxyhost, $proxyport, $proxyusername, $proxypassword);
Then I remembered to alter the constructor name for soapclient2 in
nusoap.php (I know, d'uh!). The result was that I got back a SOAP fault
saying:
"We encountered an error while processing your request. Please make sure that
you are using a valid
developer token and that you have developer token and that you have registered
for this service.
For more information, please visit http://www.amazon.com/webservices"
Clearly I haven't registered, so I guess this is OK.
Does this mean that I have to alter all the clients in the same way? Is there
an occasion when
I should create a soapclient object rather than a soapclient2 object?
Thanks.
Peter
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|