[Original] B2B system integration based on Web Services, which is a reference for beginners]

Source: Internet
Author: User

Author: Jack

Thank you very much for Jack's contribution!

Based onWebServiceB2BSystem integration

Abstract   Yes : Web Services You can applyProgramConvert to a network application. This article briefly introduces XML And Web Service Technology, and then focuses on Web Service The characteristics and advantages of the system integration technology, and introduces Web Service System Integration Technology in B2B Application in business platform implementation.

Keywords: Web Service, B2B (business to business ),Electronic data exchange(Electronic Data Interchange,AbbreviationsEDI), SOA

1 Overall system requirements

With the development and popularization of information technology and network technologyInternetAndIntranetThe network is booming and has played a significant role in various information systems. However, collaboration between systems to complete more complex business processes has become an urgent problem.

Service-Oriented Architecture ( Service-Oriented Architecture , SOA ) is a it the architecture style allows you to transform your business into a group of linked services or reusable business tasks that can be accessed over the network as needed. This network can be a local network, Internet , or can be scattered in different regions and adopt different technologies, by combining services from various parts of the world, end users can feel that these services are just installed on their local desktops. These services can be combined to complete specific business tasks, so that your business can quickly adapt to changing objective conditions and needs. As a mechanism for effective process integration of Web services in enterprises, it is adopted in the market. When creating Web services for your company's network, you may find that you need to extend the scope of these services to exceed the limits of the firewall. You can provide your services to business partners, customers, and even subscribers, and allow them to become an integral part of your business process. Before you give others access to the services on your network, there are undoubtedly many business problems to solve, and we focus on the technical issues behind this.

B2B ( business to business ) refers to a market field. one of the marketing domains is the marketing relationship between enterprises. E-commerce is only a specific form of modern B2B marketing . E-commerce for enterprises, in addition to online transactions and product presentations, B2B A more important business is, B2B websites are closely integrated with customers to provide better services to customers through rapid network response, to promote the business development of enterprises. Figure 1 An enterprise uploads business data to the receiving end system. After receiving the packets, the receiving end enters the system for processing, then, use your own background Windows WebService sends the processing result to the Enterprise. Simple processing and warehouse receiving XML message 2 .

SoapIs based onXMLSimple protocol that allows applicationsHTTPInformation exchange. For application development, it is very important to enable Internet communication between applications. The current application is called by using a Remote Process (RPC) InDCOMAndCORBACommunication between objects,HTTPNot designed for this purpose.RPCIt may cause compatibility and Security Issues. firewalls and proxy servers usually block such traffic. PassHTTPCommunication between applications is better becauseHTTPAll Internet browsers and servers are supported.SoapIs created to complete this task.SoapProvides a standard method for running in different

Operating system and using different technologies andProgramming LanguageApplications can communicate with each other.

 

Figure1Data upload and receiving

 


Figure2 XMLPackets

2 System Design and Implementation

The system implementation uses the diagram3Development Framework. The components are described as follows:

 

 

 

Figure3System Framework

(1)Dbfactory:DBFactory class for reading and setting database parametersOracleThe database data access layer supports parameter configuration.

(2)Oracledal:WebServiceThe background usesOracleDatabase, used hereOracle dalTo complete the read and write operations on the database.

(3)BusinessService:XMLComplete the specific service processing after the packet data is uploaded.

(4)Ibusinessservice: AndBusinessServiceCorresponding, implemented through this interfaceWebServiceOpen interfaces for users to call.

(5)Utility: Log records. After the data is uploaded, logs are recorded, error analysis is performed on the logs that handle errors, and the logs are recorded in the error logs.

(6)BusinessEntity: Defines the object of a message to describe the entity relationship between the message content (4As shown in, each packet has1Table headers and multiple table bodies. Each table is in a parallel relationship.BaseentitiesLimits the message content and uses resource files to describe various exception formats ).

 

 

Figure4Entity Relationship between message content

 

Figure5Deployment test diagram

After the deployment is complete, deploy the service on the specified page.AsmxPage, you can seeWebServiceProvided interfaces. You can call them based on the provided interfaces.

3 Conclusion

UseWeb ServiceSystem integration improves the scalability and compatibility of the system, the adaptability of the system, and the service quality of the system. BecauseWeb ServiceIn the development process, new features are gradually added, especially in terms of security. In addition, based onWeb ServiceThere are still many improvements in the development of applications, such as implementationAPIComponents, similar to the Integration Method of the forwarder, etc. As an emergingWebApplication implementation method,Web ServiceThere will be a good development prospect inB2BDesign and development will also play more and more important roles.

 

References

Http://www.edu.cn/20031126/3094975.shtml.

Http://www.w3school.com.cn/soap/soap_intro.asp.

[3]Liao Xiaoping, Wang zhijian, Liu Shan Based onXMLAnd release/The active service system of the subscription mechanism, computer applications and software,2009,(1)

[4]Zhou feixue, du HuaRong Based onXMLBusiness process data exchange application model[J], Journal of Kunming University of Technology (science and technology edition ),2003,(5)

Of course, if you have any suggestions, please share your opinion. Thank you. Thanks again Jack contribution !

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.