My Oracle Support Banner

CreateLoc API Throwing Exception: A required component with name State is missing (Doc ID 2453743.1)

Last updated on OCTOBER 10, 2018

Applies to:

Oracle Communications MetaSolv Solution - Version 6.2.1 and later
Information in this document applies to any platform.

Symptoms

On : 6.2.1 version, MetaSolv Integration Platform  |  Create Location XML API

=====================================================================
 
User is getting the following error while trying to create an End User Location using MSS XML API
  

ERROR
-----------------------
Message:A required component with name = State is missing from the structured format object.Error Code 10119:The server encountered the following Exception: A required component with name = State is missing from the structured format object.
  at com.mslv.core.api.internal.shared.MSLVSharedException.createMSLVSharedException(MSLVSharedException.java:32)
  at com.mslv.core.api.internal.shared.MSLVSharedException.throwException(MSLVSharedException.java:28)
  at com.mslv.core.api.internal.shared.SFUtility.validateStructureFormat(SFUtility.java:388)
  at com.mslv.core.api.internal.shared.SFUtility.validateStructureFormat(SFUtility.java:329)
  at com.mslv.core.api.internal.shared.SFUtility.validateStructureFormat(SFUtility.java:146)
  at com.mslv.core.api.internal.infrastructure.networkLocation.imports.ValidateLocationLogic.validateAddresses(ValidateLocationLogic.java:576)
  at com.mslv.core.api.internal.infrastructure.networkLocation.imports.ValidateLocationLogic.validateAddressesForCreate(ValidateLocationLogic.java:528)
  at com.mslv.core.api.internal.infrastructure.networkLocation.imports.ValidateLocationLogic.validateNetworkLocationCreate(ValidateLocationLogic.java:172)
  at com.mslv.core.api.internal.infrastructure.networkLocation.imports.CreateNetworkLocationLogic.validate(CreateNetworkLocationLogic.java:67)
  at com.mslv.core.api.internal.infrastructure.networkLocation.imports.CreateLocationLogic.validate(CreateLocationLogic.java:70)
  at com.mslv.core.api.external.infrastructure.networkLocation.importData.CreateLocationProcess.execute(CreateLocationProcess.java:58)
  at com.metasolv.ejb.inventory.LocationEJB.createLocation(LocationEJB.java:136)
  at com.metasolv.ejb.inventory.Location_w02je5_EOImpl.createLocation(Location_w02je5_EOImpl.java:138)
  at sun.reflect.GeneratedMethodAccessor813.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(





STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1-Create EUL using the createLocationRequest xml api

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.