This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Transfer Object via firewall Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Transfer Object via firewall" Watch "Transfer Object via firewall" New topic
Author

Transfer Object via firewall

Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
I swear I'm not lazy but one of my university project is to design a solution that can transfer object via proxy (web service) and I don't have any idea how to do it.
Now I learn WSDL structure and I will start JAX-RPC in next days,the project have 2 mode local mode and remote mode. Local mode work with RMI and is finished. Now is time for remote mode(SOAP and webservice).
I should encode object (exp. Base64) and send them to other receiver but I don't have any idea how to do it please help me in:
1)What mode of transfer I should use: RPC or Literal ?
2)How should I.... ? <---- This is very clear question isn't it.

IN SUMMARY: I NEED SOLUTION TO TRANSFER OBJECT VIA WEBSERVICE HOW CAN I PERFORM THAT?


Reza
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41181
    
  45
Start with an introductory article on WS (have a look at the WS FAQ) - most of them illustrate sending an integer or string and receiving the same back. If you can encode the object somehow in a string, like you indicate, it should be a piece of cake to adapt the example for your purposes.


Ping & DNS - my free Android networking tools app
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
Thank you ULF I will check the FAQ
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
I saw FAQ there were lots of Information can you please tell me which one to study.
thanks
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Reza Rawassizadeh:
I saw FAQ there were lots of Information can you please tell me which one to study.
thanks


You can use the Apache Axis examples as a start..escp
example5.
>>1)What mode of transfer I should use: RPC or Literal ?
Literal
>>I should encode object (exp. Base64) and send them...
Why you want to encode object with base64 ???


Spritle Software Blogs
Reza Ravasizadeh
Ranch Hand

Joined: Jun 08, 2004
Posts: 177
I think to put them in soap I should encode them because I don't have info about their structure. and I just want to receive something and ....---> pass my University Lesson and get rid of it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transfer Object via firewall
 
Similar Threads
Data.close() is it needed?
gui side commandline parameters
NX: Questions about properties and security manager.
Local/Remote implemetation Advice PLEASE !
problem while moving the java project from windows environment to FreeBSD in ASCII mode.