cvs: presentations / soap-forumduphp-paris2002.xml /slides/soap attachments2.xml clientapi4.xml document.xml document4.xml resources.xml
serverapi1.xml simpleclient2.xml

From: Date: Sat, 07 Dec 2002 09:25:42 +0000
Subject: cvs: presentations / soap-forumduphp-paris2002.xml /slides/soap attachments2.xml clientapi4.xml document.xml document4.xml resources.xml
serverapi1.xml simpleclient2.xml
Groups: php.pres 
Request: Send a blank email to pres+get-562@lists.php.net to get a copy of this message
shane Sat Dec 7 04:25:42 2002 EDT Added files: /presentations soap-forumduphp-paris2002.xml Modified files: /presentations/slides/soap attachments2.xml clientapi4.xml document.xml document4.xml resources.xml serverapi1.xml simpleclient2.xml Log: more soap

Index: presentations/slides/soap/attachments2.xml diff -u presentations/slides/soap/attachments2.xml:1.2 presentations/slides/soap/attachments2.xml:1.3 --- presentations/slides/soap/attachments2.xml:1.2 Wed Jul 10 16:00:38 2002 +++ presentations/slides/soap/attachments2.xml Sat Dec 7 04:25:42 2002 @@ -12,11 +12,13 @@ 'http://www.caraveo.com/soap_interop/server_round2.php'); $resp = $client->call('echoMimeAttachment',array($v), - array('Attachments'=>'Mime', + array('attachments'=>'Mime', 'namespace'=>'http://soapinterop.org/')); ?>]]> </example> - +<list> +<bullet>The attachments option can be either 'Mime' or 'DIME'.</bullet> +</list> <example type="text" fontsize='1.4em' title="SOAP Message with Mime Attachments:"> <![CDATA[POST /soap_interop/server_round2.php HTTP/1.0 User-Agent: PEAR-SOAP 0.6.1 Index: presentations/slides/soap/clientapi4.xml diff -u presentations/slides/soap/clientapi4.xml:1.1 presentations/slides/soap/clientapi4.xml:1.2 --- presentations/slides/soap/clientapi4.xml:1.1 Wed Oct 23 03:27:04 2002 +++ presentations/slides/soap/clientapi4.xml Sat Dec 7 04:25:42 2002 @@ -39,4 +39,47 @@ ?> ]]> </example> +<example type="text" fontsize='1.4em' title="SOAP Message with Mime Attachments:"> +<![CDATA[POST /soap_interop/server_round2.php HTTP/1.0 +User-Agent: PEAR-SOAP 0.6.1 +Host: www.caraveo.com +Content-Type: multipart/related; type=text/xml; + boundary="=_a9e37cebd5684ebda52242db0a004f81" +Content-Length: 2042 +SOAPAction: "" + +--=_a9e37cebd5684ebda52242db0a004f81 +Content-Type: text/xml; charset="UTF-8" +Content-Transfer-Encoding: quoted-printable + +<?xml version=3D"1.0" encoding=3D"UTF-8"?> + +<SOAP-ENV:Envelope + xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.org/soap/envelope/" + xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" + xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" + xmlns:SOAP-ENC=3D"http://schemas.xmlsoap.org/soap/encoding/" + xmlns:ns4=3D"http://soapinterop.org/" + SOAP-ENV:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/"> +<SOAP-ENV:Body> + +<ns4:echoMimeAttachment> +<test href=3D"cid:71df492641cddfe43fe3f7b057301fd5"/> +</ns4:echoMimeAttachment> + +</SOAP-ENV:Body> +</SOAP-ENV:Envelope> + +--=_a9e37cebd5684ebda52242db0a004f81 +Content-Disposition: attachment.php +Content-Type: text/plain +Content-Transfer-Encoding: base64 +Content-ID: <71df492641cddfe43fe3f7b057301fd5> + +PD9waHANCnJlcXVpcmVfb25jZS +... +cmludCAkd2lyZS4iXG5cblxuIjsN +--=_a9e37cebd5684ebda52242db0a004f81-- +]]> +</example> </slide> Index: presentations/slides/soap/document.xml diff -u presentations/slides/soap/document.xml:1.1 presentations/slides/soap/document.xml:1.2 --- presentations/slides/soap/document.xml:1.1 Mon Jul 1 19:56:29 2002 +++ presentations/slides/soap/document.xml Sat Dec 7 04:25:42 2002 @@ -9,29 +9,6 @@ parameters, <b>type data (xsi:type attribute)</b>, and an <b>encodingStyle</b> attribute in the envelope.</html></blurb> -<example type="xml" fontsize='1.4em' title="RPC/Encoded SOAP Envelope"> -<![CDATA[<?xml version="1.0" encoding="UTF-8"?> - -<SOAP-ENV:Envelope - xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" - xmlns:ns4="http://soapinterop.org/" - - SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" -> - -<SOAP-ENV:Body> - -<ns4:echoString> -<inputString xsi:type="xsd:string">this is a test</inputString> -</ns4:echoString> - -</SOAP-ENV:Body> -</SOAP-ENV:Envelope>]]> -</example> - <example type="xml" fontsize='1.4em' title="Document/Literal SOAP Envelope"> <![CDATA[<?xml version="1.0" encoding="UTF-8"?> Index: presentations/slides/soap/document4.xml diff -u presentations/slides/soap/document4.xml:1.1 presentations/slides/soap/document4.xml:1.2 --- presentations/slides/soap/document4.xml:1.1 Wed Oct 23 03:27:04 2002 +++ presentations/slides/soap/document4.xml Sat Dec 7 04:25:42 2002 @@ -7,7 +7,7 @@ <bullet>Literal encoding avoids some (de)serialization overhead</bullet> <bullet>PEAR::SOAP defaults to RPC/Encoded, you must set style and use</bullet> </list> -<example type="php" fontsize='1.0em'> +<example type="php" fontsize='1.3em'> <![CDATA[<?php $result = $client->call("ListLiveCityCams", NULL, Index: presentations/slides/soap/resources.xml diff -u presentations/slides/soap/resources.xml:1.2 presentations/slides/soap/resources.xml:1.3 --- presentations/slides/soap/resources.xml:1.2 Tue Oct 22 22:52:09 2002 +++ presentations/slides/soap/resources.xml Sat Dec 7 04:25:42 2002 @@ -2,7 +2,8 @@ <list> <bullet>PHP: www.php.net</bullet> <bullet>PEAR::SOAP: pear.php.net</bullet> -<bullet>PHP-SOAP: pear.php.net cvs repository</bullet> +<bullet>PHP-SOAP: PECL: pear.php.net cvs repository</bullet> +<bullet>EMail List: soap@lists.php.net</bullet> <bullet>ASPN: aspn.ActiveState.com</bullet> </list> <list marginleft="2em"> Index: presentations/slides/soap/serverapi1.xml diff -u presentations/slides/soap/serverapi1.xml:1.1 presentations/slides/soap/serverapi1.xml:1.2 --- presentations/slides/soap/serverapi1.xml:1.1 Wed Oct 23 03:27:04 2002 +++ presentations/slides/soap/serverapi1.xml Sat Dec 7 04:25:42 2002 @@ -58,7 +58,7 @@ } $in = array('inputString'=>'string'); -$in = array('outputString'=>'string'); +$out = array('outputString'=>'string'); $soapclass = new SOAP_Example_Server(); $server->addToMap($soapclass,$in,$out,'urn:SOAP_Example_Server'); Index: presentations/slides/soap/simpleclient2.xml diff -u presentations/slides/soap/simpleclient2.xml:1.1 presentations/slides/soap/simpleclient2.xml:1.2 --- presentations/slides/soap/simpleclient2.xml:1.1 Tue Oct 22 04:07:56 2002 +++ presentations/slides/soap/simpleclient2.xml Sat Dec 7 04:25:42 2002 @@ -10,7 +10,9 @@ $options = array('namespace' => 'urn:SOAP_Example_Server', 'trace' => 1); -$ret = $soapclient->call("echoString",array("inputString"=>"this is a test string"),$options); +$ret = $soapclient->call("echoString", + array("inputString"=>"this is a test"), + $options); print_r($ret); ?> Index: presentations/soap-forumduphp-paris2002.xml +++ presentations/soap-forumduphp-paris2002.xml <presentation jskeyboard="1" template="php" logo2="/pres2/presentations/slides/soap/activestate_logo.gif" navbarbackground="#A68C53" backgroundfixed="true" backgroundimage = "/pres2/presentations/slides/soap/activestate_background.jpg" backgroundcol="#EFECDD" navsize="1.4em"> <title>Web Services for PHP</title> <topic>SOAP</topic> <event>ActiveState Corporation</event> <location>&lt;br/&gt;Forum Du PHP, Paris, France</location> <date>December 10, 2002</date> <speaker>Shane Caraveo</speaker> <company>ActiveState Corporation</company> <email>shanec@ActiveState.com</email> <url>talks.php.net</url> <slide>slides/soap/slide1.xml</slide> <slide>slides/soap/agenda2.xml</slide> <slide>slides/soap/whatissoap.xml</slide> <slide>slides/soap/soaphistory.xml</slide> <slide>slides/soap/soap.xml</slide> <slide>slides/soap/soapenvelope2.xml</slide> <slide>slides/soap/soapfault.xml</slide> <slide>slides/soap/document.xml</slide> <slide>slides/soap/wsdl.xml</slide> <slide>slides/soap/wsdlparts.xml</slide> <slide>slides/soap/usingsoap.xml</slide> <slide>slides/soap/attachments.xml</slide> <slide>slides/soap/other.xml</slide> <slide>slides/soap/other2.xml</slide> <slide>slides/soap/protocols.xml</slide> <slide>slides/soap/interop.xml</slide> <slide>slides/soap/interop2.xml</slide> <slide>slides/soap/interop3.xml</slide> <slide>slides/soap/implementations.xml</slide> <slide>slides/soap/pear.xml</slide> <slide>slides/soap/simpleclient2.xml</slide> <slide>slides/soap/anatomyclient1.xml</slide> <slide>slides/soap/anatomyclient2.xml</slide> <slide>slides/soap/anatomyclient3.xml</slide> <slide>slides/soap/clientapi1.xml</slide> <slide>slides/soap/clientapi2.xml</slide> <slide>slides/soap/clientapi3.xml</slide> <slide>slides/soap/document4.xml</slide> <slide>slides/soap/headers2.xml</slide> <slide>slides/soap/clientapi4.xml</slide> <slide>slides/soap/soapsmtp.xml</slide> <slide>slides/soap/proxygen.xml</slide> <slide>slides/soap/clientapi5.xml</slide> <slide>slides/soap/server1.xml</slide> <slide>slides/soap/serverapi1.xml</slide> <slide>slides/soap/server3.xml</slide> <slide>slides/soap/soapfault2.xml</slide> <slide>slides/soap/serverheader.xml</slide> <slide>slides/soap/serveremail.xml</slide> <slide>slides/soap/serverwsdl.xml</slide> <slide>slides/soap/soapobjects1.xml</slide> <slide>slides/soap/soapresources.xml</slide> <slide>slides/soap/resources.xml</slide> </presentation>
« previous php.pres (#562) next »