[prev in list] [next in list] [prev in thread] [next in thread]
List: php-soap
Subject: Re: [SOAP] Overriding URI/namespace from WSDL
From: Magnus Olsson <datamange () gmail ! com>
Date: 2012-09-02 7:54:49
Message-ID: CAHUeKyPNzHwfioccXitDdH_ORFJVYnXEPPR5x9RYBzg0S2M1Kg () mail ! gmail ! com
[Download RAW message or body]
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
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic