?
Solved

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

Posted on 2012-08-20
5
Medium Priority
?
533 Views
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
WSDL.txt
0
Comment
Question by:QGSmith
  • 3
  • 2
5 Comments
 
LVL 10

Assisted Solution

by:krishna kishore mellacheruvu venkata
krishna kishore mellacheruvu venkata earned 1000 total points
ID: 38314570
0
 

Author Comment

by:QGSmith
ID: 38316488
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
 
LVL 10

Assisted Solution

by:krishna kishore mellacheruvu venkata
krishna kishore mellacheruvu venkata earned 1000 total points
ID: 38316804
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
 

Accepted Solution

by:
QGSmith earned 0 total points
ID: 38339844
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
 

Author Closing Comment

by:QGSmith
ID: 38356923
Did not come right.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month15 days, 1 hour left to enroll

839 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