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
8
votes
2answers
3k views

Including generated 3rd party PHP library in Magento2

I am creating a module that connects to a SOAP service, I have generated classes for this service using wsdl2phpgenerator which uses autoload.php. Placing this in "lib/" with the correct class namings ...
2
votes
1answer
2k views

Multi update products quantities using one soap api request

I tried below code works for single product quantity update in one soap api request but I want to update multi products stock quantities using only one request. I tried multiple sku in array but not ...
0
votes
1answer
217 views

Call admin controller from another server

My team and I are building a Magento website for a client and we need to regularly perform data exports from another server to the Magento server. I'd like to call a custom admin action from another ...
1
vote
0answers
124 views

I make the soap call catalogCategoryInfo call

I am trying to get a cusotm attribute I created in the categories to show up when I make the soap call catalogCategoryInfo call. I created the custom attribute using the following code <?php ...
1
vote
1answer
2k views

save custom field to database does not save value

I've got the folling problem: I've got a new database field ( made with upgrade script ) to api/user table. Now it's showing the field, but when I enter a value, it will not save. Table field in ...
0
votes
1answer
597 views

Magento /api/soap/wsdl XML Encoding is empty

Quick issue, when trying to access my magento SOAP api WSDL file "/localhost:8080/ecomm/index.php/api/soap/?wsdl" I get the following error in firefox: XML Parsing Error: XML declaration not well-...
4
votes
1answer
2k views

Magento API - Category Create - Default Product Listing Sort by does not exist

Fatal error: Uncaught SoapFault exception: [1] Default Product Listing Sort by does not exist in Available Product Listing Sort By. I cannot figure out why Magento keeps giving me this error? Using ...
4
votes
1answer
185 views

Shipping charges are not working

Edit After I used below answer, now i am getting shipping charges in App. But we are facing some small issue now: Based on distance, we have set the shipping price, Shipping A : less than 100 kms ...
1
vote
1answer
544 views

Problems with SOAP API authentication and java client

I need to develop an application driver that connect a CMS with Magento 2.0, using the SOAP API. My application is a Java J2SE and so I choose the axis2 project. I generate the code using the ...
1
vote
1answer
275 views

Maximum PHP function nesting level error of NewRelic after turn off cache

When I turn off the cache in Magento I get error from Magento in de Frontend in the Backend I get no error message. Fatal error: Aborting! The New Relic imposed maximum PHP function nesting level ...
1
vote
0answers
34 views

Magento SOAP API deletes the products in cart upon setting user address (CE 1.7)

'm working on an ECommerce mobile app which consumes magento's SOAP API for fetching products, adding them to cart and checkout. The checkout used to work fine, however it's giving me troubles now. ...
2
votes
3answers
2k views

How to use WSDL SOAP functions and objects in Magento 2?

I just had a brief look at the Magento 2 WSDL file. Until 1.9 I used the WSDL file as part of my development (Delphi win 32) to have access to the functions, arrays, objects etc... This was very ...
0
votes
1answer
409 views

Can't seem to extend the WSDL from the local directory

Very new to Magento and having some issues extending it. I need to add some attributes to the existing SOAP API. I have the code working to add those attributes and if I add them to the WSDL and the ...
1
vote
2answers
1k views

Space added before every magento page content

Since upgrading to 1.9.2.2, every magento page on my store is pre-padded with a space before the page content. This breaks xml pages such as the magento soap api, giving the following error when ...
3
votes
1answer
11k views

How to access Magento SOAP WSDL

I am trying to understand the way SOAP from Magento works, so I can use it from an external application.(Magento v1.9.2) So in order to use the web service from my third party application, I need a ...
1
vote
1answer
683 views

Magento 2 SOAP exception: missing values for message placeholders

When calling the Magento2 SOAP API to create a new product, I get a generic error message saying 'Invalid product data: %1'. I was hoping that the Magento2 API would throw better exceptions than ...
3
votes
1answer
405 views

SOAP V1 : Empty Response Not recognised

