Web Response

Web responses are created/generated by remote (Web) Services. ProLinga-Web, receives this response file, performs a transformation if required and creates a return document to display in the browser or to send back to the requester.

Example Web response:

<ProLinga>
  <Web Version="1.0">
    <Command Name="RunLogic" Mode="Response" SessionId="XW-ldfgr634lksjvbrhkedkd64jc" Format="HTML">
      <Object Service="Runner" Application= "stock" Name="WPartsList">
        <Transform Format="HTML">http://localhost/Partslist.xsl</Transform>
        <Response>
          <![CDATA [
                <html><head><title>Parts List </title></head><body><h1>List of Parts.</h1><p>text text text ...</p></body></html>
          ] ]>
        </Response>
      </Object>
    </Command>
  </Web>
</ProLinga>

Note

The tag Transform is optional and will only be used in case of a document in XML format.

When the format is set to XML, there will not be a CDATA section, but normal well-formed XML data. Whatever is within the Response tags will be send back to the caller. If Transform is present and the format is XML, the document will first be transformed using xslt before returned.

For the XSLT transformation file, both an URL as file name can be used.