@Test public void testTN_WSDLPortTypeModels() throws WSDLException, JAXBException, Exception { Definition wsdlDefinition = rw.readWSDL("bpel/bpel-technote.wsdl"); @SuppressWarnings("unchecked") Map<QName,PortType> portTypes= (Map<QName,PortType>) wsdlDefinition.getAllPortTypes(); Set<TModel> portTypeTModels = bpel2UDDI.createWSDLPortTypeTModels(wsdlDefinition.getDocumentBaseURI(), portTypes); for (TModel tModel : portTypeTModels) { System.out.println("***** UDDI PortType TModel: " + tModel.getName().getValue()); if (serialize) System.out.println(pTModel.print(tModel)); } Assert.assertEquals(2,portTypeTModels.size()); }
public Set<TModel> createWSDLPortTypeTModels(String wsdlURL, Map<QName,PortType> portTypes) throws WSDLException { return wsdl2UDDI.createWSDLPortTypeTModels(wsdlURL, portTypes); }
BPEL2UDDI extends AnnotationProcessor { public Set<TModel> createWSDLPortTypeTModels(String wsdlURL, Map<QName,PortType> portTypes) throws WSDLException { return wsdl2UDDI.createWSDLPortTypeTModels(wsdlURL, portTypes); } }
BPEL2UDDI extends AnnotationProcessor { public Set<TModel> createWSDLPortTypeTModels(String wsdlURL, Map<QName,PortType> portTypes) throws WSDLException { return wsdl2UDDI.createWSDLPortTypeTModels(wsdlURL, portTypes); } BPEL2UDDI(UDDIClerk clerk, URLLocalizer urlLocalizer, Properties properties); }
BPEL2UDDI extends AnnotationProcessor { public Set<TModel> createWSDLPortTypeTModels(String wsdlURL, Map<QName,PortType> portTypes) throws WSDLException { return wsdl2UDDI.createWSDLPortTypeTModels(wsdlURL, portTypes); } BPEL2UDDI(UDDIClerk clerk, URLLocalizer urlLocalizer, Properties properties); String getKeyDomainURI(); void setKeyDomainURI(String keyDomainURI); UDDIClerk getClerk(); void setClerk(UDDIClerk clerk); String getLang(); void setLang(String lang); URLLocalizer getUrlLocalizer(); void setUrlLocalizer(URLLocalizer urlLocalizer); @SuppressWarnings("unchecked") BindingTemplate register(QName serviceName, String portName, URL serviceUrl, Definition wsdlDefinition); String unRegister(QName serviceName, String portName, URL serviceUrl); BusinessService lookupService(String serviceKey); BusinessService createBusinessService(QName serviceName, Definition wsdlDefinition); Set<TModel> createWSDLPortTypeTModels(String wsdlURL, Map<QName,PortType> portTypes); Set<TModel> createWSDLBindingTModels(String wsdlURL, Map<QName,Binding> bindings); TModel createBPEL4WSProcessTModel(QName serviceName, String targetNamespace, Map<QName,PortType> portTypes, String bpelOverviewURL); BindingTemplate createBPELBinding(QName serviceName, String portName, URL serviceUrl, Definition wsdlDefinition); FindTModel createFindTModelForProcessName(QName serviceName); FindTModel createFindProcessesForPortTypes(String portTypeKey); GetTModelDetail createFindAllPortTypesForProcess_1(String processKey); GetTModelDetail createFindAllPortTypesForProcess_2(List<String> portTypeTModelKeys); FindBinding createFindImplementationsForProcess(String processKey); }
BPEL2UDDI extends AnnotationProcessor { public Set<TModel> createWSDLPortTypeTModels(String wsdlURL, Map<QName,PortType> portTypes) throws WSDLException { return wsdl2UDDI.createWSDLPortTypeTModels(wsdlURL, portTypes); } BPEL2UDDI(UDDIClerk clerk, URLLocalizer urlLocalizer, Properties properties); String getKeyDomainURI(); void setKeyDomainURI(String keyDomainURI); UDDIClerk getClerk(); void setClerk(UDDIClerk clerk); String getLang(); void setLang(String lang); URLLocalizer getUrlLocalizer(); void setUrlLocalizer(URLLocalizer urlLocalizer); @SuppressWarnings("unchecked") BindingTemplate register(QName serviceName, String portName, URL serviceUrl, Definition wsdlDefinition); String unRegister(QName serviceName, String portName, URL serviceUrl); BusinessService lookupService(String serviceKey); BusinessService createBusinessService(QName serviceName, Definition wsdlDefinition); Set<TModel> createWSDLPortTypeTModels(String wsdlURL, Map<QName,PortType> portTypes); Set<TModel> createWSDLBindingTModels(String wsdlURL, Map<QName,Binding> bindings); TModel createBPEL4WSProcessTModel(QName serviceName, String targetNamespace, Map<QName,PortType> portTypes, String bpelOverviewURL); BindingTemplate createBPELBinding(QName serviceName, String portName, URL serviceUrl, Definition wsdlDefinition); FindTModel createFindTModelForProcessName(QName serviceName); FindTModel createFindProcessesForPortTypes(String portTypeKey); GetTModelDetail createFindAllPortTypesForProcess_1(String processKey); GetTModelDetail createFindAllPortTypesForProcess_2(List<String> portTypeTModelKeys); FindBinding createFindImplementationsForProcess(String processKey);  }