Refactorize further common processing for WsdlRequest and groovy script steps.