Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: How to call webservice in java?

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post How to call webservice in java?

    I have to use the webservice created in .net in my java application(in netbeans).How to do this..pls give me the solution..


  2. #2
    Super Moderator Sean4u's Avatar
    Join Date
    Jul 2011
    Location
    Tavistock, UK
    Posts
    637
    Thanks
    5
    Thanked 103 Times in 93 Posts

    Default Re: How to call webservice in java?

    What kind of webservice is it? If it's something like SOAP, you'll have to use a SOAP api - there are a couple in the JDK. You'll need to do a lot of searching / reading, since there's quite a lot to it. If the service offers plain old XML, JSON or some simpler format, it can be easier to write Java that uses it.

    pls give me the solution..
    No. Do some research and attempt your own solution. If it doesn't work, post back with your code / errors / wrong output and maybe someone will have a look at it.

  3. #3
    Member Darryl.Burke's Avatar
    Join Date
    Mar 2010
    Location
    Madgaon, Goa, India
    Posts
    489
    Thanks
    8
    Thanked 45 Times in 43 Posts

    Default Re: How to call webservice in java?

    How to consume the .net dataset in java client web service?

Similar Threads

  1. Call by Reference & Call by Value
    By Lokesh in forum Java Theory & Questions
    Replies: 1
    Last Post: February 21st, 2011, 12:19 PM
  2. Get dataset from .Net webservice by java desktop client
    By doikhongcodon in forum Member Introductions
    Replies: 1
    Last Post: December 23rd, 2010, 09:12 PM
  3. call win32 api from java
    By bapu in forum Java Native Interface
    Replies: 3
    Last Post: November 7th, 2010, 08:42 AM
  4. call recording throuph java
    By 7121987 in forum Java ME (Mobile Edition)
    Replies: 1
    Last Post: April 29th, 2010, 04:12 PM
  5. Java Webservice problem (Array)
    By Gadge in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 10th, 2010, 10:06 AM