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
0 votes
0 answers
19 views

Filter by updated_at - Magento 1.6

everyone. How's it going? I need help with a filter issue. It's not working as I expected. I'm trying to list orders from after 2023-12-06, but it's returning orders from 2019, 2020, 2021, etc. Can ...
Paulo Andrade's user avatar
0 votes
2 answers
330 views

Magento 245 SoapClient Class Removed From PHP 8.0

Magento241 is working with PHP7.4 and 7.4 have SoapClient and i have custom api call that uses Soapclient. i just upgrade to magento245 and php 8.0 and Soapclient stop working. Any one have idea ? any ...
Sanjay Shiyal's user avatar
0 votes
1 answer
19 views

Adding a <route> in custom module's webapi.xml breakes SOAP API

I have my custom module with a webapi.xml file in module's /etc folder. The moment I add a<route> tag inside of the <routes> tag. The http://<magento_host>/soap/default?wsdl_list=1 ...
m3k_1's user avatar
  • 101
0 votes
1 answer
56 views

Get categories per store using SOAP in Magento 1

In Magento 1 need to make a SOAP call for a certain category in order to extract information. For that I use below request: $result_ = $client->call($session, 'catalog_category.info', 90); However,...
Andreas's user avatar
  • 323
0 votes
0 answers
128 views

Soap is not detected by Magento 2

In my Magento Admin panel when I entering in a section, looks like is not detecting soap extension like this: But in my phpinfo is enabled: The specific section is licenses from a extension called ...
Mauricio Reyes's user avatar
0 votes
2 answers
184 views

Can not get all SOAP services in Postman

I can not get all SOAP services in Postman. when I send: http://magento2.url/soap?wsdl_list=1 I get the following response:
Ihor Radzyil's user avatar
1 vote
2 answers
2k views

Test all soap endpoint api with Wizdler chrome extenssion

We can check rest api with all the parameter detail from swagger so I would be highly appreciated if you guys have tested SOAP api with any tool then please guide me. I have installed Wizdler chrome ...
Zahirabbas's user avatar
  • 2,073
1 vote
0 answers
26 views

Magento 2 SOAP import makes ugly urls. How can I fix it?

An external system is making requests to /soap/all?services=catalogProductRepositoryV1. Products are imported. So far so good. But the url key is encoded in an ugly way. <attributeCode>url_key&...
Akif's user avatar
  • 1,522
0 votes
1 answer
836 views

VAT Validation using EU VIES service not working

The VAT validation on our Magento 1 install stopped working. Annoying, because we have quite a few foreign customers who like the fact that they do not have to pay VAT on our site. The feature worked ...
Bjinse's user avatar
  • 151
0 votes
1 answer
227 views

How to make SOAP calls in magento2.I am using a third party API service

<?php $client = new SoapClient( "https://sandbox.ws-idu.tracesmart.co.uk/v5.6/?wsdl" ); // Set up Classes ready for populating specific wsdl fields $params = new stdClass; ...
Sachin Yadav's user avatar
0 votes
0 answers
89 views

