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
0answers
5 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-...
0
votes
0answers
7 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 ...
0
votes
0answers
10 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:...
0
votes
1answer
21 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,...
0
votes
1answer
36 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?
0
votes
0answers
15 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 ...
0
votes
0answers
43 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 ...
0
votes
2answers
37 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:
1
vote
2answers
657 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 ...
0
votes
0answers
25 views

Magento 2 FedEx error "Requested Shipment internationalDetail dutiesPayment - Payor is required"

I want to receive the shipping label Fedex with CSB information. We will be shipping from India to other countries. I have shared my edited code below. When I tried the same code with shipper and ...
1
vote
0answers
16 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&...
0
votes
0answers
13 views

Magento 2: Load product data-block (via webservice) on product page

We use Magento 2.3. We should be able to load a data block (containing a message related to the speed of delivery) on the product page. The message should be loaded real time as it depends on the ...
0
votes
1answer
193 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
28 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
9 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
33 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
38 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
305 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
86 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
26 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 ...
5
votes
2answers
945 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
94 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
1answer
86 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
32 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
1answer
662 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
108 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
97 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
888 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
218 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
49 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
151 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
19 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
90 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
286 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
328 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
395 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
649 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
12 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
1answer
65 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
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?
1
vote
2answers
642 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
441 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
65 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
188 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
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%&...
4
votes
1answer
86 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
144 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
986 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
118 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 ...

1
2 3 4 5
10