Hi all,
I am trying to develop a web service client (for a
test web service developed locally) using WSDL2Java tool from axis -1.4.
I tried searching in older posts but those problems didn't seem to match mine..
I supplied wsdl url (
http://localhost:8080/Test/ImageService/imagestore.wsdl) and ran the tool and obtained the following:
java.io.IOException: Emitter failure. Invalid endpoint address in port ImageSoap11 in service ImageServiceLocator: /ImageService/
at org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaServiceImplWriter.java:242)
at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
at org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWriter.java:112)
at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
at java.lang.Thread.run(Unknown Source)
My wsdl looks as:
Please note [ soapAction="" ] in above xml, I read in some other forum that this is dynamically decided and meant to be empty
string. Hope it is not cause for the exception.
Please help me with this... Any kind of pointers will be help full.
Thanks in advance
Aravind