mardi 5 septembre 2017

Web service Error undefined port type

I have really a strange problem that I keep looking for solution in google for 4 hours today. And I desperately looking for a solution. The error is : Undefined port type: {http://ift.tt/2wCZTAo}ESBWriteMessageService

URL url = new URL("http://ift.tt/2vHjzG1");
QName qname = new QName("http://ift.tt/2wCZTAo", "ESBWriteMessageServiceService");

Service service = Service.create(url, qname);
ESBWriteMessageService msg = service.getPort(ESBWriteMessageService.class);
msg.writeCSVServiceWeb("test cals ws");

I have tested a lot of solutions like : add qname as argument in getPort but i have the same problem

thanks for help




Aucun commentaire:

Enregistrer un commentaire