File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes in SAAJ, must I use a servlet at the service side to get the httprequest and ...? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "in SAAJ, must I use a servlet at the service side to get the httprequest and ...?" Watch "in SAAJ, must I use a servlet at the service side to get the httprequest and ...?" New topic
Author

in SAAJ, must I use a servlet at the service side to get the httprequest and ...?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
in SAAJ, must I use a servlet at the service side to get the httprequest and the accompanying Attahments?

I mean, in all the examples I see in the net, they use so.
But in my case; I am using document style with my own schemas, and generated the Java classes while <wsdl2JAVA>'ing from the schema, as well as the Stubs of client side and XYZServiceImpl class of the server side. So the input to the ServiceImpl is already Java objects, referring to the from the XSD schemas generated classes.

So I guess I don't need to use any HTTPServlets, the type conversion will be handled by the APACHE axis Server Framework Engine.. and the framework will call my XXXImpl class with Java objects, WHICH IT NOURISHED with the XML Data from the body and also attachment.
Is my assumption true?

I cannot test at the moment because i have no data, and the xsd is quite huge to generate sth. manually.. I just would like to be sure that I am on the right road for the time being.
 
 
subject: in SAAJ, must I use a servlet at the service side to get the httprequest and ...?
 
Threads others viewed
Writing to a URLConnection object
How does Axis find the method to be invocated, in the class?
Facade design pattern in web services
design approach - application specific business objects
How to read from XSD generated database and put that data into XML file.
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com