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

上一篇博客可知上面的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 -->
其他对应关系可以直接从上一篇配置文件中看出来

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念