Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Invoking web service with EAI HTTP Transport ORA-31011 XML parsing failed

edited Feb 27, 2018 4:01AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 2 commentsAnswered

Hi All

Kindly, I am trying to invoke web service with EAI HTTP Transport business service, and i am getting error ORA-31011 XML parsing failed, please help

Note: i am calling same web service from DB and from soapUI and both are working fine as explained in last section

Following is the details:

Siebel: 8.1.1.10

this is the business service code

function Service_PreInvokeMethod (MethodName, Inputs, Outputs){if(MethodName == "AddHeader")  {     //get Business Service     var bs = TheApplication().GetService("EAI HTTP Transport");     var inp = TheApplication().NewPropertySet();     var outputs1 = TheApplication().NewPropertySet();      // Calling the web service using POST method    inp.SetProperty("HTTPRequestMethod","POST");     //Content type as in all HTTP request    inp.SetProperty("HTTPContentType", "text/xml; charset=UTF-8");      // add custom header fot the authorization, any header should start with HDR. or HDR_    inp.SetProperty("HDR.Authorization", "Basic aW50ZXJmYWNlOnNpZWJlbF9pbnRlcmZhY2U=");    //web-service URL to be defined in list of values later on

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center