Hi Micha, You did not mention whether you are using OXID PE or EE. However it seems that with newer version of the oxid erp interface it is necessary to specify the version of the interface (2.7.0 in your case) you want to use. You can do so by appending the "version" get parameter to the POST URL (http://example.com/modules/erp/oxerpservice?version=2.7.0).
It might also be necessary to specify the keys oft he aResult array (oxshopid, oxid) in UPPERCASE characters. There were rumors that this has been fixed in the past but you never know. You don't have to specify the shopid as this is done during the OXERPLogin call. If you are using the EE version of the shop make sure that the article you want to update the stock info for, is present in the shop with the id from your login call. I also looked at the code and it seems that the "Object does not exist" Exception is thrown when you try to create an article during a SetArticleStock call (i.e. you specify an article's OXID that does not exist in the db). Maybe you are specifying the OXARTNUM instead? I hope that any of this can help you solve your problem. Best regards, Dipl.-Ing. (FH) Michael Zender Development eCommerce Technical Project Lead MOS-TANGRAM AG Wohlerstrasse 2 CH-5623 Boswil Phone: +41 (0)56 677 82 20 Fax: +41 (0)56 677 82 99 E-Mail: [email protected] Internet: http://www.mos-tangram.com hi there, does anyone know how to use the call "SetArticleStock" ?? i always get the message: Object does not exist ;( here´s what i try: Array ( [sSessionID] => 48e5e34f5bb7baa1321ea2ede3d9b423 [aArticleStock] => Array ( [0] => Array ( [aResult] => Array ( [0] => Array ( [0] => oxshopid [1] => 1 ) [1] => Array ( [0] => oxid [1] => 62306 ) [2] => Array ( [0] => oxstock [1] => 114 ) ) [blResult] => [sMessage] => ) ) ) oxshopid was added be myself, without i get the same error: stdClass Object ( [OXERPSetArticleStockResult] => stdClass Object ( [OXERPType] => stdClass Object ( [aResult] => stdClass Object ( ) [blResult] => [sMessage] => Object does not exist ) ) ) i am working with the wsdl 2.7.0 and erp api version 4.4.3. thank you for any help,hint,tip! best regards, micha -- Mit freundlichen Grüßen MACROPAGE e.K. Michael Bladowski Maximilianstrasse 6 93047 Regensburg Mobil: 0179-2301067 Voip: 0941-56955585 [email protected] http://blog.macropage.de [[[ FOLLOW ME: http://twitter.com/michabbb ]]] Handelsregister Regensburg HRA 7490 · Finanzamt Regensburg DE 210758353 _______________________________________________________________________ Unsere Dienstleistungen: Internetserviceprovider, Entwicklung u. Programmierung, Web- und Grafikdesign, Schulung, Beratung, Problemlöser _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general _______________________________________________ dev-general mailing list [email protected] http://dir.gmane.org/gmane.comp.php.oxid.general
