none
Azure Biztalk : Sending message to AS2 Send Bridge from SB Queue RRS feed

  • Question

  • The lay of the land.

    1. I'm extremely new at Biztalk. Extremely. 

    2. My head currently hurts from working on this.

    3. Please help... ;)

    Problem:

    I currently have a AS2 Receive and AS2 Send bridge(s) setup in Azure Biztalk. 

    Send Settings:

    • Enable message signing
    • enable message encryption
    • enable message compression
    • unfold HTTP Headers
    • Request signed MDN
    • I am using the URL found under the portal at BRIDGES > AS2 BRIDGE > SEND SETTINGS Inbound URL

    Theoretically I should be able to send a message to this URI which would then send the message to an external partner via this AS2 bridge. Even says "configure a bridge route stage to send mesages via this AS2 bridge"

    1. I am using  a Service Bus Queue Source - "working"
    2. connected to a XML One-Way Bridge - "working"
    3. Going to a One-Way External Service Endpoint ( my AS2 send bridge via the URI )

    The message gets to the last bridge and errors. with message:

    <?xml version="1.0" encoding="utf-16"?>
    <s:Fault xmlns:s="http://www.w3.org/2003/05/soap-envelope">
      <s:Code>
        <s:Value>s:Receiver</s:Value>
        <s:Subcode>
          <s:Value>s:SendError</s:Value>
        </s:Subcode>
      </s:Code>
      <s:Reason>
        <s:Text xml:lang="en-US">The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'WRAP'.</s:Text>
      </s:Reason>
    </s:Fault>

    I'm using this binding

          <webHttpBinding>
            <binding name="ServiceBinding" receiveTimeout="00:20:00" sendTimeout="00:20:00" maxBufferSize="67108864" maxBufferPoolSize="1048576" maxReceivedMessageSize="67108864">
              <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="67108864" maxNameTableCharCount="2147483647">
              </readerQuotas>
              <security mode="Transport" >
              </security>
            </binding>
          </webHttpBinding>

    with this behavior

        <behaviors>
          <endpointBehaviors>
            <behavior name="serviceBusCredentialsBehavior">
              <clientCredentials>
                <serviceCertificate>
                  <sslCertificateAuthentication
                    certificateValidationMode="PeerOrChainTrust"></sslCertificateAuthentication>
                </serviceCertificate>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
        </behaviors>

    I've attempted using a tokenProvider with issuername and secret, I've also tried a clientCertificate which I'm using for authentication signing. Still no dice. 

    I've been through many many blogs and jumped through much of the MSDN documentation but I can't seem to find any reference to how to set this up properly. Or how to do it using Azure Biztalk and VS 2015. Almost everything points back to the on premise biztalk.

    Any help would be wildly appreciated. 




    Wednesday, June 1, 2016 1:51 AM

Answers

All replies