Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Transfer Object via firewall

 
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?
 
Rancher
Posts: 43016
76
  • 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 Rav.
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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.
    Bookmark Topic Watch Topic
  • New Topic