1:<!-- 2: 3: This program is free software; you can redistribute it and/or modify 4: it under the terms of the GNU General Public License as published by 5: the Free Software Foundation; either version 2 of the License, or 6: (at your option) any later version. 7: 8: This program is distributed in the hope that it will be useful, 9: but WITHOUT ANY WARRANTY; without even the implied warranty of 10: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11: GNU General Public License for more details. 12: 13: You should have received a copy of the GNU General Public License 14: along with this program; if not, write to the Free Software 15: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16: 17: (c)Copyright 2006 Hewlett-Packard Development Company, LP. 18: 19:--> 20: 21:<?xml version="1.0" encoding="ISO-8859-1" ?> 22:<scenario> 23: 24:<traffic> 25: <send channel="channel-1"> 26: <!-- Open a new transport (TCP) socket for this call --> 27: <action> 28: <open args="mode=client;dest=127.0.0.1:8090"></open> 29: </action> 30: <message> 31: <!-- header --> 32: <![CDATA[PUT /xcap/test-auid1/users/sip:user@hp.com/doc.xml HTTP/1.1 33: Content-type: application/note+xml;charset=UTF-8 34: X-XCAP-Asserted-Identity: "sip:user@hp.com" 35: User-Agent: Seagull-gull.sourceforge.net 36: Host: clever5:8090 37: Accept: text/html, image/gif, *; q=.2, */*; q=.2 38: Connection: keep-alive]]> 39: <!-- Body --> 40: <![CDATA[<?xml version="1.0" encoding="UTF-8"?> 41: <note xmlns:dog="the:namespace:for:dog"> 42: <dog:to>Jani</dog:to> 43: <from>Tove</from> 44: <heading>Re: Reminder</heading> 45: <body>I will not forget you this week end!</body> 46: </note>]]> 47: </message> 48: </send> 49: 50: <receive channel="channel-1"> 51: <message> 52: <!-- header --> 53: <![CDATA[HTTP/1.1 201 Created 54: Server: Apache-Coyote/1.1 55: Pragma: No-cache 56: Cache-Control: no-cache 57: Expires: Wed, 31 Dec 1969 18:00:00 CST 58: X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5 59: ETag: 1 60: Content-Length: 0 61: Date: Mon, 07 Aug 2006 21:14:46 GMT]]> 62: </message> 63: </receive> 64: 65: <send channel="channel-1"> 66: <message> 67: <!-- header --> 68: <![CDATA[DELETE /xcap/test-auid1/users/sip:user@hp.com/doc.xml HTTP/1.1 69: X-XCAP-Asserted-Identity: "sip:user@hp.com" 70: User-Agent: Seagull-gull.sourceforge.net 71: Host: clever5:8090 72: Accept: text/html, image/gif, *; q=.2, */*; q=.2 73: Connection: keep-alive 74: Content-type: application/x-www-form-urlencoded 75: ]]> 76: </message> 77: </send> 78: 79: <receive channel="channel-1"> 80: <message> 81: <!-- header --> 82: <![CDATA[HTTP/1.1 200 OK 83: Server: Apache-Coyote/1.1 84: Pragma: No-cache 85: Cache-Control: no-cache 86: Expires: Wed, 31 Dec 1969 18:00:00 CST 87: X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5 88: ETag: 1 89: Content-Length: 0 90: Date: Mon, 07 Aug 2006 21:14:46 GMT]]> 91: </message> 92: <action> 93: <!-- Close the TCP socket we opened at the beginning --> 94: <close></close> 95: </action> 96: </receive> 97: 98: </traffic> 99:</scenario> 100: