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条)

报告相同问题?

悬赏问题

  • ¥35 平滑拟合曲线该如何生成
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站