Hi,
I’m getting the below error, while trying to create a TN profile using WMTN services,
0003.4003
Could not add partner profile for xxxx.
java.lang.ClassCastException
com.wm.data.ISMemDataImpl cannot be cast to com.wm.app.tn.profile.ID
java.lang.ClassCastException: com.wm.data.ISMemDataImpl cannot be cast to com.wm.app.tn.profile.ID
at com.wm.app.tn.profile.Validator.validateStandardProfile(Validator.java:197)
Here are the steps followed for profile creation:
pub.file:getFile (loading the file from back-end)
wm.tn.profile.create:newExternalID (populated the value from my document)
wm.tn.profile.create:newProfile
wm.tn.profile:addProfile
Could someone please provide a resolution for this error ?
I’ve been following the mentioned in-built type ‘wm.tn.rec:ExternalID’ to populate the values. As per the reference guide,
If you are adding the external ID to a new profile, leave the internal ID fields (InternalID and PartnerIDID empty. Trading Networks generates these internal IDs for you when you save the profile to the Trading Networks database.
i have populated the values for the other three fields alone. But still i’m getting the same error as such.