Results 1 to 2 of 2
  1. #1
    sadeghzadeh82 is offline Member
    Join Date
    Apr 2017
    Posts
    1
    Rep Power
    0

    Default send xml file to webservice

    hello
    I want to send a file xml to a ssl webservice.
    how can i do it?
    Thanks

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,342
    Rep Power
    12

    Default Re: send xml file to webservice

    Is the web service ReST based? I.E. using HTTP? If so, you can post with HttpURLConnection Java - sending HTTP parameters via POST method easily - Stack Overflow. If you need more sophistication than that, you'll want an HTTP client, like Apache HTTP Client or Spring Web

Similar Threads

  1. Webservice to start an executable file
    By KKG in forum New To Java
    Replies: 3
    Last Post: 09-30-2013, 09:12 AM
  2. how to post xml file through webservice
    By jackjeryes in forum Networking
    Replies: 0
    Last Post: 05-04-2011, 01:07 PM
  3. Replies: 3
    Last Post: 06-24-2010, 01:38 AM
  4. Getting WebService Annotations in a .class file.
    By carlo@CCS in forum Advanced Java
    Replies: 0
    Last Post: 10-07-2009, 11:13 PM
  5. Replies: 0
    Last Post: 05-18-2008, 08:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •