【正文】
ws:AlgDigest39。Required39。 xmlns:wsp=39。 URI=39。 a:Address a:ReferenceProperties m:Info/m:Info /a:ReferenceProperties p:Policy ... /p:Policy a:/EndpointReference [Address] property Network address of resource [Reference Properties] Other addressing information Policy for this resource ? “Generalized URI” ? EPR = Address + Reference Properties Microsoft Architects Forum 20 Message Information Headers ? WSAddressing defines header elements Property Header Notes destination wsa:To From wsa:Address recipient wsa:Recipient An endpoint reference source endpoint wsa:From An endpoint reference reply endpoint wsa:ReplyTo An endpoint reference fault endpoint wsa:FaultTo An endpoint reference action wsa:Action Name of logical action message id wsa:MessageID Unique ID relationship wsa:RelatesTo Provides for correlation Microsoft Architects Forum 21 WSAdressing SOAP URI WSAddressing Microsoft Architects Forum 22 Messaging SOAP URI WSAddressing Microsoft Architects Forum 23 Metadata WSDL WSPolicy WSPolicy Attachment WSPolicy Assertions WSMetadata Exchange Microsoft Architects Forum 24 Metadata WSPolicy WSPolicy Attachment WSPolicy Assertions WSDL WSMetadata Exchange Microsoft Architects Forum 25 Motivation ? Expressing ? Requirements ? . Secure conversation ? Capabilities ? . Asymmetric encryption using ? Preferences ? . preferred over username token Microsoft Architects Forum 26 Web Services Policy Specs ? WSPolicy ? Web Services policy framework ? Statements about resources ? Receiver requirements (design time) ? Requirements to capabilities (runtime) ? WSPolicyAttachement ? Policy expression to subject (. EPR) ? WSPolicyAssertions ? Individual property (. capability) Microsoft Architects Forum 27 Metadata WSDL WSPolicy WSPolicy Attachment WSPolicy Assertions WSMetadata Exchange Microsoft Architects Forum 28 WSPolicy (1/2) ?Policy expressions ? Choices over domain specific assertions ?Operators ? All ? ExactlyOne ? OneOrMore ? Policy ExactlyOne All B C D A All Microsoft Architects Forum 29 WSPolicy (2/2) ? Usage ? Required ? Rejected ? Optional ? Observed ? Ignored ? Preference ? Hint Microsoft Architects Forum 30 WSPolicy Example wsp:ExactlyOne wsp:Usage=39。pdAt] 1 : an act or instance of updating 2 : current information for updating something 3 : an uptodate version, account, or report Beat Schwegler Architect Microsoft EMEA HQ Microsoft Architects Forum 2 Challenges ‘We’ve been doing Web Services for years’ Microsoft Architects Forum 3 Challenges ‘Web Services are nothing else than firewall friendly rpc implementations.’ Microsoft Architects Forum 4 Challenges ‘Web Services are great! We’ve just enabled all our business objects as Web Services.’ Microsoft Architects Forum 5 Challenges ‘Web Services are based on XML. That’s why they’re simple. At the end it’s only text...’ Microsoft Architects Forum 6 Web Services Publisher B Publisher A Publisher C Bookstore Design time contract I’ll send a PO You’ll s