日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

类DefaultWsdl 11定义中英文对比API文档

發布時間:2025/3/19 编程问答 14 豆豆
生活随笔 收集整理的這篇文章主要介紹了 类DefaultWsdl 11定义中英文对比API文档 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

場景

官方API

https://docs.spring.io/spring-ws/site/apidocs/org/springframework/ws/wsdl/wsdl11/DefaultWsdl11Definition.html

實現

簡單中文翻譯版

類DefaultWsdl 11定義

java.lang.Objectorg.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition

所有已執行的接口:

初始化豆,?Wsdl 11定義,?WsdlDefinition


public class DefaultWsdl11Definition

extends Object

implements Wsdl11Definition, InitializingBean

方便實施Wsdl11Definition這將根據一個或多個內聯XSD模式中的命名約定創建SOAP1.1或1.2綁定。代表出席InliningXsdSchemaTypesProvider,?DefaultMessagesProvider,?SuffixBasedPortTypesProvider,?SoapProvider實際上相當于使用ProviderBasedWsdl4jDefinition所有這些提供者。

示例配置:

<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>

?

構造器摘要
DefaultWsdl11Definition()?
創建一個新實例。DefaultWsdl11Definition.

?

方法總結
?voidafterPropertiesSet()?
???????????
?SourcegetSource()?
返回Source的定義。
?voidsetCreateSoap11Binding(boolean?createSoap11Binding)?
指示是否應創建SOAP1.1綁定。
?voidsetCreateSoap12Binding(boolean?createSoap12Binding)?
指示是否應創建SOAP1.2綁定。
?voidsetFaultSuffix(String?faultSuffix)?
設置用于檢測架構中的故障元素的后綴。
?voidsetLocationUri(String?locationUri)?
設置用于SOAP地址位置屬性值的值。
?voidsetPortTypeName(String?portTypeName)?
設置用于此定義的端口類型名稱。
?voidsetRequestSuffix(String?requestSuffix)?
設置用于檢測架構中的請求元素的后綴。
?voidsetResponseSuffix(String?responseSuffix)?
設置用于檢測架構中的響應元素的后綴。
?voidsetSchema(XsdSchema?schema)?
將單個XSD架構設置為內聯。
?voidsetSchemaCollection(XsdSchemaCollection?schemaCollection)?
將XSD架構集合設置為內聯。
?voidsetServiceName(String?serviceName)?
設置服務名稱。
?voidsetSoapActions(Properties?soapActions)?
設置此綁定的SOAP操作。
?voidsetTargetNamespace(String?targetNamespace)?
設置用于此定義的目標命名空間。
?voidsetTransportUri(String?transportUri)?
設置綁定傳輸屬性值的值。

?

方法繼承自java.lang類。對象
clone,?equals,?finalize,?getClass,?hashCode,?notify,?notifyAll,?toString,?wait,?wait,?wait
構造器細節

DefaultWsdl 11定義

public DefaultWsdl11Definition()

創建一個新實例。DefaultWsdl11Definition.

方法細節

setTargetNamesspace

public void setTargetNamespace(String?targetNamespace)

設置用于此定義的目標命名空間。

默認為定義架構的目標命名空間。

?


setSchema

public void setSchema(XsdSchema?schema)

將單個XSD架構設置為內聯。或者這個財產,或者schemaCollection必須設置好。

?


setSchemaCollection

public void setSchemaCollection(XsdSchemaCollection?schemaCollection)

將XSD架構集合設置為內聯。或者這個財產,或者schema必須設置好。

?


setPortTypeName

public void setPortTypeName(String?portTypeName)

設置用于此定義的端口類型名稱。需要。

?


setRequestSuffix

public void setRequestSuffix(String?requestSuffix)

設置用于檢測架構中的請求元素的后綴。

?


setResponseSuffix

public void setResponseSuffix(String?responseSuffix)

設置用于檢測架構中的響應元素的后綴。

?


setFaultSuffix

public void setFaultSuffix(String?faultSuffix)

設置用于檢測架構中的故障元素的后綴。

?


setCreateSoap11Binding

public void setCreateSoap11Binding(boolean?createSoap11Binding)

指示是否應創建SOAP1.1綁定。

默認為true.

?


setCreateSoap12Binding

public void setCreateSoap12Binding(boolean?createSoap12Binding)

指示是否應創建SOAP1.2綁定。

默認為false.

?


setSoapActions

public void setSoapActions(Properties?soapActions)

設置此綁定的SOAP操作。鑰匙是binding operation names;價值是SOAP Action URIs.

?

參數:

soapActions-肥皂


setTransportURI

public void setTransportUri(String?transportUri)

設置綁定傳輸屬性值的值。默認為HTTP。

?


setLocationURI

public void setLocationUri(String?locationUri)

設置用于SOAP地址位置屬性值的值。

?


setServiceName

public void setServiceName(String?serviceName)

設置服務名稱。

