I am trying to create a web service from the following java class:
While creating the web service and I first get this warning:
The service class "CVPassword" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly.
The value type "com.corda.cvserver.admin.AdminBean" used via the service class "CVPassword" does not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the value type during deserialization.
I dont think this would cause a problem because I am not returning an instance of
adminBean from any function.
The webservice starts up fine and just for testing purpose i want to see if my heyprint method could be invoke, but when I try to do so I get this error:
Why does adminBean have anything to do with my heyprint method?
Here is the wsdl file if that helps at all
Joined: Jun 10, 2009
I checked the errors and found under warnings:
Classpath entry C:/Documents …/CenterViewServer.jar will not be exported or published. Runtime ClassNotFoundExceptions may result.
Fell like this should have gone under errors...
This lead to quick fix that solved my problems:
Mark the associated raw classpath entry as a publish/export dependency.