Is there a way to generate Java classes for a SOAP request message from a given WSDL?
I tried with wsimport and wsdl2java but both didn't generate the request source.
Want I want to achive is to generate all this SOAP stuff especially with the correct structure of the SOAPElements.
...
SOAPEnvelope envelope = soapPart.getEnvelope();
envelope.addNamespaceDeclaration(myNamespace, myNamespaceURI);
SOAPBody soapBody = envelope.getBody();
SOAPElement soapBodyElem = soapBody.addChildElement("Name", myNamespace);
SOAPElement soapBodyElem1 = soapBodyElem.addChildElement("otherName", namespaceData);
....
question from:
https://stackoverflow.com/questions/65843000/generate-java-classes-for-soap-request-from-wsdl 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…