Okay, I take on board your advice, but I think that it begs my initial
question. In your point 2 you state "Use the same jar on the
server and the client." My quest, however, is to be able to add
additional functionality to the service, i.e. new operations, and not
have to force every client in the field to upgrade in unison. This is
the proverbial problem with distributed systems and I had hoped that
Web Services solved it in cases where there were only additions to
functionality. In the IBM article "Best
practices for Web services versioning",
http://www-128.ibm.com/developerworks/webservices/library/ws-version/,
it rather clearly states:Roughly speaking, there are two types of changes in a WSDL document that cannot break an existing requestor, and several types of changes that can. In accordance with standard industry nomenclature, we will call these backwards-compatible and non-backwards-compatible changes, respectively. The types of changes that are backwards compatible are:So how does one actually accomplish this or am I misreading the intent. Thanks, Joel robert wrote: Combining EJB with axis 1.x requires integration with the app server. I've done it a lot with jboss, which uses axis internally. Basically there's a lot of files to edit.My advice: 1) Work with wsdl2java instead of java2wsdl. Just create your endpoint like: YourImpl implements SessionBean, EJB_Context Then implement your endpoint methods that match your wsdl2java generated methods and classes. 2) Create a jar with your wsdl2java generated classes and use that to create your references. Use the same jar on the server and the client. That's the basics. Beyond that, its all about the configuration, unfortunately different on every app server. In the long run you can use spring to solve that somewhat. HTH, Robert http://www.braziloutsource.com/ Em Segunda 13 Fevereiro 2006 14:04, o Joel Rosi-Schwartz escreveu: |
- Re: Is it possible to add a new method? Joel Rosi-Schwartz
- Re: Is it possible to add a new method? robert
- Re: Is it possible to add a new method? Joel Rosi-Schwartz
