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

    >> Web服务(Web Services,WS), 语义Web服务(Semantic Web Services, SWS)讨论区: WSDL, SOAP, UDDI, DAML-S, OWL-S, SWSF, SWSL, WSMO, WSML,BPEL, BPEL4WS, WSFL, WS-*,REST, PSL, Pi-calculus(Pi演算), Petri-net,WSRF,
    [返回] 中文XML论坛 - 专业的XML技术讨论区W3CHINA.ORG讨论区 - Web新技术讨论『 Web Services & Semantic Web Services 』 → 关于wsdl映射到uddi的tModel的问题? 查看新帖用户列表

      发表一个新主题  发表一个新投票  回复主题  (订阅本版) 您是本帖的第 3873 个阅读者浏览上一篇主题  刷新本主题   树形显示贴子 浏览下一篇主题
     * 贴子主题: 关于wsdl映射到uddi的tModel的问题? 举报  打印  推荐  IE收藏夹 
       本主题类别: Description Logics | Web Services    
     lixiaoming 帅哥哟,离线,有人找我吗?
      
      
      等级:大二期末(数据结构考了98分!)
      文章:78
      积分:409
      门派:XML.ORG.CN
      注册:2008/12/8

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给lixiaoming发送一个短消息 把lixiaoming加入好友 查看lixiaoming的个人资料 搜索lixiaoming在『 Web Services & Semantic Web Services 』的所有贴子 引用回复这个贴子 回复这个贴子 查看lixiaoming的博客楼主
    发贴心情 关于wsdl映射到uddi的tModel的问题?

    各位,这里是我已经做好的一个web服务,并且已经成功的发布,这个是访问这个 wsdl文件的地址

    http://localhost:8080/axis/services/Productoption?wsdl

    这里是这个wsdl 的源码:

    <?xml version="1.0" encoding="UTF-8" ?>
    - <wsdl:definitions targetNamespace="urn:Productoption" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:Productoption" xmlns:intf="urn:Productoption" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://entity.oa.icss.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <!--
    WSDL created by Apache Axis version: 1.4
    Built on Apr 22, 2006 (06:55:48 PDT)

      -->
    - <wsdl:types>
    - <schema targetNamespace="urn:Productoption" xmlns="http://www.w3.org/2001/XMLSchema">
      <import namespace="http://entity.oa.icss.com" />
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="ArrayOf_xsd_anyType">
    - <complexContent>
    - <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]" />
      </restriction>
      </complexContent>
      </complexType>
      </schema>
    - <schema targetNamespace="http://entity.oa.icss.com" xmlns="http://www.w3.org/2001/XMLSchema">
      <import namespace="urn:Productoption" />
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    - <complexType name="Product">
    - <sequence>
      <element name="cnt" type="xsd:int" />
      <element name="ext" nillable="true" type="xsd:string" />
      <element name="pid" nillable="true" type="xsd:string" />
      <element name="pname" nillable="true" type="xsd:string" />
      <element name="price" type="xsd:double" />
      </sequence>
      </complexType>
      </schema>
      </wsdl:types>
    - <wsdl:message name="getProductByIdResponse">
      <wsdl:part name="getProductByIdReturn" type="tns1:Product" />
      </wsdl:message>
    - <wsdl:message name="getAllProductsResponse">
      <wsdl:part name="getAllProductsReturn" type="impl:ArrayOf_xsd_anyType" />
      </wsdl:message>
      <wsdl:message name="getAllProductsRequest" />
    - <wsdl:message name="getProductByIdRequest">
      <wsdl:part name="in0" type="soapenc:string" />
      </wsdl:message>
    - <wsdl:portType name="Productoption">
    - <wsdl:operation name="getAllProducts">
      <wsdl:input message="impl:getAllProductsRequest" name="getAllProductsRequest" />
      <wsdl:output message="impl:getAllProductsResponse" name="getAllProductsResponse" />
      </wsdl:operation>
    - <wsdl:operation name="getProductById" parameterOrder="in0">
      <wsdl:input message="impl:getProductByIdRequest" name="getProductByIdRequest" />
      <wsdl:output message="impl:getProductByIdResponse" name="getProductByIdResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ProductoptionSoapBinding" type="impl:Productoption">
      <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="getAllProducts">
      <wsdlsoap:operation soapAction="" />
    - <wsdl:input name="getAllProductsRequest">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Productoption" use="encoded" />
      </wsdl:input>
    - <wsdl:output name="getAllProductsResponse">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Productoption" use="encoded" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="getProductById">
      <wsdlsoap:operation soapAction="" />
    - <wsdl:input name="getProductByIdRequest">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Productoption" use="encoded" />
      </wsdl:input>
    - <wsdl:output name="getProductByIdResponse">
      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:Productoption" use="encoded" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ProductoptionService">
    - <wsdl:port binding="impl:ProductoptionSoapBinding" name="Productoption">
      <wsdlsoap:address location="http://localhost:8080/axis/services/Productoption" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    现在我想把他映射到uddi中的tModel上,并且接着映射到 businessService 上面。在映射tModel时,碰到问题:

    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <soapenv:Body>
        <save_tModel generic="2.0" xmlns="urn:uddi-org:api_v2">
          <authInfo>***</authInfo>
          <tModel tModelKey="">
            <name>[color=#FF0000]http://localhost:8080/axis/services/Productoption[/color]</name>
            <description>***</description>
            <overviewDoc>
              <description>***</description>
              <overviewURL>http://localhost:8080/axis/services/Productoption?wsdl#ProductoptionSoapBinding</overviewURL>
            </overviewDoc>
            <identifierBag>
              <keyedReference tModelKey="***" keyName="***" keyValue="***" />
            </identifierBag>
            <categoryBag>
              <keyedReference tModelKey="***" keyName="***" keyValue="***" />
            </categoryBag>
          </tModel>
        </save_tModel>
      </soapenv:Body>
    </soapenv:Envelope>
    在验证过程中提示需要categoryBag,和那个 <authInfo


       收藏   分享  
    顶(0)
      




    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/2/27 21:36:00
     
     zhxiaomiao 帅哥哟,离线,有人找我吗?
      
      
      等级:大二(研究汇编)
      文章:35
      积分:215
      门派:XML.ORG.CN
      注册:2008/10/13

    姓名:(无权查看)
    城市:(无权查看)
    院校:(无权查看)
    给zhxiaomiao发送一个短消息 把zhxiaomiao加入好友 查看zhxiaomiao的个人资料 搜索zhxiaomiao在『 Web Services & Semantic Web Services 』的所有贴子 引用回复这个贴子 回复这个贴子 查看zhxiaomiao的博客2
    发贴心情 
    楼主留个联系方式QQ  我也要做这块 能不能加你QQ向你请教啊
    点击查看用户来源及管理<br>发贴IP:*.*.*.* 2009/3/9 16:58:00
     
     GoogleAdSense
      
      
      等级:大一新生
      文章:1
      积分:50
      门派:无门无派
      院校:未填写
      注册:2007-01-01
    给Google AdSense发送一个短消息 把Google AdSense加入好友 查看Google AdSense的个人资料 搜索Google AdSense在『 Web Services & Semantic Web Services 』的所有贴子 访问Google AdSense的主页 引用回复这个贴子 回复这个贴子 查看Google AdSense的博客广告
    2024/5/13 9:17:04

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

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