Hi, Chris.
>Can anyone please tell me how I can send back messages from my Web Service wrapped correctly in XML?
>
>For instance if I wanted to send back "Customer was not found", if I just do RETURN "Customer was not found" - then the program receiving the message complains of incorrectly formatted XML - how ro I wrap this correctly with XML?
It all depends on what the receiving end is waiting for. You may try something like:
create cursor Response ( text C(100) )
insert into response (text) value ("Customer was not found")
CursorToXML("Response","lcReturn")
return lcReturn
Hope this helps,