Never mind. The WSDL file generated using "java2wsdl" had """ around the location as in...
<wsdlsoap:address location=""http://umayekar:8150/axis/services/calculator""/>
removed those and its working now.
~unmesh.
Unmesh Mayekar <[EMAIL PROTECTED]> wrote:
Unmesh Mayekar <[EMAIL PROTECTED]> wrote:
I get this exception when I run wsdl2java. NOTE that the url is plain "http" and NOT "https". Doesnt the jvm by default include a protocol handler for "http"? What could I be doing wrong?java.io.IOException: Emitter failure. Invalid endpoint address in port Calculat
or in service CalculatorServiceLocator: "http://hostname:8150/axis/services/calculator"
at org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaServiceImplWriter.java:192)
at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:148)
at org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWriter.java:101)
at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:284)
at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:328)
at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:82)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:246)
at java.lang.Thread.run(Thread.java:536)This is the command I used to run wsdl2java...java -classpath d:\programs\axis-1_1lib\axis.jar;d:\programs\axis-1_1\lib\axis-ant.jar;d:\programs\axis-1_1\lib\commons-discovery.jar;d:\programs\axis-1_1\lib\commons-logging.jar;d:\programs\axis-1_1\lib\jaxrpc.jar;d:\programs\axis-1_1\lib\log4j-1.2.8.jar;d:\programs\axis-1_1\lib\saaj.jar;d:\programs\axis-1_1\lib\wsdl4j.jar org.apache.axis.wsdl.WSDL2Java -od:\data\java -dSession -s -ptest.axis.calculator.webservice calculator.wsdlAny help is appreciated.~unmesh.
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
