Questions tagged [soap]

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

135 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
657 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 ...
6
votes
1answer
1k 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 ...
5
votes
0answers
7k 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
0answers
167 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('...
4
votes
2answers
945 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
1k 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
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
0answers
48 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....
3
votes
2answers
440 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
181 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
1answer
234 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
218 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
411 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
33 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
0answers
105 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
0answers
62 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
0answers
28 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
2
votes
1answer
2k 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
27 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
558 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
465 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
161 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
1k 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
182 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
346 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
192 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
804 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
277 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
789 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
357 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
3k 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
342 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
269 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
21 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
1answer
99 views

Magento 2 credit memo API observer/plugin

I'm interested to know if an observer or plugin will be trigger if a credit memo is created via API rest example: POST /V1/creditmemo/refund OR POST /V1/invoice/{invoiceId}/refund ref:https://devdocs....
1
vote
0answers
21 views

How to use the Zend SOAP adapter in a Magento2 payment gateway

I would like to make a SOAP request to a payment gateway doing so the Magento2 way. Unfortunately I am struggling with what to me seem incomplete developer docs and a lack of examples to borrow online....
1
vote
0answers
36 views

Magento 2: How to change price formatting for the API interface?

I need for the (soap) sales order API all prices with 4 decimal places. Example: 9.45 => 9.4500 But only for the API not for other prices! I know the prices are already stored with 4 decimal ...
1
vote
0answers
12 views

validating SOAP response in Magento 2.3

I am working on a module that connects to a third party API using SOAP. What I want to know is what are the best practices when developing with SOAP? How to validate the SOAP response? ex - if the ...
1
vote
0answers
210 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
11 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
30 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
311 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
158 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
29 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
660 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 ...