读书人

02_WSDL构造分析

发布时间: 2012-08-30 09:55:54 作者: rapoo

02_WSDL结构分析


02_WSDL构造分析
?

?

targetNamespace=http://server.cxf.com/:你发布服务的类所在包,从后到前排列域名

?

<wsdl:types>:发布方法输入参数类型和方法返回结果类型的定义

?

<wsdl:message name="sayHelloResponse">
?

?? <wsdl:message name="sayHello"> ??? 客户端发送SOAP请求和返回结果类型,都被封装成message形式发送和接受??? ??? <wsdl:portType name="IHello">:对接口内方法描述??? ??? <wsdl:binding name="HelloImplServiceSoapBinding" type="tns:IHello">:绑定接口???? <wsdl:service name="HelloImplService">:定义srvice,一个service有多个Port????

读书人网 >软件架构设计

热点推荐