Salve a tutti...
Io parto da un file wsdl dato che dovrebbe essere corretto.
Ho tomcat correttamente installato ed all'interno gira axis.
Tramite axis-wsdl2java mi creo i file java lato server, mi crea anche il file impl che devo scrivere io completando i metodi.
Compilo il tutto e metto i file class dentro la cartella cleasses di axis
Faccio il deploy
Ed ottengo ciò:
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - ; nested exception is:
org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for getJobsAccountingInfo was not synchronized to a method of it.polito.pad2.PJSstats.PJSStatsSoapBindingSkeleto n.
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.apache.axis.InternalException: java.lang.Exception: The OperationDesc for getJobsAccountingInfo was not synchronized to a method of it.polito.pad2.PJSstats.PJSStatsSoapBindingSkeleto n.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:Baracca
Dove getJobsAccountingInfo è un metodo che devo implementare io contenuto nel file impl.
Ho provato anche ad non implementarlo ma mi da lo stesso errore. Sapete di cosa si trata?
Grazie