All Questions

Tagged with
Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Can't use soap service in magento 2.3.1

Can't use soap service When I test soap with this script: try { $opts = array( 'http'=>array( 'header' => 'Authorization: Bearer token' ) ); $...
0
votes
0answers
18 views

Magento2 SOAP error when using storeview 'all'

We have a pretty strange issue with the Magento2 SOAP API. The SOAP is working, but whenever we use the type CatalogDataProductAttributeInterface it will throw an error. But only on our production ...
0
votes
0answers
29 views

Magento 2 | SOAP api

I have created an API in Magento 2.3 to update the product qty in bulk. The functionality is working fine, when we execute the API using the $soapClient = new SoapClient($wsdlUrl, ['version' => ...
0
votes
0answers
13 views

order invoice from SOAP api

How can i get invoice and shipment order using SOAP api. $soapResponse = $soapClient->salesOrderManagementV1GetOrderInvoice(array("increment_id" => 2000000001)); this code is not working. what ...
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": "' . ...
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....
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%&...
0
votes
0answers
29 views

how to customize magento 2 order iteminterfae soap api

Hi in magento2 default API order item interface i need to add custom fields those are not attributes just i need to add custom flags in soap API based on order id flags will come how to add that it is ...
0
votes
0answers
115 views

Magento 2 add custome attribute to soap api in order list

I have created one custom fee attribute for order i need to add this attribute to soap api can any one tell me
0
votes
0answers
18 views

Why does /soap not follow site X-FRAME header?

After a pen test a low impact security flaw was reported saying that X-FRAME-OPTIONS were not being set. Which was odd as following the devdocs recommendation (https://devdocs.magento.com/guides/v2.2/...
1
vote
2answers
485 views

Magento 2.2.5- SOAP-ERROR Parsing WSDL

Every time I run this script. I get an error. I placed this file in the root directory of my magento. soapexample.php: <?php error_reporting(E_ALL); ini_set('display_errors', 1); require('...
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&...
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
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 '...
1
vote
1answer
121 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
216 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
126 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 ...
0
votes
1answer
201 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 ...
1
vote
1answer
339 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
156 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
170 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
142 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
192 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 ...
0
votes
1answer
109 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
626 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 ...
1
vote
0answers
418 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, ...
1
vote
0answers
327 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
1answer
768 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
285 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?
4
votes
1answer
2k 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
0answers
415 views

Magento 2 - SOAP Consumer is not authorized to access

In my Magento 2.0.13 is working, but on Magento 2.1.5 I received this message below when I accessed mystore.com/soap/default?wsdl&services=catalogProductRepositoryV1 I don't want create a ...
3
votes
1answer
416 views

Data format for creating a product using soap api in magento 2

$productData = array( 'sku' => 'MSD', 'name' => 'MSD', 'visibility' => 4, /*'catalog',*/ 'type_id' => 'simple', ...
1
vote
0answers
450 views

How is it possible to set an extension_attributes to the orders and have it appear with REST/SOAP API?

I am trying to use extension_attributes in order to add a field in the orders. The thing is, I want that field to appear when we get the orders with API calls (http://monsite.fr/soap/default?services=...
0
votes
3answers
1k views

Magento 2.1.3 Swagger and api error

Im using Magento 2.1.3 and PHP 7.0.8. I would like to test some Magentos 2 import api. When I'm trying to connect to swagger by http://localhost/swagger error 500 is received: I'm also trying to ...
1
vote
1answer
557 views

Magento 2.0 REST/SOAP API - how to retrieve Special Price

I need to be able to retrieve the Special Price of a product. I can successfully retrieve products singly or as a list, but can only see a price property on the product object. I also cannot see ...
1
vote
0answers
214 views

Magento 2 checkout payment page doesn't works because European server (ec.europa.eu) is down?

I'm getting this error in the checkout page, when I click for the payment step: "Fatal Error: 'SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://ec.europa.eu/taxation_customs/vies/services/...
1
vote
0answers
325 views

Error in salesOrderRepositoryV1;content type application/soap+xml;

I am using Magento EE 2.1.1 version. While using web service salesOrderRepositoryV1 to get the order details. I'm getting error as below: System.ServiceModel.ProtocolException was unhandled ...
1
vote
1answer
124 views

magento2 API - SOAP connection mystery. Which versions for “stream context”

I have an existing m1 site and a php script which uses the soap API to synchronize product information (read only). It is on a host I do not control and uses the litespeed server. I have been trying ...
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 ...
3
votes
1answer
581 views

How to send SOAP API String from Order Success

I am looking to build a SOAP API that passes a String to a portal via webservice after a payment token is received from PayPal and the customer is directed to the success page. I've been working ...
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 ...
4
votes
1answer
3k views

Adding new order field to API response: /V1/orders/:id without using extension_attributes

So basically I want to extend the existing web-service /V1/orders/:id for adding new order field (say: erp_id). It's a field in sales_order table and it's available when you load the $order object. ...
2
votes
2answers
6k views

How to use soap API in Magento2?

In Magento1, we use a username/ password in the SOAP call for authentication, what is the difference in Magento2? For example, When i want to get an order info, I use http://example.com/soap/en?...
0
votes
1answer
157 views

Upgrading from 1.9 to 2 - What about the SOAP API?

we're thinking of moving from 1.9 to magento 2 in the future. I'd like to estimate the mass of work necessary for the upgrade. I cannot though find any information on how much the SOAP API was changed?...
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 ...
1
vote
0answers
389 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
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, '<' ...
2
votes
2answers
307 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 ...