Questions tagged [soap]

Simple Object Access Protocol (SOAP) is a protocol specification for exchanging structured information in the implementation of Web Services.

142 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
2answers
1k views

Get empty result when trying to get filterable attribute for particular category

I need to retrieve all filterable attributes for category. I'm using that snippet: $category = Mage::getModel('catalog/category')->load($categoryId); $layer = Mage::getModel('catalog/layer'); $...
7
votes
1answer
628 views

How to change currency in magento soap api

I am using Magento 1.8.1 and SOAP API 2. I couldn't find a way to change the currency for the API. How can I do this ? Or is this not possible with Magento ? And if this is not possible, is there a ...
5
votes
0answers
6k 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://...
5
votes
1answer
984 views

Magento SOAP API call limit?

Is there a limit on API calls using Magento's SOAP API (V1)? The product page for a store I'm working on requires several calls to the "cataloginventory_stock_item.list" method, once for every "simple ...
4
votes
1answer
836 views

Magento 2 Api Integration

Hello I'm trying to use magento 2 Rest and Soap integrations when I try to activate my integration I get the error Unable to post data to consumer due to an unexpected error these are my current ...
4
votes
1answer
975 views

Magento2 SOAP API for multi-store

Background: I am planning to use Magento2 web-service using SOAP. This will be for Mobile App where customer are allowed to add to cart then checkout. The store will be a multi-store website where ...
4
votes
1answer
837 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 =...
4
votes
1answer
2k views

How to get custom attributes from customer via SOAP API?

I have a few custom attributes to extend the customer with bank account information. The attributes are stored in mage_eav_attribute table. How can I get them via the SOAP API?
3
votes
1answer
168 views

Magento2 API Filtering Multiple categories

In Magento2 API, how would I filter by multiple categories? V1/products?searchCriteria[filterGroups][0][filters][0][field]=name&searchCriteria[filterGroups][0][filters][0][value]=%test%&...
3
votes
0answers
163 views

Products show only in admin when adding via Magento 1.9 Custom Wishlist SOAP API

Requirement: I am a newbie in magento trying to make a custom SOAP API in Magento 1.9 for managing wishlist. I need to connect it to an android application being developed in ionic V1. At first i ...
3
votes
0answers
121 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
1answer
224 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 ...
3
votes
1answer
212 views

SOAP API to build cart for frontend - should I be worried? session collision or cart loss?

My developer has written PHP code on his CMS that connects via SOAP on behalf of the user browsing the site, to manage the cart from their CMS. I'm worried about the interaction of SOAP session (...
3
votes
0answers
407 views

Cart Product Update using API (SOAP v1) only updates quantity but not subtotal or total?

I can successfully add a product in cart and then check the cart.info to verify it. However, if I update any product in cart, only quantity is changed but the rowtotal, subtotal remains same Added a ...
2
votes
0answers
40 views

Magento - SOAP-ERROR: Parsing WSDL 2

Pessoal estou com este erro e infelizmente não consigo resolver o mesmo. Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://magento.cordeirosilva....
2
votes
0answers
59 views

Magento 1.9 : I am unable to generate session using soap api v2

Can anyone help me, regarding soap api v2 , I am unable to generate session using v2 version, is there any changes to change? I am getting below error message: Fatal error: Uncaught SoapFault ...
2
votes
1answer
145 views

How to make a SOAP call after successful order

Hi I am fairly new to Magento2 and it's API. I need to send out a SOAP call to the API of our distributor using PHP after a successful order has been placed (after completing the payment). Is there ...
2
votes
0answers
48 views

Magento2 SOAP with C#

I am trying to read Magento customer from a C# third-party software. When I enter SOAP into the browser, its throwing error. URL:- http://localhost:81/magento2-2.2.5/soap/default?wsdl&...
2
votes
1answer
1k 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 '...
2
votes
0answers
22 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
1answer
443 views

Fatal error: Class 'SoapClient' not found

I am getting below error on clicking on checkout button: Fatal error: Class 'SoapClient' not found in /home/insighw6/public_html/includes/src/Mage_Usa_Model_Shipping_Carrier_Fedex.php on line ...
2
votes
0answers
404 views

How to create product using SOAP API magento 2

I want to create product and update product using SOAP API , can anyone guide me how to do it with Magento 2. I am using bellow code to create product $wsdl = "http://thebetaserver.in/magento2/soap/...
2
votes
0answers
140 views

Can't create soap header

we're trying to send a soap request to the purolator shipping API. We are stuck at the header portion. This is what we are sending the shipping API: // Probleme ICI try { //Define the ...
2
votes
0answers
982 views

add new extension attribute to the response of quote item (/V1/carts/:cartId)

I am trying to add some custom extension_extributes (For example: is_free_product & unit_price) to item node response of Magento\Quote\Model\QuoteRepository::get($cartId) Here is what I tried so ...
2
votes
0answers
178 views

Change Magento WSDL element output

I need to update some elements/variables of my wsdl output. For example I want to change "shipping_amount" so it gives me the amount incl. tax and not (as it is now) without tax: <complexType name=...
2
votes
0answers
339 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
0answers
169 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
0answers
767 views

Magento SOAP API: How to get SOAP response using JavaScript

I'm able to get SOAP response using Magento SOAP API by using PHP code. Now I want it using JavaScript/AJAX request. How can I accomplish this? What steps should I follow prepare my Magento to allow ...
2
votes
0answers
270 views

