/** * Get the target namespace for the WSDL. * * @return The targetNamespace */ public String getTargetNamespace() { return _wsdlDefinition.getTargetNamespace(); }
/** * Create a new for WsdlTypes instance for the specified WSDL definition. * * @param wsdlDefinition * The WSDL definition. */ @SuppressWarnings( "unchecked" ) protected WsdlTypes( Definition wsdlDefinition ) { _types = wsdlDefinition.getTypes(); _targetNamespace = wsdlDefinition.getTargetNamespace(); _prefixMappings = wsdlDefinition.getNamespaces(); _elementFormQualifiedNamespaces = new HashSet<String>( getElementFormQualifiedNamespaces() ); _namedComplexTypes = new WsdlComplexTypes( this ); }
strBuf.append("\ndefinition namespaceURI=" + definition.getTargetNamespace());
public String getTargetNamespace() { if (isDebugEnabled) { log.debug(myClassName + ".getTargetNamespace()"); } if (wsdlDefinition != null) { return wsdlDefinition.getTargetNamespace(); } return null; }
public String getTargetNamespace() { if (isDebugEnabled) { log.debug(myClassName + ".getTargetNamespace()"); } if (wsdlDefinition != null) { return wsdlDefinition.getTargetNamespace(); } return null; }
service.setQName(new QName(def.getTargetNamespace(), name));
String targetNamespace = def.getTargetNamespace(); Map namespaces = def.getNamespaces();
public String toString() { StringBuilder builder = new StringBuilder("Wsdl4jDefinition"); if (definition != null && StringUtils.hasLength(definition.getTargetNamespace())) { builder.append('{'); builder.append(definition.getTargetNamespace()); builder.append('}'); } return builder.toString(); } }
public File getImportedWSDLDefinitionFile(String ns) { for (Entry<File, Definition> entry : importedDefns.entrySet()) { if (entry.getValue().getTargetNamespace().equals(ns)) { return entry.getKey(); } } return null; }
QName portTypeName = new QName(def.getTargetNamespace(), name);
QName messageName = new QName(def.getTargetNamespace(), name);
public void setIdlNamespace(Definition definition) { if (idlNamespace == null) { String tns = definition.getTargetNamespace(); if (!tns.endsWith("/")) { tns += "/"; } idlNamespace = tns + "corba/typemap/"; } setNamespace(idlNamespace); }
QName bindingName = new QName(def.getTargetNamespace(), name);
public String getTargetNamespace() { if (isDebugEnabled) { log.debug(myClassName + ".getTargetNamespace()"); } getWrappedDefinitionForUse(); String results = null; if (wsdlDefinition != null) { results = wsdlDefinition.getTargetNamespace(); } doneUsingWrappedDefinition(); return results; }
/** * Return the fully-qualified name of the undeploy.wsdd file * to be generated. * * @return */ protected String getFileName() { String dir = emitter.getNamespaces().getAsDir(definition.getTargetNamespace()); return dir + "undeploy.wsdd"; } // getFileName
/** * Return the fully-qualified name of the deploy.wsdd file * to be generated. * * @return */ protected String getFileName() { String dir = emitter.getNamespaces().getAsDir(definition.getTargetNamespace()); return dir + "deploy.wsdd"; } // getFileName
/** * Return the fully-qualified name of the undeploy.wsdd file * to be generated. * * @return */ protected String getFileName() { String dir = emitter.getNamespaces().getAsDir(definition.getTargetNamespace()); return dir + "undeploy.wsdd"; } // getFileName
/** * Return the fully-qualified name of the deploy.wsdd file * to be generated. * * @return */ protected String getFileName() { String dir = emitter.getNamespaces().getAsDir(definition.getTargetNamespace()); return dir + "deploy.wsdd"; } // getFileName
public static Binding doAppendBinding(Definition wsdlDefinition, String name, PortType portType, ExtensionRegistry extReg) throws Exception { Binding binding = wsdlDefinition.createBinding(); binding.setQName(new QName(wsdlDefinition.getTargetNamespace(), name + bindingName)); binding.setUndefined(false); binding.setPortType(portType); setSoapBindingExtElement(wsdlDefinition, binding, extReg); addBindingOperation(wsdlDefinition, portType, binding, extReg); return binding; }
private void doAppendBinding() throws ToolException { if (binding == null) { binding = wsdlDefinition.createBinding(); binding.setQName(new QName(wsdlDefinition.getTargetNamespace(), (String)env .get(ToolConstants.CFG_BINDING))); binding.setUndefined(false); binding.setPortType(portType); } setXMLBindingExtElement(); addBindingOperation(); wsdlDefinition.addBinding(binding); }