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
QGSmithAsked:
Who is Participating?
 
QGSmithAuthor Commented:
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
0
 
krishna kishore mellacheruvu venkataCommented:
0
 
QGSmithAuthor Commented:
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
0
 
krishna kishore mellacheruvu venkataCommented:
If this is the destination webservice URL

https://equities.rmb.co.za/rmb-portal-primebroking-services/axis/FICCWS
you need to give as

https://equities.rmb.co.za/rmb-portal-primebroking-services/axis/FICCWS?userName=<userName>&password=<password>

Note you need to ask the destination about input parameters for userName and Pasword.
0
 
QGSmithAuthor Commented:
Did not come right.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.