Posted on April 24, 2007 by sharat
The SOAP server receives the request from the client as an HTTP request. The request is passed to the HTTP request handler that redirects the request to the appropriate SOAP servlet. This SOAP servlet is responsible for decoding the HTTP request. The SOAP servlet directs the request to the HTTP/SOAP decoder. The decoder extracts the [...]
Filed under: Web Services | Leave a Comment »
Posted on April 24, 2007 by sharat
The client application discovers a server application by using its discovery document and makes a service call to the server application by invoking its appropriate method. The SOAP serializer converts the invocation by the client application to a SOAP request. The SOAP serializer sends the SOAP request to an HTTP encoder, which wraps the SOAP [...]
Filed under: Web Services | Leave a Comment »
Posted on April 24, 2007 by sharat
The client application discovers a server application by using its discovery document and makes a service call to the server application by invoking its appropriate method. The SOAP serializer converts the invocation by the client application to a SOAP request. The SOAP serializer sends the SOAP request to an HTTP encoder, which wraps the SOAP [...]
Filed under: Web Services | Leave a Comment »
Posted on April 24, 2007 by sharat
A client can use SOAP attributes to specify how SOAP messages should be processed. SOAP attributes are generally used to specify the serialization rules to indicate the recipient of the Header element of the SOAP message. Attributes also indicate whether or not the recipient should process certain header entries. example1: The mustUnderstand attribute states whether [...]
Filed under: Web Services | Leave a Comment »
Posted on April 24, 2007 by sharat
SOAP defines a Fault element that is used to indicate errors that might be raised when the SOAP message is processed. The Fault element is defined below: <soap:Fault> <faultcode>SOAP-ENV:Server.BadTargetObjectURI</faultcode> <faultstring>Unable to resolve target object: HelloWorld</faultstring> </soap:Fault> After you include the Fault element described above, every time the target URI is irresolvable, the application will return [...]
Filed under: Web Services | Leave a Comment »
Posted on April 24, 2007 by sharat
Tthe Header element is optional in a SOAP message. If the Header element is present in a SOAP message, it should be the first child element of the Envelope element. To understand why a SOAP header element is optional, consider a scenario in which you want to invoke a Web method of a Web service [...]
Filed under: Web Services | Leave a Comment »
Posted on April 18, 2007 by sharat
RPC-Based Communication Model The RPC-based communication model defines a request/response-based synchronous communication. When the client sends a request, the client waits until a response is sent back from the server before continuing any operation. Typical to implementing CORBA or RMI communication, the RPC-based Web services are tightly coupled and are implemented with remote objects to [...]
Filed under: Web Services | Leave a Comment »
Posted on April 18, 2007 by sharat
ebXML provides a standard framework for building an electronic marketplace by enabling the standardization of business processes, business partner profiles, and partner agreements. In general, ebXML complements other Web services standards like SOAP, WSDL, and UDDI. The following are major features of ebXML: ebXML Messaging Service (MS) is a value-add over SOAP that provides reliability [...]
Filed under: Web Services | Leave a Comment »
Posted on April 18, 2007 by sharat
Universal Description, Discovery, and Integration, or UDDI, defines a mechanism to register and categorize Web services in a general-purpose registry that users communicate to in order to discover and locate registered services. While querying a UDDI registry for a service, the WSDL description describing the service interface will be returned. Using the WSDL description, the [...]
Filed under: Web Services | Leave a Comment »
Posted on April 18, 2007 by sharat
SOAP is an XML-based protocol that is used to access services, objects, and servers in a platform- and vendor- independent manner.it is an XML-based protocol.SOAP generally uses HTTP, a firewall-friendly protocol, as its transport protocol. SOAP includes three components: SOAP messages, SOAP attributes, and SOAP encoding. SOAP Messages SOAP is an XML-based protocol, SOAP messages [...]
Filed under: Web Services | Leave a Comment »
Posted on April 17, 2007 by sharat
Provides a simple mechanism for applications to become services that are accessible by anyone, anywhere, and from any device. Defines service-based application connectivity facilitating EAI, and intra-enterprise and inter-enterprise communication. Defines a solution for businesses, which require flexibility and agility in application-to-application communication over the Internet. Enables dynamic location and invocation of services through service [...]
Filed under: Web Services | Leave a Comment »
Posted on April 17, 2007 by sharat
Distributed transactions. If the environment requires distributed transactions with heterogeneous resources, it should be studied and tested with standard solutions based on BTP, WS-Transactions, and WS-Coordination. Quality of Service (QoS). In case of a mission-critical solution, the service providers must examine the reliability and performance of the service in peak load and uncertain conditions for [...]
Filed under: Web Services | 2 Comments »
Posted on April 17, 2007 by sharat
The Web Services Definition Language (WSDL) standard is an XML format for describing the network services and its access information. WSDL is used as the metadata language for defining Web services and describes how service providers and requesters communicate with one another. WSDL describes the Web services functionalities offered by the service provider, where the [...]
Filed under: Web Services | Leave a Comment »
Posted on April 17, 2007 by sharat
Service provider. The service provider is responsible for developing and deploying the Web services. The provider also defines the services and publishes them with the service broker. Service broker. The service broker (also commonly referred to as a service registry) is responsible for service registration and discovery of the Web services. The broker lists the [...]
Filed under: Web Services | Leave a Comment »
Posted on April 17, 2007 by sharat
Web services can be invoked through XML-based RPC mechanisms across firewalls. Web services provide a cross-platform, cross-language solution based on XML messaging. Web services facilitate ease of application integration using a lightweight infrastructure without affecting scalability. Web services enable interoperability among heterogeneous applications.
Filed under: Web Services | Leave a Comment »
Posted on April 17, 2007 by sharat
Web services are based on the concept of service-oriented architecture (SOA). SOA is the latest evolution of distributed computing, which enables software components, including application functions, objects, and processes from different systems, to be exposed as services. Web services are loosely coupled software components delivered over Internet standard technologies.” Web services are self-describing and modular [...]
Filed under: Web Services | Leave a Comment »
Posted on April 12, 2007 by sharat
What is a design pattern.————————————–“Design patterns are recurring solutions to design problems you see overAlpert, et. al., 1998).“Design patterns constitute a set of rules describing how to accomplish certain tasks in the realm of software development.” (Pree, 1994) How many catogeries are there in Java patterns.————————————————–Creational patterns are ones that create objects for you, rather [...]
Filed under: Design Pattern | 2 Comments »
Posted on April 9, 2007 by sharat
1.What is a design pattern.2.How many catogeries are there in Java patterns.3. How many patterns did you use in your project.4.Give me an example of Creational Patterns.5.What is Singleton pattern. Where did you use it.6.How do you use Factory pattern.7.Can explaing examples of Structural Patterns.8.What is difference between adapter pattern and decorator pattern.9.What is Facade [...]
Filed under: Design Pattern | 5 Comments »
Posted on April 9, 2007 by sharat
1.Can a private method of a superclass be declared within a subclass?2.Why Java does not support multiple inheritence ? 3.What is the difference between final, finally and finalize?4.Where and how can you use a private constructor.5.In System.out.println(),what is System,out and println,pls explain? 6.What is meant by “Abstract Interface”? 7.Can you make an instance of an [...]
Filed under: Java | 1 Comment »
Posted on April 9, 2007 by sharat
1.What is the difference between an Interface and an Abstract class? 2.What is the purpose of garbage collection in Java, and when is it used? 3.Describe synchronization in respect to multithreading. 4.Explain different way of using thread? 5.What are pass by reference and passby value? 6.What is HashMap and Map? 7.Difference between HashMap and HashTable? [...]
Filed under: Java | 7 Comments »
Posted on April 9, 2007 by sharat
1. Factorial finding public class Fact { public static int factorial(int n) { if (n==0) return 1; else return n * factorial(n-1); } public static void main(String argv[]) { int x; x=9; System.out.println(“Factorial of “+x+” is “+factorial(x)); }} 2. Divisible by number public class Divisor{ public static void main(String[] args){ int a [...]
Filed under: Basic Programs | 2 Comments »
Posted on April 5, 2007 by sharat
1.What is DDL and DML ? DDL :- Data defination Language its having four commands Create , Alter , Drop , Truncate DML :- Data manuplation language Insert , Update , Delete , select 2.How can you compare a part of the name rather than the entire name ? SELECT * FROM people WHERE empname [...]
Filed under: Databases | 6 Comments »