activiti designer源码的研究(二)wsdl与bpmn20.xml的对照关系(下)

本文深入研究了Activiti Designer中WSLD与BPMN20.xml的对应关系,包括targetNamespace作为默认命名空间的使用,tns与包名的匹配,以及counter自定义命名空间的设定。同时,解释了import元素的importType、location和namespace属性,阐述了它们在发布地址和命名空间配置中的作用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

       由上一篇博客可知上面的wsdl与bpmn20.xml的对应关系如下:

  <1>targetNamespace:默认命名空间,若是某个属性前面没有前缀,那这个属性就默认在targetNamespace

  <2>tns:bpmn20.xml文件所在的包名,需要与targetNamespace保持一致

  <3>counter:自定义命名空间,这里默认为http://webservice.activiti.org/

  <4>import

             importType:默认为http://schemas.xmlsoap.org/wsdl/

             location:发布地址?wsdl

             namespace:默认为http://webservice.activiti.org/

  <5>  

       <message id="prettyPrintCount<strong>RequestMessage</strong>" itemRef="tns:prettyPrintCount<strong>RequestItem</strong>" />  
       <message id="prettyPrintCount<strong>ResponseMessage</strong>" itemRef="tns:prettyPrintCount<strong>ResponseItem</strong>" />  
       message: id = 方法名RequestMessage  itemRef=方法名RequestItem
  <6>
      <itemDefinition id="prettyPrintCount<strong>RequestItem</strong>" structureRef="counter:prettyPrintCount" /><!-- QName of input element -->  
      <itemDefinition id="prettyPrintCount<strong>ResponseItem</strong>" structureRef="counter:prettyPrintCount<strong>Response</strong>" /><!-- QName of output element -->
      其他对应关系可以直接从上一篇的配置文件中看出来

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值