You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Invocation of service URL used in connection failed with status code 411 Length Required.

Webservice call is getting failed showing the below error

Exception in expression "oracle.apps.crm.service.svcMgmt.srMgmt.model.entity.ServiceRequestEO" trigger "SBP_EBS_UPDATE" : oracle.binding.expr.ServiceInvocationException Unexpected exception caught: oracle.adf.model.connection.rest.exception.RestConnectionException, msg=JBO-57001: Invocation of service URL used in connection failed with status code 411 Length Required.

Anyone Have idea on how to resolve this issue.

I'm sharing groovy script below Please let me know any modification required.

def rest= adf.webServices.SBP
def UpdateLines =
[[
RequestDate :CRD,
PromiseDate :PD,
line_id :line_id,
]]


def httpHeaders=['Content-Type':'application/vnd.oracle.adf.resourceitem+json']
rest.requestHTTPHeaders=httpHeaders

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!