Thanks Dominik, Adam Kramer pointed me to http://www.javaworld.com/javaworld/jw-10-2003/jw-1003-wsstyles.html. And with you inputs I think I understand it now.
I was trying to implement a Message transformer, and I don't need to know what the source message(xml doc) is. I just have to apply the right transform template(xslt) and delegate it to another service that understand targeted format. My guess is doc-centric is my way of going. MessageBinding in XFire can hand me the Document object represent the SOAP body part and I just have to apply my xslt on it right? Thanks, --danny -----Original Message----- From: SOA Work [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 12, 2006 1:04 AM To: user@xfire.codehaus.org Subject: Re: [xfire-user] <style/> settings...HOW do I implement Document Style services? Hi, I just want to add, that there's a difference between the wsdl styles (rpc enc, rpc lit, doc lit, wrapped) and the way you implement the service (rpc, doc). I'm not sure if you aren't intrested in document-centric services. Theres often a confusion about this. The wsdl styles are set inside the service.xml and only affect in which style the messages are encoded (and expected). http://www.ibm.com/developerworks/webservices/library/ws-whichwsdl/ Additonal there are two programming models. document vs rpc. (same name other story). In rpc you get rpc ;-) The data is mapped to java classes. the documen-centric way means you are working with the xmldata inside your implementation class. The advantage is that the message format can change but you don't have to reimplement the code. disadvantage: you can not simply use javabeans. Xfire provides the document-centric way by the message binding: http://xfire.codehaus.org/Message+Binding best regards Dominik > -----Ursprüngliche Nachricht----- > Von: user@xfire.codehaus.org > Gesendet: 11.04.06 18:41:07 > An: <user@xfire.codehaus.org> > Betreff: [xfire-user] <style/> settings...HOW do I implement Document Style > services? > > > All, > > > > > > When you are using the service.xml to export your services, > isnt this promoted RPC style? Even though the <style/> element > allow you to set options of rpc/document/wrap. I am confuse. How do I > implement > a Document style services with XFire?..... Ive been told that XFire by > default implement doclit .. what is this really mean? > > > > > > Thank you for any help, > > > > > > --danny > > > > > > Ps. Please point me to any other resources that explain more > on this topic. > _______________________________________________________________ SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