默認為端口類型名稱,后綴為Service附在上面。

?


后性質集

public void afterPropertiesSet()throws Exception

具體如下:

afterPropertiesSet在接口中InitializingBean

投擲:

Exception


getSource

public Source getSource()

從接口復制的描述:WsdlDefinition

返回Source的定義。

?

具體如下:

getSource在接口中WsdlDefinition

返回:

這個Source這個WSDL定義的


英文原版

org.springframework.ws.wsdl.wsdl11?
Class DefaultWsdl11Definition

java.lang.Objectorg.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition

All Implemented Interfaces:

InitializingBean,?Wsdl11Definition,?WsdlDefinition


public class DefaultWsdl11Definition

extends Object

implements Wsdl11Definition, InitializingBean

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.

Example configuration:

<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
?voidafterPropertiesSet()?
???????????
?SourcegetSource()?
Returns the?Source?of the definition.
?voidsetCreateSoap11Binding(boolean?createSoap11Binding)?
Indicates whether a SOAP 1.1 binding should be created.
?voidsetCreateSoap12Binding(boolean?createSoap12Binding)?
Indicates whether a SOAP 1.2 binding should be created.
?voidsetFaultSuffix(String?faultSuffix)?
Sets the suffix used to detect fault elements in the schema.
?voidsetLocationUri(String?locationUri)?
Sets the value used for the SOAP Address location attribute value.
?voidsetPortTypeName(String?portTypeName)?
Sets the port type name used for this definition.
?voidsetRequestSuffix(String?requestSuffix)?
Sets the suffix used to detect request elements in the schema.
?voidsetResponseSuffix(String?responseSuffix)?
Sets the suffix used to detect response elements in the schema.
?voidsetSchema(XsdSchema?schema)?
Sets the single XSD schema to inline.
?voidsetSchemaCollection(XsdSchemaCollection?schemaCollection)?
Sets the XSD schema collection to inline.
?voidsetServiceName(String?serviceName)?
Sets the service name.
?voidsetSoapActions(Properties?soapActions)?
Sets the SOAP Actions for this binding.
?voidsetTargetNamespace(String?targetNamespace)?
Sets the target namespace used for this definition.
?voidsetTransportUri(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

DefaultWsdl11Definition

public DefaultWsdl11Definition()

Creates a new instance of the?DefaultWsdl11Definition.

?

Method Detail

setTargetNamespace

public void setTargetNamespace(String?targetNamespace)

Sets the target namespace used for this definition.

Defaults to the target namespace of the defined schema.

?


setSchema

public void setSchema(XsdSchema?schema)

Sets the single XSD schema to inline. Either this property, or?schemaCollection?must be set.

?


setSchemaCollection

public void setSchemaCollection(XsdSchemaCollection?schemaCollection)

Sets the XSD schema collection to inline. Either this property, or?schema?must be set.

?


setPortTypeName

public void setPortTypeName(String?portTypeName)

Sets the port type name used for this definition. Required.

?


setRequestSuffix

public void setRequestSuffix(String?requestSuffix)

Sets the suffix used to detect request elements in the schema.

?


setResponseSuffix

public void setResponseSuffix(String?responseSuffix)

Sets the suffix used to detect response elements in the schema.

?


setFaultSuffix

public void setFaultSuffix(String?faultSuffix)

Sets the suffix used to detect fault elements in the schema.

?


setCreateSoap11Binding

public void setCreateSoap11Binding(boolean?createSoap11Binding)

Indicates whether a SOAP 1.1 binding should be created.

Defaults to?true.

?


setCreateSoap12Binding

public void setCreateSoap12Binding(boolean?createSoap12Binding)

Indicates whether a SOAP 1.2 binding should be created.

Defaults to?false.

?


setSoapActions

public void setSoapActions(Properties?soapActions)

Sets the SOAP Actions for this binding. Keys are?binding operation names; values are?SOAP Action URIs.

?

Parameters:

soapActions?- the soap


setTransportUri

public void setTransportUri(String?transportUri)

Sets the value used for the binding transport attribute value. Defaults to HTTP.

?


setLocationUri

public void setLocationUri(String?locationUri)

Sets the value used for the SOAP Address location attribute value.

?


setServiceName

public void setServiceName(String?serviceName)

Sets the service name.

Defaults to the port type name, with the suffix?Service?appended to it.

?


afterPropertiesSet

public void afterPropertiesSet()throws Exception

Specified by:

afterPropertiesSet?in interface?InitializingBean

Throws:

Exception


getSource

public Source getSource()

Description copied from interface:?WsdlDefinition

Returns the?Source?of the definition.

?

Specified by:

getSource?in interface?WsdlDefinition

Returns:

the?Source?of this WSDL definition

與50位技術專家面對面20年技術見證,附贈技術全景圖

總結

以上是生活随笔為你收集整理的类DefaultWsdl 11定义中英文对比API文档的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。