javax.wsdl.extensions.http.HTTPAddress Java Examples
The following examples show how to use
javax.wsdl.extensions.http.HTTPAddress.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HttpAddressPlugin.java From cxf with Apache License 2.0 | 5 votes |
public ExtensibilityElement createExtension(final Map<String, Object> args) throws WSDLException { String address = getOption(args, ToolConstants.CFG_ADDRESS); ExtensibilityElement addr = registry.createExtension(Port.class, WSDLConstants.QNAME_XMLHTTP_BINDING_ADDRESS); if (addr instanceof AddressType) { ((AddressType)addr).setLocation(address); } if (addr instanceof HTTPAddress) { ((HTTPAddress)addr).setLocationURI(address); } return addr; }