Symptoms
Test SmartObjects with SoapUI
Diagnoses
When trying to test Smart object services with soapUI.
The endpoints have been enabled in the k2hostserver.config.
The endpoints were successfully reached.
But when trying to send a request the response is this:
http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher/fault
s:Receiver a:InternalServiceFault
Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
at SourceCode.Endpoint.Server.K2SmartObjectOperationInvoker.Invoke(Object instance, Objecte] inputs, Objecte]andamp outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpcandamp rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpcandamp rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpcandamp rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
System.NullReferenceException
Resolution
Check to see if the services in the tester are working and if a 400 bad request error is raised you may have to create a new SPN.