@Override public void addInclude(final Include incl) throws WSDLException { throw new WSDLException(Constants.NOT_SUPPORTED); }
public Types createTypes() { Types res = null; try { res = new TypesImpl(new TypesType(), this, null, this.reader); } catch (WSDLException e) { // Do nothing e.printStackTrace(); } return res; }
this.logger.warning(e.getMessage()); } catch (WSDLException e) { this.logger.warning(e.getMessage()); } catch (URISyntaxException e) { this.logger.warning(e.getMessage());
public Types createTypes() { Types res = null; try { res = new TypesImpl(new TTypes(), this, null, this.reader); } catch (WSDLException e) { // Do nothing e.printStackTrace(); } return res; }
public Include removeInclude(final Include includeDef) throws WSDLException { throw new WSDLException(Constants.NOT_SUPPORTED); }
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; }
private FNew convertFault(final AbsItfFault oldF, final Class<FImpl> fimpl) throws WSDLException { FNew newF = null; try { final Constructor c = fimpl.getConstructors()[0]; newF = (FNew) c.newInstance(oldF); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newF; }
} catch (WSDLException e) { e.printStackTrace();
protected TNew convertTypes(final AbsItfTypes oldTypes, final Class<TImpl> typesimpl) throws WSDLException { TNew newTypes = null; try { final Constructor c = typesimpl.getConstructors()[0]; newTypes = (TNew) c.newInstance(oldTypes); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newTypes; }
protected InNew convertInput(final AbsItfInput oldInput, final Class<InImpl> inimpl) throws WSDLException { InNew newInput = null; try { final Constructor c = inimpl.getConstructors()[0]; newInput = (InNew) c.newInstance(oldInput); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newInput; }
protected InclNew convertInclude(final AbsItfInclude oldInclude, final Class<InclImpl> inclimpl) throws WSDLException { InclNew newIncl = null; try { final Constructor c = inclimpl.getConstructors()[0]; newIncl = (InclNew) c.newInstance(oldInclude); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newIncl; }
protected ImptNew convertImport(final AbsItfImport oldImpt, final Class<ImptImpl> imptimpl) throws WSDLException { ImptNew newImpt = null; try { final Constructor c = imptimpl.getConstructors()[0]; newImpt = (ImptNew) c.newInstance(oldImpt); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newImpt; }
protected BOutNew convertBindingOutput(final AbsItfBindingOutput oldBindingOutput, final Class<BOutImpl> boutimpl) throws WSDLException { BOutNew newBindingOutput = null; try { final Constructor c = boutimpl.getConstructors()[0]; newBindingOutput = (BOutNew) c.newInstance(oldBindingOutput); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newBindingOutput; }
private BFNew convertBindingFault(final AbsItfBindingFault oldBF, final Class<BFImpl> bfimpl) throws WSDLException { BFNew newBF = null; try { final Constructor c = bfimpl.getConstructors()[0]; newBF = (BFNew) c.newInstance(oldBF); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newBF; }
protected ENew convertEndpoint(final AbsItfEndpoint oldEp, final Class<EImpl> eimpl) throws WSDLException { ENew newItf = null; try { final Constructor c = eimpl.getConstructors()[0]; newItf = (ENew) c.newInstance(oldEp); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newItf; }
private ONew convertOperation(final AbsItfOperation oldOp, final Class<OImpl> oimpl) throws WSDLException { ONew newOp = null; try { final Constructor c = oimpl.getConstructors()[0]; newOp = (ONew) c.newInstance(oldOp); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newOp; }
private BONew convertBindingOperation(final AbsItfBindingOperation oldBOp, final Class<BOImpl> boimpl) throws WSDLException { BONew newBOp = null; try { final Constructor c = boimpl.getConstructors()[0]; newBOp = (BONew) c.newInstance(oldBOp); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newBOp; }
protected INew convertInterface(final AbsItfInterfaceType oldItf, final Class<IImpl> iimpl) throws WSDLException { INew newItf = null; try { final Constructor c = iimpl.getConstructors()[0]; newItf = (INew) c.newInstance(oldItf); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newItf; }
protected OutNew convertOutput(final AbsItfOutput oldOutput, final Class<OutImpl> outimpl) throws WSDLException { OutNew newOutput = null; try { final Constructor c = outimpl.getConstructors()[0]; newOutput = (OutNew) c.newInstance(oldOutput); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newOutput; }
public DNew convertDescription(final AbsItfDescription odlDesc, final Class<DImpl> dimpl) throws WSDLException { DNew newDesc = null; try { // create new description final Constructor c = dimpl.getConstructors()[0]; newDesc = (DNew) c.newInstance(odlDesc); } catch (final IllegalArgumentException e) { throw new WSDLException(e); } catch (final InstantiationException e) { throw new WSDLException(e); } catch (final IllegalAccessException e) { throw new WSDLException(e); } catch (final InvocationTargetException e) { throw new WSDLException(e); } return newDesc; }