...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
<NewPackage>
<NewFacetInstance fid="helloworld" name="HelloWorld" type="SffMsgFacet">
<OnActivate/>
<OnOpen ModifyPipeline="HttpServerExtensionArgs"/>
<OnRequest>
<DoResponse>
<Process>
<Message type="text">
<Value>
Hello World from FacetScript!
</Value>
</Message>
</Process>
</DoResponse>
</OnRequest>
<OnResponse/>
<OnClose/>
</NewFacetInstance> |
...
</NewPackage> |
Once the NewFacetInstance is deployed on TQLEngine following EndPoint will be generated:
http://localhost:8080/fid-helloworld
which produces HTTP Response as
Hello World from FacetScript!