Use java to connect in WebService Magento API SOAP v1?

0

On the official website, link , there is a quote that says that java is more compatible when using a 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 to use v1 with java, but when compiling in the terminal this project magento-java using maven ( mvn install , or mvn package ) returns me 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 2nd option to use java to connect to the web service that is magja : link

What is the recommended to integrate into java? In php is easy, but java complicates the situation.

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

    
asked by anonymous 31.08.2015 / 08:22

0 answers