This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes SOAP without WSDL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP without WSDL" Watch "SOAP without WSDL" New topic
Author

SOAP without WSDL

swapnil paranjape
Ranch Hand

Joined: May 15, 2005
Posts: 126
Hello Everyone,

I am new to webservices and I have a question . My clinet wants me to write a webservices client to utilise the APIs. He has not provided me WSDL but host and port and want me to send SOAP request to this HOST and PORT and I will get response back.

How should I go about writing this?Can you please provide some pointers? I know for WSDL i could have used AXIS 2 ,but here they have not provided WSDL and just Host and Port. What should I use to develop client?

Thanks
Narender Reddy Soma
Greenhorn

Joined: Jun 05, 2010
Posts: 23
I think you should ask your client for WSDL without any hesitation.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
If your client wants you to send SOAP requests to his/her service, the you must really have a WSDL for, for instance, these reasons (this list is basically for your client ):
  • Defines the format of the request and response payloads that you are to send to and receive from the service.
  • Selects transport to use when sending and receiving messages (thought, this is almost always HTTP).
  • Declares security requirements of the service through policies in the WSDL.
  • Specifies the type of binding used by the service (for instance RPC/Literal or Document/Literal).

  • Best wishes!

    My free books and tutorials: http://www.slideshare.net/krizsan
     
    Don't get me started about those stupid light bulbs.
     
    subject: SOAP without WSDL