public interface EditableWSDLModel extends WSDLModel
WSDLModel.WSDLParser
Modifier and Type | Method and Description |
---|---|
void |
addBinding(EditableWSDLBoundPortType portType)
Add Binding
|
void |
addMessage(EditableWSDLMessage msg)
Add message
|
void |
addPortType(EditableWSDLPortType pt)
Add port type
|
void |
addService(EditableWSDLService svc)
Add service
|
void |
finalizeRpcLitBinding(EditableWSDLBoundPortType portType)
Finalize rpc-lit binding
|
void |
freeze()
Freezes WSDL model to prevent further modification
|
EditableWSDLBoundPortType |
getBinding(QName name)
Gets
WSDLBoundPortType that models wsdl:binding |
EditableWSDLBoundPortType |
getBinding(QName serviceName,
QName portName)
Give a
WSDLBoundPortType for the given wsdl:service and wsdl:port names. |
Map<QName,? extends EditableWSDLBoundPortType> |
getBindings()
|
EditableWSDLMessage |
getMessage(QName name)
Returns the message with the given QName
|
Map<QName,? extends EditableWSDLMessage> |
getMessages()
Gives a
Map of wsdl:message qualified name and com.sun.xml.ws.api.model.wsdl.WSDLMesage |
EditableWSDLPortType |
getPortType(QName name)
Gets
WSDLPortType that models wsdl:portType |
Map<QName,? extends EditableWSDLPortType> |
getPortTypes()
|
EditableWSDLService |
getService(QName name)
Gets
WSDLService that models wsdl:service |
Map<QName,? extends EditableWSDLService> |
getServices()
Gives a
Map of wsdl:service qualified name and WSDLService |
void |
setPolicyMap(com.sun.xml.ws.policy.PolicyMap policyMap)
Deprecated.
|
getFirstServiceName, getPolicyMap
addExtension, addNotUnderstoodExtension, areRequiredExtensionsUnderstood, getExtension, getExtensions, getExtensions, getNotUnderstoodExtensions
getLocation
EditableWSDLPortType getPortType(@NotNull QName name)
WSDLModel
WSDLPortType
that models wsdl:portType
getPortType
in interface WSDLModel
name
- non-null quaified name of wsdl:message, where the localName is the value of wsdl:portType@name
and
the namespaceURI is the value of wsdl:definitions@targetNamespaceWSDLPortType
or null if no wsdl:portType found.void addBinding(EditableWSDLBoundPortType portType)
portType
- Bound port typeEditableWSDLBoundPortType getBinding(@NotNull QName name)
WSDLModel
WSDLBoundPortType
that models wsdl:binding
getBinding
in interface WSDLModel
name
- non-null quaified name of wsdl:binding, where the localName is the value of wsdl:binding@name
and
the namespaceURI is the value of wsdl:definitions@targetNamespaceWSDLBoundPortType
or null if no wsdl:binding foundEditableWSDLBoundPortType getBinding(@NotNull QName serviceName, @NotNull QName portName)
WSDLModel
WSDLBoundPortType
for the given wsdl:service and wsdl:port names.getBinding
in interface WSDLModel
serviceName
- service QNameportName
- port QNameWSDLBoundPortType
. null if the Binding for the given wsd:service and wsdl:port name are not
found.EditableWSDLService getService(@NotNull QName name)
WSDLModel
WSDLService
that models wsdl:service
getService
in interface WSDLModel
name
- non-null quaified name of wsdl:service, where the localName is the value of wsdl:service@name
and
the namespaceURI is the value of wsdl:definitions@targetNamespaceWSDLService
or null if no wsdl:service found@NotNull Map<QName,? extends EditableWSDLMessage> getMessages()
WSDLModel
Map
of wsdl:message qualified name and com.sun.xml.ws.api.model.wsdl.WSDLMesage
getMessages
in interface WSDLModel
void addMessage(EditableWSDLMessage msg)
msg
- Message@NotNull Map<QName,? extends EditableWSDLPortType> getPortTypes()
WSDLModel
getPortTypes
in interface WSDLModel
void addPortType(EditableWSDLPortType pt)
pt
- Port type@NotNull Map<QName,? extends EditableWSDLBoundPortType> getBindings()
WSDLModel
getBindings
in interface WSDLModel
@NotNull Map<QName,? extends EditableWSDLService> getServices()
WSDLModel
Map
of wsdl:service qualified name and WSDLService
getServices
in interface WSDLModel
void addService(EditableWSDLService svc)
svc
- ServiceEditableWSDLMessage getMessage(QName name)
WSDLModel
getMessage
in interface WSDLModel
name
- Message namevoid setPolicyMap(com.sun.xml.ws.policy.PolicyMap policyMap)
policyMap
- void finalizeRpcLitBinding(EditableWSDLBoundPortType portType)
portType
- Bindingvoid freeze()
Copyright © 2015 Oracle Corporation. All rights reserved.