Questions tagged [soap]

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

Filter by
Sorted by
Tagged with
4
votes
1answer
839 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
991 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 ...
5
votes
1answer
989 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 ...
0
votes
1answer
106 views

AvaTax exceeds memory limit

We began randomly seeing a memory limit issue when attempting to view cart or checkout on the frontend, or create an order in the backend. After reviewing the logs, I disabled AvaTax and the error ...
1
vote
0answers
390 views

soap-error: Parsing Wsql: couldn't load from “xyz.wsdl” faild to load external

In magento2 i created a module in which i used soap api for request, response, everything working fine in my local but when i running on server. I am getting below error 'Fatal Error: 'SOAP-ERROR: ...
0
votes
1answer
191 views

Import products via SOAP and reuse the same image for all products

I've created a script to import many hundred products from another datasource via SOAP to magento but I want to use the same product image for all products. Is this possible?
0
votes
1answer
381 views

MAGENTO 1.9 Soap delete all image from product

I'm using the SOAP web service to add images to products after I import them. Now before I want to add the image to the specific product, I want to delete all the images of that product. But the SOAP ...
0
votes
1answer
3k views

Sample php code to programmatically check SOAP connection in Magento 2

I tried the below code though I am not sure whether these are the required set of scripts, but it didn't work and gives SOAP-ERROR: Parsing WSDL: Couldn't load from : Start tag expected, '<' ...
0
votes
1answer
378 views

Magento SOAP API get disabled categories

I am working on a script (Python) which will need to get information of a category. Simple as it seems, I thought. Well, I am bumping on the problem that I can't recieve the ID's of disabled ...
2
votes
2answers
314 views

SoapClient::__call() error inside Payment::capture()

Trying to implement custom payment using SOAP. Payment system has working examples for php5 https://shop.nets.eu/web/partners/sample-code. Soap works fine if I run this samples as plain PHP, but ...
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
341 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/?...
0
votes
2answers
577 views

Magento2 Token not generating

I am trying to generate a token which i need to create a WEB SERVICE for which i am using following code but i am not able to get a token. Can any one please suggest me the proper way to generate a ...
0
votes
4answers
2k views

How to call magento2 SOAP or REST API outside magento2?

