Windows Communication Foundation (WCF) is a software development kit (SDK) that develops and deploys services based on windows ).
WCF is Microsoft's integrator of distributed processing programming technology. It integrates DCOM, remoting, Web Service, WSE, and MSMQ, reducing the learning curve of distributed system developers, and unified development standards.
WCF is built on. NET Framework 2.0 and
Web Service ComponentsThe basic Web service platform is XML + HTTP. All standard Web service uses the following components:
SOAP (Simple Object Access Protocol)
UDDI (general description, Discovery, and integration)
Original link http://www.cnblogs.com/tearer/archive/2013/04/25/3042430.html"1" Web service: Strictly speaking, the industry standard, the WEB service specification, also known as the WS-* specification, is neither a framework nor a technology.It has a complete set of standard system standards, but also in the continuou
First, the preparation work (the following is the use of the tool for this example)1, MyEclipse10.7.12. JDK 1.6.0_22Second, create the service side1. Create "Web Service Project", named "Theservice".2. Create the "class" class, named "Servicehello", located under the "Com.hyan.service" package.3, write the method for the client to call, that is, compile the metho
Web Service: Strictly speaking, the industry standard, the Web service specification, also known as the WS-* specification, is neither a framework nor a technology.It has a complete set of standard system standards, but also in the continuous improvement of the update.It uses XML extension markup language to represent
Any application can have a Web Service component.The creation of a Web Service is independent of the kind of programming language.In this chapter we will introduce a SOAP extension using PHP to create a Web Service.SOAP has two modes of operation, NO-
Today, I saw that WCF integrates net remoting and Web Service... The concepts are listed below.
I. WCFIn summary, WCF has the following advantages:1. UniformityAs described above, WCF is an integration of asmx,. Net remoting, Enterprise Service, WSE, MSMQ, and other technologies. Since WCF is fully managedCodeTherefore, developing a WCF ApplicationProgramIt is
When learning Web service, from the Internet to find the senior blog http://www.cnblogs.com/hexinlin/p/3358558.html, And according to the method of this article step by step: Write to publish Java class Hellodemo.java, build. arr file and publish the service to tomcat\webapps\axis2\web-inf\services\, and access http://
C # web servicehttp: // www.jb51.net/article/16768.htm returned in JSON format
Here I use axis to create a class package. First download the axis compressed package, decompress it, and put axis under webapp. If it can be run, it will be OK.
C # Can I directly add the WSDL of the created WebService? Access the WSDL and use axis to generate a class: Java-classpath
Web Service. It contains the header and body ). In the message header, WS-Addressing is defined to locate the address information of the SOAP message, and MTOM (message transmission optimization mechanism, message transmission optimization mechanism) is also included ).
4. Compatibility
WCF fully considers compatibility with old systems. Installing WCF does not affect existing technologies such as asmx and
Web service is not a mysterious thing, a lot of times we listen to the service feel very far away, when I was so, a computer room server is feeling very tall on. Later found that is not a computer. We can simply understand that it is a class, or a component, that can be called remotely. Open your local functions and call them out altogether. Can't just listen to
), using a simple API that makes it easy to develop services from existing applications.But if you choose Axis2 or CXF, you can get a lot of help from the open source community. Both frameworks have commercial companies offering services, WSO2 provides AXIS2 support, and Iona provides CXF support. Both companies have a very active community of developers. The basic concepts of these Web service frameworks
web| How to create and use Web service proxy classes
The Web service proxy is a programming language file that supports. NET and is generated automatically by the WSDL tools provided by the. NET Framework. The proxy class does
applications that can be published, positioned, and called through the web. The Web service is published through the WSDL (Web Services Description Language) file.Soap is a simple Object access protocol, which defines a cross-platform Distributed System communication protoc
to do? Like a generation, it is used to generate stub. That is to say, after someone else releases the web service, there will be a WSDL file, this tool can generate several classes based on the WSDL, and all the underlying calls will be rolled up. Then, you will use the tool like a common function call.Run the follow
usedMethod:Define a client object and specify the Web Service's WSDL addressClient c = new client (new URL ("http://www.webxml.com.cn/WebServices/IpAddressSearchWebService.asmx? (WSDL "));
Call the invoke method of the client object to specify the method name and parameters of the web
"1" Web service: Strictly speaking, the industry standard, the WEB service specification, also known as the WS-* specification, is neither a framework nor a technology.It has a complete set of standard system standards, but also in the continuous improvement of the update.It uses XML extension markup language to repres
)
Cxf_home (for cxf)
For example, you can set cxf_home = c: \ apache-cxf-2.1 and add the following content to the PATH environment variable:
Java_home \ bin
Catalina_home \ bin
Ant_home \ bin
Back to Top
Rest is a Web architecture
Web services can be very complex, because Web service development often involves i
automatically" (3), Press next, and enter the service name and class name, the service name I entered here is: Ws; the class name is the class name we just wrote: briup. hello, you must add the complete package name here. (4) Press next and enter the storage path and file name of the service file. Select the build Directory: C: \ Program Files \ Apache Software
web| Development Guide
Development Description:1. Create a Web Service and compile:Development methods, like the development of ordinary dynamic libraries, are just the attributes of a method that describes the behavior, such as: [WebMethod (description= "Insert Data")]public string InsertData (string strName) {...... function function}2. Test by IE:Directly in I
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.