Service Virtualization

  • 1.  Hi All,

    Posted Jan 11, 2016 01:16 AM

    I want to virtualize a web service which has request as follows :

     

    <?xml version="1.0" encoding="UTF-8"?>

    <Partner xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:noNamespaceSchemaLocation="InboundXMLSchema.xsd"

    PartnerID="MDI_001"

    OrgCode="bn" Name="" ContactName="Robin"

    SecondaryContactName="roy" Address1="??" Address2="??"

    Address3="" City="" StateCode="" StateName="" PostalCode="7" />

     

    I want to write a script to get the input state value of the attributes (Ex : testExec.getStateValue("Partner_CountryCode");

    But it is not reading the state value when i'm returning the same.

    Please help me how to get the value of a current incoming request of attributes like ContactName ,Address1 etc..

     

    Thanks,

    Narmadha