Timeline for I can't access my custom magento API?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:54 | history | edited | CommunityBot |
replaced http://magento.stackexchange.com/ with https://magento.stackexchange.com/
|
|
Oct 18, 2013 at 7:37 | comment | added | Manoj Kumar | @Marius, Can you look on my thread? magento.stackexchange.com/questions/9591/… | |
Oct 17, 2013 at 14:05 | comment | added | Marius♦ | @ManojKumar. I'll try, but I can't right now. | |
Oct 17, 2013 at 14:00 | comment | added | Manoj Kumar | Hi Marius, can you fix my thread magento.stackexchange.com/questions/9591/… | |
Oct 17, 2013 at 11:36 | comment | added | Manoj Kumar | Hi Marius, I have update my code please look into my post. the error is:Call to a member function getId() on a non-object. Can you help me out? | |
Oct 17, 2013 at 11:23 | comment | added | Sylvain Rayé | @ManojKumar you should care about what you expect as input and output. It means the mapping of data and their format (string, int or complexArray) must be the same between what is defined into the wsdl.xml file and what is generated by your API method. Take a look with other existing API calls to understand how it works (e.g. Catalog API). To debug SOAP client call I did an implementation which works only with Zend Debugger (probably something similar exist for Xdebug). Check the code gist.github.com/diglin/7023225 | |
Oct 17, 2013 at 11:01 | comment | added | Marius♦ | This should help you debug your problem: magento.stackexchange.com/questions/428/…. Like I said, most probably you are sending the data wrong. The API works fine. | |
Oct 17, 2013 at 10:53 | comment | added | Manoj Kumar | Hi Marius, I follow the Sylvain instructions but it's return the Login ID : 83a8da94ee848c4c6f520fc785fc68f8 Error: Invalid api path. | |
Oct 17, 2013 at 10:08 | comment | added | Marius♦ | @ManojKumar I think you get this error because you send a string as parameter in your api call and the method expects an object (or array). take a look at what SylvainRayé answered. Maybe it helps. | |
Oct 17, 2013 at 10:01 | comment | added | Manoj Kumar | Hi Marius, Can you help out my bug? SOAP-ERROR: Encoding: object has no 'firstname' property error. | |
Oct 17, 2013 at 9:41 | comment | added | Manoj Kumar | Hi Marius, is need to change settings->configurations->services->magento core Api->General settings group->WS-I Compliance = yes? | |
Oct 17, 2013 at 9:14 | comment | added | Manoj Kumar | Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object has no 'firstname' property error is came. | |
Oct 17, 2013 at 8:51 | comment | added | Marius♦ | @ManojKumar this may not be code related. The magento api is not fast. You can enable the cache for wsdl from system->cache management to make it a little faster. Also, being on a local machine you may want to increase the max_execution_time | |
Oct 17, 2013 at 8:47 | comment | added | Manoj Kumar | hi marius, v1: is displaying my result. but v2: is return Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\demo\WS.php(above php file code) on line 4 error. | |
Oct 17, 2013 at 8:33 | history | answered | Marius♦ | CC BY-SA 3.0 |