Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8608519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:37:58+00:00 2026-06-12T03:37:58+00:00

I am trying to create a customer from the Magja project and the AxisFault

  • 0

I am trying to create a customer from the Magja project and the AxisFault i am getting is a 100 “Customer email is required.” . I am passing over the correct minimum required params from the 1.7 documentation. Long story my fault code is saying i am not including my email BUT it is clearly there (not putting the sensitive info on SO…so you just have to trust me 🙂 ). Any Ideas?

Stack
org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException: Type has not been loaded occurred while retrieving component type of array.

//soapclient line 208
result = sender.sendReceive(method)  -> method variable

<mag:call xmlns:mag="urn:Magento" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-XML="http://xml.apache.org/xml-soap" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <sessionId>9be685563680f52c1ab5375bec545dfe</sessionId>
    <resourcePath>customer.create</resourcePath>
    <args SOAP-ENC:arrayType="xsd:ur-type[1]" xsi:type="SOAP-ENC:Array">
        <item SOAP-ENC:arrayType="xsd:ur-type[1]" xsi:type="SOAP-ENC:Array">
            <item xsi:type="SOAP-XML:Map">
                <item>
                    <key xsi:type="xsd:string">email</key>
                    <value xsi:type="xsd:string">MY EMAIL</value>
                </item>
                <item>
                    <key xsi:type="xsd:string">password_hash</key>
                    <value xsi:type="xsd:string">4cb9c8a8048fd02294477fcb1a41191a</value>
                </item>
                <item>
                    <key xsi:type="xsd:string">group_id</key>
                    <value xsi:type="xsd:int">1</value>
                </item>
                <item>
                    <key xsi:type="xsd:string">store_id</key>
                    <value xsi:type="xsd:int">1</value>
                </item>
                <item>
                    <key xsi:type="xsd:string">lastname</key>
                    <value xsi:type="xsd:string">LName</value>
                </item>
                <item>
                    <key xsi:type="xsd:string">firstname</key>
                    <value xsi:type="xsd:string">Fname</value>
                </item>
                <item>
                    <key xsi:type="xsd:string">website_id</key>
                    <value xsi:type="xsd:int">1</value>
                </item>
            </item>
        </item>
    </args>
</mag:call>

//magentosoapclient line 215
throw axisFault (axisfault -> message)
<?xml version='1.0' encoding='utf-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <faultcode>100</faultcode>
            <faultstring>Customer email is required</faultstring>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T03:37:59+00:00Added an answer on June 12, 2026 at 3:37 am

    You’ll need to trace/log the data on the Magento end of things. Somehow email’s getting lost and/or munged in the process. The PHP code that’s called for a customer creation is at

    #File: app/code/core/Mage/Customer/Model/Customer/Api.php
    public function create($customerData)
    {
        $customerData = $this->_prepareData($customerData);
        try {
            $customer = Mage::getModel('customer/customer')
                ->setData($customerData)
                ->save();
        } catch (Mage_Core_Exception $e) {
            $this->_fault('data_invalid', $e->getMessage());
        }
        return $customer->getId();
    }
    

    and the specific exception being sent back to your SOAP client is at

    #File: app/code/core/Mage/Customer/Model/Resource/Customer.php
    protected function _beforeSave(Varien_Object $customer)
    {
        parent::_beforeSave($customer);
    
        if (!$customer->getEmail()) {
            throw Mage::exception('Mage_Customer', Mage::helper('customer')->__('Customer email is required'));
        }
    

    There’s something about your client call and/or the specific Magento system you’re using that makes Magento think there’s no customer email set. A few calls to Mage::Log should set you on the right path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create an XSD for validating XML we receive from our customer.
I'm trying to create a form that sends the customer's name and email address
I am trying to create or update default shipping address for a customer using
I'm trying to create linq lambda expression to return customer whose first or last
I'm trying to create an array to display the last 5 products a customer
Here is the background, I am trying to create a DSL to allow customer
Hi I'm trying to create a search box to search customer by last name
I'm trying to create image from SQLite database in Java Swing application. But it
I'm trying to select and get values from customer objects. What I want to
I'm trying to create an html table for order logs for customers. A customer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.