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
1answer
5 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 ...
0
votes
1answer
22 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; ...
0
votes
0answers
6 views

Custom fields not showing on SOAP API V2

Every custom fields managed by the community plugins are not showing. For example when I retreive the infos of an order, I should have on each items the property warehouses. To debug, I went into ...
0
votes
0answers
16 views

How to avoid Bogus tag in SOAP request with PHP?

My request is like: <ns3:Ininline > <ns3:Ininline > <BOGUS> <ns3:LineIden >1133</ns3:LineIden> <ns3:Quantity >I</ns3:Quantity> ...
0
votes
0answers
15 views

Magento 2.3.0 SOAP URL Stops working

I am using magento version 2.3.0. Now the soap url stop working suddenly after deployment. I reverted the change but still geting issue while calling SOAP API. Anyone face issue like then or any ...
0
votes
0answers
7 views

magento 2.3 custom api soap returns weird xml

I've created a custom module and want to call some api method via soap api, so I created all the API classes, but when I test my method, magento swagger gives me no error, while other tools (eg: ...
0
votes
0answers
21 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> ...
1
vote
1answer
115 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 ...
1
vote
1answer
50 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 ...
1
vote
0answers
15 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 ...
0
votes
0answers
21 views

Magento 2 SOAP documentation

I'm currently trying to update a C# Magento interface that uses SOAP methods to send and receive data from Magento 1 to Magento 2. I'm struggling to work out how old requests map to the new ones. Is ...
4
votes
1answer
589 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.
0
votes
1answer
46 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: ...
0
votes
0answers
9 views

Missing field for administrator password for SOAP

I am trying to set up soap to integrate Linnworks but i have no Administrator Password field. It just is not there! Any ideas
0
votes
0answers
9 views

Product created with SOAP API missing attributes

I'm trying to create a product using /api/soap_v2 from my C# project. The product gets created, but is missing some of the additional_attributes that I specified. Some work ("data_status", "...
0
votes
1answer
57 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: <?...
0
votes
1answer
24 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 ...
0
votes
0answers
42 views

How to get a product quantity from Magento 2 SOAP api?

I'm pulling a bunch of products from Magento 2 via the SOAP api in postman, but I can't seem to get the quantity of a product. I can get any or all infomation, but I really need to know how many of ...
0
votes
0answers
14 views

SOAP - customer logged in, but can't see cart

I use SOAP and the customer's email address to log the customer into the shop system. This is successful. If I now add a product to the customer's shopping cart via SOAP, it will be forwarded to the ...
0
votes
1answer
406 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 ...
1
vote
0answers
36 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( '...
2
votes
0answers
60 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?
1
vote
1answer
444 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....
0
votes
1answer
131 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 ...
0
votes
1answer
15 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....
1
vote
0answers
33 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....
1
vote
0answers
63 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 ...
1
vote
0answers
16 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 ...
0
votes
1answer
65 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
2answers
117 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
1
vote
1answer
192 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 ...
1
vote
0answers
294 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 ...
0
votes
1answer
462 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($...
1
vote
0answers
11 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 ...
1
vote
0answers
40 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 =...
1
vote
0answers
19 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?
1
vote
2answers
471 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": "' . ...
1
vote
1answer
314 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, /...
3
votes
0answers
58 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....
2
votes
0answers
160 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 ...
3
votes
2answers
665 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%&...
4
votes
1answer
80 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 ...
0
votes
0answers
134 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
1
vote
1answer
750 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/...
0
votes
1answer
68 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 ...
0
votes
1answer
418 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....
2
votes
2answers
2k 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
339 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('...
2
votes
1answer
94 views

Magento cancel onhold orders

Is there any possibility to cancel the on hold orders magento1.9 soap API.
3
votes
0answers
189 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 ...

1
2 3 4 5
10