in SAAJ, must I use a servlet at the service side to get the httprequest and ...?
posted 11 years ago
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.