I am using below code to call the API but its showing error: $request = new SoapClient( 'http://magento2-dev.local/index.php/soap/? wsdl&services=foggylineSliderSlideRepositoryV1', array( ...
1
vote
1answer
699 views

catalog_product.list get storeview product name

I'm using SOAP to update META-data for a specific storeview. Basically I have a localised string where I add the product name to the actual text. However, for some reason I get the default name and ...
1
vote
1answer
333 views

Magento 2, Soap as service reference, access to different Shops

I need to access to two different shops in one Magento 2 instance. Haven't found out yet, how to tell the interface (using Visual Studio and Service References) which of the shops / frontends I want ...
0
votes
2answers
1k views

Upload Image Magento API

I'm creating a SOAP v2 api in Magento, and one of the methods is to upload an image to the Magento media folder. So my question is: how can I send an image to magento without using a form? and how can ...
3
votes
1answer
114 views

Magento2 API - Why are null values never type casted

When creating a SOAP client for example in Visual Studio, currently there is a Problem, that objects cannot be deserialized when they contain scalar types with a null value. Using a programming ...
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
773 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 ...
1
vote
1answer
966 views

Magento: create product using SOAP - cannot include additional attributes

I want to include additional attributes to be included when I create magento product using SOAP. I'm using Magento ver. 1.9.2.4 I tried with the following code $result = $client->call($session, '...
3
votes
4answers
5k 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
2answers
153 views

Magento Observer is not able to run the script

I have written a script in Magento observer to send the invoice number in my ERP at the time of invoice creation. Below is my script. I am using sales_order_invoice_save_after event for the below job. ...
0
votes
2answers
847 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: [...
1
vote
1answer
4k views

Soap Error - Procedure 'loginParam not present'

I'm getting a soap error, and I haven't been able to trace it. It is blocking an integration and generally causing havoc. Since it is happening immediately with login, I haven't been able to trace ...
1
vote
1answer
411 views

set payment method to paypal in magento with magento soap api

I configured the paypal express on magento site and it works. But When i want to place an order programmatically and set the payment method to paypal_express in php then it shows the following error. ...
5
votes
2answers
5k 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 ...
2
votes
0answers
273 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
687 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-...
0
votes
1answer
865 views

How to create and update drop down type attribute using SOAP API in Magento?

I am working on Source Magento to Destination Magento migration. I have created an attribute like other attributes so that is not the issue but I am having a big issue or say I don't know how to do.......
1
vote
1answer
1k views

Create product using SOAP API and JSON input

I need to create product with SOAP API and JSON, here is my JSON input: {"sku":"tsett","name":"TEST","weight":"3.0000","qty":"18.0000","brand":"sample","category_ids":["107","108","109"],"pirce":"...
1
vote
2answers
386 views

Reset special price on a store via soap api

I am really struggling to remove a special price and setting the flag Use default value on a store level via soap api. I tried both catalog_product.setSpecialPrice and catalog_product.update (see http:...
0
votes
1answer
311 views

Migrating a SOAP App from Magento 1.9 to Magento 2.0.2

For Magento 1.9, I wrote an app that synchronizes selected columns from an MSSQL product database with the Magento MySQL database. The common key across the databases is a product sku. This ...
2
votes
2answers
2k views

Event for bulk updating product status

I am trying to find event when admin mass update product status from productgrid. I have found catalog_product_status_update but this not seem to dispatch on bulk update of status. I need event for ...
0
votes
2answers
109 views

Magento 2 - storeInfo

i'm using soap C# in magento 1 we could get the store info my passing in the store id what is the method called in magento 2?
0
votes
1answer
1k views

Magento2 API update multiple inventory items

I'm developing integration with magento. My client want to update his inventory via REST or API, the problem is that he has thousands of products and it will take a lot of time to update them one by ...
0
votes
1answer
260 views

Magento2 SOAP Sorting error

I'm trying to use soap API. Answer contains : The sort order has to be specified as %1 for ascending order or %2 for descending order. What i'm doing wrong? request: <soap:Envelope xmlns:soap="...
0
votes
0answers
310 views

Magento API 20x Slower On Local Dev Environment. Why?

I'm trying to test the speed of Magento API methods and finding it very difficult due to inconsistent results. Right now my test consists of three API calls: login, core_magento.info, and endSession....
0
votes
1answer
914 views

Magento SOAP v1 - updating product by SKU

I want to update product by it's SKU. I've found that it is possible to do with following code: $client->call($sessionId, 'catalog_product.update', array($product_sku, array( 'stock' =...
2
votes
1answer
849 views

How to get list of all the groups of particular attribute set using Soap API?

My question is similar to this post :- https://stackoverflow.com/questions/28952325/magento-retrieve-a-list-of-groups-from-a-attribute-set but there is no answer so. I have attribute set id - 4 - ...
0
votes
1answer
855 views

SOAP fault when trying to call API for third party module

I have a third party extension module in Magento (aheadWorks gift wrap) that works fine from the front end and will save gift details to the Magento DB as required. The issue I have is trying to ...
2
votes
0answers
353 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
1answer
1k views

C# can access Magento 2 SOAP API without OAuth token

I'm trying to connect a PC client application written in C# to a Magento 2 demo shop I'm hosting in a Linux VM. I added a new integration in Magento and activated it, so I got the OAuth tokens the ...
4
votes
1answer
1k views

Magento SOAP v2 attributes parameter for product

According to the API Docs, one can specify an array of attributes as a parameter when retrieving a product. What is the purpose in that?
0
votes
1answer
136 views

WSDLSOAP-ERROR: when accessing soap URL in browser

I am getting below error when accessing http://example.com/index.php/api/v2_soap/index/ (main site URL renamed for security purpose)in browser. Error is WSDLSOAP-ERROR: Parsing WSDL: Missing ...
1
vote
1answer
55 views

Magento WSDL file the same for each store

Is the WSDL file generated from each store the same with regards to structure and available components or is it different for each store (can each store define its own datatypes etc.) I am wondering ...
2
votes
3answers
4k views

Magento 2: SOAP Services Authentication

I am trying to integrate Magento 2 using SOAP services. I am bit struggling on the initial steps to authenticate to the store. My objective is to connect to Magento 2 store and get the customer ...
1
vote
1answer
3k views

Magento Fatal error: Uncaught SoapFault exception [HTTP] Internal Server Error

$options = array( 'stream_context'=>stream_context_create( array( 'ssl' => array( 'verify_peer'=> false, 'verify_peer_name' => false, ) ) ),...
1
vote
2answers
3k views

Fault Object looks like we got no XML document

I'm using the script below to connect to the Magento API. When trying to connect with my script I've got: SOAP Fault: (faultcode: Client faultstring: looks like we got no XML document) If I enter ...
2
votes
2answers
1k views

Get Product list with attribute (news_from_date and news_to_date)Magento API

I would like to get Product list with attributes (news_from_date and news_to_date) using Magento API V2. I want to retrieve the product list within date-range that i define with attributes (...