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

Is it possible to convert a String to Long using in built Mapping Components Conversion functions?

edited May 17, 2018 7:00AM in Integration 2 comments

Summary

Is it possible to convert a String to Long using in built Mapping Components Conversion functions?

Content

Is it possible to convert a String : "300100093901188" to Long using in built Mapping Components Conversion functions?  Use Double conversion function, results in the following exception:

 

<bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>ICS runtime execution error</summary></part><part name="detail"><detail><detail><errorCode>OSB-380001</errorCode><ICSfaultVar/><reason>Fault received on invocation of target :https://fuscdrmovm111-crm-ext.us.oracle.com:443/appCmmnCompActivitiesActivityManagement/ActivityService &lt;![CDATA[

Fault Code : env:Server

Fault String :

Exception Description: The object [3.00100093901188E14], of class [class java.lang.String], could not be converted to [class java.lang.Long].

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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