how to remove node from soap[ response

getting this <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="https://magentolocal.com/soap/default?services=CustomapiV1"> <env:Body> ...
Gagan's user avatar
  • 7
1 vote
1 answer
615 views

Unable to list out my site's soap services with error (XML declaration allowed only at the start of the document)

I am trying to list my Magento 2.3.2 site's soap API by running to below URL, https://mysiteurl/index.php/soap/default?wsdl_list=1 However, it only shows the error message below This page contains the ...
JeffreyLai's user avatar
1 vote
1 answer
208 views

Magento 2 SOAP API getList not returning correct content-type

getList method for SOAP API XML response has data but returning incorrect content type: Content-Type: application/json; charset=UTF-8 I can see all the data fine if I print $searchResults on return ...
Juliano Vargas's user avatar
1 vote
0 answers
48 views

Why would the order I call SOAP services matter?

New Magento developer here! I was getting the fatal error: "looks like we got no XML document" when adding a product through SOAP with sets of attributes, pictures, stock etc., after many hours of ...
Xaser3's user avatar
  • 56
5 votes
2 answers
1k views

Magento 2.3.5 SOAP DateTime is invalid

Running the very basic SOAP request to list all services: soap/default?wsdl_list=1 I get The "\DateTime" parameter type is invalid. Verify the parameter and try again.
Stephen Dance's user avatar
0 votes
1 answer
140 views

customerAccountManagementV1 SOAP Module WSDL broken since upgrading from v2.3.4 to v2.3.5

As mentioned in the title, the WSDL returned for the customerAccountManagementV1 module now contains an error in the response since upgrading from version 2.3.4 to version 2.3.5. Error shown below: ...
Luke4792's user avatar
  • 101
0 votes
1 answer
132 views

Magento2.2.2 SOAP API Create Partial Invoice

Partial invoice doesn't seem to be working correctly for SOAP requests when multiple item has been ordered. POST URL: http://dev.test.com/soap/all?services=salesInvoiceOrderV1 SOAP BODY: <?...
Juliano Vargas's user avatar
0 votes
1 answer
48 views

How can I get vat_id via SOAP without additional modifications?

I understand that, by default, Magento doesn't expose the vat_id field via SOAP. The accepted answer there is to edit the core/add a module. Unfortunately, I don't have such luxury because I don't ...
Dr. Gianluigi Zane Zanettini's user avatar
0 votes
1 answer
3k views

Uncaught SoapFault exception: [Client] looks like we got no XML document php [closed]

I'm trying to make a SOAP web service work. I have a XAMPP server installed and I use Visual Studio Code for coding. I've created a web service in a file called "servidorWs.php'. Its content is the ...
user1746636's user avatar
1 vote
0 answers
198 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( '...
Chris's user avatar
  • 41
2 votes
0 answers
186 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?
Chris's user avatar
  • 41
1 vote
1 answer
2k 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....
Juliano Vargas's user avatar
0 votes
1 answer
353 views

Soap API not working in magento 2.3.2?

SOAP API not working in Magento-2.3.2. It's showing below error https://domain.com/soap/?wsdl&services=integrationAdminTokenServiceV1 env:Receiver The "decimal" class doesn't exist and the ...
Devidas's user avatar
  • 3,338
0 votes
1 answer
24 views

From which Magento 1 version "catalogProductAttributeSetCreate" method is available

From which Magento 1 version catalogProductAttributeSetCreate and storeInfo method is available for soap API. Ex URL for soap wsdl: https://demo.example.com/api/v2_soap/?wsdl=1 https://demo....
Nagendra Kodi's user avatar
1 vote
0 answers
82 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....
Mavis Bacon's user avatar
1 vote
0 answers
385 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 ...
Michael's user avatar
  • 71
1 vote
0 answers
28 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 ...
Kevin's user avatar
  • 11
0 votes
1 answer
110 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' ) ); $...
blob's user avatar
  • 455
0 votes
2 answers
489 views

Magento soap api version1 get list of closed orders

We would like to get the list of closed orders by passing from and to date filter in magento soap api. Help me great. Thanks
shivashankar m's user avatar
1 vote
1 answer
461 views

How to Run Magento 1.9 Api from Javascript

I want to run Magento Apis using JavaScript and person certain functions such: get all orders, get specific order, create shipment etc, Now I have seen other tutorials and i can run Magento Apis ...
Joey Leblanc's user avatar
1 vote
0 answers
469 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 ...
sam's user avatar
  • 31
0 votes
1 answer
847 views

Magento 1.9 - How to filter catalog_product.list with their custom attribute in soap/v1

$client = new SoapClient('http://localhost/project/api/soap/?wsdl'); $user_name = $_POST["user_name"]; $password = $_POST["password"]; $response = array(); $session = $client->login($...
Pranav Patel's user avatar
1 vote
0 answers
19 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 ...
user69374's user avatar
  • 111
1 vote
1 answer
145 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 =...
R P's user avatar
  • 253
1 vote
0 answers
22 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?
user3081's user avatar
  • 111
1 vote
2 answers
924 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": "' . ...
Dan S's user avatar
  • 21
1 vote
1 answer
585 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, /...
blob's user avatar
  • 455
2 votes
0 answers
213 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....
Maicon Fernando Stefene da Sil's user avatar
2 votes
0 answers
225 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 ...
shivashankar m's user avatar
3 votes
2 answers
2k 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%&...
Dinesh's user avatar
  • 552
4 votes
1 answer
99 views

Set all selected media gallery types to default store value using SOAP Api

I want all images of a product to use the default small_image, thumbnail and image again for every storeview using the SOAP api. So far I've tried to set the 'types' using ...
SuperDicq's user avatar
  • 175
0 votes
0 answers
166 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
Pawankumar's user avatar
1 vote
1 answer
1k views

soap api is not working in magento 1.9

I am trying to get products using soap api. But I am getting below error: Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://example.com/...
Vinod Kumar's user avatar
  • 2,045
0 votes
1 answer
139 views

How can I manipulate SOAP request output?

I'm using the following soap function to pull my Magento category tree: <?php $client = new SoapClient('http://bennettcode.com/store/index.php/api/soap/?wsdl'); // If somestuff requires API ...
Bennett's user avatar
  • 107
0 votes
1 answer
836 views

How do I correctly access WSDL for SOAP connection?

When running this, I only get an "HTTP ERROR 500" page. As I've seen in other solutions I've added the 'index.php' before the /api section. I've also enabled WSI-Compliance mode as I've seen suggested....
Bennett's user avatar
  • 107
2 votes
2 answers
3k 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('...
Usman Yousaf's user avatar
2 votes
1 answer
563 views

Create customer using magento Soap API

I am trying to create new customer using magento soap api , here is my code : $client = new SoapClient('http://map.itgprojects.pw/api/v2_soap?wsdl=1'); `$session = $client->login('...
Hanane's user avatar
  • 151
2 votes
1 answer
132 views

Magento cancel onhold orders

Is there any possibility to cancel the on hold orders magento1.9 soap API.
shivashankar m's user avatar
3 votes
0 answers
206 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 ...
Rehman's user avatar
  • 31
2 votes
0 answers
98 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&...
Gautam's user avatar
  • 41

1
2 3 4 5
10