Use java to connect to Webservice Magento API SOAP v1?

Asked

Viewed 647 times

0

On the official website, http://www.magentocommerce.com/api/soap/introduction.html, has a quote that says that java is more compatible when using Soap v2:

As of v1.3, you may also use the following URL to access the Magento API v2, which has been Added to improve Compatibility with Java and . NET:

I tried using v1 with java, but when compiling in the terminal this project magento-java using Maven (mvn install, or mvn package) me returns these two errors:

[ERROR] /magento-java/src/main/java/com/magi/magento/service/BaseService.java:[27,34] cannot find symbol

[ERROR] /magento-java/src/main/java/com/magi/magento/service/OrderService.java:[112,44] incompatible types

I saw that you have a second option to use java to connect with the web service which is the magja: http://code.google.com/p/magja/

What is recommended to integrate in java? In php it’s easy, but java complicates the situation.

Another thing, I want to use in v1 anyway (/pastaMagento/index.php/api/soap/?wsdl) to connect with my WS using java, which is the best way and how should I do this?

  • You want to build the project magento-java or any solution to consume WS is worth?

  • since it is in java , is the main point. I tried to use Soapui version 5.2.0 now to authenticate but will not

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.