Exforsys.com
 
Home Tutorials SOA Web Services
 

SOA Web Services - WSDL for Java Web Service

 

WSDL for Java Web Service

The WSDL is shown in the following listing.



 


Sample Code
  1. <definitions targetnamespace="http://endpoint/" name="HelloService"></definitions>
  2.  
  3. <types></types>
  4. <xsd:schema>
  5. <xsd:import schemalocation="http://DRSARANG:8080/Hello/HelloService/__container$pu
  6. blishing$subctx/WEB-INF/wsdl/HelloService_schema1.xsd" namespace="http://endpoint/">
  7. </xsd:import>
  8. </xsd:schema>
  9.  
  10.  <message name="SayHello"></message>
  11.  <part name="parameters" element="tns:SayHello"></part>
  12.  
  13.  <message name="SayHelloResponse"></message>
  14.  <part name="parameters" element="tns:SayHelloResponse"></part>
  15.  
  16.  
  17.  <porttype name="Hello"></porttype>
  18.  <operation name="SayHello"></operation>
  19.  <input message="tns:SayHello" />
  20.  <output message="tns:SayHelloResponse"></output>
  21.  
  22.  
  23.  
  24.  <binding name="HelloPortBinding" type="tns:Hello"></binding>
  25.  <soap:binding transport="http://schemas.xmlsoap.org/soap/http">
  26.  </soap:binding>
  27.  <operation name="SayHello"></operation>
  28.  <soap:operation soapaction="></soap:operation>
  29.  <input />
  30.  <soap:body use="literal"></soap:body>
  31.  
  32.  <output></output>
  33.  <soap:body use="literal"></soap:body>
  34.  
  35.  
  36.  
  37.  <service name="HelloService"></service>
  38.  <port name="HelloPort" binding="tns:HelloPortBinding"></port>
  39.  <soap:address location="http://DRSARANG:8080/Hello/
  40. HelloService"></soap:address>
  41.  
  42.  
  43.  
Copyright exforsys.com



If you examine this document carefully against the BP conformance requirements, you will find that this file is 100% BP compliant. Thus, to import this as a reference in the .NET client, when we develop it later, would be very easy.



Read Next: SOA Web Services - Developing the .NET Web Service



 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape