SOAP how ?
Posted: Sun Dec 05, 2010 4:09 am
I' m having troubles to design my PHP code to run the following SOAP code. This is maybe very easy if you know how to.
Please help me and advise me how to write the maybe simple PHP code to do this.
The following code consist of the query that is wanted - and the response expected is also shown.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:par="http://www.post.dk/webpack2/parcellabel">
<soapenv:Header/>
<soapenv:Body>
<par:getVersion/>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getVersionResponse …>
<version>1.1.23</version>
</ns2:getVersionResponse>
</S:Body>
</S:Envelope>
I hope somebody will help here
Thanks!
Please help me and advise me how to write the maybe simple PHP code to do this.
The following code consist of the query that is wanted - and the response expected is also shown.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:par="http://www.post.dk/webpack2/parcellabel">
<soapenv:Header/>
<soapenv:Body>
<par:getVersion/>
</soapenv:Body>
</soapenv:Envelope>
Response:
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getVersionResponse …>
<version>1.1.23</version>
</ns2:getVersionResponse>
</S:Body>
</S:Envelope>
I hope somebody will help here