Location: PHPKode > projects > phpSyncML > phpsyncml/wbxml/docs/examples/syncml_server_packet_1.xml
<?xml version="1.0"?>
<!DOCTYPE SyncML PUBLIC "-//SYNCML//DTD SyncML 1.1//EN" "http://www.openmobilealliance.org/syncml/docs/syncml_represent_v11_20020215.dtd">
<SyncML xmlns="syncml:SYNCML1.1">
 <SyncHdr>
  <VerDTD>
   1.1
  </VerDTD>
  <VerProto>
   SyncML/1.1
  </VerProto>
  <SessionID>
   0
  </SessionID>
  <MsgID>
   1
  </MsgID>
  <Target>
   <LocURI>
    AA712857A16E02800
   </LocURI>
   <LocName>
    anthony
   </LocName>
  </Target>
  <Source>
   <LocURI>
    http://pyramid6.com:8080/sync
   </LocURI>
  </Source>
  <Meta>
   <MaxMsgSize xmlns="syncml:metinf">
    50000
   </MaxMsgSize>
   <MaxObjSize xmlns="syncml:metinf">
    4000000
   </MaxObjSize>
  </Meta>
 </SyncHdr>
 <SyncBody>
  <Status>
   <CmdID>
    1
   </CmdID>
   <MsgRef>
    1
   </MsgRef>
   <CmdRef>
    0
   </CmdRef>
   <Cmd>
    SyncHdr
   </Cmd>
   <TargetRef>
    http://pyramid6.com:8080/sync
   </TargetRef>
   <SourceRef>
    AA712857A16E02800
   </SourceRef>
   <Chal>
    <Meta>
     <Format xmlns="syncml:metinf">
      b64
     </Format>
     <Type xmlns="syncml:metinf">
      syncml:auth-md5
     </Type>
     <NextNonce xmlns="syncml:metinf">
      O0JUQVAkISE=
     </NextNonce>
    </Meta>
   </Chal>
   <Data>
    401
   </Data>
  </Status>
  <Status>
   <CmdID>
    2
   </CmdID>
   <MsgRef>
    1
   </MsgRef>
   <CmdRef>
    1
   </CmdRef>
   <Cmd>
    Put
   </Cmd>
   <Data>
    401
   </Data>
  </Status>
  <Status>
   <CmdID>
    3
   </CmdID>
   <MsgRef>
    1
   </MsgRef>
   <CmdRef>
    2
   </CmdRef>
   <Cmd>
    Get
   </Cmd>
   <Data>
    401
   </Data>
  </Status>
  <Status>
   <CmdID>
    4
   </CmdID>
   <MsgRef>
    1
   </MsgRef>
   <CmdRef>
    3
   </CmdRef>
   <Cmd>
    Alert
   </Cmd>
   <Data>
    401
   </Data>
  </Status>
  <Final>
  </Final>
 </SyncBody>
</SyncML>
Return current item: phpSyncML