Link to home
Start Free TrialLog in
Avatar of QGSmith
QGSmithFlag for South Africa

asked on

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

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
WSDL.txt
SOLUTION
Avatar of krishna kishore mellacheruvu venkata
krishna kishore mellacheruvu venkata
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of QGSmith

ASKER

I have modified the sample found here :

http://users.skynet.be/pascalbotte/rcx-ws-doc/saajpost.htm#ID1-6-2

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

Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of QGSmith

ASKER

Did not come right.