I have this weird situation where SOAP retuns no value but I am not sure how to check whether it has returned any value or not. For example, I am calling SOAP to get product image detail like this: $...
0
votes
1answer
382 views

SOAP issue after installing SUPEE-6788

We are running Magento ver. 1.9.0.1 and after installing SUPEE-6788 we always get this error when running Magento cron.sh So, when following command runs /bin/sh /var/www/vhosts/example.org/httpdocs/...
3
votes
3answers
3k views

API SOAP V1 - sales_order.list not returning results

I'm dealing with a Magento Store (CE 1.7) that has over 10M orders. I am trying to get the full order list through SOAP V1 in order to extract some statistics from it, and i encounter the following ...
5
votes
2answers
2k views

Magento customer email missing in guest checkout, when using soap api

I am using magento version 1.9 and its soap api to create order. In case of guest checkout(customer mode is guest), the email address is not getting saved or shown in admin sales orders. This is ...
8
votes
3answers
2k views

How to upload a file attachment to custom product attribute using Magento SOAP

This is in relation to my question; how-to-get-a-products-file-attachments I'd like to make a script (not on the server) that can utilize the Intellimage_Attachs module in my other question. I am ...
0
votes
1answer
506 views

product_attribute_media.list gives Product not exists error in Magento

According to magento, this is the parameter list for the SOAP (v1) product_attribute_media.list call: http://www.magentocommerce.com/api/soap/catalog/catalogProductAttributeMedia/...
1
vote
1answer
136 views

how to get additional details in soap api response

Hi i am working on magento soap_v2_wsdl. now i want some additional data for example i want category image in the category tree. i know there is no default method to get the detail. But i can over ...
8
votes
3answers
2k views

Shopping Cart Shipping Methods are Unavailable

I have to set shipping method to shopping cart , and i am able to display all the available shipping methods , and I have given valid shipping method as the input parameter to SOAP web service method "...
6
votes
1answer
3k views

Magento 2: Soap Credentials

Poking around the codebase and some questions here it looks like Magento 2 -- much to the chagrin of certain segments of the web development community -- will still support SOAP API endpoint. (...
1
vote
1answer
1k views

How do I retrieve a product using either the REST or SOAP APIs?

An external utility needs to retrieve products from Magento by SKU--either one at a time or in batches, ideally returning the product with all attribute values, photo URLs, categories, etc. So far I ...
3
votes
2answers
3k views

Magento : Soap api not working

Hi i am using magento vesion 1. 9 and i am trying to call magento soap apiv2 using php. i use the following code. $proxy = new SoapClient('http://domain/index.php/api/v2_soap/?wsdl=1'); $sessionId = ...
1
vote
1answer
642 views

How to retrieve product custom attributes in a order

I add some custom attributes to our products, like "product_processing_status". Now we have a order with some products. I read the products from the order with the SOAP V2 API. How i can retrieve the ...
1
vote
3answers
3k views

How to add parameter with SOAP request?

I'm new to Magento I try to call category level using Magento SOAP API with parent category id. I use following code. <?php $proxy = new SoapClient('http://domain/index.php/api/soap/?wsdl'); $...
1
vote
1answer
997 views

create product attribute media in soap v1 error 102

I'm trying to insert an image within the product register in my store using webservice xml soap V1 with the SoapUI program. Reference: http://www.magentocommerce.com/api/soap/catalog/...
0
votes
1answer
78 views

strangest problem with the xml files

we are doing mobile app for our site. for doing mobile app, we need session id from server.... we are getting session id. recently we installed one seo extensin in that extension , there is config....
0
votes
1answer
212 views

WSDL soap v1 error: SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s)

the complete error is: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>1</...
1
vote
1answer
809 views

API soap v1: Cannot use object of type stdClass as array?

I am testing called by SoapUI 5.2.0 software creating xmls, and as I have extra options for my call customer.create using the SOAP V1 and the code: <soapenv:Envelope xmlns:soapenv="http://schemas....
4
votes
1answer
837 views

To set a payment method for a shopping cart using soap Api in Android

