<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Spec-compliant webservice call: Multiple message parts? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/spec-compliant-webservice-call-multiple-message-parts/m-p/59859#M36892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;first let me say &lt;/SPAN&gt;&lt;STRONG&gt;thank you&lt;/STRONG&gt;&lt;SPAN&gt; for the great set of examples that come with Activiti - they really ease the first steps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now for my question. I am currently trying to figure out how to call a webservice the BPMN2-spec-compliant way. I started with the examples contained in &lt;/SPAN&gt;&lt;EM&gt;activiti-cxf-examples&lt;/EM&gt;&lt;SPAN&gt;, and tried to modify them in order to invoke a webservice hosted locally at my company.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, different from the "Counter" service in the examples, the messages for most operations of this webservice make use of multiple parts, each of them being associated with some complex type. In the SOAP binding of the webservice, some of those parts are bound to the SOAP header, others to the SOAP body.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Transferred to the "Counter" example, I have the following situation:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;wsdl:message name="prettyPrintCount"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;wsdl:part element="tns:prettyPrintCount" name="parameters" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;wsdl:part element="tns:furtherComplexType" name="moreParameters" /&amp;gt;&lt;BR /&gt;&amp;lt;/wsdl:message&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&amp;lt;wsdl:binding name="CounterSoapBinding" type="tns:Counter"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;soap:binding style="document" transport="&lt;A href="http://schemas.xmlsoap.org/soap/http" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/http&lt;/A&gt;" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; &amp;lt;wsdl:operation name="prettyPrintCount"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;soap:operation soapAction="" style="document" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsdl:input&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;soap:header message="prettyPrintCount" part="moreParameters" use="literal"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;soap:body parts="parameters" use="literal"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsdl:input&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; &amp;lt;/wsdl:operation&amp;gt;&lt;BR /&gt;&amp;nbsp; …&lt;BR /&gt;&amp;lt;/wsdl:binding&amp;gt;&lt;BR /&gt;…&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence, in this example, the message sent to the webservice contains two complex types, "prettyPrintCount" and "furtherComplexType". So my question is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:?: How do I specify a corresponding interface in a BPMN2-spec-compliant manner, so that it is interpretable by the Activiti Engine?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So far, from the examples and from looking at the spec, I understood that an "operation" specified for an "interface" is associated with exactly one message ("inMessageRef"). Furthermore, a "message" refers to one item via "itemRef", and an "itemDefinition" refers to one element via "structureRef".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the "Counter" example, "structureRef" uses the QName of the "prettyPrintCount" type ("counter&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rettyPrintCount"), but how would I correctly specify my scenario, that involves more than one type in the payload of the message? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you give me any hints on where my thoughts go into the wrong direction here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers &amp;amp; Sorry for the long post,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2011 07:55:47 GMT</pubDate>
    <dc:creator>sjoerges</dc:creator>
    <dc:date>2011-10-13T07:55:47Z</dc:date>
    <item>
      <title>Spec-compliant webservice call: Multiple message parts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spec-compliant-webservice-call-multiple-message-parts/m-p/59859#M36892</link>
      <description>Hi there,first let me say thank you for the great set of examples that come with Activiti - they really ease the first steps!Now for my question. I am currently trying to figure out how to call a webservice the BPMN2-spec-compliant way. I started with the examples contained in activiti-cxf-examples,</description>
      <pubDate>Thu, 13 Oct 2011 07:55:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spec-compliant-webservice-call-multiple-message-parts/m-p/59859#M36892</guid>
      <dc:creator>sjoerges</dc:creator>
      <dc:date>2011-10-13T07:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Spec-compliant webservice call: Multiple message parts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spec-compliant-webservice-call-multiple-message-parts/m-p/59860#M36893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No idea, anyone? :?:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 13:28:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spec-compliant-webservice-call-multiple-message-parts/m-p/59860#M36893</guid>
      <dc:creator>sjoerges</dc:creator>
      <dc:date>2011-11-04T13:28:29Z</dc:date>
    </item>
  </channel>
</rss>

