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
9 views

Magento 2: Convert SOAP XML Response into array

I am getting below XML as a response, how can I convert it to an array? I have tried almost all the think available in internet but always getting this error: Decoding failed: Syntax error <soap-...
user avatar
  • 1,009
0 votes
0 answers
42 views

How to use NTLM Authentication while consuming SOAP API

$soapClient = $this->soapClientFactory->create($wsdl, $options); $options = array( 'http'=>array( 'header' => 'Content-Type: application/xml', 'Soapaction: "urn:microsoft-dynamics-...
user avatar
0 votes
0 answers
52 views

Could not connect to host Magento2

I have configured the FedEx Shipping Method in a Sandbox mode for my Magento2 site. I have checked all the details are fine and confirmed by using Postman. Now when I try to check the rates from the ...
user avatar
  • 150
0 votes
0 answers
69 views

Magento 2 SOAP Load Gives Error Invalid XML

I tried to load for example : https://example.com/soap It download the SOAP File with Following Content : <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:...
user avatar
0 votes
1 answer
32 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,...
user avatar
  • 323
0 votes
0 answers
58 views

How to implement Third party soap api in magento 2

I have third soap api url & want to integrate with magento 2. What is the process and steps to integrate it in magento 2? Anyone can share the steps to do it?
user avatar
  • 1,957
0 votes
0 answers
24 views

Limiting attributes returned for catalog_product.info on v1 SOAP API

Despite the SOAP documentation seemingly always showing v1 and v2 being the same with the exception of how you call a method and there being a ton of example of v2 calls. I cannot seem to get this to ...
user avatar
  • 1
0 votes
0 answers
52 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 ...
user avatar
0 votes
2 answers
54 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:
user avatar
1 vote
2 answers
1k 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 ...
user avatar
  • 2,038
1 vote
0 answers
18 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&...
user avatar
  • 1,270
0 votes
1 answer
391 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 ...
user avatar
  • 151
0 votes
1 answer
49 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; ...
user avatar
0 votes
0 answers
50 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> ...
user avatar
  • 7
1 vote
1 answer
387 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 ...
user avatar
1 vote
1 answer
109 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 ...
user avatar
1 vote
0 answers
29 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 ...
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.
user avatar
0 votes
1 answer
120 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: ...
user avatar
  • 101
0 votes
1 answer
108 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: <?...
user avatar
0 votes
1 answer
40 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 ...
user avatar
0 votes
1 answer
985 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 ...
user avatar
1 vote
0 answers
138 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( '...
user avatar
  • 41
2 votes
0 answers
115 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?
user avatar
  • 41
1 vote
1 answer
1k 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....
user avatar
0 votes
1 answer
266 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 ...
user avatar
  • 3,131
0 votes
1 answer
22 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....
user avatar
1 vote
0 answers
57 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....
user avatar
1 vote
0 answers
222 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 ...
user avatar
  • 71
1 vote
0 answers
21 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 ...
user avatar
  • 11
0 votes
1 answer
95 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' ) ); $...
user avatar
  • 455
0 votes
2 answers
372 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
user avatar
1 vote
1 answer
383 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 ...
user avatar
1 vote
0 answers
423 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 ...
user avatar
  • 31
0 votes
1 answer
715 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($...
user avatar
1 vote
0 answers
13 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 ...
user avatar
  • 111
1 vote
1 answer
107 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 =...
user avatar
  • 233
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?
user avatar
  • 111
1 vote
2 answers
713 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": "' . ...
user avatar
  • 21
1 vote
1 answer
490 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, /...
user avatar
  • 455
3 votes
0 answers
86 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....
user avatar
2 votes
0 answers
200 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 ...
user avatar
3 votes
2 answers
1k 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%&...
user avatar
  • 482
4 votes
1 answer
87 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 ...
user avatar
  • 175
0 votes
0 answers
151 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
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/...
user avatar
  • 1,957
0 votes
1 answer
127 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 ...
user avatar
  • 107
0 votes
1 answer
643 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....
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('...
user avatar
2 votes
1 answer
493 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('...
user avatar
  • 151

1
2 3 4 5
10