ajayz15 / magja

Automatically exported from code.google.com/p/magja
1 stars 0 forks source link

Missing artifact com.google.code.magja:magja:jar:1.0.3-SNAPSHOT #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I tried setting up the project, following your post 
http://code.google.com/p/magja/wiki/SetupProject
But I always the get the following error "Missing artifact 
com.google.code.magja:magja:jar:1.0.3-SNAPSHOT"

For maven dependency I am using following this github link 
https://github.com/magja/magja/blob/master/README.textile#maven-dependency

Instruction page says something
"Once you had check out the project, right-click on the project, the sub-menu 
will pop-up, then go to Maven > Enable Dependency Management. Wait a little 
until all dependencies be downloaded to your maven repository. "

As there comes an error while adding above dependency, 
So there does not come "Enable Dependency" option on the project. I tried it as 
java project and have also tried it as Maven project but no success is attained.

I am very new to Maven, and also do not have very much experience of eclipse.
I am using windows 7 and jdk1.7.0_25.

Regards
Mujtaba

Original issue reported on code.google.com by mujtaba....@gmail.com on 25 Sep 2013 at 4:55

GoogleCodeExporter commented 9 years ago
Missing artifact problem is resolved, as i did not have jar file in required 
location.
The new problem I have is
org.apache.axis2.transport.http.HTTPSender sendViaPost
INFO: Unable to sendViaPost to 
url[http://127.0.0.1/magento-site/api/v2_soap/?wsdl]
org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting 
for connection.......

Any suggestion what i should do

Original comment by mujtaba....@gmail.com on 26 Sep 2013 at 9:27

GoogleCodeExporter commented 9 years ago
I changed the soap service path in properties file, before i was using 
http://127.0.0.1/magento/index.php/api/v2_soap/?wsdl. Now i changed it to the 
address given in the service 
<wsdl:service name="MagentoService"><wsdl:port 
name="Mage_Api_Model_Server_Wsi_HandlerPort" 
binding="typens:Mage_Api_Model_Server_Wsi_HandlerBinding"><soap:address 
location="http://127.0.0.1/magento/index.php/api/v2_soap/index/"/></wsdl:port>

But Now the problem I am getting is, org.apache.axis2.AxisFault: Procedure 
'login' not present
detailed error is mentioned below

Sep 30, 2013 11:08:37 AM org.apache.axis2.deployment.ModuleDeployer deploy
INFO: Deploying module: addressing-1.5.1 - 
file:/C:/Users/Mujtaba/.m2/repository/org/apache/axis2/axis2/1.5.1/axis2-1.5.1.j
ar
Exception in thread "main" java.lang.RuntimeException: 
org.apache.axis2.AxisFault: Procedure 'login' not present
    at com.google.code.magja.soap.MagentoSoapClient.<init>(MagentoSoapClient.java:104)
    at com.google.code.magja.soap.MagentoSoapClient.getInstance(MagentoSoapClient.java:84)
    at com.google.code.magja.soap.MagentoSoapClient.getInstance(MagentoSoapClient.java:60)
    at com.google.code.magja.magento.Connection.<init>(Connection.java:24)
    at com.google.code.magja.magento.Connection.main(Connection.java:27)
Caused by: org.apache.axis2.AxisFault: Procedure 'login' not present
    at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:435)
    at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:540)
    at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:521)
    at com.google.code.magja.soap.MagentoSoapClient.login(MagentoSoapClient.java:185)
    at com.google.code.magja.soap.MagentoSoapClient.<init>(MagentoSoapClient.java:101)
    ... 4 more

Original comment by muju...@gmail.com on 30 Sep 2013 at 3:16

GoogleCodeExporter commented 9 years ago
its working with soap v1 . does not work with v2 soap service of magento.

Original comment by mujtaba....@gmail.com on 3 Oct 2013 at 7:17