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
1
vote
2answers
2k views

How to make SOAP calls in magento2?

I am trying to make soap call to get data from 3rd party website. How can i use soap api call in magento2 ?
2
votes
0answers
404 views

How to create product using SOAP API magento 2

I want to create product and update product using SOAP API , can anyone guide me how to do it with Magento 2. I am using bellow code to create product $wsdl = "http://thebetaserver.in/magento2/soap/...
4
votes
1answer
2k views

Magento2: Add a New Customer Address

I'm trying to add a new customer address using Magento 2 REST API in C#. I'm using POST /V1/customers/:id. I keep getting the below error. Where do I find the regionId? Is there another API I can use ...
0
votes
1answer
790 views

Magento2 how to generate token for SOAP API

I tried to generate token for magento2 SOAP API but i am getting below error Error: Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] SoapServer::SoapServer(): Invalid parameters in /var/...
0
votes
0answers
506 views

Magento 1.9 SOAP API error forbidden

I have been getting a "Forbidden" error when trying to make specific api calls. The API login and session retrieval work fine, but when I call salesOrderInfo or storesList functions I get that ...
0
votes
0answers
415 views

Magento 2 - SOAP Consumer is not authorized to access

In my Magento 2.0.13 is working, but on Magento 2.1.5 I received this message below when I accessed mystore.com/soap/default?wsdl&services=catalogProductRepositoryV1 I don't want create a ...
1
vote
0answers
51 views

Magento 1.9 : Sending E-Mail after Customer was created via API

I created an API for a customer, who needs to create new user accounts. The user accounts can be created, after the process finished, then I would like to send an E-Mail to the created user, with ...
1
vote
1answer
331 views

Facing Issue while configuring Fedex shipping method

Tried to configure fedex with magento 2 and refered the following url: http://inchoo.net/magento/how-to-set-fedex-shipping-in-magento/ Shipping method for fedex is visible on front end but not being ...
1
vote
3answers
1k views

Magento 2 SOAP api not working

I am not able to access product details using SOAP API while i call api url i am getting Error: Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://...
3
votes
1answer
416 views

Data format for creating a product using soap api in magento 2

