Questions tagged [soap-api-v2]
Denotes questions related to SOAP API V2.
112 questions with no upvoted or accepted answers
7
votes
1
answer
4k
views
Dangers of caching WSDL file
I currently have WSDL caching enabled in the store to improve client API performance. However, is there a danger to it. If I change some aspect of the store that affects the WSDL, is the client going ...
5
votes
0
answers
243
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
0
answers
84
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
9k
views
SOAP-ERROR: Encoding: object has no 'xxx' property
By each SOAP agent am getting this response "error 500".
I am using SOAP v2 with WS-I compliance mode.
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://...
4
votes
0
answers
269
views
Remove index.php from API url request
I need to remove index.php from the URL requests to the API. Currently API calls only work as the following...
/index.php/api/v2_soap/?wsdl
I need it to load as
/api/v2_soap/?wsdl
Can any one give ...
4
votes
0
answers
1k
views
Magento SOAP Fault "Invalid XML"
When i try to access
https://www.example.com/index.php/api/v2_soap/index/
It always gives
<SOAP-ENV:Envelope xmlns:SOAP-
ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-...
4
votes
0
answers
292
views
Magento API complex filter value from another key value
I have a custom soap api for my magento 1 website, the problem is i dont know what array value to pass as the filters parameter so the parameter will work like this:
$collections = Mage::getModel('...
3
votes
2
answers
309
views
Switch off WS-I Compliance, Magento 2 Opensource
Does anyone know how I could switch off WS-I compliance for a Magento 2 website, or even if it is possible?
Trying to connect to a shipping API (Royal Mail Click and Drop) and they say WS-I ...
3
votes
0
answers
947
views
Magento2 NodeJS: SOAP or REST API?
Does anyone know a good module that can use HTTP VERBS like POST and PUT ?. I tried this one magento2 but only managed to use GET and DELETE ...
Hope someone has a few ideas !
3
votes
1
answer
253
views
SOAP API issue with TrueShip
Our vendor is using TrueShip's ReadyShipper software to ship orders from our 1.6.1 Magento store(s). I'm not a Magento dev, but I'm not completely lost in all of this. I've also contacted support for ...
2
votes
0
answers
192
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?
2
votes
0
answers
160
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 ...
2
votes
0
answers
38
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" ...
2
votes
0
answers
116
views
If we can access data by using simple http request ,then why to use rest or soap api or curl?
I am accessing database using simple http request and use it on another interface.for example api's for Andriod or iphone .Even simple http request and method created in mage functionality without ...
2
votes
0
answers
52
views
How to develop a SOAP API as a guest user
I am trying to developing a SOAP API.
For first I created a module like this app\code\MyVendor\MyModule in which I created etc\module.xml, etc\webapi.xml and etc\di.xml.
Then I created my API ...
2
votes
1
answer
45
views
Mystery error, 'Class 'Mage_[X]_Helper_Data' not found' (on v1.9.x)
I have a custom module, 'Stl', which I'm using for both a separate model and a SOAP API interface.
In my SOAP API class, for some reason I keep hitting this error message at random with different ...
2
votes
1
answer
402
views
Product Creation in Magento 2 by SOAP API
I am able to create Product in magento 2 by using SOAP API but not able to add quntity , Category for simple product and not able to add simple products to configurable product.
2
votes
0
answers
449
views
SOAP WSDL Location URL incorrect when front-end URL different from admin URL
I have a Magento v1.9.3.x site where the SOAP calls are not working.
There are several factors about our environment that might cause the problem:
we use a different subdomin for front-end website ...
2
votes
0
answers
271
views
How to add parent_item_id to Magento Soap API response?
I need to pull the parent_item_id for order items when calling salesOrderInfo() in soap.
I made below changes to wsdl.xml and wsi.xml under salesOrderItemEntity in Mage/Sales/etc/.
Wsdl.xml
<...
2
votes
0
answers
94
views
Append custom shipping address attribute to API V2 wsdl result
I added the Dhl Account module in my magento 1.9.2.4 installation to get the possibility to ship to a dhl packing station. The module appends a field called dhlaccount to the shipping address of an ...
2
votes
0
answers
378
views
Magento Unicommerce Integration internal server error
I am trying to use unicommerce with a magento site for stock and order managment i have built for a client the orders are moving to unicommerce without any issues but when unicommerce tries to update ...
2
votes
0
answers
152
views
How to not send email on order place from magento soap api v2
I have created a webservice using magento soap API v2 for placing an order in magento.
For this I have used below API :
$orderId = $soapClient->shoppingCartOrder($sessionId, $cartId);
This API ...
2
votes
0
answers
368
views
API Magento catalogCategoryUpdate function not working after moving to SSL
I was working with SOAP on Magento like
$client = new SoapClient('http://host/index.php/api/v2_soap/?wsdl');
and after moving to
$client = new SoapClient('https://host/index.php/api/v2_soap/?...
2
votes
0
answers
278
views
Magento SOAP requests using Powershell
What I'm trying to do is use Magento's SOAP API v2 in Powershell to update products, create products, manage categories, etc.
So the simplest way I've found so far is from this page.
Here's a bit of ...
2
votes
1
answer
197
views
How to ship to multiple addresses using the Magento API (cart)
I would like to be able to ship to multiple addresses on the same order using the Magento API. Is this functionality using the Magento API available? Or it is only available using the web interface?
2
votes
2
answers
485
views
WSDL Soap Port without handler
I added a service to my project in visual basic to connect to soap api of magento.
The connection seems to work but in my wsdl I havn't got the handler Mage_Api_Model_Server_V2_Handler. So I can't use ...
2
votes
0
answers
222
views
Paypal is not coming in the list of "shoppingCartPaymentList" method of soap api
I am using quote id of 324.
$proxy = new SoapClient('http://127.0.0.1/stylefiesta/api/v2_soap/?wsdl=1'); // TODO : change url
$sessionId = $proxy->login('karishma.sharma', 'admin123');
$result = $...
2
votes
0
answers
709
views
Web service API SOAP v1 using java for connect?
In official site exists this faq
http://www.magentocommerce.com/api/soap/introduction.html
And in line As of v1.3, you may also use the following URL to access the Magento API v2, which has been added ...
2
votes
0
answers
60
views
Customer is active even after session deleted
I have a simple service, SOAP API, to log out customer based on his email ID.
This service is getting parameter properly and even the respective user session is deleted. I have confirmed this using ...
2
votes
0
answers
181
views
Filters products by manufacturers, Brands, Price etc in android
Hi I am developing magento e-commerce application in android. I want to filter products with Manufacturers, Brands, Price etc.
Is this possible using magento's "catalogProductList" ksoap2 api?
Below ...
2
votes
0
answers
2k
views
Problem calling SOAP V2 login method via SoapUI "failed to load external entity"
I'm trying to call "login" method via SoapUI in Magento 1.9.1 and returns "Read Timeout".
Accessing the WSDL on browser and creating the project on the SoapUI works fine, but when i call any method ...
2
votes
0
answers
414
views
When updating stock via soap API some random products stock not updating
Background
We have a live site. When we try to update stock levels via Soap API some products will not update but we have no errors. I have taken one of the products that would not update and made a ...
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 ...
1
vote
0
answers
200
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(
'...
1
vote
0
answers
109
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 ...
1
vote
1
answer
161
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 =...
1
vote
1
answer
513
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
0
answers
139
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);
...
1
vote
0
answers
541
views
Soap is not working in magento 1.9?
I am getting an error when using soap API:
Couldn't load from
'https://example.com/index.php/api/v2_soap/index/?wsdl=1' : failed to
load external entity
"https://example.com/index.php/api/...
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
125
views
magento 1.9: How should I use Magento's API
I am implementing a program that communicates with magento 1.9 using JavaScript. We only need to obtain the product information on the system and display it. Does not operate the database (for example:...
1
vote
0
answers
76
views
SOAP V2 : catalog_category.tree Not Working on Localhost
Configuration :
Code:
<?php
$proxy = new SoapClient('http://192.168.1.89/abc/api/v2_soap/?wsdl'); // TODO : change url
$sessionId = $proxy->login('cat', 'welcome'); // TODO : change login and ...
1
vote
0
answers
483
views
Magento 2 SOAP API Question
I am using Postman to test send data to different websites e.g
I have 2 websites each has its own domain e.g onoe website one store and one store view per domain.
e.g
1- http://test.com have:
...
1
vote
0
answers
83
views
Using Soap the get product details is very slow
I'm working on an offline cash register application.
I write this in C# and use the SOAPv2 API to get the products.
These products I save in a local SQLite database.
So far this is working well, but ...
1
vote
0
answers
538
views
Magento 2 soap API in C#
I've been searching for ways to use soap api in c# (with visual studio 2015). First I thought it was simple, just add web reference like this site (http://tdmts.net/2017/02/07/magento-2-soap-api-with-...
1
vote
0
answers
633
views
Add custom dropdown after shipping in checkout and generate options by API call
I have to add one dropdown field after shipping methods on checkout page and populate options by API call result.
To add field i am referring below link and i am able to display dropdown after ...
1
vote
0
answers
1k
views
Timeout accessing SOAP API (Magento 1.9.x) after clearing caches
I've been running into this issue multiple times now—whenever I either,
Delete the cache folder for Magento (in my case, /tmp/magento/var/cache/);
Turn off WSDL caching in Magento (under System > ...
1
vote
1
answer
282
views
Add simple product to configurable product in Magento 2 by SOAP API
I am tried "configurableProductLinkManagementV1" to add simple product to configurable product.
$result = $soapClient->configurableProductLinkManagementV1addChild(
array('sku' => '...
1
vote
1
answer
1k
views
Unknown SOAP client option in magento 2
I am working to call Aramex Api for shipping rate in magento2. I got php examples for Aramex, same as I follow below code to gert Shipping rate, But its throw Unknown SOAP client option
My Code:
...
1
vote
1
answer
351
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(
...