wsEntity.setType(WebServiceEntity.TYPE_HTML); for (int i = 0; i < wsilURIs.length; i++) wsilEntity.setType(WebServiceEntity.TYPE_WSIL); wsilEntity.setURI(absoluteURI); associate(wsEntity, wsilEntity); discoEntity.setType(WebServiceEntity.TYPE_DISCO); discoEntity.setURI(discoURIs[i]); associate(wsEntity,discoEntity); wsEntity.setType(WebServiceEntity.TYPE_WSIL); wsEntity.setType(WebServiceEntity.TYPE_DISCO); wsEntity.setType(WebServiceEntity.TYPE_WSDL);
public Definition getWSDLDefinitionVerbose(String wsdlURI) throws MalformedURLException, IOException, WWWAuthenticationException, WSDLException { WebServiceEntity wsEntity = getWebServiceEntityByURI(wsdlURI); if (wsEntity == null) { wsEntity = new WebServiceEntity(); wsEntity.setURI(wsdlURI); uriToEntityTable_.put(wsdlURI, wsEntity); } Definition definition = (Definition)wsEntity.getModel(); if (definition == null) { byte[] b = getInputStreamAsByteArray(wsdlURI); wsEntity.setBytes(b); setHTTPSettings(wsEntity); ByteArrayInputStream bais = new ByteArrayInputStream(b); WSDLFactory factory = WSDLPlugin.INSTANCE.createWSDL4JFactory(); WSDLReader wsdlReader = factory.newWSDLReader(); definition = wsdlReader.readWSDL(wsdlURI, new InputSource(bais)); wsEntity.setType(WebServiceEntity.TYPE_WSDL); wsEntity.setModel(definition); } return definition; }
wsEntity.setType(WebServiceEntity.TYPE_WSIL); wsEntity.setModel(wsilDocument);
String docRef = reference.getDocRef(); WebServiceEntity wsdlEntity = new WebServiceEntity(); wsdlEntity.setType(WebServiceEntity.TYPE_WSDL); wsdlEntity.setURI(ref); wsdlEntity.setDocumentation(docRef); discoLinkEntity.setType(WebServiceEntity.TYPE_DISCO); discoLinkEntity.setURI(ref); uriToEntityTable_.put(ref,discoLinkEntity);
wsdlEntity.setType(WebServiceEntity.TYPE_WSDL); wsdlEntity.setURI(absoluteURI); wsdlEntity.setDocumentation(documentation); String serviceKey = sd.getServiceKey().getText(); WebServiceEntity uddiServiceEntity = new WebServiceEntity(); uddiServiceEntity.setType(WebServiceEntity.TYPE_UDDI_SERVICE); String uddiServiceKeyURI = UDDIURIHelper.getServiceKeyURI(serviceKey,inquiryURL); uddiServiceEntity.setURI(uddiServiceKeyURI); wsilLinkEntity.setType(WebServiceEntity.TYPE_WSIL); wsilLinkEntity.setURI(absoluteURI); wsilLinkEntity.setDocumentation(documentation);