In the preceding example, you simply send a string representing a PO XML document as the input argument of the placeOrder
method exposed by the PO Web service. Now that you have modified the WSDL document describing the PO Web service so that the PO Web service receives a PO XML document conforming to a specific structure, you cannot send that document as a simple string any more.
The following sections explain in detail how the complex type data structures are transmitted between SOAP nodes built with the PHP SOAP extension.
Like any other SOAP-based interfaces, service providers and service consumers built with the PHP SOAP extension use XML format when it comes to exchanging structured and typed data. However, in the case of the PHP SOAP extension you are not supposed to provide an XML document ready for transmitting. Instead, you provide an array having an appropriate structure and containing all...