Skip to main content



      Home
Home » Newcomers » Newcomers » web service creation error
web service creation error [message #1221974] Wed, 18 December 2013 23:00 Go to next message
Eclipse UserFriend
I'm trying to create a web service in Eclipse.

Here is my class(testWS.java):

package ws.impl;

public class testWS {

    public float celsiusToFarenheit ( float celsius )
        { return (celsius * 9 / 5) + 32; }
    public float farenheitToCelsius ( float farenheit )
        { return (farenheit - 32) * 5 / 9; }
}


I go to: right click / Web Services / Create Web Service

Then I get the following error message: "The service implementation selected does not follow Java naming conventions."

I'm on JBoss 7.1.1, Java 7 Update 45, Axis2 v1.6.2


index.php/fa/17092/0/
  • Attachment: JBossWS.PNG
    (Size: 115.72KB, Downloaded 1260 times)
Re: web service creation error [message #1221975 is a reply to message #1221974] Wed, 18 December 2013 23:11 Go to previous message
Eclipse UserFriend
This error is due to the class name starting with a small letter. It should be a capital letter.

Running the "Create Web Service" with the "Test Service" option generates the following errors:

IWAB0379E Unable to open localhost:8080/Test_WS/services/TestWS?wsdl.
IWAB0135E An unexpected error has occurred.
WSDLException
WSDLException: faultCode=OTHER_ERROR: localhost:8080/Test_WS/services/TestWS?wsdl

There are no other errors. The server starts normally. No errors in the output. These error messages aren't telling me anything specific enough to be useful.
Previous Topic:Suddenly multiple error messages
Next Topic:kepler / libraries in project
Goto Forum:
  


Current Time: Sun Jun 22 18:07:59 EDT 2025

Powered by FUDForum. Page generated in 0.09767 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top