|
|
8 Ways To Get People To Visit Your Web Site Again and Again
Getting visitors to your web site is not one of the easiest things to do especially if you've only just set up your web site. The trick here is to find as many ways as possible to get the visitors, that do visit your site, to come back again and...
Building Websites with Directory Generator
Directory Generator, a product from Armand Morin and Marc Quarles, builds directory-style websites for you in a matter of minutes. It is simple to use, it's reliable, it does what it claims to do. The tool is essentially a push-button site builder -...
Cheapest Domain name registration & Web hosting
silicasys.com provides cheapest domain name registration & web hosting solution. register domain name for just $6.69 per year & web hosting for just $1.05 per year . silicasys.com 's fifth year anniversary offer : register domain name for free for...
UNIX vs. Windows- What server operating system should you use for your web hosting?
So you’ve decided to create a website? The most obvious thing that you need is of course web hosting. Among other things, like cost and features, you’ll need to decide which server you’ll need: Windows (NT, 2000 or XP) or Unix (Linux, FreeBSD,...
Web Hosting: Selecting the Right Host!
Choosing a web hosting company is a very personal decision based on your own unique needs. Web hosting is what places your website into the World Wide Web, where anyone can access to it 24 hours a day. In other words, without placing your site onto...
|
|
|
|
|
|
|
|
Web Services Interoperability
Interoperability is one of the main promises of Web services. Web services are designed to be independent of the underlying operating system and programming language. In this article we will address some basic web services interoperability issues that are useful for developers. We will focus on the two most popular platforms - Java and Microsoft C#.
Introduction More and more we're finding that WSDL lies at the heart of Web services interoperability. WSDL is the description language for Web services. Usually a WSDL document is automatically generated by Web services framework tools (e.g., Axis, WASP WSDLCompiler) from the code written in a particular programming language. Developers can use the WSDL document to generate client-side stubs or proxies, which provide convenient access to Web services. Thus the key to enabling seamless Web services interoperability is the ability of one Web services framework to consume the WSDL documents generated by other frameworks. The WSDL interoperability effort is just taking off. You can see further details at http://soap.systinet.net/interop/wsdl/index.html. How to not get trapped The following subchapters give you some basic tips on how to write interoperable Web services using today's Web services frameworks. These tips may significantly ease your life as well as the lives of other developers who will use your Web services. Hopefully some of those tips will be outdated soon. Keep your types simple - avoid advanced XML Schema constructs The XML Schema standard is very complex and difficult to implement. Moreover, XML Schema processing is quite time consuming, so many frameworks sacrifice full XML Schema support for performance. Some advanced XML Schema constructs (e.g., choice) are quite hard to express in a programming language, and few Web services frameworks support them. So the key success factor in Web services interoperability is to use basic data types, such as primitive data types, arrays, and structures. As a best practice, decompose the complex types in your interfaces into simple and clean interfaces with basic data types. Also avoid using specific techniques (e.g. INOUT parameter passing) that aren't widely supported. Sample Architecture Let we see the architecture of my sample application which uses web services along with messaging concepts. Here 3 web services are used. Two web services, Place Order and Get Order are developed and deployed in Java environment and another one, Send Message is in C# environment.
The Ordering System calls the Place Order web service to place an item to order. The Place Order web service stores that item and notifies the Java Expeditor Client through JMS. After the intimation message has come from JMS the Java Expeditor Client calls the Get Order web service to retrieve the ordered items and details. The same Place Order web service calls the another web service, Send Message to send the message to MSMQ, then the Notification message is sent to the C# Expeditor Client from MSMQ. After the intimation message has come from MSMQ, the C# Expeditor Client calls the Get Order web service to retrieve the ordered items and details. Here functionality of the Java Expeditor and C# Expeditor Client are same except that they are developed in different platform to illustrate the interoperability of web services. So here its proved that web service Get Order, which is developed and deployed in Java environment is accessed from the C# Expeditor client and the web service Send Message, which is developed and deployed in C# environment is accessed from Place Order web service of Java environment.
Accessing Java Web Service from C# To invoke the Get Order web service in C# Expeditor Client application, we are going to Add Web Reference to the Get Order web service. The steps to be followed to do this are, 1. In Project menu, click Add Web Reference… 2. In the
URL box type http://localhost:8888/axis/servlet/AxisServlet (or u can give the web service URL) 3. Now it will show the list of services that are available. From that select Get Order (wsdl) link. 4. Click Add Reference button. We need to create a proxy client to access this web reference. For that we need the wsdl file of that particular web service. Save WSDL file The AxisServlet generates the wsdl file for the web service. To get the wsdl for Get Order Web service, Type this URL in browser: http://localhost:8888/axis/servlet/AxisServlet. Click on wsdl link belongs to Get Order Web service. It will display the wsdl xml content. Save this content with .wsdl extension. Create Proxy Client For the creation of proxy client we can utilize the wsdl tool of Microsoft Visual Studio. Now, open the Command Prompt (preferably the Visual Studio.NET Command Prompt, which verifies the PATH environmental parameters are set correctly). Navigate to the directory containing the GetOrder.wsdl file. Type the following at the command prompt: wsdl /o:GetOrderService.cs GetOrder.wsdl Now the GetOrderService.cs file will be created. This is the proxy class for the referenced web service. So, add this file into the assembly of your C# project. By making instance to this proxy client we can call the Get Order Web service as the following code, GetOrderService GOService = new GetOrderService (); string strOrders; strOrders = GOService.getOrder (); Accessing .Net Web Service from Java For accessing the .Net web service we can use the org.apache.soap package and it sub package rpc. We need to provide the Service URL, Target namespace and the Soap Action which is present in the wsdl file. By using the Call class we can invoke the Web service method as in the following code: String URLString = "http://localhost/WebService1/Service1.asmx"; String TargetNamespace = "http://localhost/WebService1/Service1"; String SOAPAction = "http://Walkthrough/XmlWebServices/sendMessage"; URL url = new URL (URLString); //setup a the invocation Call call = new Call(); call.setTargetObjectURI (TargetNamespace); call.setMethodName ("sendMessage"); call.setEncodingStyleURI (Constants.NS_URI_SOAP_ENC); Response resp = call.invoke (url, SOAPAction);
Messaging Concepts In the given architecture, u can see the JMS and MSMQ messaging concepts are used. Here the brief notes on these concepts.
JMS JMS is a set of interfaces and associated semantics that define how a JMS client accesses the facilities of an enterprise-messaging product. Enterprise messaging is recognized as an essential tool for building enterprise applications and Ecommerce systems, and JMS provides a common way for Java programs to create, send, receive, and read an enterprise messaging system's messages. You can learn more about JMS in the following URL: http://www.chrispeiris.com/articles/JavaMessageService.html MSMQ Microsoft Message Queuing (MSMQ) technology enables .net applications running at different times to communicate across heterogeneous networks and systems that may be temporarily offline. Applications send messages to queues and read messages from queues. You can get more details on MSMQ from http://www.microsoft.com/windows2000/technologies/communications/msmq/default.asp Conclusion In this part of the Web services tutorial we learned how to write interoperable Web services. All examples were focused on the integration of MS .NET and Java. We demonstrated that Web services technology gives us the opportunity to pick the best technology for each particular piece of our system. Some of us may want to know how to create web services in Java and C#, and also more details on integration of JMS and MSMQ with web services. Those things we are not discussed here. If you have doubts on those areas, please feel free to contact me at senthil.krishnamurthy@aspiresys.com
About the Author
K. Senthil B.E., is working in Aspire Systems (India) Pvt. Ltd.
|
|
|
|
|
Web hosting, domain names and web design services by FortuneCity |
Web hosting, domain names, web design, free web site and email address providers. We offer affordable hosting, dedicated ad-free web hosting, ... |
www.fortunecity.com |
  |
AT&T Hosting > About AT&T Hosting.com |
Offers shared and dedicated hosting, colocation, and ecommerce services with 24-hour technical support. |
www.webhosting.com |
  |
Hostinginsiders.com - affordable webhosting with a free domain name |
Hostinginsiders.com - affordable webhosting with a free domain name, prices starting at $2.95 per month paid monthly. |
www.hostinginsiders.com |
  |
WEB HOSTING : Compare Prices, Consumer Reviews, Help, Guides ... |
A web hosting marketplace. Also provides guides on how to start your website. |
www.findmyhosting.com |
  |
Yahoo! Web Hosting: Everything you Need for a Professional Site |
Offers shared web hosting services. Supports PHP and MySQL, domain name included and 24/7 toll free support. |
smallbusiness.yahoo.com |
  |
Web Hosting Stuff - 4884 Hosting Companies User Rated & Reviewed |
Find complete ratings and user reviews on 4884 cheap web hosting companies. Include Top 10 Best Web Hosting Chart. We search the web daily for the best ... |
www.webhostingstuff.com |
  |
Doteasy - 100MB Free Web Hosting, Free Email, Domain Names for ... |
Doteasy provides bannerless free web hosting free email and free support for small business and individual. |
www.doteasy.com |
  |
Web Hosting:IX WEB HOSTING:Best Web Hosting Site:Webhosting Provider |
Web Hosting:IX WEB HOSTING:Best Web Hosting Site:Webhosting Provider hosting site sql web best hosting web xxasdf .net add hosting site cheap canada web ... |
www.ixwebhosting.com |
  |
WebHosting.Info - Web Hosting Information |
Provides statistics and research data about the Web services industry. Tracks over 35000 Web hosting companies worldwide. |
www.webhosting.info |
  |
Web Hosting by iPowerWeb |
iPowerWeb is the web hosting leader. Providing cheap hosting with frontpage, php, stats, ecommerce and domain names support. Affordable web hosting without ... |
www.ipowerweb.com |
  |
WebHostingTalk Forums - Web Hosting Discussion |
A popular web hosting discussion forum. ... Discussions on all aspects of web hosting including past experiences (both negative and positive), ... |
www.webhostingtalk.com |
  |
Affordable Virtual Webhosting Service from $8.95: Low Cost and ... |
Affordable Unix web hosting and domain name hosting from less than $2 per domain. We are a low cost professional unix and virtual webhosting provider with ... |
www.active-venture.com |
  |
Webhosting.net - unmatched service and support for your business ... |
Webhosting.net provides E-Commerce web hosting services Co-Location and Dediciated servers. |
www.webhosting.net |
  |
Netfirms - Web Hosting, Domain Names and E-commerce for Small Business |
25Mb with unlimited hits on a clustered web hosting platform. Banner ad required on each page; user ads are permitted. FTP uploads. Email forwarding. |
www.netfirms.com |
  |
Web Hosting, Dedicated Servers, Web Design Services |
Hostway provides web hosting, domain name registration, web design, weblog tools and web site marketing on shared or dedicated servers for small business ... |
www.hostway.com |
  |
Web Host Directory: The best free source of web hosting services ... |
Web Host Directory: Your best free source of web hosting services, featuring more Web Hosts details than ANY other Web Host Directory, along with powerful ... |
www.webhostdir.com |
  |
Affordable, full service web hosting packages. |
Affordable, full service web hosting packages. ... I always refer folks to Go Daddy if they are in the market for a web hosting service. You guys are great! ... |
https: |
  |
Web hosting service - Wikipedia, the free encyclopedia |
A web hosting service is a type of Internet hosting service that allows ... Shared web hosting service: one's Web site is placed on the same server as many ... |
en.wikipedia.org |
  |
Free Webspace and Free Web Hosting Services |
directory to compare free webhosting service providers with reviews and searchable database of about 500 free web space hosts to find free hosting of ... |
www.free-webhosts.com |
  |
Search and Find Web Hosting at HostSearch.com |
News, articles, and a searchable database of web hosting providers. |
www.hostsearch.com |
  |
|