• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Transfer Object via firewall

 
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you ULF I will check the FAQ
 
Reza Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I saw FAQ there were lots of Information can you please tell me which one to study.
thanks
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic