Forum Discussion
SmartBear_Suppo
12 years agoSmartBear Alumni (Retired)
Hi,
Can you check if the operation that you lookup by name is not null?
These two lines specifically:
If the operation is null at this point it is probably not a good idea to continue.
If it is not null at that point then I think we have to patch the code in some way.
We may possibly have to do it anyway but it would be good to know in any case.
Regards,
Henrik
SmartBear Software
Can you check if the operation that you lookup by name is not null?
These two lines specifically:
String operationName = mockRequest.soapAction.substring(mockRequest.soapAction.lastIndexOf('/') +1).split("#")[1];
WsdlMockOperation operation = context.mockService.getMockOperationByName( operationName);
If the operation is null at this point it is probably not a good idea to continue.
If it is not null at that point then I think we have to patch the code in some way.
We may possibly have to do it anyway but it would be good to know in any case.
Regards,
Henrik
SmartBear Software
Related Content
- 12 years agoMitchM