WSTrustServiceContract.ExportEndpoint Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint.
public:
virtual void ExportEndpoint(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlEndpointConversionContext ^ context);
public virtual void ExportEndpoint (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlEndpointConversionContext context);
abstract member ExportEndpoint : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
override this.ExportEndpoint : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
Public Overridable Sub ExportEndpoint (exporter As WsdlExporter, context As WsdlEndpointConversionContext)
Parameters
- exporter
- WsdlExporter
The WsdlExporter that exports the contract information.
- context
- WsdlEndpointConversionContext
Provides mappings from exported WSDL elements to the endpoint description.
Implements
Remarks
Implements the ExportEndpoint method.
The default implementation does the following for every WS-Trust contract found:
Includes the appropriate WS-Trust namespace in the WSDL.
Imports the appropriate WS-Trust schema and all dependent schemas.
Fixes the Messages of each operation to appropriate WS-Trust equivalents. The WS-Trust Contract exposed by Windows Identity Foundation (WIF) takes a Message in and returns a Message out. But WS-Trust messages expect an RST and return an RSTR/RSTRC. This method fixes the message names with the appropriate WS-Trust messages.