Open remcollier opened 4 years ago
and my code stopped working...
How does that code look like? What is it supposed to do? Sharing a workaround is not enough for anyone willing to look at why some arbitrary, currently unknown, code stopped working...
Hi,
Don't know if this is any use, so please feel free to ignore. I recently moved from Java 8 to Java 11 and my code stopped working... I fixed all the dependency issues and moved to metro but it still did not work as previously. The problem seems to be with the behaviour of
Endpoint.publish(...)
which used to deploy the service and the WSDL document. With release 2.3.3, the WSDL document was not published. Instead, I had to use the code below as a workaround:Maybe this is on purpose and is now best practice, but in that case, the problem I faced was that I could not find any documentation anywhere that explained this change...
Perhaps I am doing something stupid... The dependencies I am using for my code are: