Search Binary Spectrum
Home | Resources | Sitemap | Support
Binary Spectrum
   
Enterprise Application Integration
Application development and Maintenance
Service Oriented Architecture
Sun Java Composite Application Platform Suite
JCAPS - eGate Integrator
Portal Server and the Java Composite Application Platform Suite
eInsight Business Process Manager
SOA and Java-Introduction
SOA And Java-The Service layer
SOA and Java-Web Services Description Language
SOA and Java-Building the Service Layer in Java
Enterprise Service Bus
Enterprise Service Bus - Use case Scenario
Technology
Healthcare
Retail
Service-Oriented Architecture and Java - Service layer and Web Services Description Language (WSDL)

Following up on the series "SOA and Java" where we analyze the technologies available in the Java space to build service-oriented applications, let us look at the service description of the Service Layer among the different layers of Service Oriented Applications.

The most important aspect of a service is the service description. When Web Services is used as the implementation technology for SOA, the messages and operations of the web service is described by Web Services Description Language (WSDL).

Shown below is an example of the WSDL for the “Time Service” web service which includes the port, operations, and message types.

<?xml version="1.0" encoding="UTF-8"?> 
<definitions name="MyTimeService" 
  targetNamespace="urn:oracle-ws"
  xmlns:tns="urn:oracle-ws"
  xmlns="http://schemas.xmlsoap.org/wsdl/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types/>
<message name="TimeService_getDateTime">
<part name="String_1" type="xsd:string"/></message>
<message name="TimeService_getDateTimeResponse">
<part name="result" type="xsd:string"/></message>
<portType name="TimeService">
<operation name="getDateTime" parameterOrder="String_1">
<input message="tns:TimeService_getDateTime"/>
<output message="tns:TimeService_getDateTimeResponse"/>
</operation>
</portType>
<binding name="TimeServiceBinding" type="tns:TimeService">
<operation name="getDateTime">
 
<input>
<soap:body
  encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
  use="encoded"
  namespace="urn:oracle-ws"/>
</input>
 
<output>
  <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    use="encoded"
    namespace="urn:oracle-ws"/>
</output>
 
<soap:operation soapAction=""/></operation>
 
<soap:binding
  transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
</binding>
 
<service name="MyTimeService">
 
<port
  name="TimeServicePort"
  binding="tns:TimeServiceBinding">
  <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
</port> 
 
</service> 
 
</definitions> 

Regardless of whether the Web Service based on the above WSDL is built using .Net technology or Java technology, it must support the operations and messages described in the WSDL.

Next in this series is, Building the Service Layer in Java

Binary Spectrum, a Microsoft Gold certified partner and a member of theSun Partner Advantage Programhas years of expertise in designing and developing custom software and integrated solutions, the services include various types of SOA implementations Enterprice Service Bus (ESB) implementations and Java Composite Application Platform Suite (CAPS) implementations, device integration and, help desk management, inventory and stock control, manufacturing requirement process, client appointment management, document reference and encyclopedia search engines.

If you are interested in outsourcing software development or would like to find out more about our services and offerings, please get in touch with us. You might want to send us a mail, or simply contact us at info@binaryspectrum.com. A senior member of our customer engagement team will get in touch with you within 24 hours.

 
 
 
 
 

Privacy | Terms of use | Blog | EMR | EHR | Retail | MS.NET | Wireless | Design | Healthcare Areas | Knowledge bank | Healthcare Stat-license | Retail - Store Operation

© 2003 Binary Spectrum All Rights Reserved