11.07.2015 Views

y - Net Developer

y - Net Developer

y - Net Developer

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

amrameshreddy.blog.com438 APPENDIX B ■ HISTORY OF MICROSOFT WEB SERVICE IMPLEMENTATIONSramrameshreddy.blog.comHosting ASMX Web Services Without IISIn WSE 3.0, ASMX web services can be hosted outside IIS and can be in hosted in any type ofprocess called via TCP such as console applications, Windows services, COM+ components,WinForms, and so on. More custom transports such as UDP, MSMQ, and SMTP have also beenpublished.Using MTOMMessage Transport Optimization Mechanism (MTOM) enables you to send large amounts ofbinary data efficiently in a SOAP message. MTOM is W3C standardized and replaces DIME andWS-Attachments as the mechanism for sending large amounts of data. One advantage ofMTOM is that it composes messages in the context of a security policy, so both the data andthe SOAP message are secure. You also get reduced wire size with MTOM because binary charactersare sent as MIME attachments over the wire.Future ProofingOne of the main features of WSE 3.0 is to provide a path to WCF to facilitate the ability to buildservice-oriented applications based on web services. WSE 3.0 offers wire-level compatibilitywith WCF and can run side by side with WCF.■Note WSE 3.0 is wire-level compatible with WCF when using HTTP as the transport protocol along withcorresponding turnkey security profiles. This compatibility and interoperability is not guaranteed when usingany other transport protocol.SOA and .NET v2.0WSE 3.0 runs only with .NET 2.0 (because it extended ASP.NET 2.0 web services), integratesinto Visual Studio 2005, and is supported by Microsoft. WSE 3.0 also ensures interoperabilitywith WCF services when using the turnkey security profiles, ensuring that the investment youmake today is still usable with Windows Vista.Sample XML SchemaListing B-4 shows an example of a schema describing a country, and Listing B-5 shows a sampleXML document implementing that schema.Listing B-4. Simple Schema Sampleramrameshreddyramrameshreddy

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!