I am getting an error such SoapFault - faultcode: '1071' faultstring: 'Payment method data is empty.' faultactor: 'null' detail: null Please could anyone help me SoapObject customerEntity1 =...
5
votes
1answer
4k views

How to return Associative Array from API in Magento 2

I have created Custom Api which returns associativeArray. If I use associativeArray it's giving error If I use string[] it's working But I want to return associativeArray. Error: Class "array" ...
0
votes
1answer
766 views

magento2 soap web service error

I created script like this.and I have created token also from admin side. ini_set('display_errors',1); require('vendor/zendframework/zend-server/src/Client.php'); require('vendor/zendframework/zend-...
0
votes
1answer
1k views

Notice: Array to string conversion in Magento 2

I have created Magento2 Api which is working fine when return type is string and When return type is Array it's throwing Error. Error: main.CRITICAL: exception 'Exception' with message 'Report ID: ...
1
vote
0answers
434 views

How to check if an order is shipped by API?

I'm working on a task that need to check if an order is shipped by magento backend or by API. My question is how I can know that an order is shipped by API Because I noticed that when shipped by API ...
0
votes
1answer
550 views

How can I get all products with special price via Magento SOAP V2 API?

I need to get all products that are at a discount. Is there any way to achieve this with SOAP API? Is it possible to compose such a filter?
4
votes
3answers
3k views

How to create SOAP API in Magento2?

Today i have created Magento2 REST API, it's working. similarly how to create soap api in magento2?. app/etc/config.php 'modules' => array ( 'Learning_CalculatorWebService' => 1, ), ...
1
vote
1answer
858 views

Create a new DropDown (select) product attribute (with options) in magento via SOAP API v1

I am trying to create a global product attribute that is used for configurable product. This is how I would do it using the admin backend: With the following options (for example): So, I tried to ...
1
vote
1answer
31 views

Retrieve all carts

Why can't I retrieve all carts belongs to the store using a 'cart.list' call? And is there any substitution if I needed to retrieve all carts? Thank you.
4
votes
0answers
698 views

SoapFault - faultcode: 'SOAP-ENV:Server' faultstring: 'Procedure 'salesOrderList' not present' faultactor: 'null' detail: null [closed]

I am getting the session id and i am trying to fetch salesOrderList in my android application .I am using Ksoap2 android library to query my magento host But unfortunately i am getting this following ...
4
votes
1answer
281 views

SoapSerializationEnvelope error in android app code

I am new to Magento SOAP api , and i am just fetching the session ID by giving the correct user name and API key in my android application . But i am getting error in this following line . ...
8
votes
2answers
13k views

SOAP error: Parsing WSDL: Couldn't load from “” failed to load external entity

We are developing an android app for a magento site. We have to pass SOAP API from magento to android to get session id. We created SOAP web user and roles in magento admin panel by following this ...
1
vote
1answer
804 views

How to use Rest And Soap API in Magento After sales order to send information to courier partner

I need to send. some information after sales ..to the courier company... I need to build API in magento..when customer purchase anything...and place successful order. Then I want to send some ...
0
votes
1answer
419 views

Problem connecting to SOAP API using Trustpilot

I am trying to connect trustpilot product reviews to Magento for a customer. When I open the pages where the SOAP API is connecting everything seems alright and I get the XML pages. The error ...
2
votes
1answer
232 views

Magento SOAP product update hangs for over 20 minutes

our magento instance has a lot of products. An update of one product using the soap v2 interface is running into a timeout. If I set the timeout to 40 minutes, I get the following error message: Next ...
0
votes
1answer
83 views

Preparing request to BizTalk sever, in array via SOAP

I have tried to send request to BizTalk server via SOAP connection from Magento e-commerce system. For sending request, I prepared array, that converted to XML on BizTalk server. I have a big array, ...
1
vote
1answer
1k views

Problem with additional attribute in SOAP API C#

I'm using SOAP API v2 for Magento. I have a problem with product creation. All fields are correctly set, but custom attributes that I've defined. These fields remains empty when I show it in panel. ...