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
1
vote
0answers
35 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 ...
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 '...
0
votes
0answers
229 views

Magento 1.9 custom api update inventory

I am updating the cataloginventory_stock_item custom quanty values based on stock ids by using custom api. I written a update table query in custom api module model file: Like below: public ...
1
vote
1answer
195 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 ...
0
votes
0answers
325 views

Magento1.9 inventory updates api

I have a fields in inventory section qty, like below scree shot, i wants to update the qty fields both at a time using magento1.9 soap apis, In the above screen shot i wants to update Main and ...
0
votes
1answer
187 views

Create quantity invetory with multiple stock_ids in magento1.9

I have two stock_ids (1,3) in cataloginventory_stock_item table for product admin inventory quantity fields, While iam creating the product using apis, i wants to create product by multiple stockids ...
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 ...
0
votes
1answer
126 views

Magento catalogProductAttributeOptionManagementV1 AddOption SOAP

I am sending a soap request to Magento and getting an error per below. <?xml version="1.0" encoding="UTF-8"?> -<soap:Envelope xmlns:def="XXX/soap/all? services=...
1
vote
0answers
150 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 ...
0
votes
1answer
30 views

Why Magento SOAP multiLocationInventoryStockList is not accepting any filter request?

I am trying from magento soap to get info about inventory from individual "sku", but object "multiLocationInventoryStockList" is getting me back result from all locations Id's. Here is my code in C#:...
1
vote
1answer
142 views

Magento 1.9 SOAP product update - out of stock

I manage to update products by SOAP api, but after update my products have 'Out of stock' label. It looks like Magento bug, because I am not updating stock inventory and I don't use this feature in my ...
1
vote
0answers
327 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: ...
0
votes
0answers
304 views

Magento 2 SOAP API ERROR

I am using SoapUi to send a product to save changes the price per website for example here I am using the default website but it isn't working: the Request: <?xml version="1.0" encoding="utf-8"?&...
1
vote
1answer
187 views

Return string from webapi gives an unwanted extra character

