个路高人好!在做一个Web Service 客户端在设置服务和端口时出现下面的错误,是什么原因呢?服务已经做好了,wsdl都可以通过IE显示了,整了好几天,没搞定。很郁闷呢。
====================
服务器无法解释此项请求,也可能给请求无效。
Line: 0
====================
服务器无法解释此项请求,也可能给请求无效。
Line: 0
解决方案 »
- 如何将zip中的制定文件释放到指定目录?
- 武汉的delphi fans们,我来此宝地招人,为了delphi,多捧场啊 :-)
- 请教fastreport 的打印问题
- 如何制作大尺寸的图标,类似于Foxmail之类的,,谢谢,图标是32x32大小的
- 如何调出任务栏中指定的某个程序?
- 如何将中文转换为UniCode代码?急!
- 如何控制DBGrid的列宽,我可不是说手动调节!我的意思是在程序中的DBGRID属性!
- 如何将下拉菜单放如coolbar控件中?(如IE的工具栏)请各位高手指教!!
- 关于DDIHook的使用方法
- Matlab7.1安装了但打不开
- 如何扫描获得网络(域,局域网)上所有电脑已经安装的软件。
- ehlib自带例子DEMO1中是如果实现鼠标滑轮翻页的?
可以看看调用的源吗么?
我的联系方式:QQ:12814574email:[email protected]
Line: 0
如果是用.net做的,可以切磋一下,如果是其他的,则无能为力了。
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IFirstWSservice" targetNamespace="http://www.borland.com/soapServices/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<message name="GetWSMsgRequest" />
- <message name="GetWSMsgResponse">
<part name="return" type="xs:string" />
</message>
- <portType name="IFirstWS">
- <operation name="GetWSMsg">
<input message="GetWSMsgRequest" />
<output message="GetWSMsgResponse" />
</operation>
</portType>
- <binding name="IFirstWSbinding" type="IFirstWS">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="GetWSMsg">
<soap:operation soapAction="urn:FirstWSIntf-IFirstWS#GetWSMsg" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:FirstWSIntf-IFirstWS" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:FirstWSIntf-IFirstWS" />
</output>
</operation>
</binding>
- <service name="IFirstWSservice">
- <port name="IFirstWSPort" binding="IFirstWSbinding">
<soap:address location="http://localhost:1024/hh.exe/soap/IFirstWS" />
</port>
</service>
</definitions>
在IE里可以看到WSDL文件了,说明服务已经做好了,但是就是Import不了,出现错误:
“服务器无法解释此项服务请求,也可能该请求无效
Line:0”请上楼的星级高手指教!
12814574,或者mail:[email protected]
用 127.0.0.1 而不要用 localhost, 常常取不到
localhost改成IP地址就好了,至于为什么,现在还不清楚。