Topic by Farhad Pagdiwala
Content
Hello All Gurus:
I need some help here. I'm facing this unique issue where I'm unable to create a customer address (Custom Object) when a NAMED_ID field is passed along with other fields of type String or Integer.
I'm trying to create this customer address via middleware tool (IBM Cast Iron).
While trying to create the address, I'm receiving the below error from OSvc engine.
SOAP fault from Item: RightNowSyncService|urn:wsdl.ws.rightnow.com/v1_3 failed
Found out-of-order or unrecognized node while parsing node of type DataValue|urn:generic.ws.rightnow.com/v1_3
NULL value is set to a non-nillable element GenericFields of object GenericObject
Failed in setting value for element GenericFields array position 0 of object GenericObject
NULL value is set to a non-nillable element RNObjects of object CreateMsg
Failed in setting value for element RNObjects array position 0 of object CreateMsg
NULL value is set to a non-nillable element Create of object Create
NULL returned from the Create deserializer due to missing or invalid XML
I'm attaching the zip file, which contains the XML SOAP envelope file and the original file which is passed to the Create Call (GenericObject) in middleware.
For some reason, the create wsdl inserts the NamedIDValue tag in all the fields (Address1, City, State etc.).
I also tried assigning xsi:type explicitly to the NamedIDValue tag but, for some reason create call does not see that type.
Please help here as it is important to pass NAMED_ID type field along with other fields.