Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes need help with SOAP client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "need help with SOAP client" Watch "need help with SOAP client" New topic
Author

need help with SOAP client

laxmikant upadhyay
Greenhorn

Joined: Aug 24, 2012
Posts: 14
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

Joined: Aug 24, 2012
Posts: 14
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....
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

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

Joined: Aug 24, 2012
Posts: 14
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

Joined: Aug 24, 2012
Posts: 14
hi,
i have successfully created demo code for web service and client with available wsdl file using axis2 too.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need help with SOAP client
 
Similar Threads
Urgent !
urgent
Urgent
Urgent
urgent