Send XML file to Web Service using Java
I want to send an XML file to a Web Service. The Web Service is a java application. I know the endpoint of the Web Service. Typically I know I have to create the request and send it as an http/https reques开发者_如何学Pythont.
What I want to know is what would I have to make to send the request - as in what development tool could I use e.g. Visual Web Developer (preffered as I am familiar with this) or Visual Studio? And what sends the request - e.g. another Web Service, a Website etc?
Where do I even begin with this?
Any comments are much appreciated.
Where do I even begin with this?
One purpose of a Webservice is loose coupling. So it depends on what you want to do. You can write a simple program in what ever language which constructs a request and sends it. You can write a Webservice on its own which uses the other Webservice to handle it's own requests. You can handle this in a very simple or complex way. You only need to be able to generate a request (per xml) and send it.
精彩评论