• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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: 43011
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.
 
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
create, convert, edit or print DOC and DOCX in Java
https://products.aspose.com/words/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!