addPolicy(new File("resources/tools/jbws1645/PortTypePolicy.txt"), PolicyScopeLevel.WSDL_PORT_TYPE, epMetaData);
addPolicy(new File("resources/tools/jbws1645/BindingPolicy.txt"), PolicyScopeLevel.WSDL_BINDING, epMetaData);
addPolicy(new File("resources/tools/jbws1645/BindingPolicy2.txt"), PolicyScopeLevel.WSDL_BINDING, epMetaData);
//generate the wsdl definitions and write the wsdl file
WSDLDefinitions wsdl = jwsdl.generate(seiClass);
//performe some trivial checks on wsdl definitions
assertEquals(2, wsdl.getServices()[0].getEndpoints()[0].getExtensibilityElements(
Constants.WSDL_ELEMENT_POLICYREFERENCE).size());
assertNotNull(wsdl.getInterfaces()[0].getProperty(Constants.WSDL_PROPERTY_POLICYURIS));