开发者

Calling webservice with the already generated xml in Java

I need to call a very complex service (It's a HL7 service) it's taking a lot of constant information.

To call from java I need to write all those information and its very time consuming.

I have sample generated XMLs, they have been filled with the constant information, I just need to change 1 para开发者_C百科meter and send it.

More clearly; can I intercept the axis client before sending the request and change the "Request XML"?

Thanks,


If you're talking about testing, and your service uses SOAP and WSDL, maybe SOAP UI can help you. If you point it at a particular WSDL, SOAP UI can generate all the XML and attendent boilerplate for you. All you have to do is fill in the values you need and send the request. SOAP UI will display the response for you.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