java.lang.IllegalStateException: No unmarshaller registered. Check configuration of WebServiceTemplate

前端 未结 1 691
庸人自扰
庸人自扰 2021-01-17 17:47

When I send a SOAP request to the server it returns following error. I am not sure how I can configure unmarshaller, I am going to send SOAP requests to multiple webservices

1条回答
  •  逝去的感伤
    2021-01-17 18:23

    It seems that you didn't set the unmarshaller on your webServiceTemplate.

    webServiceTemplate.setMarshaller(marshaller);
    webServiceTemplate.setUnmarshaller(marshaller);
    

    0 讨论(0)
提交回复
热议问题