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

The Archive Base Latest Questions

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

I am brand new to SOAP with PHP (and SOAP in general). I am

  • 0

I am brand new to SOAP with PHP (and SOAP in general). I am having trouble with the SoapClient class. It takes four parameters (request, location, action, version), but I really don’t know what those should be as they pertain to the web service I’m trying to use.

See

http://wiki.agemni.com/Getting_Started/APIs/Agemni_CMS_Sync
and
http://www.agemni.com/_anet/ADBAccess.asmx?op=getCMSTables

Here is my best guess:

$wsdl = 'http://www.agemni.com/_anet/ADBAccess.asmx?WSDL';

$action = 'http://webservice.agemni.com/getCMSTables';
$request = 'POST /_anet/ADBAccess.asmx HTTP/1.1
Host: www.agemni.com
Content-Type: text/xml; charset=utf-8
Content-Length: 10000
SOAPAction: "http://webservice.agemni.com/getCMSTables"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <getCMSTables xmlns="http://webservice.agemni.com/getCMSTables" />
  </soap:Body>
</soap:Envelope>"
';
$location = 'http://www.agemni.com/_anet/ADBAccess.asmx';
$version ='1';


$client = new SoapClient($wsdl);
$response = $client->__doRequest($request, $location, $action, $version);

I’m not asking for anyone to do this for me, but if you could help clarify what $action, $request, and $location should be (pretty sure $version is just an int 1 or 2) I would be very grateful.

  • 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-19T11:58:23+00:00Added an answer on May 19, 2026 at 11:58 am

    Well, if you don’t want to deal with the details of the request and you have the WSDL file, you don’t need to set those parameters. Just instantiate with the path of the WSDL file and it suppose to contain everything else. The you just call

    $response = $client->getCMSTables();
    

    See: http://php.net/manual/en/soapclient.soapclient.php

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

Sidebar

Related Questions

I'm brand new to ruby and rails and I'm having trouble creating a sign-out
I'm brand new to C++ and am having trouble trying to get a function
Brand new to Python (and programming in general), if this is simple and/or answered
im brand new to php (started yesterday) ive got a decent background of html/css
OK I am brand new to .asmx creation and I am having a hell
I have a brand new e-commerce website ( http://missfrisette.com/showphotos.php ) each item (hair clip)
Brand new to all of this and trying to install my PHP script. When
Brand new to the Log4Net library and there is something I have not been
Brand new to Cocoa and I'm trying to figure out how to copy an
Brand new poster here on StackOverflow. I've been reading and learning here for some

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.