I want to use org.apache.cxf.binding.soap.SoapMessage and org.apache.cxf.message.Message for testing of SOAP Web-service. I have project and .xml and .msg files for tests, but I don't know, how can I create message with cxf.binding.soap.SoapMessage and send this message into WS. I have this steps in project:
- Upload xml or msg file
- Create SoapMessage and Message variables
- Try create SoapMessage and overwrite this messgae with security header, which contains information about cert
- Send this message into WS and get response
But I catched java.lang.NullPointerException into SoapMessage. Please, give me advice or some links, which show me how I can correctly create SoapMessage and send it. UPD: Also, I asked about SoapMessage here but I haven't exact answer
Aucun commentaire:
Enregistrer un commentaire