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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:19:28+00:00 2026-05-15T06:19:28+00:00

We have a site built in Zend Framework and we’re using the Zend Soap

  • 0

We have a site built in Zend Framework and we’re using the Zend Soap client.

I’m having trouble with one of the soap requests:
It’s expecting data in this form

        <CustomerForm>
            <CustomerFormRow>
                <CuisineType>3</CuisineType>
                <CuisineRestaurant>True</CuisineRestaurant>
                <NumberOfStaff>801</NumberOfStaff>
                ...

But the soap client is generating the following

        <customerform>
            <ns2:map>
                <item>
                    <key>CuisineType</key>
                    <value>Greek</value>
                </item>
                <item>
                    <key>CuisineRestaurant</key>
                    <value>Cafe</value>
                </item>
                <item>
                    <key>NumberOfStaff</key>
                    <value>11 to 20</value>
                </item>
                ...

When using

$_processFormWS->processFormWS($session_id, $customer_id, $form_data);

So the service isn’t handling the data I’m sending!

Am I missing something?

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-15T06:19:30+00:00Added an answer on May 15, 2026 at 6:19 am

    Turns out that if I pass my $form_data as an object (rather than an array which it was before) then it works!

    So:

    $_processFormWS->processFormWS($session_id, $customer_id, (object) $form_data);
    

    Would fix the above code.

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

Sidebar

Related Questions

I have a small site I built using the Play framework that I'm trying
I maintain a site that is built using Zend Framework and it's at an
I have a web site built using asp.net with ugly URLs like /DisplayContent.aspx?id=789564 .
This site is built using CakePHP 1.2* I have an element that needs to
I have a site built using jQuery and jQueryUI. All dialogs are using the
I have a site built in ASP.NET MVC and uses heavy jQuery client interaction
I have a site built on ASP.NET and C#. One of the requirements of
I'm building a paid membership site in php using the Zend Framework. I need
I have a site built using asp.net mvc running on IIS 7 using integrated
I have this site that is built using the jQuery Masonry plugin, the site

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.