thank you very much for this tutorial,
i have a problem when i want to connect my web service to mysql database
in a java project, i have created a package named: com.server which has a class named: Base.
this class contains a method named connect()
i have added a main method to test the connection and it works very well.
now, the problem is in the following step:
i want to create a web service
i select the Base.java file Right click and Web Services -> Create Web Service
the Web Service window appears, when i click next i have the following message:
"The service class "com.server.Base" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly.
The method "connect" on the service class "com.server.Base" uses a data type, "java.sql.Connection", that is not supported by the JAX-RPC specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result."
how can i connect my web service to my database correctly?
& thank you again for this tutorial :D
Recent comments
12 years 50 weeks ago
13 years 1 day ago
13 years 1 week ago
13 years 3 weeks ago
13 years 3 weeks ago
13 years 3 weeks ago
13 years 4 weeks ago
13 years 4 weeks ago
13 years 5 weeks ago
13 years 5 weeks ago