Web Service Magento 1.9.2.2 con Java

hectors

Nuevo usuario
Buenas tardes,
Soy nuevo con Magento, necesito hacer un cliente que consuma el api SOAP v2 de Magento con java,
ya hice varios intentos pero no he podido si quiera hacer login.

Estoy usando esta wsdl http://www.xxxxxxx.mx/index.php/api/v2_soap/index/?wsdl=1

Ya cree el rol y el usuario desde el cpanel.
Al crear el cliente desde el netbeans y hacer un test en login poniendo mi usuario y api key me manda el siguiente error:


InvocationTargetException
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:543)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:469)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:95)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:412)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Next Exception Layer
null
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:537)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:469)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:95)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:412)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Next Exception Layer
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.xxxxxxx.mx/index.php/api/v2_soap/index/?wsdl=1' : failed to load external entity "http://www.xxxxxxx.mx/index.php/api/v2_soap/index/?wsdl=1"
com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:528)
com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:307)
webservice.PortType_Stub.login(PortType_Stub.java:3904)
webservice.MagentoServiceClient.portLogin(MagentoServiceClient.java:34)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:537)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:469)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:95)
org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:412)
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)





Gracias. Saludos.
 

Adjuntos

Última edición:
Arriba