I am using a webapi observer. In the model, I am requiring a legacy file that echo a well-formed XML for SOAP communication. However, Magento2 echo the result of the Model method, and it does it ...
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('...
0
votes
1answer
390 views

Where to find a solid Magento 2 SOAP-API Documentation

I'm currently working on a webapp that communicates with a magento 2 server. I tried to use the soap interface for the communication but it quickly turned out, that the soap api changed from Magento 1 ...
3
votes
4answers
325 views

Demac Canada Post Plugin - “Cannot connect to host”

On March 10th, 2018, Canada Post changed the way plugins connect to their API. The Magento plugin - Demac Canada Post Shipping - stopped working and started to show error "Cannot connect to host". ...
-1
votes
1answer
379 views

SOAP-ERROR: Parsing WSDL: Couldn't load from 'myurl/api/soap/index/?wsdl=1' : Extra content at the end of the document

request code ............. zzz zsw12wd .............. response ....... ...
3
votes
2answers
1k 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/...
0
votes
1answer
171 views

How to connect ERP to magento store via Soap?

I want to create a login for ERP in my magento store. I have created a user and role in web services->soap/xml-RPC how can login via soap?
1
vote
0answers
97 views

Writing an event observer to a SOAP API

I have a module, which grabs the customer information everytime a customer is updated. Right now, the customer data is stored in the var log file and I want to send this information to a SOAP API, ...
1
vote
2answers
1k 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 ...
0
votes
1answer
346 views

REST API vs JSON

I've found lots of questions and answers on REST API vs SOAP API. Some of them like this one mention JSON. Could you explain what is the difference between REST API vs JSON. (aka create custom ...
1
vote
1answer
483 views

Search Criteria not working with Soap API

Description: I am working with Soap API on Magento 2, I am trying to get a filtered list of all products on my store using the following code. P.S: I have tried to filter other fields like Sku,Id ...
1
vote
1answer
207 views

Magento 2 Trying to implement paypal payflowpro using CC within a custom SOAP api plugin

So I have created a custom module that extends Magento 2's API functionalities. Everything works fine except the payment part. This API extension allows among other things to create orders and it ...
1
vote
0answers
229 views

Magento 2 Soap webapi error

I am creating a soap API in Magento 2, I have created a repositoryInterface for the same, When I fetch all the available WSDL list using below URL. It lists my service as well. site_url/soap?...
1
vote
0answers
182 views

Magento 2 to Netsuit error: BaseRef is an abstract type and cannot be instantiated

Here is my controller class <?php namespace Jlsmith\Netsuit\Controller\Api; use Jlsmith\Netsuit\Model\NetSuite\NetSuiteService; use Jlsmith\Netsuit\Model\NetSuite\Classes\GetRequest; use Jlsmith\...
2
votes
1answer
233 views

Magento2 : Create SOAP connection in magento custom module

I am using below code in M1 to establish the connection using SOAP:- <?php class Company_Module_Helper_Webservice extends Company_Module_Helper_Basehelper { private function ...
1
vote
1answer
546 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: ...
0
votes
1answer
136 views

Magento 2 API. Can not send 2 params

all! I'm implementing my custom API and want to send 2 parameters for my method. Here is my code: app/code/Openc/GCApi/etc/module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3....
1
vote
2answers
780 views

Magento 2. Make soap response as array

I'm implementing custom API for Magento 2. My client want the response to be as associative array. Here is my class method: class Gcapiapi implements GcapiapiInterface { /** * Returns ...
0
votes
1answer
2k views

SoapClient fails with - Failed to load external entity

I am trying to run a SOAP request from my client's Mangento website. Its throwing below error 'SOAP-ERROR: Parsing WSDL: Couldn\'t load from \'https://swsim.testing.stamps.com/swsim/swsimv50.asmx?...
1
vote
0answers
469 views

How to use Magento 2 SOAP API from Python?

I am trying to fetch all the orders and customer from Magento 2 to my python based application. But I am not able to get any API to use in Python. Anyone who has used Magento 2 SOAP API in python, ...
0
votes
1answer
184 views

Doubts about working with API

I have to make a method to send my login and password to a website and get the xml it returns, its gonna be a list of products. What would be the best way? My options are: SOAP 1.1, SOAP 1.2, GET and ...
1
vote
0answers
361 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
0answers
239 views

Sending RAW XML to update order status

I'm trying to update some order statuses via the API. Currently making use of Magento v1.9.3.3 I'm sending it to http://www.mytestserver.com/index.php/api/soap/ <soapenv:Envelope xmlns:xsi="...
2
votes
1answer
559 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 ...
13
votes
3answers
371 views

Improve performance on SOAP calls

I have a performance problem with Magento 2.1 In my shop, I have 90.000 products. I added these products to soap. When I did this it took round about 7 seconds for each article (product?) (Request>...
0
votes
1answer
249 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
0answers
1k views

Magento SOAP Login gives this error 'Premature end of data in tag html line 2'

I'm working on an integration with a client website in to my app. for this I use SOAP. This is the url: http://52.40.180.117/demo/uae_en/ Now the problems. 1) If I use standard SOAP URL as ...
1
vote
0answers
681 views

Magento : Calling SOAP API on Local Server Returning HTTP Bad Request

I created SOAP API on my magento website and it's working correctly on live server. But now I need to using those API in another server machine at local environment (local machine with IIS7) and for ...
1
vote
2answers
394 views

How to create api with magento step by step

I want to create SOAP API for mobile app Product Product List Category List Customer I'm new to API and found many results none of extension works for me. I have created Webservices user and role ...
0
votes
1answer
859 views

Sample files to use Magento 2 API REST and SOAP

How can I use the REST and SOAP? I'd like to have sample PHP files to use each one. I'm using the Magento 2.1. Thanks
0
votes
1answer
314 views

Magento2 soap/rest api for third-party consumer

I'm trying to create a webservice client for Magento2 api. I would like to know whether Magento2 supports oauth2 or oauth1.0. Could someone clarify if Magento2 SOAP API also requires oauth process?
2
votes
1answer
1k views

Magento change quote currency programmatically

I am sending my magento store data to mobile application through soap request. I am having issue with multi currency. To mange the multi currency in android manging conversion through javascript. ...
1
vote
1answer
404 views

Magento-2 SOAP API can't create customer

I am trying to create customer through SOAP API with below script. I am able to get customer details with customer id but can't create the customer. I am getting this error "SOAP-ERROR: Encoding: ...
1
vote
2answers
2k views

How to make SOAP calls in magento2?

I am trying to make soap call to get data from 3rd party website. How can i use soap api call in magento2 ?
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/...
4
votes
1answer
3k views

Magento2: Add a New Customer Address

I'm trying to add a new customer address using Magento 2 REST API in C#. I'm using POST /V1/customers/:id. I keep getting the below error. Where do I find the regionId? Is there another API I can use ...
0
votes
1answer
940 views

Magento2 how to generate token for SOAP API

I tried to generate token for magento2 SOAP API but i am getting below error Error: Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] SoapServer::SoapServer(): Invalid parameters in /var/...

1
2
3 4 5
10