新书推介:《语义网技术体系》
作者:瞿裕忠,胡伟,程龚
   XML论坛     W3CHINA.ORG讨论区     计算机科学论坛     SOAChina论坛     Blog     开放翻译计划     新浪微博  
 
  • 首页
  • 登录
  • 注册
  • 软件下载
  • 资料下载
  • 核心成员
  • 帮助
  •   Add to Google

    >> 讨论HTML、XHTML、Web2.0、Ajax、XUL, ExtJS, jQuery, JSON、Social Networking System(SNS)、Rich Internet Applications (RIA)、Tagging System、Taxonomy(tagsonomy,folkonomy)、XForms、XFrames、XInclude, XBL (XML Binding Language)等话题
    [返回] 中文XML论坛 - 专业的XML技术讨论区XML.ORG.CN讨论区 - XML技术『 HTML/XHTML/Ajax/Web 2.0/Web 3.0 』 → 不知道这个问题在这问合适不? 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 3565 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 不知道这个问题在这问合适不? 举报  打印  推荐  IE收藏夹 
       本主题类别:     
     叮叮当 帅哥哟,离线,有人找我吗?
      
      
      等级:大一新生
      文章:0
      积分:52
      门派:XML.ORG.CN
      注册:2007/5/9

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给叮叮当发送一个短消息 把叮叮当加入好友 查看叮叮当的个人资料 搜索叮叮当在『 HTML/XHTML/Ajax/Web 2.0/Web 3.0 』的所有贴子 引用回复这个贴子 回复这个贴子 查看叮叮当的博客楼主
    发贴心情 不知道这个问题在这问合适不?

    主要的问题出在信息内容部分的sectionInfoArr,实在不知道内容部分的数组该如何写.
    是用php写的
    返回的结果是
    <faultstring>org.xml.sax.SAXException: Invalid element in com.ut.wis.webService.info.ContentInfo - sectionInfoArr</faultstring>

    post过去的是
    - <clientInfo>
      <userName xsi:type="xsd:string">admin</userName>
      <password xsi:type="xsd:string">oll888</password>
      </clientInfo>
    - <contentInfo>
      <title xsi:type="xsd:string">test</title>
    - <sectionInfoArr>
      - <ArrayOfSectionInfoHolder>
       - <ContentSectionInfo>    
        <content xsi:type="xsd:string">内容</content>
       </ContentSectionInfo>
    </ArrayOfSectionInfoHolder>
    </sectionInfoArr>
    </contentInfo>
    <thirdParterID xsi:type="xsd:string">1</thirdParterID>

    调用方法  addContentInfo
    参数说明:
       类型              参数名称
    ClientInfo    clientInfo  客户信息
    ContentInfo   contentInfo  信息内容
    String          thirdParterID  ID


    ClientInfo    客户端信息,用于客户端认证。
    属性类型    属性名称 描述
    String        userName    用户名称:必填
    String        password    用户密码:必填

    ContentInfo
    属性类型                           名称
    string                        title          标题
    ArrayOfSectionInfoHolder      sectionInfoArr  包含文本内容和图片信息的对象


    ArrayOfSectionInfoHolder 保存一个ContentSectionInfo数组
    类型                   描述
    ContentSectionInfo[]   每个ContentSectionInfo对象都是一个文本内容信息或者图片信息


    ContentSectionInfo
    每个ContentSectionInfo对象都是一个文本内容信息或者图片信息
    类型        名称
    String entityType
    String content


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2007/5/9 18:02:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 HTML/XHTML/Ajax/Web 2.0/Web 3.0 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/6/10 4:33:37

    本主题贴数1,分页: [1]

    管理选项修改tag | 锁定 | 解锁 | 提升 | 删除 | 移动 | 固顶 | 总固顶 | 奖励 | 惩罚 | 发布公告
    W3C Contributing Supporter! W 3 C h i n a ( since 2003 ) 旗 下 站 点
    苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
    7,996.094ms