dongxue9997 2010-09-27 06:36
浏览 37
已采纳

在没有Web服务可用的情况下测试Web服务的客户端

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.

  • 写回答

2条回答 默认 最新

  • dscdttg4389 2010-09-27 06:59
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?