Answer the question
In order to leave comments, you need to log in
Is it possible to parse soap response?
Hello. I don't know what to think anymore. Maybe someone can help.
There is a soap webservice with a method String test1(in param); (Pay attention to the returned response).
in wsdl it is described so and here the problem is probably and in fact there is no way to fix it.
wsimport (Spring Boot application) generates :
@WebMethod(action = "urn:getTest1")
@WebResult(name = "getTest1Response", targetNamespace = "http://test/", partName = "body")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public String getTest1(
@WebParam(name = "getTest1", targetNamespace = "http://test/", partName = "body")
GetTest1InParams inParams);
<getTest1Response>
<tag1></tag1>
//......
<tagN></tagN>
</getTest1Response>
<getTest1Response>
простой текст
</getTest1Response>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question