1) What is a "servicename" in jax-ws and 2) unable to parse valid XML
The webservice endpoint ( the server ) is not under my control, but it expects an XML document with a specific DTD, using HTTP. No WSDL.
I have the DTD(s), and I have "compiled" them to generate the Java classes using JAXB 2.0.
So these are all I have .... DTDs, and the generated Java classes from the DTDs.
I am able to marshall and unmarshall fine. When marshalling, I marshall to a StringWriter and writing the contents / buffer of the StringWriter to the http output stream ( using Jakarta HttpClient ), like so: