How to convert a string to a SOAPMessage in Java?

前端 未结 6 929
轻奢々
轻奢々 2020-12-23 21:38

I wonder is there any way to convert a string to SOAPMessage?

Let me say I have a string as follows:

String send = "

        
6条回答
  •  鱼传尺愫
    2020-12-23 22:15

    Instead of:

    System.out.println(response.getContentDescription());
    

    Replace it with following line after getting the response:

    response.writeTo(System.out);
    

提交回复
热议问题