public Element getElement() { return this.part.getElement(); }
public void setElement(final Element arg0) { this.part.setElement(arg0); }
@Override public void addInclude(final Include incl) throws WSDLException { throw new WSDLException(Constants.NOT_SUPPORTED); }
public InterfaceType getInterface() throws WSDLException { InterfaceType res = null; InterfaceType item = null; for (final Endpoint ep : this.getEndpoints()) { item = ep.getBinding().getInterface(); if (item != null) { res = item; } if (item != res) { throw new WSDLException("The endpoints of this service do not implement the same interface"); } } return res; }
public BPELFromWSDLManager(URL wsdlURL) throws WSDLException, MalformedURLException, IOException, URISyntaxException{ Description wsdlBpel = reader.read(wsdlURL); Iterator<InterfaceType> itInterfaces = wsdlBpel.getInterfaces().iterator(); while(itInterfaces.hasNext()){ InterfaceType currentInterface = itInterfaces.next(); BPELProject project = new BPELGeneratorImpl().generateDefaultBPELProjectFromInterface(currentInterface.getQName(), wsdlBpel); this.bpelProjects.add(project); } }
public Import addArtefactImport(URI location, Description wsdlDesc){ Import import1 = null; try { import1 = this.wsdlArtefacts.createImport(); import1.setLocationURI(location); import1.setNamespaceURI(wsdlDesc.getTargetNamespace()); import1.setDescription(wsdlDesc); this.wsdlArtefacts.addImport(import1); } catch (WSDLException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (WSDLImportException e) { // TODO Auto-generated catch block e.printStackTrace(); } return import1; }
public QName getPartQName() { return this.part.getPartQName(); }
public Type getType() { return this.part.getType(); }
public QName getPartQName() { return this.bindingPart.getPartQName(); }
public Documentation createDocumentation() { return this.bindingPart.createDocumentation(); }
public void setPartQName(final QName arg0) { this.part.setPartQName(arg0); }
public Map<QName, String> getOtherAttributes() throws XmlException { return this.part.getOtherAttributes(); }
public void setDocumentation(final Documentation arg0) { this.part.setDocumentation(arg0); }
public void setType(final Type arg0) { this.part.setType(arg0); }
public Documentation createDocumentation() { return this.part.createDocumentation(); }
public Documentation getDocumentation() { return this.part.getDocumentation(); }
public void setPartQName(final QName arg0) { this.bindingPart.setPartQName(arg0); }
public Map<QName, String> getOtherAttributes() throws XmlException { return this.bindingPart.getOtherAttributes(); }
public List<Element> getOtherElements() throws XmlException { return this.bindingPart.getOtherElements(); }
public Include removeInclude(final Include includeDef) throws WSDLException { throw new WSDLException(Constants.NOT_SUPPORTED); }