|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition
public class DefaultWsdl11Definition
Convenient implementation of Wsdl11Definition
that creates a SOAP 1.1 or 1.2 binding based on naming
conventions in one or more inlined XSD schemas. Delegates to InliningXsdSchemaTypesProvider
, DefaultMessagesProvider
, SuffixBasedPortTypesProvider
, SoapProvider
underneath; effectively
equivalent to using a ProviderBasedWsdl4jDefinition
with all these providers.
<bean id="airline" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition"> <property name="schema"> <bean class="org.springframework.xml.xsd.SimpleXsdSchema"> <property name="xsd" value="/WEB-INF/airline.xsd"/> </bean> </property> <property name="portTypeName" value="Airline"/> <property name="locationUri" value="http://localhost:8080/airline/services"/> </bean>
Constructor Summary | |
---|---|
DefaultWsdl11Definition()
Creates a new instance of the DefaultWsdl11Definition . |
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
Source |
getSource()
Returns the Source of the definition. |
void |
setCreateSoap11Binding(boolean createSoap11Binding)
Indicates whether a SOAP 1.1 binding should be created. |
void |
setCreateSoap12Binding(boolean createSoap12Binding)
Indicates whether a SOAP 1.2 binding should be created. |
void |
setFaultSuffix(String faultSuffix)
Sets the suffix used to detect fault elements in the schema. |
void |
setLocationUri(String locationUri)
Sets the value used for the SOAP Address location attribute value. |
void |
setPortTypeName(String portTypeName)
Sets the port type name used for this definition. |
void |
setRequestSuffix(String requestSuffix)
Sets the suffix used to detect request elements in the schema. |
void |
setResponseSuffix(String responseSuffix)
Sets the suffix used to detect response elements in the schema. |
void |
setSchema(XsdSchema schema)
Sets the single XSD schema to inline. |
void |
setSchemaCollection(XsdSchemaCollection schemaCollection)
Sets the XSD schema collection to inline. |
void |
setServiceName(String serviceName)
Sets the service name. |
void |
setSoapActions(Properties soapActions)
Sets the SOAP Actions for this binding. |
void |
setTargetNamespace(String targetNamespace)
Sets the target namespace used for this definition. |
void |
setTransportUri(String transportUri)
Sets the value used for the binding transport attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultWsdl11Definition()
DefaultWsdl11Definition
.
Method Detail |
---|
public void setTargetNamespace(String targetNamespace)
public void setSchema(XsdSchema schema)
schemaCollection
must be set.
public void setSchemaCollection(XsdSchemaCollection schemaCollection)
schema
must be
set.
public void setPortTypeName(String portTypeName)
public void setRequestSuffix(String requestSuffix)
public void setResponseSuffix(String responseSuffix)
public void setFaultSuffix(String faultSuffix)
public void setCreateSoap11Binding(boolean createSoap11Binding)
public void setCreateSoap12Binding(boolean createSoap12Binding)
public void setSoapActions(Properties soapActions)
binding operation
names
; values are SOAP Action URIs
.
soapActions
- the soappublic void setTransportUri(String transportUri)
public void setLocationUri(String locationUri)
public void setServiceName(String serviceName)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public Source getSource()
WsdlDefinition
Source
of the definition.
getSource
in interface WsdlDefinition
Source
of this WSDL definition
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |