public class WSDLUtil extends Object
Constructor and Description |
---|
WSDLUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getConstantFromHTTPLocation(String httpLocation,
String httpMethod) |
static String |
getEndpointName(String serviceName,
String protocol)
This method will return the EndPointName for a service with give transport protocol
ex : StudentServiceHttpEndpoint
|
static QName |
getPartQName(String opName,
String suffix,
String partName)
part names are not unique across messages.
|
static boolean |
isInputPresentForMEP(String mep)
returns whether the given mep uri is one of the
input meps
|
static boolean |
isOutputPresentForMEP(String MEP)
returns whether the given mep URI is one of the output meps
|
static javax.wsdl.xml.WSDLReader |
newWSDLReaderWithPopulatedExtensionRegistry()
Creates a new WSDLReader and configures it with a
WSDLFactory.newPopulatedExtensionRegistry() if it does not specify an extension registry. |
static void |
registerDefaultExtensionAttributeTypes(javax.wsdl.extensions.ExtensionRegistry extensionRegistry)
Registers default extension attributes types to given
extensionRegistry instance. |
public static boolean isInputPresentForMEP(String mep)
mep
- public static boolean isOutputPresentForMEP(String MEP)
MEP
- public static QName getPartQName(String opName, String suffix, String partName)
opName
- suffix
- partName
- public static String getConstantFromHTTPLocation(String httpLocation, String httpMethod)
public static String getEndpointName(String serviceName, String protocol)
serviceName
- protocol
- transport protocolpublic static void registerDefaultExtensionAttributeTypes(javax.wsdl.extensions.ExtensionRegistry extensionRegistry)
extensionRegistry
instance.
The method configures the following attributes of Input
, Output
and Fault
WSDL elements
to use AttributeExtensible.STRING_TYPE
:
extensionRegistry
- The extension registry to add default extension attribute types to. Must not be null.public static javax.wsdl.xml.WSDLReader newWSDLReaderWithPopulatedExtensionRegistry() throws javax.wsdl.WSDLException
WSDLFactory.newPopulatedExtensionRegistry()
if it does not specify an extension registry.
The method will register default extension attribute types in WSDLReader's extensionRegistry
,
see registerDefaultExtensionAttributeTypes(ExtensionRegistry)
.javax.wsdl.WSDLException
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.