$productData = array( 'sku' => 'MSD', 'name' => 'MSD', 'visibility' => 4, /*'catalog',*/ 'type_id' => 'simple', ...
0
votes
1answer
656 views

Can't get sessionId in SoapUI

I created a new user in System > Web Services > SOAP/XML-RPC - Users. I created a new project in SoapUI. Opened login > Request 1 and filled it in: <soapenv:Envelope xmlns:soapenv="http://...
0
votes
1answer
717 views

SOAP V2 returns HTTP ERROR 500

When I add /api/v2_soap?wsdl=1 to the url I get: This page isn’t working local.example.en is currently unable to handle this request. HTTP ERROR 500 With dev mode and error messages enabled I get ...
5
votes
1answer
2k views

How to create a simple product using SOAP api in magento2

Here I have tried but I getting this error: Fatal error: Uncaught SoapFault exception: [env:Sender] %fieldName is a required field. require('vendor/zendframework/zend-server/src/Client.php'); ...
1
vote
0answers
451 views

How is it possible to set an extension_attributes to the orders and have it appear with REST/SOAP API?

I am trying to use extension_attributes in order to add a field in the orders. The thing is, I want that field to appear when we get the orders with API calls (http://monsite.fr/soap/default?services=...
0
votes
3answers
1k views

Magento 2.1.3 Swagger and api error

Im using Magento 2.1.3 and PHP 7.0.8. I would like to test some Magentos 2 import api. When I'm trying to connect to swagger by http://localhost/swagger error 500 is received: I'm also trying to ...
1
vote
1answer
52 views

In Magento 1.9.X how to call site2.com product list on site1.com through rest api

I have two website and both are developed by magento 1.9.x vesion. As Example: 1. www.example1.com 2. www.example2.com Now I need to show product list in www.example1.com from www.example2.com of ...
0
votes
1answer
322 views

Cannot de-serialise SOAP responses from Magento 2 SOAP API - mismatch between XML Namespace in response and Service Reference WSDL

(Cross-posted from StackOverflow ... got no answers there). The short story is - I need a way for a single code base to be able to connect to multiple SOAP APIs where each API's WSDL is essentially ...
3
votes
1answer
2k views

SOAP API V2 Response log

I'm trying to debugging SOAP API. I'm logging call Requests, but how would I get log on Response? I have tried to use Magento-API-Logger to get Response I've added $logger->log($this->...
1
vote
2answers
693 views

SOAP request to create sales order shipment partially

I'm trying to create the sales order shipment partially in magento with the following request [1]. I get "SOAP-ERROR: Encoding: Violation of encoding rules". Can anyone help me to resolve this issue? ...
1
vote
1answer
557 views

Magento 2.0 REST/SOAP API - how to retrieve Special Price

I need to be able to retrieve the Special Price of a product. I can successfully retrieve products singly or as a list, but can only see a price property on the product object. I also cannot see ...
1
vote
0answers
41 views

how to add productId to SOAP v2 request

Is there a way to add productId to soap request? My soap request is missing productId argument. I can't change source of request. But I was thinking to add it from api extension module? Any ...
1
vote
0answers
214 views

Magento 2 checkout payment page doesn't works because European server (ec.europa.eu) is down?

I'm getting this error in the checkout page, when I click for the payment step: "Fatal Error: 'SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://ec.europa.eu/taxation_customs/vies/services/...
0
votes
1answer
803 views

Getting all of the orders from the last 24 hours using the SOAP API

This is my SOAP client code: $client = new SoapClient('mybaseurl/api/v2_soap?wsdl=1'); $session = $client->login('myuser','mypass'); $filter = array('filter' => array(array('key' => 'status'...
1
vote
0answers
136 views

Create customer for a specific store_id through soap

I'm trying to create a customer through soap api v2 for magento version 1.9.3 with WS-I compliance enabled. Using Ruby and SAVON gem. The call i make is as follows: customer_info = [ { mode: '...
1
vote
0answers
326 views

Error in salesOrderRepositoryV1;content type application/soap+xml;

I am using Magento EE 2.1.1 version. While using web service salesOrderRepositoryV1 to get the order details. I'm getting error as below: System.ServiceModel.ProtocolException was unhandled ...
1
vote
1answer
119 views

Magento 1.9 . php_curl.dll and soap.dll is not loading

I am getting following errors on error_log file [26-Dec-2016 00:56:14 America/Denver] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/php/56/usr/lib64/php/modules/php_soap.dll' - /...
1
vote
1answer
72 views

Can't see product even in Backoffice after added product via C# SOAP V2 Magento 1.9.2.4

I am trying to add a product in C# with SOAP V2 here is my code : PortTypeClient ptc = new PortTypeClient(); string sessionId = ptc.login("dev", "123456789"); catalogProductCreateEntity np = ...
0
votes
1answer
556 views

Problem with soap:address location in WSDL file

So I've got a problem that I tought was solved two weeks ago : The reference for the soap:address location value in my XML WSDL file is wrong and it keeps changing over time because I solved the ...
0
votes
1answer
50 views

Update MSRP trough SOAP call

I can't find any endpoint to update / change the MSRP of a product, am I missing something ?
0
votes
1answer
416 views

SOAP - unable to invoke since upgrade to 1.9.3.1 (timeout), how to debug?

I've recently upgraded a Magento installation from 1.9.0.1 to 1.9.3.1. Ever since, the various apps I use to communicate with Magento via SOAPv2 have timed out with error 504. When I attempt to load ...
1
vote
1answer
124 views

magento2 API - SOAP connection mystery. Which versions for “stream context”

I have an existing m1 site and a php script which uses the soap API to synchronize product information (read only). It is on a host I do not control and uses the litespeed server. I have been trying ...
0
votes
1answer
368 views

Magento CE 1.9.3.0 sales_order.info returns no Order Items

I found out that calling sales_order.info via SOAP in CE 1.9.3.0 does not return Order Items. Instead I only get something array-like: <items SOAP-ENC:arrayType="ns1:salesOrderItemEntity[1]" xsi:...
0
votes
1answer
1k views

SoapFault exception: [1] Internal Error after upgrading to magento 1.9.3

After upgrading to Magento 1.9.3, I am having loads of problem, currently I am having the above error. After looking at the exception log here is what I find: SoapFault exception: [1] Internal ...
5
votes
0answers
6k views

SOAP-ERROR: Encoding: object has no 'xxx' property

By each SOAP agent am getting this response "error 500". I am using SOAP v2 with WS-I compliance mode. <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://...
2
votes
0answers
140 views

Can't create soap header

we're trying to send a soap request to the purolator shipping API. We are stuck at the header portion. This is what we are sending the shipping API: // Probleme ICI try { //Define the ...
0
votes
0answers
318 views

How to get the all quote ids in cart items from magento soap api

I have created a soap client Api for magento, my requirement is to get all quote id in shopping cart added items. How can i get this? i am using mservice.shoppingCartInfo(sessionid,quoteid,storeid) ...
0
votes
1answer
1k views

Programmatically add customer login through soap api [closed]

I want to add customer login outside magento.and also set session. I am using magento with third party application connected with soap api. Using soap api is any solution to authenticate customer ...
0
votes
1answer
644 views

Making External API Request in Product Model

In my Magento project I have to receive pricing and inventory information on our products. Right now I have created my own method within the product model to make a SOAP request in the getPrice() ...
12
votes
3answers
6k views

SOAP connection problems after 1.9.3.0 update

I have updated my Magento Store from 1.9.2.4 to 1.9.3.0 We use shipping software (Shipworks) that connects via a SOAP/XML-RPC user. After the update shipworks logging shows this response in the logs:...
3
votes
1answer
581 views

How to send SOAP API String from Order Success

I am looking to build a SOAP API that passes a String to a portal via webservice after a payment token is received from PayPal and the customer is directed to the success page. I've been working ...
2
votes
1answer
614 views

how to easily make a SOAP call.

How we can easily add soap call page to applications ? If the magento installation is at mymagento.com what can be the soap call http request ? i tried with $soap = new SoapClient('http://mercande....
1
vote
0answers
90 views

CE 1.9.2.4 on virtual server: SOAP-API V1 not working

Problem: i have a virtual server with Plesk (Ubuntu 14.04) and the SOAP-API not working. I have many trouble with this issue, because i have a second server with the same configuration and there no ...
2
votes
0answers
982 views

add new extension attribute to the response of quote item (/V1/carts/:cartId)

I am trying to add some custom extension_extributes (For example: is_free_product & unit_price) to item node response of Magento\Quote\Model\QuoteRepository::get($cartId) Here is what I tried so ...
4
votes
1answer
3k views

Adding new order field to API response: /V1/orders/:id without using extension_attributes

So basically I want to extend the existing web-service /V1/orders/:id for adding new order field (say: erp_id). It's a field in sales_order table and it's available when you load the $order object. ...
2
votes
2answers
6k views

How to use soap API in Magento2?

In Magento1, we use a username/ password in the SOAP call for authentication, what is the difference in Magento2? For example, When i want to get an order info, I use http://example.com/soap/en?...
3
votes
2answers
1k views

Invalid carrier specified - Cannot add tracking to shipment

I'm trying to add tracking to orders via the SOAP (V1) interface using the sales_order_shipment.addTrack method - but as the title suggests I'm getting the following error: Invalid carrier specified ...
1
vote
0answers
271 views

Get data from Soap Xml API using CURL or SOAP Object

I want to integrate some out soap API data with magento store and want to get data from soap API. For this I have two methods to get data one is using curl and other is using soapClient object, and ...
0
votes
1answer
157 views

Upgrading from 1.9 to 2 - What about the SOAP API?

we're thinking of moving from 1.9 to magento 2 in the future. I'd like to estimate the mass of work necessary for the upgrade. I cannot though find any information on how much the SOAP API was changed?...
4
votes
1answer
836 views

Magento 2 Api Integration

Hello I'm trying to use magento 2 Rest and Soap integrations when I try to activate my integration I get the error Unable to post data to consumer due to an unexpected error these are my current ...
4
votes
1answer
975 views

Magento2 SOAP API for multi-store

Background: I am planning to use Magento2 web-service using SOAP. This will be for Mobile App where customer are allowed to add to cart then checkout. The store will be a multi-store website where ...