JAVA code needed to consume AXIS web Service that Returns XML File

Posted on 2012-08-20
Last Modified: 2012-09-01
I am new to JAVA (usually code in .net) and would like a code example that accomplishes the following,

I need to connect to the AXIS web Service using a UserName and Password
I need to pass 3 parameters to the Web Service (See attached WDSL file that shows parameters)
I need to pass/save the returned data as an XML file. The Returned data is binary and is octet encoded.

Please could someone help me as I'm new to JAVA an it will take me forever to try and figure out how to do this. Thanks
Question by:QGSmith
    LVL 10

    Assisted Solution

    by:krishna kishore mellacheruvu venkata

    Author Comment

    I have modified the sample found here :

    but now how do I pass a User Name and Password using Basic Authentication ?

    LVL 10

    Assisted Solution

    by:krishna kishore mellacheruvu venkata
    If this is the destination webservice URL
    you need to give as<userName>&password=<password>

    Note you need to ask the destination about input parameters for userName and Pasword.

    Accepted Solution

    Thanks for all the reponses but I am out of my depth here. I can't come right even with the tutorials. I am now trying to put together a web services call from within the .net environment and will post any questions to the .net support group. Thanks

    Author Closing Comment

    Did not come right.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This is an explanation of a simple data model to help parse a JSON feed
    A short article about problems I had with the new location API and permissions in Marshmallow
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
    This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now