public void createExtensor(WSDLManager manager, Class<?> parentType, Class<?> elementType) { try { JAXBExtensionHelper.addExtensions(manager.getExtensionRegistry(), parentType, elementType, null, this.getClass().getClassLoader()); } catch (JAXBException e) { //ignore, won't support XML } }
public void setAddress(String addr) { if (null == address) { address = WSAEndpointReferenceUtils.getEndpointReference(addr); } else { WSAEndpointReferenceUtils.setAddress(address, addr); } }
/** * Create an endpoint reference for the provided address. * @param address - address URI * @return EndpointReferenceType - the endpoint reference */ public static EndpointReferenceType getEndpointReference(String address) { return WSAEndpointReferenceUtils.getEndpointReference(address); }
private void initializePorts() { try { Definition def = bus.getExtension(WSDLManager.class).getDefinition(wsdlURL); javax.wsdl.Service serv = def.getService(serviceName); if (serv == null) { address = ((SoapAddress)e).getLocationURI(); } else if (e instanceof AddressType) { address = ((AddressType)e).getLocation(); } else if (e instanceof SOAP12Address) { address = ((SOAP12Address)e).getLocationURI();
if (addressing != null) { ExtensionRegistry extensionRegistry = getBus().getExtension(WSDLManager.class).getExtensionRegistry(); try { ExtensibilityElement el = extensionRegistry.createExtension(javax.wsdl.Binding.class,
.getProperty(WSDLServiceBuilder.WSDL_DEFINITION, Definition.class); if (def == null) { def = bus.getExtension(WSDLManager.class).getDefinition(wsdlLocation);
/** * Create an instance of {@link TDocumentation } * */ public TDocumentation createTDocumentation() { return new TDocumentation(); }
/** * Create an instance of {@link TImport } * */ public TImport createTImport() { return new TImport(); }
/** * Create an instance of {@link TDocumented } * */ public TDocumented createTDocumented() { return new TDocumented(); }
/** * Create an instance of {@link TBindingOperationFault } * */ public TBindingOperationFault createTBindingOperationFault() { return new TBindingOperationFault(); }
public PrettyPrintXMLStreamWriter(XMLStreamWriter writer, Class<?> parent) { baseWriter = writer; indent = getIndentLevel(parent); }
/** * Get the address from the provided endpoint reference. * @param ref - the endpoint reference * @return String the address of the endpoint */ public static String getAddress(EndpointReferenceType ref) { return WSAEndpointReferenceUtils.getAddress(ref); }
/** * Create an instance of {@link TPortType } * */ public TPortType createTPortType() { return new TPortType(); }
private void createCompatExtensor(WSDLManager manager, Class<?> parentType, Class<?> elementType) { try { JAXBExtensionHelper.addExtensions(manager.getExtensionRegistry(), parentType, elementType, YOKO_NAMESPACE); } catch (JAXBException e) { //ignore, just won't support the yoko extensors } }
/** * Create an endpoint reference for the provided address. * @param address - address URI * @return EndpointReferenceType - the endpoint reference */ public static EndpointReferenceType getEndpointReference(String address) { return WSAEndpointReferenceUtils.getEndpointReference(address); }
public static void createExtensor(WSDLManager manager, Class<?> parentType, Class<? extends TExtensibilityElementImpl> elementType) { try { JAXBExtensionHelper.addExtensions(manager.getExtensionRegistry(), parentType, elementType); } catch (JAXBException e) { //ignore, won't support XML } }
public void createExtensor(WSDLManager manager, Class<?> parentType, Class<? extends ExtensibilityElement> elementType) { try { JAXBExtensionHelper.addExtensions(manager.getExtensionRegistry(), parentType, elementType); } catch (JAXBException e) { //ignore, won't support XML } }
public void createExtensor(WSDLManager manager, Class<?> parentType, Class<? extends ExtensibilityElement> elementType) { try { JAXBExtensionHelper.addExtensions(manager.getExtensionRegistry(), parentType, elementType); } catch (JAXBException e) { //ignore, won't support XML } }