axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soumyajit Paul <>
Subject wsdl:types are blank in generated WSDL with axis2
Date Tue, 22 Dec 2009 19:54:46 GMT
       I am using TOMCAT 6.0.20 with axis2 1.5. After deploying the service with simple
HelloWorld class like this 
public class HelloWorld {
public String sayHello(String name){
return "Hello "+name;
and with Services.xml like this
This is my first service, which says hello
<parameter name="HelloWorldService"></parameter>
<operation name="sayHello">
<messageReceiver mep=""
I am getting the generated wsdl like the following after deploying HelloWorldService.aar file
in  /webapps/axis2/services
<?xml version="1.0" encoding="UTF-8" ?> 

- <wsdl:definitions xmlns:wsdl="" xmlns:axis2=""
xmlns:soap12="" xmlns:http=""
xmlns:mime="" xmlns:wsaw=""
xmlns:soap="" targetNamespace="">

  <wsdl:types /> 

  <wsdl:message name="sayHelloRequest" /> 

  <wsdl:message name="sayHelloResponse" /> 

- <wsdl:portType name="HelloWorldServicePortType">

- <wsdl:operation name="sayHello">

  <wsdl:input message="axis2:sayHelloRequest" wsaw:Action="urn:sayHello" /> 

  <wsdl:output message="axis2:sayHelloResponse" wsaw:Action="urn:sayHelloResponse" />

Please note that wsdl:type is blank. 
Accordingly it generates incorrect client stub class. Please confirm.

      The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
View raw message