Follow

What is SOAP and how can I tell if it is loaded on my Magento (v1.x) site?

Created:   |   Updated:

IMPORTANT: this document applies to ShippingEasy integrations with Magento v1.8 and v1.9 stores. ShippingEasy also supports an integration with Magento v2.x stores, which does not require SOAP. Learn more.

SOAP stands for "simple object access protocol". ShippingEasy's software integration with Magento (v1.x) is designed to work with encoded SOAP messages. 

Many Magento store owners work with a developer to build and configure their site.  If you have a developer for your Magento site, we recommend asking them to take a look at this article as well.  If you built your site, here's what you need to know about SOAP, if it's loaded, and if it's not loaded, how you can load it.

Here is a simple test to determine if SOAP is loaded for your store:

  1. Open a blank browser and type your store URL into the address bar with the following added to the end of the URL: /api/v2_soap
    (ex:http://mystore.com/api/v2_soap)

  2. Hit enter to access the URL.

  3. If soap has been loaded, you should see an XML-document explaining more about the usage of SOAP.

If you see the message "0 Unable to load Soap extension on the server" or "0 SOAP extension is not loaded", SOAP support is missing from the Webserver.

If SOAP has not been loaded, then the ShippingEasy-Magento API is not accessible.  First, please verify that you have Magento version 1.3, 1.8 or 1.9.  If so, then a developer should be able to help you load SOAP.  If you're going it alone, we have some tips to help:

Webserver requirements:

  • For SOAP to work within the Magento application, the PHP SOAP extension ("soap.so") needs to be installed on the server.

  • For RPM-based Linux distributions this is installed with the command "yum install php-soap". 
NOTE: the PHP SOAP extension is not the same thing as the PEAR SOAP extension.

 

Helpful Magento discussion treads:

Special considerations regarding WSDL and WS-I Compliance:

If you switch your store to be WS-I Compliant, it will fail to work properly with ShippingEasy. You can change this setting under System > Configuration > Services [Left-Nav] > Magento Core API.

The easiest way to determine if your store is configured for WS-I Compliance is to hit your store url: http://www.YOUR-URL.com/api/v2_soap?wsdl=1

If WS-I Compliance is enabled then you'll see:
```
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:typens="urn:Magento" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="Magento" targetNamespace="urn:Magento">
<wsdl:types>
```
If the user is correctly configured (no WS-I) should see something like:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:typens="urn:Magento" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" name="Magento" targetNamespace="urn:Magento">
```

 


Related articles:

How to use ShippingEasy with Magento 
Why can't I integrate my Magento store to ShippingEasy?
What does the Magento error "credentials could not be validated” mean?
Why am I having problems with my Magento orders syncing into ShippingEasy?

Comments

Please sign in to leave a comment.

Community browse

COMMUNITY FORUMS

Questions & Answers

Issues & Bugs

Beta Feedback

FEATURE REQUESTS

Productivity: Features, Interface & Settings

Partners: Integrations, Carriers & Stores

Shipping: Orders, Labels & Shipments

Inventory: Products, Purchase Orders & Suppliers