Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [soap-api-v2]

Denotes questions related to SOAP API V2.

0
votes
0answers
22 views

Call to a member function setFinalPrice() on a non-object - mageno 1.9

I was trying to make order via SOAP to magento shop. And something strange happens. When I make order request from my application server I have error message like in title (To be more precise it ...
0
votes
0answers
15 views

Date / time format in Magento 1.9x

I am sending and retrieving data from the Magento 1.9x SOAP web service (v2). My question is which format are date / time fields passed in the SOAP api? Also, which timezone are dates processed in the ...
0
votes
0answers
9 views

SOAP API v2 - add configurable attributes and skus for product info method response

How would I add the configurable attribute used in a configurable product and the associated skus to the catalogProductInfo method response?
0
votes
0answers
13 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
16 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
15 views

EE 1.11 SOAP V2 catalogProductInfo additional_attributes

I am using SoapUI to test the SOAP V2 APIs. Currently working with products and need some help with the correct syntax to call all additional_attributes. Herein is what I am doing right now: magento-...
0
votes
2answers
49 views

First steps of creating API integration with Magento2.3

background: I'm new to Magento as I haven't used it before, but I've read through most of the API documentation now. I have an online dashboard application with various widgets that are different API ...
0
votes
0answers
12 views

Magento 1.9 SOAP API few resources

A localhost Magento 1.9.3 and 1.9.4 platform available through Wamp with PHP 5.6 has only a few resources available by WSDL, as the image below shows. The WSI-Compliance is active. What is the ...
0
votes
1answer
28 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
0answers
35 views

Remove index.php from API url request

I need to remove index.php from the URL requests to the API. Currently API calls only work as the following... /index.php/api/v2_soap/?wsdl I need it to load as /api/v2_soap/?wsdl Can any one give ...
0
votes
0answers
20 views

How to solve Soap API : Could not connect to host Error?

I am using SOAP V2 : abc.com/api/v2_soap?wsdl getting details from OroCRM, after Sync most of the data syced, but few of them not sync properly. Error Message : [message] Could not connect to host [...
1
vote
0answers
83 views

Soap is not working in magento 1.9?

I am getting an error when using soap API: Couldn't load from 'https://example.com/index.php/api/v2_soap/index/?wsdl=1' : failed to load external entity "https://example.com/index.php/api/...
4
votes
0answers
59 views

HELP - How to convert Default SOAP-v2 API Magento Objects into XML Values?

By Default return values as Magento Objects using soap v2, how can i change into XML, <?php ini_set('display_errors','On'); $proxy = new SoapClient('abc.com/api/v2_soap/?wsdl', array('trace' => ...
4
votes
0answers
22 views

soap product quantity not updating return exceptions

i am tring to update product quantity using soap but it return error here is my code public function update($data){ //return $data->sku; $_sku = $data->sku; $_catalog = Mage::...
2
votes
1answer
141 views

How to solve Soap_V2 - Uncaught SoapFault exception looks like we got no XML document - SoapClient->__call('login', Array)?

After configuration SOAP_v2 for getting products info, Magento version : 1.9.2.3 Code: <?php $proxy = new SoapClient('abc.com/api/v2_soap/?wsdl'); $sessionId = $proxy->login((object)array('...
0
votes
0answers
23 views

Unable to load SOAP API in Magento 1.9

Unable to load api using soap <faultcode>WSDL</faultcode> <faultstring>SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.test.com/index.php/api/v2_soap/index/?wsdl=1' ...
0
votes
1answer
55 views

Update Tier Prices via SOAP API

I want to update some tier prices of a product based on a calculation I run. Basically it is printing costs, depending on a price per page, compared to some fixed prices. I am using the following ...
0
votes
0answers
11 views

Magento2 error occured while extending a class using soapclient. Is there any solution for this?

Here I am attaching my code. Please have a look and give your answers to resolve this. namespace Vendorname\Modulename\Model\Api; class SoapClient extends \SoapClient
2
votes
1answer
57 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('...
0
votes
1answer
35 views

Magento 2 SOAP API setSpecialPrice

I am using Postman to post special-price but it's with REST API like so: Post URL: http://magento2/rest/V1/products/special-price Payload: { "prices": [ { "price": 50.00, "store_id": 0, "...
2
votes
0answers
50 views

If we can access data by using simple http request ,then why to use rest or soap api or curl?

I am accessing database using simple http request and use it on another interface.for example api's for Andriod or iphone .Even simple http request and method created in mage functionality without ...
0
votes
0answers
46 views

Disable or Hide a particular api in SOAP in magento 1.9

I am new in magento.I am trying to hide or disable a particular 3rd party api from the available api list in SOAP in magento 1.9 .I do not want to see all the 3rd party apis.I just want to visible all ...
0
votes
0answers
25 views

Disable WS-I magento 2

Can WS-I be disabled for Magento 2 (v2.1.6). It's blocking an API connection to a third party shipping portal (Royal Mail Click and Drop). Any help would be most appreciated.
0
votes
1answer
304 views

Soap Connection

I'm trying to create a Soap connection. The error I'm getting is: SOAP Fault: (faultcode: Client faultstring: looks like we got no XML document) I have my code below. Any suggestions of where to ...
0
votes
0answers
132 views

create soap api in an existing custom module

i have to create a SOAP API in my current custom module. There are lot of tutorials but none is working. I have tried this tutorial but it returns all magento methods adding mine at the end
2
votes
1answer
596 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 '...
2
votes
0answers
17 views

How to develop a SOAP API as a guest user

I am trying to developing a SOAP API. For first I created a module like this app\code\MyVendor\MyModule in which I created etc\module.xml, etc\webapi.xml and etc\di.xml. Then I created my API ...
2
votes
0answers
285 views

Magento SOAP Fault “Invalid XML”

When i try to access https://www.example.com/index.php/api/v2_soap/index/ It always gives <SOAP-ENV:Envelope xmlns:SOAP- ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-...
0
votes
0answers
14 views

Magento Soap Api

In Magento is it possible to create a different SOAP API WSDL endpoint? Meaning the default API is accessible from http://yoursite.com/api/v2_soap/?wsdl=1 Can we create another one with different ...
1
vote
1answer
242 views

How to use Postman with Magento 1.9 SOAP API

I can't find a good example anywhere of how to use postman application for testing the Magento 1.9 SOAP Api. The REST Api is not enough for my needs. I have tried a POST request using https://example....
0
votes
0answers
16 views

How to call Soap Api When Product Added and Updated From Admin Panel And Also when Placed the Order

I used Below code for fetch all the product stock items using soap api v2 . <?php require_once('./app/Mage.php'); error_reporting(E_ALL); ini_set('display_errors', 1); umask(0); ...
0
votes
0answers
26 views

Custom API returning undefined function

I have created a module for custom api to list products. But api test throws "Call to undefined function" error My api.xml <?xml version="1.0"?> <config> <api> <...
1
vote
1answer
36 views

magento 1.9: How should I use Magento's API

I am implementing a program that communicates with magento 1.9 using JavaScript. We only need to obtain the product information on the system and display it. Does not operate the database (for example:...
0
votes
1answer
130 views

Magento 1: API SOAP V2 created configurable product with associated simples

Description: I need help with the creation of a configurable products with Magento SOAP API V2. My problem is: I managed to create the configurable product, but there aren't any simple associated ...
0
votes
0answers
27 views

Magento 1.9 the changes in core/Mage/Sales/wsdl.xml not working?

I have changed directly the core sales/wsdl.xml and wsi.xml files to add a custom column value in order_info and order_list of SOAP API V2 but it doesn't appear, Please help me. I am stuck.
0
votes
0answers
47 views

Magento SOAP API add a custom column value to the salesOrderInfo and salesOrderList

I have added a column 'leadsource' in 'sales_flat_order'. I have to pull this in api . Please help.
0
votes
1answer
28 views

API: How to add the prefix field to shipping and billing address?

On Magento 1.9, I need to add the field prefix to the shipping_address and billing_address nodes in the response of salesOrderInfo (soap-api-v2). I tried by adding the following: app/code/core/Mage/...
0
votes
0answers
51 views

What is the best way to import/create products , customers and orders in magento 2.x

I have a third party Soap API, I have to create products, customers, orders and other related data in Magento 2.x. periodically like every 24 hours. There are around 15k products and orders. What i ...
0
votes
0answers
54 views

Magento 1.9 SOAP API - long requests result in Invalid XML errror

I am getting an Invalid XML SOAP response for some requests where the XML in my request is getting long, though I don't think it is excessive. For example I have a request that searches for orders ...
3
votes
2answers
97 views

Switch off WS-I Compliance, Magento 2 Opensource

Does anyone know how I could switch off WS-I compliance for a Magento 2 website, or even if it is possible? Trying to connect to a shipping API (Royal Mail Click and Drop) and they say WS-I ...
0
votes
0answers
24 views

How can I extend API customer info to include coupon use?

(Version 1.9.3.2) I want to be able to get details on which (if any) coupons a given customer has used - as set in Shopping Cart Price Rule. I know there is a lookup table that holds this data but I ...
1
vote
0answers
27 views

SOAP V2 : catalog_category.tree Not Working on Localhost

Configuration : Code: <?php $proxy = new SoapClient('http://192.168.1.89/abc/api/v2_soap/?wsdl'); // TODO : change url $sessionId = $proxy->login('cat', 'welcome'); // TODO : change login and ...
1
vote
0answers
121 views

Magento 2 SOAP API Question

I am using Postman to test send data to different websites e.g I have 2 websites each has its own domain e.g onoe website one store and one store view per domain. e.g 1- http://test.com have: ...
0
votes
0answers
131 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"?&...
0
votes
0answers
69 views

Magento 1.9 SOAP Api Pagination Problem

I have developed a order management system for my magento website in laravel, i used soap api it was working for 40-50 records but after that it down my app to 500 internat server error, How can i ...
0
votes
0answers
16 views

How to magento return raw string after calling an API [duplicate]

How to return a raw string after an API call. Calling the REST API or the SOAP API will format the returned string to json (with REST request) or to XML (with SOAP request). However I need the string ...
3
votes
0answers
75 views

Magento API complex filter value from another key value

I have a custom soap api for my magento 1 website, the problem is i dont know what array value to pass as the filters parameter so the parameter will work like this: $collections = Mage::getModel('...
2
votes
1answer
151 views

Magento 1.9 API v2 Payment Additional Information

I'm trying to extend the API response of Magento SalesOrderInfo - more specifically, I'm trying to get back the paymnent additional_information In my module, in etc/wsdl.xml I added <...
0
votes
0answers
53 views

Using Soap the get product details is very slow

I'm working on an offline cash register application. I write this in C# and use the SOAPv2 API to get the products. These products I save in a local SQLite database. So far this is working well, but ...
0
votes
0answers
828 views

basicHttpBinding Unrecognized message version. [Magento 1.9.3.3]

I'm developing the g C# application for adding customer data to Magento server. When I try to send customer data, I got this error System.ServiceModel.CommunicationException: 'Unrecognized message ...