php - $serviceUrl: Caught Exception: Missing serviceUrl configuration value -
i creating requestreport in php script.
i seem stuck issue $serviceurl - giving me ol' fashion
"caught exception: missing serviceurl configuration value. may obtain list of valid mws urls consulting mws developer's guide, or reviewing sample code published along side library. response status code: -1 error code: invalidserviceurl error type: request id: xml: responseheadermetadata: "
am using correct url below? $serviceurl = "http://mws.amazonaws.com";
i have google'd few times , have seen 1 reading: $serviceurl = "http://mws.amazonaws.com/orders/10-01-2011";
perhaps using wrong...but still no go.
this works wonders in mws scratchpad, can't seem use correct "endpoint" script.
your urls doesn't work :
http://mws.amazonaws.com/orders/10-01-2011
try url :
https://mws.amazonservices.com/
// use endpoint marketplace string serviceurl = "https://mws.amazonservices.com/";
see here more explaination :
http://docs.developer.amazonservices.com/en_us/dev_guide/dg_clientlibraries.html
pdf guide : (https://images-na.ssl-images-amazon.com/images/g/01/mwsportal/doc/en_us/bde/mwsdeveloperguide.v327338404.pdf)
Comments
Post a Comment