USE CASE 1 (only one library xmltypeswsb9.jar <=> SASNormalisationtype) a groovy script is used in assertion: log.info("SAScheckVersion 3 "+rsp) ; sasNormalisationTypes.ResponseDoc...
Anonymous
15 years ago
Test on other system I test the same code on linux : no bug. The parsing and the XREF objets are OK.
How to reproduce?
Put the 3 libraries into the ext folder of soapui. I can give you the 3 librairies (but each libararies is 7 Mo. How can I send you them?).
Then create a new project, and in the setup script add : def objsetup = new wsb9_toto() ; objsetup.titi(log) ;
Add also the wsb9_toto.groovy script into the bin/script folder : import org.apache.log4j.Logger ; import com.lds.test.wsb9.xmlparsewsb9 ; import com.lds.test.wsb9.REFxmltypeswsb9 ;
class wsb9_toto {
wsb9_toto(Logger log) {
}
public String titi(Logger log) { String ScriptFile = "C:/temp/x.xml" ; StringBuffer content = new StringBuffer("") ; new File(ScriptFile).eachLine{ line -> content.append(line+"\n") ; }
// content == xml def op = new com.lds.test.wsb9.xmlparsewsb9(new String(content),log) ; log.info("Test de Parsing : "+op.getCNI()) ;
REFxmltypeswsb9 x = new REFxmltypeswsb9(10,log) ; x.def_ThirdPartyListSearch("P",log) ; log.info("Test Ref "+x.buildMessage()) ;
If the xref...jar is in the ext folder => Bug If the xref...jar is in the ext folder : no parsing bug, but of course I can't create the REFxmltypeswsb9(10,log) object.