【正文】
ServicesRuntimeSOAPRouterWeb ServicesRuntimeSOAPProxyWSDLWSDLUDDIWSDLWeb Computing Lab (FJU CSIE)Web Services 技術(shù)架構(gòu)誕生ComposedInter JSPBusiness LogicgetPrice()getName()getTime()getMsg()DBApplication ServerVarious ClientsServletServletWeb ServicesRuntimeSOAPRouterWSDLUDDIHTTPDescribedPublishedFoundBoundInvokedModularWeb Computing Lab (FJU CSIE)Web Services 技術(shù)架構(gòu)誕生Web Service = + XML + StandardContainer: J2EE JAXP JAXB JACRPC JAXM JAXRJSR110JavaStandards: W3C…XML XML SchemaWSDLSOAP UDDIebXMLWeb Computing Lab (FJU CSIE)ArchitectureWeb Computing Lab (FJU CSIE)Overview of Web Services Technology? Service Provider:– Construct services– Web Services interface (EAR)– Publish? Service Requestor:– Construct request services– Discover and download WSDL documents.– Web Services interface (proxy)? Communication– By using SOAPWeb Computing Lab (FJU CSIE)Overview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryPublishFind WSDLDoc.DownloadBindRequest InvokeresultReturnResponseSOAP Messages(Implementation Definition)Web Computing Lab (FJU CSIE)Overview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYWSDLDoc.DownloadRequest InvokeresultReturnResponseSOAP MessagesServicesRegistryWeb ServicesStandardWeb Computing Lab (FJU CSIE)Overview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryWSDLDoc.DownloadBindRequest InvokeresultReturnResponseSOAP MessagesDepend onPlatformWeb Computing Lab (FJU CSIE)Overview of Web Services TechnologyServiceProviderServiceRequestorEARPROXYServicesRegistryWSDLDoc.DownloadRequest InvokeresultReturnResponseSOAP MessagesGeneratedby ToolsWeb Computing Lab (FJU CSIE)Conceptual Web Services StackWeb Computing Lab (FJU CSIE)Definition of Stack Layers? Network– Interstandardsbased transport? HTTP, HTTPS? FTP? SMTP– Optimized intraanization protocols– Network choice should be based on? Where service will be accessed from? Degree of interoperability required? Existing work and messaging infrastructure? Degree of reliability and security requiredWeb Computing Lab (FJU CSIE)Definition of Stack Layers? XMLBased Messaging– Messages are sent as XML documents conformant to well known or published XML Schemas– The messaging infrastructure will use SOAP? SOAP is the simple, standardized enveloping mechanism for municating documentcentric messages and remote procedure calls using XML? SOAP defines a standard mechanism to incorporate orthogonal extensions to the message using SOAP headersWeb Computing Lab (FJU CSIE)Definition of Stack Layers? Service Description– Service Interface Definition? Specification of logical interface and bindings? WSDL provides all IDL capabilitiesWeb Computing Lab (FJU CSIE)Definition of Stack Layers? Service Description– Service Implementation Definition ? Defines work location, protocols, security requirements and other attributes specific to a particular instance of a service endpoint for a bindingWeb Computing Lab (FJU CSIE)Definition of Stack Layers? Complete Service Description– Business Context, Taxonomies, Keywords: UDDI– Endpoint capabilities and policies– Choreography among services and businessesWeb Computing Lab (FJU CSIE)Defini