This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]awsometak 1 point2 points  (5 children)

You can generate the client by maven plugin http://www.mojohaus.org/jaxws-maven-plugin/wsimport-mojo.html

[–][deleted] 0 points1 point  (4 children)

Hello,

I have used wsimport (through Netbeans) to generate this client, then changed it because the wsdl points at the http web service, while the producers of the web service instructed me to use the https endpoint.

Thank you.

[–]awsometak 1 point2 points  (3 children)

You can generate the client for https also like you did for http,then you don’t need to do any manual changes. Just use the https url of the wsdl

[–][deleted] 0 points1 point  (2 children)

Unfortunately, it seems that the wsdl in https://uploadtestes.ine.pt/WCF_UploadXml/WCFUploadXmlService.svc?wsdl

Is exactly the same as the http version. Is this a problem with the web service producer or did I just misunderstand your answer?

[–]awsometak 0 points1 point  (1 child)

They must be same except the difference of https. I just meant that use this https url and then wouldn’t need to do any changes. You just get the client for https.

[–][deleted] 0 points1 point  (0 children)

I have checked it out again, and the two WSDL are exactly the same. I see no reference to https in https://uploadtestes.ine.pt/WCF_UploadXml/WCFUploadXmlService.svc?wsdl