Web Services - WSDL: Messages



PHP Web Services Using WSDL Step By Step Tutorial - Part 4: a message is an abstract definition of the data being transmitted. Message define input and output parameters. Input which you send parameter to server. Output which you get result from server. Look our code:
  <message name="doHello">
    <part name="yourName" type="tns:getName" />
  </message>
  
  <message name="doHelloResponse">
    <part name="return" type="tns:HelloResponse" />
  </message>

Relationship message and types can you read below:

Yup, every parameters be transmitted have type. These type, you define at types. It is simple, isn't it?



Series this article:
Web Services - WSDL: Anatomy of WSDL Document
Web Services - WSDL: Sample WSDL Document
Web Services - WSDL: Types
Web Services - WSDL: Messages
Web Services - WSDL: Port Types
Web Services - WSDL: Bindings
Web Services - WSDL: Service
Web Services - WSDL: Creating SOAP Server
Web Services - WSDL: Testing with SOAP Client


Tag: web services, wsdl, messages Category: PHP Application Post : April 10th 2008 Read: 2,723 Bookmark and Share

blog comments powered by Disqus