Soap Web Service using PHP
http://www.datanom.net/foredrag/php/soap/server/Servers-lecture.pdf TOC ● Necessary steps when constructing a simple server ● Example server ● Error handling ● Returning the WSDL to clients ● Necessary steps when constructing a complex server ● Mapping complex types ● Example server ● Concluding remarks Necessary steps when constructing a simple server 1. Write the WSDL 2. Write the service class 3. Add this class to the server: $server- >setClass(“class”); 4. Activate the server: $server->handle() WSDL xmlns:tns='urn:SayHello' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns=...
评论