• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

need help with SOAP client

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am new in webservices. i need a simple soap client (which send an image as mime message as attachment ) as well as server side code which handles the request and show the size of the attachment.
please help me with this. its urgent....
 
laxmikant upadhyay
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Acually the client need to invoke a method of server which takes mimemessage as input paramente and retuns its size. how should i go ahead.please suggest....
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We all have urgent stuff to deal with...

You need to encode the image in the SOAP request, decode it at the server, and return a SOAP response.

What are your inputs to the service (request) and what are the outputs (response).

Code these as java objects, then generate the WSDL. Generate the client from the WSDL, host the webservice and you're done.

Easy.

WP
 
laxmikant upadhyay
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi William,
thank you so much for your reply.
do you have any sample code or any link which can be helpful for me.

thanks
Laxmikant
 
laxmikant upadhyay
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i have successfully created demo code for web service and client with available wsdl file using axis2 too.
reply
    Bookmark Topic Watch Topic
  • New Topic