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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T03:10:49+00:00 2026-05-17T03:10:49+00:00

I am developing a PHP script that has to make some calls to a

  • 0

I am developing a PHP script that has to make some calls to a web service. This web service is running on the LAN of our client. This means I do not have access to it yet. I will go to the client to test it, but would like to be able to test my code before I go all the way over there.

Is there an easy way to set up some kind of fake web service (preferably based on a WSDL file) on my development PC without actually creating a web service on this network (system admins won’t like that)? I don’t want to just create a static class as a stub or something, because it’s not really the functionality of the web service I want to test, but more all the stuff around it. Like I’m putting in the right type of object and I’m making the correct calls to PHP functions to connect to the web service etc.

Thanks in advance.

  • 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-17T03:10:49+00:00Added an answer on May 17, 2026 at 3:10 am

    PHPUnit has ability to mock webservices:

    http://www.phpunit.de/manual/3.4/en/test-doubles.html#test-doubles.stubbing-and-mocking-web-services

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

Sidebar

Related Questions

I have this ajax web application I am developing that essentially calls the google
I'm developing a long running php script that compiles scraped information from multiple sources,
I am developing some php script that works fine if I access it by
I'm developing a Flex application that make calls to PHP scripts. All work fine
With PHP, I am developing a script that generates a contract once the script
I've been developing with PHP for some years now, and recently came across this
I have developed a PHP script that uses $_REQUEST[] superglobal. A typical client request
I am developing a module which has a jQuery script with some AJAX code.
I am developing a website that has two back to back web broadcasts. I
I'm developing a PHP script that loops/iterates more that 10,000 times: foreach ($array_with_items as

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.