Re: [SOAP] Overriding URI/namespace from WSDL
| From: | Magnus Olsson | Date: | Sun, 02 Sep 2012 07:54:49 +0000 |
| Subject: | Re: [SOAP] Overriding URI/namespace from WSDL | ||
| References: | 1 2 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-3371@lists.php.net to get a copy of this message | ||
On Sun, Sep 2, 2012 at 6:17 AM, Adam Trachtenberg
<trachtenberg@gmail.com> wrote:
> Can you copy the WSDL locally and modify it to point at -test or otherwise behave as needed?
>
> -adam
If I copy the remote WSDL file locally and modify so every api. is
api-test. it reads the file correct but I get SOAP errrors saying
that:
Unable to handle request. The action
'http://api-test.exampleservice.com/GetCategories'
was not recognized.
I guess this means that I shouldn't make the requests to tha api-test,
what the f***. I know that they earlier used a sandbox flag and maybe
they didn't change the documentation that much after changing.
I contacted the support to see what they say, maybe they have an
explanation on how this should be done.
I don't know why I obfuscated the API URI, maybe more help could be
given if I give the correct information. I was tired and on my way to
bed :)
The service I am trying to make the API connection with is Tradera.com
(which actually belongs to eBay, but they don't use the same API).
They use http://api.tradera.com/ and http://api-test.tradera.com/.
The Public Service is located at
http://api.tradera.com/v3/PublicService.asmx?WSDL
and
http://api-test.tradera.com/v3/PublicService.asmx?WSDL.
The Restricted Service is located at
http://api.tradera.com/v3/RestrictedService.asmx?WSDL
and
http://api-test.tradera.com/v3/RestrictedService.asmx?WSDL.
--
Best regards,
Magnus Olsson
datamange@gmail.com