Observing REST API requests from 3rd party

I would like to know if there are any API events that are fired when a third party API sends a request to Magento? For example, if a 3rd party makes a call to salesOrderShipmentCreate() method app/...
2
votes
1answer
675 views

Magento 2 - Between “Rest” and “Soap”, Which is better then one?

Between "Rest" and "Soap" API, Which is better then one ? I have some cases below: 1) Apply for mobile app call web-service. 2) Apply for desktop app call web-service. 3) Apply for web app call web-...
2
votes
0answers
352 views

Magento API error

One of my developers trying to access API of Magento engine in order to integrate the Magento site with a POS system . He is using SOAP version 2 Error is as follows : Kindly help SoapFault ...
2
votes
3answers
2k views

How to use WSDL SOAP functions and objects in Magento 2?

I just had a brief look at the Magento 2 WSDL file. Until 1.9 I used the WSDL file as part of my development (Delphi win 32) to have access to the functions, arrays, objects etc... This was very ...
2
votes
0answers
58 views

3rd party access to Magento CE downloadable products

Having migrated from a legacy system to Magento, I would like to allow access data on my magento store from an: iOS app Android app Web app for the following: Product details inc image (straight-...
2
votes
0answers
2k views

How to call localhost/magento/oauth/initiate?

I am trying to call the above url to initiate the oauth tokens. I am following the below link http://www.magentocommerce.com/api/rest/authentication/oauth_authentication.html Can u tell me what s the ...
2
votes
1answer
337 views

How can i remove configurable product from cart in magento using SOAP API v1

I am using this code but it gives error "Call to a member function getId() on a non-object" $c = array( '272' => 25, '502' => 46 ); $...
2
votes
0answers
51 views

Static Content Issue After few SOAP API calls

I have recently made a magento project live, with some customization. The client asked that they need to integrate Microsoft Navision with magento, for that they are using SOAP APIs (V1 and V2 both). ...
2
votes
0answers
267 views

How to Send Image with Product order as custom option in SOAP API Magento

While Ordering A Product [who have a custom option as file (image) required], through SOAP API , what will the value of KEY and VALUE pair, as per I know, key will the option id but what will be the ...
1
vote
0answers
55 views

Error during rate request at Dhl/Express/Webservice/Soap/RateServiceAdapter.php:77

I have upgraded magento 2.2.4 to 2.3.2. After upgrade version we have enabled MSI modules. After Enabling MSI modules we are getting below error when we try to create shipment. We are not able to ...
1
vote
0answers
10 views

Cannot buy via API due to the price always being zero

I have a fully working production site that I am trying to add API ordering to. I followed the sample here http://www.magentocommerce.com/api/soap/checkout/cart/cart.html When I call ...
1
vote
0answers
16 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
0answers
19 views

How to speed up a registration of various products using API Magento SOAP 1?

I am registering more than 20 thousand products via API soap Magento 1. But it is taking 5 seconds to register 1 product! Is there a way to streamline this procedure?
1
vote
2answers
113 views

Magento 2 how to add product dimensions using rest api

I can add simple products to Magento 2 just fine and adding the weight is no problem at all I do the following: $data = '{ "product": { "sku": "' . $row["item_number"] . '", "name": "' . ...
1
vote
1answer
83 views

magento 1.9 soap api error

When I try to connect to magenento api through soap with this code: //soap call test $client = new SoapClient('https://magentohost/api/soap/?wsdl'); // If somestuff requires API authentication, /...
1
vote
0answers
26 views

How to read Customer from Magento to .Net app

I have installed magento 2 in my local system, my requirement is to read customer from Magento to one .NET application. Please suggest me how do I proceed to achieve the same. Thanks Gautam
1
vote
0answers
24 views

Get Canceled Orders with specified range using magento soap api

Can anyone help me how to get the Canceled orders of specified range in magento1.9 soap api. Iam getting the orders but time exausting so i wants to get the orders between range. Find the below code ...
1
vote
0answers
534 views

Invalid Login attempt while accessing Netsuite using SuiteTalk(Web Service)?

I am trying to get data from NS using WS. for that I'm using the following details in SoapUI: WHEN I SEND THE request I get the following response : Anyone had success with this or have any idea ...
1
vote
1answer
45 views

Yet another bulk product import issue

We are planning to import a few thousands of products with custom options in Magento CE 1.9. We use SOAP for that, CSV is not an option since additional attributes may store html, json or serialized ...
1
vote
0answers
31 views

How to set value to taxvat in the Magento SOAP API?

I need to set value to the taxvat field, the value needs to be the value from another field from my request. For example: When the client make request, all fields about taxvat needs to display the ...
1
vote
1answer
122 views

Magento 2.2 soap api catalogInventoryStockRegistryV1UpdateStockItemBySku

I'm trying to use Magento soap catalogInventoryStockRegistryV1UpdateStockItemBySku, but I cannot understand how parameters should be passed. I know there is REST documentation but if I apply the REST ...
1
vote
0answers
115 views

re: SOAP Error on Magento 1.9.3.8 -

Could really use some help... Trying to connect to SOAP on Magento 1.9.3.8 - can't get it to work on production site, so testing with a fresh install I'm getting the exact same errors... Fatal ...