FMS AS4 Light Client Pull PMode

The following example provides a typical p-mode that is used by the pull example above. Various p-mode settings are overriden by the command line including both initiating and responding parties.

\
\<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
\<pmode:ProcessingMode xmlns:tg="http://fms.flame.business/FMS/schema/Trigger"
\ xmlns:pmode="http://fms.flame.business/FMS/schema/ProcessingMode">
\  <!-- Copyright (c) Flame Computing Enterprises cc 2007 - 2019. All rights reserved -->
\  <!-- RCSfile: as4pull.pmode,v Revision: 1.1.2.2 Date: 2019-02-14 10:17:34 -->
\  <pmode:specification>AS4</pmode:specification>
\
\  <pmode:general>
\    <!-- overrride Agreement using '-ag <agreementRef>' commandLine option -->
\    <pmode:Agreement></pmode:Agreement>
\
\    <!-- overrride ConversationID using '-c <conversation id>' commandLine option -->
\    <pmode:ConversationID></pmode:ConversationID>
\    <pmode:MEP>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/oneWay</pmode:MEP>
\    <pmode:MEPbinding>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/pull</pmode:MEPbinding>
\
\    <pmode:initiating>
\
\      <!-- override initiating party using -from <party> commandLine option -->
\      <pmode:party>undefined-initiating</pmode:party>
\      <!-- override initiating role using -fromRole <party> commandLine option -->
\      <pmode:role>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/initiator</pmode:role>
\    </pmode:initiating>
\
\    <pmode:responding>
\
\      <!-- override responding party using '-to <party>' commandLine option -->
\      <pmode:party>undefined-responding</pmode:party>
\      <!-- override responding role using -toRole <party> commandLine option -->
\      <pmode:role>http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/responder</pmode:role>
\    </pmode:responding>
\
\  </pmode:general>
\  <pmode:event pmode:ID="pull">
\    <pmode:protocol>
\
\      <!-- overrride address using '-h <remoteHost url>' commandLine option -->
\      <pmode:address>https://fmstest.flame.business:8443/AS4-C3</pmode:address>
\      <pmode:SOAPVersion>1.2</pmode:SOAPVersion>
\      <pmode:useCompression>true</pmode:useCompression>
\      <pmode:retryThreshold>3</pmode:retryThreshold>
\      <pmode:retryInterval>60</pmode:retryInterval>
\    </pmode:protocol>
\
\    <pmode:businessInfo>
\      <pmode:service pmode:type="cenbii-procid-ubl">urn:www.cenbii.eu:profile:bii54:ver3.0</pmode:service>
\      <pmode:action>pull-action</pmode:action>
\      <pmode:maxSize>0</pmode:maxSize>
\      <pmode:MPC>Flame.Invoice.MPC</pmode:MPC>
\    </pmode:businessInfo>
\
\    <pmode:security>
\      <pmode:WSSVersion>1.1</pmode:WSSVersion>
\      <pmode:SOAPSecurityLevel>SIGN_ENCRYPT</pmode:SOAPSecurityLevel>
\      <pmode:MIMESecurityLevel>SIGN_ENCRYPT</pmode:MIMESecurityLevel>
\      <pmode:X509>
\        <pmode:signature> <!-- overriden by the security context file using '-sc <securityContext.xml>' -->
\          <!-- CanonicalizationMethod - defaults to  http://www.w3.org/2001/10/xml-exc-c14n# -->
\          <!-- defined by server property SIGNATURE_CANONICALISATION_ALGORITHM -->
\          <!-- SignatureMethod - defined by server property SIGNATURE_ALGORITHM -->
\          <pmode:algorithm>http://www.w3.org/2001/04/xmldsig-more#rsa-sha256</pmode:algorithm>
\          <!-- DigestMethod as used for all targets - defined by server property SIGNATURE_DIGEST_ALGORITHM -->
\          <pmode:hashFunction>http://www.w3.org/2001/04/xmlenc#sha256</pmode:hashFunction>
\          <pmode:CryptPart pmode:namespace="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/">
\            <pmode:element>Messaging</pmode:element>
\          </pmode:CryptPart>
\          <pmode:CryptPart pmode:namespace="http://www.w3.org/2003/05/soap-envelope">
\            <pmode:element>Messaging</pmode:element>
\          </pmode:CryptPart>
\        </pmode:signature>
\
\        <pmode:encryption> <!-- overriden by the security context file using '-sc <securityContext.xml>' -->
\          <!-- defined by server property ENCRYPTION_SYMMETRIC_KEY_ALGORITHM -->
\          <pmode:algorithm>http://www.w3.org/2009/xmlenc11#aes128-gcm</pmode:algorithm>
\          <pmode:certificate></pmode:certificate>
\          <pmode:CryptPart pmode:namespace="http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/">
\            <pmode:element>Messaging</pmode:element>
\            <pmode:element>CollaborationInfo</pmode:element>
\            <pmode:element>PayloadInfo</pmode:element>
\          </pmode:CryptPart>
\          <pmode:CryptPart pmode:namespace="http://www.w3.org/2003/05/soap-envelope">
\            <pmode:element>Body</pmode:element>
\          </pmode:CryptPart>
\          <pmode:CryptPart>
\            <!-- transform algorithm defaults to
\             http://docs.oasis-open.org/wss/oasis-wss-SwAProfile-1.1#Attachment-Content-Signature-Transform -->
\            <pmode:element>cid:*</pmode:element>
\          </pmode:CryptPart>
\        </pmode:encryption>
\
\      </pmode:X509>
\
\      <pmode:usernameToken>
\        <pmode:PModeAuthorize>true</pmode:PModeAuthorize>
\        <pmode:username>flame</pmode:username>
\        <pmode:password>secret</pmode:password>
\        <pmode:digest>true</pmode:digest>
\        <pmode:nonce>true</pmode:nonce>
\        <pmode:created>true</pmode:created>
\      </pmode:usernameToken>
\
\      <pmode:sendReceipt>
\        <pmode:enabled>false</pmode:enabled>
\        <pmode:replyPattern>response</pmode:replyPattern>
\        <pmode:includeUsernameToken>false</pmode:includeUsernameToken>
\      </pmode:sendReceipt>
\
\    </pmode:security>
\  </pmode:event>
\</pmode:ProcessingMode>
\
\