다음을 통해 공유


WSTrustServiceContract.FixMessageElement 메서드

정의

WSDL 생성 중에, 이 메서드는 해당 WS-Trust 버전의 RST 및 RSTR 요소를 참조하도록 지정된 작업 메시지 요소를 수정합니다.

protected:
 virtual void FixMessageElement(System::Web::Services::Description::ServiceDescription ^ serviceDescription, System::Web::Services::Description::PortType ^ portType, System::ServiceModel::Description::WsdlEndpointConversionContext ^ context, System::String ^ operationName, System::Xml::XmlQualifiedName ^ inputMessageElement, System::Xml::XmlQualifiedName ^ outputMessageElement);
protected virtual void FixMessageElement (System.Web.Services.Description.ServiceDescription serviceDescription, System.Web.Services.Description.PortType portType, System.ServiceModel.Description.WsdlEndpointConversionContext context, string operationName, System.Xml.XmlQualifiedName inputMessageElement, System.Xml.XmlQualifiedName outputMessageElement);
abstract member FixMessageElement : System.Web.Services.Description.ServiceDescription * System.Web.Services.Description.PortType * System.ServiceModel.Description.WsdlEndpointConversionContext * string * System.Xml.XmlQualifiedName * System.Xml.XmlQualifiedName -> unit
override this.FixMessageElement : System.Web.Services.Description.ServiceDescription * System.Web.Services.Description.PortType * System.ServiceModel.Description.WsdlEndpointConversionContext * string * System.Xml.XmlQualifiedName * System.Xml.XmlQualifiedName -> unit
Protected Overridable Sub FixMessageElement (serviceDescription As ServiceDescription, portType As PortType, context As WsdlEndpointConversionContext, operationName As String, inputMessageElement As XmlQualifiedName, outputMessageElement As XmlQualifiedName)

매개 변수

serviceDescription
ServiceDescription

내보낸 WSDL의 현재 상태를 갖는 ServiceDescription입니다.

portType
PortType

메시지를 수정할 WSDL PortType입니다.

context
WsdlEndpointConversionContext

내보낸 WSDL 요소에서 엔드포인트 설명으로의 매핑을 제공합니다.

operationName
String

PortType 내의 작업 이름입니다.

inputMessageElement
XmlQualifiedName

입력 메시지 요소의 XmlQualifiedName입니다.

outputMessageElement
XmlQualifiedName

출력 메시지 요소의 XmlQualifiedName입니다.

예외

serviceDescription이(가) null인 경우

또는 portTypenull입니다.

또는 inputMessageTypenull입니다.

또는 outputMessageType이(가) null인 경우

operationNamenull이거나 비어 있는 경우

설명

WIF (Windows Identity Foundation)에서 노출 하는 WS-Trust 계약은에서를 사용 Message 하며 out을 반환 Message 합니다. 하지만 WS-Trust 메시지는 RST RSTR/RSTRC를 반환 합니다. 이 메서드는 및의 정규화 된 XML 이름으로 지정 된 적절 한 WS-Trust 메시지를 사용 하 여 메시지 이름을 수정 합니다 inputMessageElement outputMessageElement .

적용 대상