[sync] propsed patch for syncml rpc
Anthony Mills
amills at gascard.net
Sun Dec 7 12:49:17 PST 2003
Take a look at it.
Anthony
-------------- next part --------------
? SyncML
? patch.txt
? syncml_wbxml.php
Index: syncml.php
===================================================================
RCS file: /repository/framework/RPC/RPC/syncml.php,v
retrieving revision 1.2
diff -u -r1.2 syncml.php
--- syncml.php 27 Nov 2003 00:27:06 -0000 1.2
+++ syncml.php 7 Dec 2003 20:45:51 -0000
@@ -43,6 +43,14 @@
*/
function getResponse($request)
{
+ $syncml = new SyncMLServer();
+
+ $encoder = new XML_WBXML_ContentHandler();
+
+ $syncml->setRequest($request);
+ $syncml->setEncoder($encoder);
+
+ return $syncml->getResponse();
}
/**
More information about the sync
mailing list