Tim Moores wrote:A WS is generally invoked via SOAP or REST, not through a servlet. If you're asking how to invoke a WS from within a servlet, then that doesn't differ from how you'd invoke it from any other piece of Java code. Maybe I'm misunderstanding what you're asking?
Hi Tim
!,I would be very grateful if you post a piece of code which demonstrates how to call webservice in java,,,,Actually as you said there is no doubt that the WS is called through SOAP or REST....My requirement is to call siebel webservice from a application...that is i have wsdl file that should be input to the call which will talk to siebel db and xml will be sent back as result and after xslt its displayed on UI...
let me put this in diff way...when we use SOAP UI,the output is XML format na!Which is not userfriendly!!so i am doing a application(webpage)in which i want to call siebel webservice which will pull data from siebel database!!!Hope you got my point.