WebService WSDL生成:参数为"in0" [英] WebService WSDL generation: parameter as 'in0'

查看:636
本文介绍了WebService WSDL生成:参数为"in0"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的服务方法定义为``getDocument(DocumentRequest in0)'',
在上述方法中,参数"in0"表示什么??? :doh:

在WSDL中,定义如下所示



My service method defined as ''getDocument(DocumentRequest in0)'',
In the above method what parameter ''in0'' means??? :doh:

In WSDL defnision is like the below

<wsdl:operation name="getDocument" parameterOrder="in0">
  <wsdl:input message="intf:getDocumentRequest" name="getDocumentRequest" />
  <wsdl:output message="intf:getDocumentResponse" name="getDocumentResponse" />
  <wsdl:fault message="intf:ServiceException" name="ServiceException" />
  </wsdl:operation>



请访问上述服务方法的建议.:confused:



plz advice to access the above service method.:confused:

推荐答案

DocumentRequest是参数类型(类),in0是标识符(用于引用对象的参数名称)实例).这是一个生成的名称,因此下一个参数将被命名为in1,in2,in3等...

关于调用Web服务,请在此处查看:
http://msdn.microsoft.com/en-us/magazine/cc163830.aspx [ ^ ]

祝你好运!
DocumentRequest is the parameter type (class) and in0 is the identifier (parameter name used to reference the object instance). It''s a generated name so the next parameters would be named in1, in2, in3, etc...

About calling the webservice have a look here:
http://msdn.microsoft.com/en-us/magazine/cc163830.aspx[^]

Good luck!


这篇关于WebService WSDL生成:参数为"in0"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