Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Binding error

UK_
UK_ Posts: 22

Receiving "Make sure the binding is configured with the same version as the expected messages.The envelope version of the incoming message does not match that of the encoder" error when I point the service to virtual asset. Is there any configuration setting that needs to be done ?

Comments

  • williammccusker
    williammccusker Posts: 642 ✭✭✭

    Hi,
    In what context are you getting this error? How is your virtual asset setup and what transport are you using?

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭
    edited April 2020

    This looks like a Microsoft error message, like the kind you might get back from a .NET WCF service endpoint. The "envelope version" is referring to the SOAP version. Please verify you configured the expected SOAP version (1.1 vs 1.2). The SOAP envelope will use a different XML namespace depending on the configured SOAP version. If the service endpoint receives a SOAP envelope in the wrong namespace then it will return a fault message back with this kind of error.

    The "binding" mentioned in the message is referring to a particular configuration object that controls how messages are sent and consumed by both .NET WCF clients and services. The "bindings" between client and service must agree, like the SOAP envelope version configured in the binding. In contrast, both the SOAP Client and SOAP Message Responder tools have a UI option where you can configure the SOAP envelope version of the outgoing message. For example, look for "SOAP Version" on the Responder's Options tab.

    Are you seeing this when using a SOAP Client or SOAP Message Responder tool or are you using something else, like the ".NET Routing Service" for Virtualize?