Questions tagged [soap-api-v2]

Denotes questions related to SOAP API V2.

Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

How to use Postman with Magento 1.9 SOAP API

I can't find a good example anywhere of how to use postman application for testing the Magento 1.9 SOAP Api. The REST Api is not enough for my needs. I have tried a POST request using https://example....
1 vote
1 answer
2k views

Notice: Array to string conversion when calling soapV2 with complexfilter

I want to get the orderList by using soap, the code like the following <?php $cs = getSesstion(); $fromDate = date('Y-m-d'. ' 00:00:00', strtotime('-1 days')); $todayDate = date('Y-m-...
0 votes
3 answers
2k views

First steps of creating API integration with Magento2.3

background: I'm new to Magento as I haven't used it before, but I've read through most of the API documentation now. I have an online dashboard application with various widgets that are different API ...
0 votes
1 answer
3k views

Magento 2.3.5 - API error The "array" class doesn't exist and the namespace must be specified

We get the following API error on our Magento 2.3.5 store; The "array" class doesn't exist and the namespace must be specified. Verify and try again. More info; <![CDATA[#0 /vendor/...
1 vote
2 answers
3k views

Magento 2 Soap API with Web Service Studio Client?

I am programing an API Client with Filemaker and MBS Plug-in. With Magento1 Soap API I could use a client called "Web Service Studio" https://webservicestudio.codeplex.com/ to try things out. Later i ...
2 votes
2 answers
2k views

No connection with Magento 1 SOAP API via https (SSL)

I try to get customer datas via a PHP script and the Magento 1 SOAP API. At my development system, every thing is works well. But now when I try to use it at the online Shop with active SSL, I get no ...
0 votes
1 answer
121 views

Magento 2.4.5 when I try to call Soap API programmatically, then I get an error

Error : SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://127.0.0.1/m245/api/v2_soap/?wsdl' : failed to load external entity "https://127.0.0.1/m245/api/v2_soap/?wsdl" Here is code: <...
1 vote
1 answer
1k views

Magento SOAP V2 API Unknown error

this is the first time I use Magento, and I'm trying to make an API, but Im getting some errors. When I try to call a custom SOAP api method, I'm getting this error: Uncaught SoapFault exception: [...
0 votes
2 answers
231 views

How to connect odoo with magento 2.2?

I need connect odoo with magento 2.2, and I get some result but I got and 401 error when I try to call one service with my generated token. So far: from suds.client import Client url="https://...
0 votes
1 answer
352 views

Magento 2 how to get order information using soap api

I want to get order information using soap API $wsdlUrl = 'http://website.com/soap/default?wsdl=1&services=salesOrderRepositoryV1'; $serviceArgs = array('searchCriteria' => array('...
2 votes
2 answers
16k views

SOAP-ERROR: Parsing WSDL: Couldn't load from URL Failed to load External Entity

I'm trying to get all products in $productArrarray from magento 2 API via SOAP client. I tried the below function but it throws this error: Error: SOAP-ERROR: Parsing WSDL: Couldn't load from '...
0 votes
2 answers
540 views

Magento 2 integration with External System via API

I'm currently in process of creating a Magento 2 module that will handle and pull product data from external system into Magneto database using API requests (SOAP and REST) Any guide or module ...
1 vote
0 answers
34 views

What is the expected speed of Magento 1.9 SOAP API v2 when listing all products?

We have a Magento 1.9 site and a remote script that retrieves a listing of all products in the system via Magento's v2 SOAP API. This is working at approximately 2,500 products per minute. For a ...
0 votes
2 answers
2k views

Magento1.9 : How can I GetWebProducts using Soap Api?

I have this type of WebService How can I get products detail using Magento 1.9, kindly explain me in detail that how can I get data using this Webservice. If someone can list down the step how can I ...
1 vote
1 answer
148 views

Magento 1: Can modify response as XML of wsdl SOAP v2?

Can get the response of wsdl SOAP v2 as required formate XML? I Want to require formate XML response. $proxy = new SoapClient('http://my_host/api/v2_soap/?wsdl', array('trace' => 1)); $sessionId =...
3 votes
4 answers
9k views

Examples of Magento SOAP API

I am new to SOAP Web Service API's and Magento. Can someone show me an example of SOAP API request to return information about a product?
1 vote
2 answers
2k views

Test all soap endpoint api with Wizdler chrome extenssion

We can check rest api with all the parameter detail from swagger so I would be highly appreciated if you guys have tested SOAP api with any tool then please guide me. I have installed Wizdler chrome ...
1 vote
1 answer
803 views

Rewrite customer API not working

I can't get this small extension for rewriting Mage_Customer_Model_Customer_Api to work. My files: /app/etc/modules/EnaDva_CustomerInfoApi.xml <?xml version="1.0"?> <config> <...
0 votes
1 answer
849 views

Get shipments by order number in Magento 1.9 API

I am trying to get the list of shipments for a given order via the API (I use the SOAP API but I don't think it matters). I don't have the order ID but the 9-digit number (the increment_id from the ...
0 votes
1 answer
461 views

magento 1.9 soap api xml call to update product custom attribute

I am working on to update product msrp. Below code working for me: $sku = 'AMC-2.0-10'; $update_data = array ( 'additional_attributes' => array ( 'single_data' => array ( ...
9 votes
3 answers
22k views

SOAP error: Parsing WSDL: Couldn't load from "" failed to load external entity

We are developing an android app for a magento site. We have to pass SOAP API from magento to android to get session id. We created SOAP web user and roles in magento admin panel by following this ...
1 vote
1 answer
552 views

Magento 2 soap API 404

I am trying to load the url: http://magento2.dev/index.php/api/v2_soap?wsdl=1 in the browser but gives me 404. Additionally I using SoapUI Software and gives me error too. Error loading [http://...
0 votes
1 answer
49 views

How can I get vat_id via SOAP without additional modifications?

I understand that, by default, Magento doesn't expose the vat_id field via SOAP. The accepted answer there is to edit the core/add a module. Unfortunately, I don't have such luxury because I don't ...
0 votes
2 answers
66 views

How to add filter to custom API?

I have created a custom API taking help from here. Now i want to add filter to this API. Like if i want to get products filtered with some specific sku. How can i do that? thanks
20 votes
0 answers
264 views

Magento Testing SOAP API's using EcomDev_PHPUnit [closed]

We just started working on a Magento project where there is a need for some complicated changes to the Magento SOAP API. Since we never properly worked with unit tests, this looked like a good case ...
1 vote
0 answers
198 views

How do I call the Magento API SOAP V2 with multiple complex filters to the same field?

How do I call the Magento API SOAP V2 with multiple complex filters to the same field? In my case I use the salesOrderList function. This source code does not work: $params = array(array( '...
2 votes
0 answers
188 views

How to use the null- or notnull-operator with (complex) filter in Magento (1.9) API SOAP v2

For example: sales_order_list api function filter operators Possible solutions: value = "notnull" value = "" value = null value = "true" value = "1" use simple filter anything else?!?! Who knows?
0 votes
2 answers
3k views

Listing products created at specific date in Magento SOAP API

I need to list the products based on created date, How to filter the list based on created at in the following code $client = new SoapClient('http://magentohost/api/v2_soap/?wsdl'); $session = $...
5 votes
0 answers
83 views

soap product quantity not updating return exceptions

In magento1.9 - I am trying to update product quantity using soap but it return error here is my code public function update($data){ //return $data->sku; $_sku = $data->sku; $...
5 votes
0 answers
240 views

HELP - How to convert Default SOAP-v2 API Magento Objects into XML Values?

In Magento1.9 - product collection by default return values as Magento Objects using soap v2, how can i change into XML, <?php ini_set('display_errors','On'); $proxy = new SoapClient('abc.com/api/...
5 votes
1 answer
912 views

To set a payment method for a shopping cart using soap Api in Android

I am getting an error such SoapFault - faultcode: '1071' faultstring: 'Payment method data is empty.' faultactor: 'null' detail: null Please could anyone help me SoapObject customerEntity1 =...
1 vote
2 answers
2k views

SOAP extension is not loaded

I have a eCommerce portal https://ninobambino.in/,and I want to connect it a erp system. When I browse https://ninobambino.in/index.php/api/v2_soap/index/wsdl/1/, I am getting valid XML data. but When ...
1 vote
1 answer
497 views

Magento1.9: How can i add image of product using soap api

i have use this code: $proxy = new SoapClient('http://magentohost/api/soap/?wsdl'); $sessionId = $proxy->login('apiUser', 'apiKey'); $productId = 2; $file = array( 'content' => '/9j/...
1 vote
1 answer
349 views

How to Integrate Custom Shipping method in magento2

I need to integrate Aramex Shipping method in magento 2, I have php sample code form Aramex. <?php $params = array( 'ClientInfo' => array( ...
3 votes
2 answers
3k views

Uncaught SoapFault exception: [SOAP-ENV:Client] Error cannot find parameter

I am using SOAP api to integrate an ERP system but throws fatal error Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Client] Error cannot find parameter <?php require_once(__DIR__ . '/app/...
-1 votes
2 answers
969 views

How to use Magento 2 SOAP API outside Magento2

I am trying to develop an application in which I want to fetch magento orders and customers details. I have written the following code to use SOAP API: <?php error_reporting(E_ALL); ini_set('...
5 votes
2 answers
7k views

How to access Magento 2 soap api from C#

I would like to know (a sample code if it is not too much to ask for) how to talk to Magento 2's SOAP API from C# using Webservice (not service reference). With Magento 1.x versions I used something ...
1 vote
0 answers
106 views

SOAP-ERROR: Parsing WSDL in M 2.2.*

I am facing following issue at my local environment I tried every solution available on internet but unable to fix this issue. I am using LAMP PHP 7.1.28-1+ubuntu18.04, Apache/2.4.39 I had created ...
0 votes
0 answers
154 views

How to return array value in magento soap API wsi.xml?

I have created a file wsi.xml in magento 1.9 soap API. It is returning empty object. I have provided the array value for the response function. But showing empty value. <?xml version="1.0" ...
1 vote
0 answers
624 views

oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : Invalid api path

I am trying to invoke Magento SOAP V2 APIs as web service from Oracle SOA Suite(11.1.1.9) using BPEL. but I am getting "Invalid API Path" with error code "3". could you please suggest the best ...
0 votes
1 answer
830 views

How to create custom api with parameters in magento1?

How to create custom api with multiple parameters passed in the api call file in magento1. I have added the code in request call. But it is not working. Thanks in advance wsdl.xml file <?xml ...
1 vote
1 answer
126 views

catalogProductAttributeMediaRemove does not remove Image from the disk in Magento 1.9 CE

This is how we update product photos via SOAP sequence: catalogProductAttributeMediaList catalogProductAttributeMediaRemove catalogProductAttributeMediaCreate By calling SOAP ...
2 votes
0 answers
152 views

How to send Requests from Magento Soap Api to Firebase cloud messaging?

How to send notifications created in magento to Firebase Cloud messaging using soap API. Is there any curl method needs to be created for the message needs to be pushed into the Firebase like the ...
1 vote
1 answer
670 views

How to create simple product with json or XML request using SOAP API in magento?

I need to create product from the request with json or XML request using API in magento. Any help for this?
2 votes
0 answers
36 views

Magento 1.x API

In an integration with Magento 1.x SOAP v2 API through WSDL I've encontered many agencies with different Magento versions and WSDL files. The worst case scenario is when the "communication interface" ...
8 votes
2 answers
2k views

Soap API - How to get request by Limit 10 based on pagination?

I am getting products list using catalogProductList, its taking too long time to return the values(see screenshot) actually my products count is 24K, how can i run by using limit 10 and if i click ...
0 votes
1 answer
318 views

Add customer to cart with SOAP - View on FE

When I call "shoppingCartProductAdd" it adds the specific customer to the cart and displays it when I call "shoppingCartInfo". However it does not show up in the cart from the customer on the frontend....
1 vote
0 answers
134 views

Magetno 2 get soap api as a xml format

Below is soaporderapi.php created root folder.It is working fine getting order responce but i need to show responce as xml format <?php error_reporting(E_ALL); ini_set('display_errors', 1); ...
3 votes
1 answer
138 views

How to get Magento Product List using Soap V2 at CodeIgniter?

If I try with below code, <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Live_stock extends CI_Controller { public function index() { //$this->...
0 votes
1 answer
477 views

Magento 1: API SOAP V2 created configurable product with associated simples

Description: I need help with the creation of a configurable products with Magento SOAP API V2. My problem is: I managed to create the configurable product, but there aren't any simple associated ...

1
2 3 4 5