How to get SEI class at client side in dynamic client
posted 1 year ago
Here in the below snippet of dynamic client, how you will get the SEI class physically at client side? If through wsimport then it can give me other artificats also. Then what is the use of this dynamic client? Artifacts will generate normal client also. I will use that. I thought dynamic means I only need wsdl url thats it!!! Am I missing something else?
//stand code for dynamic client
URL url = new URL("wsdl_url");
QName qname = new QName("<target_namespace>", "<service_name_from_wsdl>");
Service service = Service.create(url, qname);
// Extract the endpoint interface, the service "port".
TimeServer eif = service.getPort(TimeServer.class);//SEI class name