axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Butek" <>
Subject Re: Errors creating java files through "Wsdl2java"
Date Thu, 07 Feb 2002 13:28:11 GMT
I suspect you did not specify the --location option.  That option is
required.  Otherwise WSDL is generated that doesn't have a location in the
service clause and WSDL2Java fails for the reason given.

We've fixed Java2WSDL since alpha3 so that it doesn't run without a

Russell Butek

"Lakshmi Prasad" <> on 02/07/2002 06:08:36 AM

Please respond to

To:   <>
cc:   <>
Subject:  Errors creating java files through "Wsdl2java"

Hi All ,

I am new to Axis and I have downloaded alpha3. I am  trying to run the
The samples are working fine but I struck at a  particular example i.e.,
I have generated a "wsdl" file by using tool  "Java2wsdl".for the example
Calculator.class in sample/userguide/example2  directory.

But when I try to generate Java Files  from this wsdl file using
"wsdl2java" tool  I get the following  Errors. Can some one help me

I am giving the following commands through command  line
C:\axis\samples>java  org.apache.axis.wsdl.Wsdl2java calculator.wsdl Emitter  failure.  Cannot find endpoint address in
port CalculatorPort in service  Calculator
         at  org.apache.axis.wsdl.JavaWriter.write(
         at  org.apache.axis.wsdl.Emitter.emit(
         at  org.apache.axis.wsdl.Emitter.emit(
         at  org.apache.axis.wsdl.Emitter.emit(
         at org.apache.axis.wsdl.Wsdl2java.main(

awaiting an early reply.
Thanks in advance.


View raw message