Reply To: Response from web service

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Response from web service Reply To: Response from web service

#58645
Barry Sheesley
Participant

    I finally got this to work using the following:

    Created a new message using the following:

    set newmsg [msgcreate -recover -class protocol -type data $httpBody]

    msgmetaset $newmsg DESTCONN $HciConnName PRIORITY 5120 SOURCECONN $HciConnName

    The variable $httpBody contains the XML response from the web server.

    I then used the OVER disposition to send this message back to the inbound queue of this thread:

    lappend dispList “OVER $newmsg”

    This seems to work OK.  I had to use Tcl to strip some extraneous tags out of the XML since I was getting the XML back wrapped in a SOAP message. Thanks for the assistance!