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 5838145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:26:12+00:00 2026-05-22T11:26:12+00:00

I am creating catalog products using Magento’s core API. It works fine on Magento

  • 0

I am creating catalog products using Magento’s core API. It works fine on Magento version 1.4.1.1, but the same code doesn’t work on Magento ver 1.5.0.1.

Here’s my code:

require 'rubygems'
require 'soap/wsdlDriver'

WSDL_URL = 'http://example.code/api/v2_soap/?wsdl=1'


soap = SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver

session = soap.login('theuser','theuser123')

data = { "name" => "BARRACUDA", "description" => "fill", "short_description" => "fill", "weight" => "12", "status" => 1, "visibility" => 4, "price" => 350.00 , "tax_class_id" => "2", "qty" => 10, "stock_availability" => "0", "category_ids" => [3] }

a1 = soap.call('catalogProductCreate',session,"simple",1,"black: ONT-920-B",data)

Is there any problem with my code, or any new things added to Magento version 1.5.0.1?

Thanks

  • 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-05-22T11:26:13+00:00Added an answer on May 22, 2026 at 11:26 am

    The problem is missing one attribute in date field

    data = { "name" => "BARRACUDA", "description" => "fill", "short_description" => "fill", "weight" => "12", "status" => 1, "visibility" => 4, "price" => 350.00 , "tax_class_id" => "2", "qty" => 10, "stock_availability" => "0", "category_ids" => [3],  "websites" => [1] }
    

    Need to mention the websites id in the array of data in magento 1.5.

    This is works for me!

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

Sidebar

Related Questions

I am creating a search feature for a products catalog. Here is the input
ok, got a problem creating a full text catalog. This is the code I
Creating a server-side socket will fail if I'm trying to use the same port
I am creating an Android app (API 8) that need to receive a lot
I have catalog with products and I want to filter it by many parameters:
Im currently working on a site which will contain a products catalog. I am
Inside Magento templating code I want to get the width and height of the
I am creating an application that creates an XML as follows: <?xml version=1.0 encoding=ISO-8859-1?>
Is there a good tutorial for Creating a database using msbuild ? jean paul
I am having trouble creating an export of my database using an org.dbunit.database.QueryDataSet. When

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.