This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UFT API Test with WCF wsHttpBinding

Hi

 

I'm trying to set up  a new API test on UFT11.53 to use WCF wsHttpBinding.  Our Dotnet application uses an app.config file, and although I can find support documents that list option fields for security, this is not really helping.  I'm not a webservice test expert and our resident webservice developer can't figure it out on UFT either - he can for WCFStorm.  The Client side xml for calling this service from a .Net application looks like the below, I'd like step by step instructions for either using this file or setting the options to emulate it.

 

    <wsHttpBinding>

                <binding name="WSHttpBinding_IUtility1" closeTimeout="00:01:00"

                    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"

                    bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"

                    maxBufferPoolSize="524288" maxReceivedMessageSize="65536"

                    messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"

                    allowCookies="false">

                    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"

                        maxBytesPerRead="4096" maxNameTableCharCount="16384" />

                    <reliableSession ordered="true" inactivityTimeout="00:10:00"

                        enabled="false" />

                    <security mode="Message">

                        <transport clientCredentialType="Windows" proxyCredentialType="None"

                            realm="" />

                        <message clientCredentialType="Certificate" negotiateServiceCredential="false"

                            algorithmSuite="Basic256Sha256Rsa15" establishSecurityContext="false" />

                    </security>

                </binding>

            </wsHttpBinding>

  • 0

    Hello Tim, 

     

           We are chking this information, we will get back as soon as posible.

     

    Regards.

     

    HP support
    Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.

  • 0

    Hello Tim

     

        For wsHttpBinding you need to open UFT

        Drag and drop SOAP request in order to create a new SOAP request.

        

       

        -Click over the SOAP request and select the "Security Settings" tab in the properties pane.

        -Select the Service Details: "WCF Service (WSHttpBinding)"

        -You can set the Client Authentication type from the first option

        

     

        -Scroll down the properties and click on the Advanced... Button

       

     

        -From the different tabs you will be able to enter properties like Negotiate Service credentials, Encoding, proxy, among others

     

        

     

    Regards.

     

     

    HP support
    If you find that this or any post resolves your issue, mark it as an accepted solution.

     

    Note: The Opinions expressed in my post are mine alone, and do not reflect the opinions of my employer. No warranties express or implied for any answered posted.