This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transfer Object via firewall

 
Reza Ravasizadeh
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Reza Ravasizadeh
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you ULF I will check the FAQ
 
Reza Ravasizadeh
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I saw FAQ there were lots of Information can you please tell me which one to study.
thanks
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ???
 
Reza Ravasizadeh
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic