Win a copy of Rust Web Development this week in the Other Languages forum!

wil loo

Greenhorn
+ Follow
since Apr 24, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by wil loo

Hi Peer Reynders, thanks for your all-sided info. Like you can tell and I can guess, there are many ways to do the task (sending file via ws) and I don't have strong sense for which option will suit my situation (have done some research but still ... ws is fair big topic). So to aim the task I got, here is the story.

In the application user sometimes would like to send a fax, which takes a pdf file as attachment, and the fax server locates on a different box from the app server. So there will be a webservices on the fax server to take fax_no etc and the pdf attachment as parameters. The App will generate the pdf file and transform it to base64 encoded data and then invoke the ws when triggered by users. This is the current solution, and business client has provided the wsdl, they have done the ws provider part using .NET (vb), and I will implement ws client side using java.

The pdf file will be around 10kb, and we don't want the app's performance heavily affected by this action (the overhead caused by file transform, webservices, etc.). Because as you know I don't have much exp on webservice, I cannot see the full picture of what would be the best solution to this. Could you advise the best solution we can have nowadays, so that I can suggest business client? BTW: the java version 1.3, j2ee 1.2, Websphere App Server 5.1

Thank you very much for your help!
13 years ago
Hi,

I am new to webservices. I've tried how to invoke external webservices which uses HTTP GET binding (passing in parameter using URL). My question is how to invoke external webservices which uses SOAP1/2 binding? My intention is to pass file over internet by encoding the file into byte array and take it as one of parameters. On the other side, the webservices provider will decode the byte array string back to file. Because the file size will be around 10k, I can only use SOAP binding, am I right about this? If so, how to invoke this webservice in the java client side? Any advice or link will be appreciated.
13 years ago