I have created a very simple php web service, which is not having the WSDL. I find a way to call it from the java application.
String endpoint = "http://localhost/webser/simple_server.php";
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName( new QName("urn://tyler/req") );
String ret=(String)call.invoke("readfat",new Object[]{});
System.out.print(ret);
It works fine and gives the output. But it need external jar files like axis1-3.jar,commons-discovery, commons-logging.....etc. I want to know whether there is a way to consume a web service without any external dependancies?. My actual need is to consume the web service from an Applet. So I cannot tolerate the external depepndancies. can JAX-WS be used for this purpose?