Printer FriendlyEmail Article Link

iTest: Automatic building of response in Web Service

Environment/Versions

 iTest
WebServices

Answer

Some servers are configured like the information received inside the head tag rather than body tag. Here the ninformation contain inside <env:Header> rather than <env:body>.

e.g.

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Header>
    <ns2:aoewsHeader xmlns:ns2=" " xmlns:ns3=" " xmlns:ns4="  ">
      <operationStatus>
        <status>SUCCESS</status>
      </operationStatus>
      <operationName/>
      <transactionId/>
      <sessionId/>
      <aoewss>
        <userName>admin</userName>
        <password/>
      </aoewss>
      <messageType>REQUEST</messageType>
    </ns2:aoewsHeader>
  </S:Header>
  <S:Body/>
</S:Envelope> 

Here the response can't be auto mapped by iTest. iTest only auto maps the response which is contained inside the body tag only.


Product : Velocity Portfolio,Velocity iTest