• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

call a siebel webservice through java code(using servlet)

 
Greenhorn
Posts: 16
Hibernate Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi can anyone give me a sample code which demonstrates how to invoke siebel webservice through java(servlet request and response).

Thanks In advance
Pinto
 
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Vivek Pinto
Greenhorn
Posts: 16
Hibernate Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Tim Moores
Saloon Keeper
Posts: 7585
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All major SOAP implementations have tools that can create Java client code for a given WSDL. Check the documentation of whichever implementation you're using; for example, Axis2 has a tool called "wsdl2java" for this.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic