I sent the following to your email address a few weeks ago. It's copy/pasted below:
Hi Chukiat,
I've taken a look and I can't really see anything there that could be wrong. There is a lot of code, but I think the core of it you have correctly, at least for the Axis2 stuff. Unfortunately, I can't simulate anything in SoapUI because I don't have the entire web service definition. The WSDL file in the project imports another file, which I do not have access to.
One thing you could try is to uncheck the Unwrap Parameters check boxes in the WSOP wizard. Then, your code would change to include the VerifyTinE object:
public void servletImplementation(com.avaya.sce.runtimecommon.SCESession mySession) {
VerifyTinE vte = new VerifyTinE();
VerifyTin vt = new VerifyTin();
TinVerificationRequest tvr = new TinVerificationRequest();
UserContext uc = new UserContext();
uc.setCountry("TH");
uc.setChannel("IVR");
uc.setEnvironment("");
uc.setLanguage("");
uc.setRequestId("");
uc.setServiceId("");
uc.setSessionId("");
uc.setToken("");
uc.setUserId("100000215");
tvr.setHashedTin(getHash256("654321"));
tvr.setIsJointAccount(false);
tvr.setIsSME(false);
tvr.setPbid("100000215");
tvr.setPdwCode("");
tvr.setRelId("");
tvr.setRsaKeyAlias("");
tvr.setSessionNonce("");
vt.setUserContext(uc);
vt.setRequest(tvr);
vte.setVerifyTin(vt);
mySession.getVariableField(IProjectVariables.PARAMETERS).setValue(vte);
}
Then the Data node would run, and that should be the end of it. The last thing you could try is to avoid using the WSOP editor and invoke the service using Java only. However, because you are using Username Token, the code gets more complicated. Let me know if you want to try that method and I’ll give you some code to set it all up.
If you are able to get the WSDL file imported into the one you sent me, that would be great. I can investigate further that way. The name and location are:
https://10.20.161.31:1971/nfs/services/SecurityService?wsdl=SecurityService.wsdl
I’m assuming this web service call worked previously, but something was changed recently. Could you elaborate on what the change was?
Thanks,
Sam