BPM, Workflow, and Case

 View Only

IBM BPM WEB SERVİCE CALL ERR

  • 1.  IBM BPM WEB SERVİCE CALL ERR

    Posted Wed March 22, 2023 04:30 AM

    At first, I was getting the error below, but when I called the service, we realized that we could not get into it at all.

    CWTBG0019E: Unexpected exception during execution. Exception information: 'An exception occurred in activity "Script Task" of "Service Flow" with name "MusteriBilgileri_WServer". Task instance id "Task.16334". Details: "javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0x35) was found in the prolog of the document.".'.

    We think that we need to add encoding in the request header. Below is an example for request header. 

    tw.local.requestHeader.name = "sessionId";

    tw.local.requestHeader.nameSpace = "http://acme.com";

    tw.local.requestHeader.value = "<x:sessionId xmlns:x=\"http://acme.com\">1237314</x:sessionId>";

    How to set encoding to this instance? How do we add this to the request header?



    ------------------------------
    Jale Seneloglu
    ------------------------------