Sample WSDL File Created By Apache Axix 1.3 From A Simple Java File

This is not a WSDL tutorial. I am simply posting a simple Java file and the corresponding WSDL file created by Apache Axix 1.3. This was done using IBM’s Rational Software Architect (RSA) which is equivalent to eclipse IDE.

The java file:

package com.webservice;

public class HelloWebservice {
	public String sayHello (String name)
		return "Hello"+name;


The above file was converted to WSDL file by Apache Axix 1.3. The following is the generated .wsdl file.

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="" 
xmlns:impl="" xmlns:intf="" 
<!--WSDL created by Apache Axis version: 1.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
  <schema elementFormDefault="qualified" targetNamespace="" 
   <element name="sayHello">
      <element name="name" type="xsd:string"/>
   <element name="sayHelloResponse">
      <element name="sayHelloReturn" type="xsd:string"/>
   <wsdl:message name="sayHelloResponse">
      <wsdl:part element="intf:sayHelloResponse" name="parameters"/>
   <wsdl:message name="sayHelloRequest">
      <wsdl:part element="intf:sayHello" name="parameters"/>
   <wsdl:portType name="HelloWebservice">
      <wsdl:operation name="sayHello">
         <wsdl:input message="intf:sayHelloRequest" name="sayHelloRequest"/>
         <wsdl:output message="intf:sayHelloResponse" name="sayHelloResponse"/>
   <wsdl:binding name="HelloWebserviceSoapBinding" type="intf:HelloWebservice">
      <wsdlsoap:binding style="document" transport=""/>
      <wsdl:operation name="sayHello">
         <wsdlsoap:operation soapAction=""/>
         <wsdl:input name="sayHelloRequest">
            <wsdlsoap:body use="literal"/>
         <wsdl:output name="sayHelloResponse">
            <wsdlsoap:body use="literal"/>
   <wsdl:service name="HelloWebserviceService">
      <wsdl:port binding="intf:HelloWebserviceSoapBinding" name="HelloWebservice">
         <wsdlsoap:address location="http://localhost:8080/WebServiceTutorial/services/HelloWebservice"/>

[My Video Promotion]
  1. How to import SSL Certificate to IBM Websphere Server through admin console
  2. How to display UTF-8 characters in Eclipse / RAD Console
  3. How to force HTTPS use in a Java Web Application
  4. How to easily add SSL Certificates to IBM Websphere Server
  5. What Are The Differences Between SAX and DOM Parsers?
  6. Sample WSDL File Created By Apache Axix 1.3 From A Simple Java File
  7. Converting Java Object To SOAP Request And Response XML
  8. How To Set Conditional Debug Breakpoints in Eclipse or IBM RAD?
  9. Generating XML File Using Java Streaming API for XML (StAX) – A Clean Tutorial
  10. How to change the author name in Eclipse Generated java comments?
  11. How to use spaces in IBM RAD or Eclipse Instead of Tabs
  12. What is XML Pull Parsing?
  13. Complete Tutorial On Using SOAP-UI to Mock Web Service Request / Response
  14. How to delete saved SVN password from Eclipse IDE?
  15. How to increase the number of recent workspaces in the eclipse based IBM RAD (Rational Application Developer) IDE?
Tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.