Skip to main content


 

Symptoms


On a SmartObject web services when the Create method for the SmartObject is called, some of the properties of the SMO are not set. However, when the same SmartObject is called using the SMO test utility or through a smart form or K2 process it works fine.
 

Diagnoses


To test, the properties that the is passes to the Web Service was set to Required in K2 Designer andgt SmartObject Properties. This caused a ?SmartObject property andltproperty nameandgt is a required property? error, even though the property was specified in the web service call.

The sequence of the properties was changed in the XML Data passed to the web service and retested.
 

Resolution

It was found that changing the sequence of the properties in the XML data that gets passed to the web service caused it to accept all the properties.

It is suspected that the properties that gets passed to the Web Service needs to be in the same sequence as they are defined in K2 Designer andgt SmartObject Properties.




 
Be the first to reply!

Reply