-- 作者:kyleyou
-- 发布时间:5/23/2004 12:11:00 PM
-- 小生现有一个问题请教大虾
小生现有一个问题请教大虾: 在远程客户端发送请求,然后服务器用SOAP协议封装XML表单,捆绑到HTTP协议上,然后发送 由于小生没学过C#,但是现在急用!请问:怎么样用SOAP封装XML表单呢? 以下是我已经定义好的XML表单,只需把它复制到记事本,保存后改为扩展名为。XML的文件 即可 <?xml version="1.0" encoding="GB2312"?> <list next="13" timestamp="51" schemastamp="18"> <Schema next="12"> <ElementType name="item"> <element id="s1" type="id" title="编号" /> <!-- must have an id on every row --> <element id="s2" type="class" title="班级" values="通信工程1班,通信工程2班 ,通信工程3班,通信工程4班" sort="yes" /> <element id="s10" type="sex" title="性别" values="男,女" view="" color="= (%sex == "0") ? "green" : """ /> <element id="s3" type="name" title="姓名" values="" /> <element id="s4" type="introduction" title="个人介绍" color="" format=" html" /> </ElementType> </Schema> <item> <id>1</id> <class>通信工程1班</class> <sex>女</sex> <name>肖婷婷</name> <introduction> <EM>custom</EM> </introduction> </item> <item> <id>2</id> <class>通信工程2班</class> <sex>男</sex> <name>陈一同</name> <introduction>Accessing</introduction> </item> <item> <id>3</id> <class>通信工程3班</class> <sex>男</sex> <name>男</name> <introduction>attribute.</introduction> </item> <item> <id>4</id> <class>通信工程4班</class> <sex>男</sex> <name>赵智海</name> <introduction> <STRONG> <EM>strong</EM> </STRONG> </introduction> </item> <item> <id>5</id> </item> </list>
|