Cannot create Java Webservice in Eclipse -


I would like to create a web service in Eclipse I have already written a class and have made it a WSDL file from Java 2 WSDL. Introduced a new "dynamic web project" and added axis 2 aspect for it. After that I wanted to create a new "web service" project when I now select my WSDL file and click "finish" I get the following error:

IWAB0399E generated from WSDL from Java Error in doing: java.io.IOException: Error: The missing element "exception" in the fault "exception" in operation,

One problem is that your compile and accessse service is HttpBinding Adhykari is no exception fault defined operation. This should be something like this:

& Lt; Wsdl: operation name = "execution" & gt; & Lt; Http: operation location = "compile and access service / execution" /> & Lt; Wsdl: input & gt; & Lt; Mime: content type = "text / xml" part = "execute" /> & Lt; / Wsdl: Input & gt; & Lt; Wsdl: Production & gt; & Lt; Mime: content type = "text / xml" part = "execute" /> & Lt; / Wsdl: Production & gt; & Lt; Wsdl: name of fault = "exception" & gt; & Lt; Soap 12: Fault usage = "literal" name = "exception" /> & Lt; / Wsdl: error & gt; & Lt; / Wsdl: operation & gt;

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -