Hi Christine,
the uri of the wsdl is good.I explain to you:
My web service has two parts. In the first part, the web service save the data in one database. In the second part, the web service make one .pdf file with the data.
When run client, I have the exceptions, but the data are saved in the database.
The source code of the client is:
package cliente_preinscripcion;
import javax.xml.rpc.Stub;
public class cliente {
private String endpointAddress;
public static void main(String[] args) {
System.out.println("Endpoint address = " + args[0]);
try {
Stub stub = createProxy();
stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, args[0]);
ServicioIF preinscripcion = (ServicioIF)stub;
preinscripcion.preinscribir("76256","Rodriguez","Ayuso","Antonio","Jose Menendez Pidal","2","2A","Merida","Badajoz","06800","M",
"6841159","
[email protected]","SI"," "," "," ","No"," ","Universidad de Extremadura","Cient�fico-Tecnolog�as",
" "," ","P.A.U.","ITT TELEMATICA","INGENIERIA TELECOMUNICACIONES","ITT EQUIPOS ELECTR�NICOS"," "," "," "," ");
} catch (Exception ex) {
ex.printStackTrace();
}
}
private static Stub createProxy() {
return (Stub)(new PreinscripcionService_Impl().getServicioIFPort());
}
}
The function preinscribir (service), call to the functions than save the data in database and make the pdf file.
thank you, and I'm sorry, my english is very bad.
[ November 18, 2004: Message edited by: antonio rodriguez ayuso ]