Re: JSPs on Axis Best Practice for accessing server code?

2005-01-06 Thread Bill Keese
ave the need to deploy some code as both a web service and a web application. The JSPs will allow a user to configure their subscription and the Web Services will then allow the user to get updates to their subscription remotely. What I want to know is what is the best practice for the srever sid

JSPs on Axis Best Practice for accessing server code?

2005-01-04 Thread Robert Simmons Jr.
I currently have the need to deploy some code as both a web service and a web application. The JSPs will allow a user to configure their subscription and the Web Services will then allow the user to get updates to their subscription remotely. What I want to know is what is the best practice

RE: Best practice for (de)serializing java.util.Locale et al

2004-12-13 Thread Brett Randall
Hi, I'm wondering what the best practice is for handling beans that contain methods returning java.util.Locale or java.util.TimeZone. I'm currently using Axis 1.2RC1. This relates to messages from Java2WSDL such as: [WARN] Types - -The class java.util.Locale is defined in a jav

Re: Best Practice

2004-11-19 Thread Paul Libbrecht
Le 19 nov. 04, à 09:25, HG a écrit : As I understand it there was two approaches to the subject. Use Schema Extensions or add a xsd:any element to the end of the superchema (version 1). This assumes that you have schemas for both datatypes and messages. The idea is that you can replace the xsd:any

Re: Best Practice

2004-11-19 Thread HG
rsday, November 18, 2004 4:04 PM Subject: RE: Best Practice > Henrik, > > No, not the only approach. It really depends on what changes you're making. > > > Most changes that I've come across have been small changes/extensions to > existing services--adding new oper

RE: Best Practice

2004-11-18 Thread Ed Saltelli
mber 17, 2004 3:01 AM To: [EMAIL PROTECTED] Subject: Re: Best Practice Hi Ed Is this *really* the only approach? Defining it at a new endpoint? I mean that's what I do for know, because I can't think of any other way...but..you know.. :-) Maybe this would be a task for the UDDI r

Re: Best Practice

2004-11-18 Thread tony . q . weddle
Please respond to [EMAIL PROTECTED]         To [EMAIL PROTECTED] cc Subject Re: Best Practice The problem with this approach is that you're exporting your object model. This works fine for simple applications where you've got clients that only talk to one web servic

Re: Best Practice

2004-11-17 Thread Dennis Sosnoski
to obtain data objects from one service and use it in another service. (I mean complex and deep objects.) Am I missing something which will come and bite me at a later time? Or have I been plain lucky? Regards Sagar -Original Message- From: Dennis Sosnoski [mailto:[EMAIL PROTE

RE: Best Practice

2004-11-17 Thread Sagar Pidaparthi
Wednesday, November 17, 2004 1:14 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice Anand Natrajan wrote: >SOAP is always going to be slower than RMI, no question. But by adopting >SOAP as a facade for my application, do I not gain language-independence, >flexibility, loose coupling

Re: Best Practice

2004-11-17 Thread Dennis Sosnoski
my API, but then generating a SOAP version of the API to gain all of those advantages? The only significant risk I see is that when designing my "code-centric" API, I may use language-specific artifacts, e.g., hashes in Perl, or Sets in Java. These structures may not translate well into othe

RE: Best Practice

2004-11-17 Thread Anand Natrajan
se language-specific artifacts, e.g., hashes in Perl, or Sets in Java. These structures may not translate well into other languages. But as long as I keep _that_ best practice in mind, I don't see an issue. In response to Anne's earlier mail, I understand the point about being able to identi

RE: Best Practice

2004-11-17 Thread tony . q . weddle
Anne, I'm not sure what you mean by code-centric, versus WSDL centric. The approach of writing the business functionality first (if it's not already there) and then generating the first WSDL from that, before deploying as a web service, may be thought of as code centric, but is not tightly couple

Re: Best Practice

2004-11-17 Thread Anand Natrajan
On Tue, 16 Nov 2004, Jim Murphy wrote: : Anand Natrajan wrote: : : > So what's my approach? Much as there is talk about writing WSDLs first, I : > prefer generating them automatically. I can do all the refactoring I want in : > my Java code and trust the java2wsdl generator to generate non-import

Re: Best Practice

2004-11-17 Thread Joe Plautz
2004 7:00 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice Be code centric as opposed to WSDL centric. With Axis we can expose our code in a relatively easy manner without the need of creating a WSDL first which is perfect. Anne Thomas Manes wrote: I'm thinking about reusability. Picture

Re: Best Practice

2004-11-17 Thread Paul Libbrecht
I love this sentence, honest! Can you be slightly more precise with the document-orientation ? I feel a taste of REST, but this might only be an artificial spice. thanks paul Le 17 nov. 04, à 14:52, Anne Thomas Manes a écrit : Code centricity is a fine approach if your goal is to use SOAP as a s

RE: Best Practice

2004-11-17 Thread Anne Thomas Manes
environments, then you should take a WSDL-centric approach. Anne -Original Message- From: Joe Plautz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 7:00 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice Be code centric as opposed to WSDL centric. With Axis we can expose

RE: Best Practice

2004-11-17 Thread Anne Thomas Manes
environments, then you should take a WSDL-centric approach. Anne -Original Message- From: Joe Plautz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 7:00 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice Be code centric as opposed to WSDL centric. With Axis we can expose

Re: Best Practice

2004-11-17 Thread tony . q . weddle
Some interesting discussion, here. I noticed that many people seem to use WSDL generation. I don't think this is standard (or done in a standard way) for all web service runtimes but it might not generate very readable WSDL. One poster said something about the names of parameters but we also add d

Re: Best Practice

2004-11-17 Thread HG
al Message - From: "Ed Saltelli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 17, 2004 5:15 AM Subject: RE: Best Practice > > You refactor without changing the interface/WSDL to your service?! > > A WSDL artifact published to external

Re: Best Practice

2004-11-16 Thread HG
esday, November 16, 2004 6:12 PM Subject: Re: Best Practice Thanks, Joe. I've had a quick glance through the mailing list, back a year, but couldn't find anything obvious, in the best practice area. In this particular aspect, I prefer to work from Java. The way I see

RE: Best Practice

2004-11-16 Thread Ed Saltelli
ember 16, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice Anand Natrajan wrote: > So what's my approach? Much as there is talk about writing WSDLs first, I > prefer generating them automatically. I can do all the refactoring I want in > my Java code and trust the jav

Re: Best Practice

2004-11-16 Thread Joe Plautz
another without doing a detailed analysis of each WSDL file. Anne -Original Message- From: Anand Natrajan [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 1:19 PM To: [EMAIL PROTECTED] Subject: RE: Best Practice While I understand the attraction to factor out common definitions

Re: Best Practice

2004-11-16 Thread Jim Murphy
security and authorization in web services but there is just too much information and it is kinda hard to select an approach to follow. Thanks -Original Message- From: Jim Murphy [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 2:53 PM To: [EMAIL PROTECTED] Subject: Re: Best

RE: Best Practice

2004-11-16 Thread Greg Michalopoulos
PM To: [EMAIL PROTECTED] Subject: RE: Best Practice Jim, Could u direct to some resources about WS Security that possibly have some examples related to Axis . I googled about security and authorization in web services but there is just too much information and it is kinda hard to select an approa

RE: Best Practice

2004-11-16 Thread Vikas Phonsa
- From: Jim Murphy [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 2:53 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice Joe Plautz wrote: > Yes it was. It's something the carries application specific information > as well as customer and user specific information. It

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
EMAIL PROTECTED] Subject: RE: Best Practice While I understand the attraction to factor out common definitions into a separate schema file, I am a bit conflicted about the use of schema files within a WSDL for describing a service. If your WSDL imports a schema, you can no longer hand out a sing

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
EMAIL PROTECTED] Subject: RE: Best Practice While I understand the attraction to factor out common definitions into a separate schema file, I am a bit conflicted about the use of schema files within a WSDL for describing a service. If your WSDL imports a schema, you can no longer hand out a sing

Re: Best Practice

2004-11-16 Thread Jim Murphy
Joe Plautz wrote: Yes it was. It's something the carries application specific information as well as customer and user specific information. It's not great by any means, but it doesn't allow access either. But, by doing it this way, I've tried to keep the services as more of one time shots. Not

Re: Best Practice

2004-11-16 Thread Jim Murphy
Anand Natrajan wrote: So what's my approach? Much as there is talk about writing WSDLs first, I prefer generating them automatically. I can do all the refactoring I want in my Java code and trust the java2wsdl generator to generate non-import WSDLs. So how do you keep you clients from breaking when

Re: Best Practice

2004-11-16 Thread Joe Plautz
lto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 1:09 PM To: [EMAIL PROTECTED] Subject: Re: Best Practice I think at a minimum, you use https. For actual authorization, I've had to create a home brew of sorts because of the way we store use information. This forces clients to send an

RE: Best Practice

2004-11-16 Thread Vikas Phonsa
: Best Practice I think at a minimum, you use https. For actual authorization, I've had to create a home brew of sorts because of the way we store use information. This forces clients to send an authentication object as part of the message. There seem to be much more elegant solutions invo

Re: Best Practice

2004-11-16 Thread Joe Plautz
From: Joe Plautz [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 10:59 AM To: [EMAIL PROTECTED] Subject: Re: Best Practice I'll try and be more positive next time. I was trying to be impartial ;-) I do agree that the developer doesn't have to deal much with the WSDD. Usin

RE: Best Practice

2004-11-16 Thread Vikas Phonsa
] Subject: Re: Best Practice I'll try and be more positive next time. I was trying to be impartial ;-) I do agree that the developer doesn't have to deal much with the WSDD. Using the ant axis tasks should be a best practice. It does automate a lot of stuff that doesn't need to b

Re: Best Practice

2004-11-16 Thread Anand Natrajan
: WSDD. Using the ant axis tasks should be a best practice. It does : automate a lot of stuff that doesn't need to be dealt with. I would : actually go farther and say that it would be nice to be able to go from : class to WSDD in one easy step. Create your business classes, generate : the WSD

Re: Best Practice

2004-11-16 Thread Joe Plautz
I'll try and be more positive next time. I was trying to be impartial ;-) I do agree that the developer doesn't have to deal much with the WSDD. Using the ant axis tasks should be a best practice. It does automate a lot of stuff that doesn't need to be dealt with. I would actu

Re: Best Practice

2004-11-16 Thread Anand Natrajan
nguages and technologies in the : > past and, no doubt, best practices will emerge on web services, in the : > future. Quite a good, thin, book of Java is "Java with Style" (or some : > such title). It would be nice to have something like that for web : > services, but, until then

Re: Best Practice

2004-11-16 Thread Joe Plautz
Joe. I've had a quick glance through the mailing list, back a year, but couldn't find anything obvious, in the best practice area. In this particular aspect, I prefer to work from Java. The way I see it, I'm developing some business functionality, that might be usable in many w

RE: Best Practice

2004-11-16 Thread Anand Natrajan
the namespace to :http://foo-url"; /> : : In addition, you must declare the namespace to reference any elements within : the namespace: : xmlns:foo="urn:foo" : : The same goes for schema imports. : : Anne : : _ : : From: HG [mailto:[EMAIL PROTECTED] : Sent: Tuesday, Nove

Re: Best Practice

2004-11-16 Thread smcardle
ing [EMAIL PROTECTED]: > Thanks, Joe. > > I've had a quick glance through the mailing list, back a year, but > couldn't find anything obvious, in the best practice area. > > In this particular aspect, I prefer to work from Java. The way I see it, > I'm develop

Re: Best Practice

2004-11-16 Thread tony . q . weddle
Thanks, Joe. I've had a quick glance through the mailing list, back a year, but couldn't find anything obvious, in the best practice area. In this particular aspect, I prefer to work from Java. The way I see it, I'm developing some business functionality, that might be usable in

Re: Best Practice

2004-11-16 Thread Joe Plautz
va is "Java with Style" (or some such title). It would be nice to have something like that for web services, but, until then, if anyone has produced anything in this vein, that would be great. Thanks for the links. I was aware of them but don't think they have anything specific on b

Re: Best Practice

2004-11-16 Thread HG
Thanx for sharing this info.   It makes sence in respect of generation of proxies in the different IDEs/tools   /Henrik - Original Message - From: Anne Thomas Manes To: [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 3:17 PM Subject: RE: Best Practice

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
eference any elements within the namespace:   xmlns:foo=”urn:foo”   The same goes for schema imports.   Anne   From: HG [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 8:57 AM To: [EMAIL PROTECTED] Subject: Re: Best Practice   Hi Anne   Thanx for your fan

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
eference any elements within the namespace:   xmlns:foo=”urn:foo”   The same goes for schema imports.   Anne   From: HG [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 8:57 AM To: [EMAIL PROTECTED] Subject: Re: Best Practice   Hi Anne   Thanx for your fan

Re: Best Practice

2004-11-16 Thread HG
Hi again Anne.   Nope. No need for these WSDL imports..I was mixing things up...posts are done on a pure "brain dump" basis..   - Original Message - From: Anne Thomas Manes To: [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 2:58 PM Subject: RE: Bes

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
      - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 1:45 PM Subject: Re: Best Practice   Thanks, Henrik. That's the sort of thing I'm after. I couldn't quite work out

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
      - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 1:45 PM Subject: Re: Best Practice   Thanks, Henrik. That's the sort of thing I'm after. I couldn't quite work out

Re: Best Practice

2004-11-16 Thread HG
o you know that WS-I Basic Profile suggests according to schema imports and wsdl imports in respect to namespaces.?   /Henrik   - Original Message - From: Anne Thomas Manes To: [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 2:45 PM Subject: RE: Bes

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
, Anne   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 7:46 AM To: [EMAIL PROTECTED] Subject: Re: Best Practice   Thanks, Henrik. That's the sort of thing I'm after. I couldn't quite work out the difference between 1 and 2, th

RE: Best Practice

2004-11-16 Thread Anne Thomas Manes
, Anne   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 7:46 AM To: [EMAIL PROTECTED] Subject: Re: Best Practice   Thanks, Henrik. That's the sort of thing I'm after. I couldn't quite work out the difference between 1 and 2, th

Re: Best Practice

2004-11-16 Thread HG
e and to maintain namespace compatibility (eg. generate to the same namspace each time)   Hope it helps and clears things up..   /Henrik         - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 1:45 PM Subject: Re: Best Practice

Re: Best Practice

2004-11-16 Thread tony . q . weddle
Thanks, Henrik. That's the sort of thing I'm after. I couldn't quite work out the difference between 1 and 2, though. In 1, you are defining the messages for the service methods and this naturally includes the parameters of the methods. In 2, it seems you're doing the same thing again (except for

Re: Best Practice

2004-11-16 Thread HG
- Your WSDL doesn't get cluttered with types   Anyone... comments on these steps are welcome...   Regards   Henrik - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 12:41 PM Subject: Re: Best Practice Does no on

Re: Best Practice

2004-11-16 Thread tony . q . weddle
have anything specific on best practice, though some of the information might prove useful for a best practices guide. Cheers, Tony Hi Tony Not sure what you're after in particular, For W3C's efforts in this area see links from http://www.w3.org/2002/ws/ For OASIS efforts see  http:/

Re: Best Practice

2004-11-16 Thread NJ Rogers, Learning and Research Technology
books" you may find other helpful references. HTH Nikki --On Tuesday, November 16, 2004 11:41:41 + [EMAIL PROTECTED] wrote: Does no one have, or have knowledge of, any best practice in the web service arena? I'm looking for a set of hints and tips, rather than a 800 page book

Re: Best Practice

2004-11-16 Thread tony . q . weddle
Does no one have, or have knowledge of, any best practice in the web service arena? I'm looking for a set of hints and tips, rather than a 800 page book. Tony Does anyone know of a published set of best practices, both for web services in general and Axis in particular? I've scour

Best Practice

2004-11-12 Thread tony . q . weddle
Does anyone know of a published set of best practices, both for web services in general and Axis in particular? I've scoured the Net and found a few bits and pieces, but I'm looking for something more substantial (though not *too* substantial). Tony

Best practice for retrieve configuration parameters

2004-08-05 Thread Ivan Venuti
Hi, I'd like to kwnow what is the better way to retrieve configuration parameters in classes deployted as Axis Web Services. I could use properties file on file system, but I don't know if there is a better way (I need to retrieve connection parameters for accessing my DB). Thanks in advance --

Re: Best practice for resolving overloaded method names for Doc/Lit W rapped

2004-06-25 Thread Jim Murphy
ng if there was any industry-standard 'best practice' for doing this. For instance, let's say i have the following: Cat modify(Cat c) Cat modify(Cat c, String name) Dog modify(Dog d) Some of the possible solutions include: 1) Appending numbers Cat modify1(Cat c) Cat m

Best practice for resolving overloaded method names for Doc/Lit W rapped

2004-06-24 Thread Wei Hsu
'best practice' for doing this.    For instance, let's say i have the following:   Cat modify(Cat c) Cat modify(Cat c, String name) Dog modify(Dog d)   Some of the possible solutions include:   1) Appending numbers   Cat modify1(Cat c) Cat modify2(Cat c, String name) Do

Re: question on 'best' practice for initialization?

2004-01-28 Thread ian_d_stewart
know what the "best practice" is for this sort of situation, but what *I* would do is define a simple handler that performs the necessary initialization in its init() method and add it to your for the offending element. Keep in mind that if any of the handlers' init() methods th

question on 'best' practice for initialization?

2004-01-27 Thread Tolsch, Ed
HI, Sorry for this long winded question. I have a doc/literal web service with a default scope of 'Request' so that the implementation class is created with each service request. I want to perform initialization ideally when the service is deployed, before it is ever hit( meaning before I

RE: Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Keith Hatton
[mailto:[EMAIL PROTECTED] Sent: 12 December 2003 12:13 To: [EMAIL PROTECTED] Subject: RE: Best practice for Java Object types like Integer, Long, ... Keith, In general, the approach you are taking will not work with other languages. You see for example, C# does not include a Long data type. It onl

RE: Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Rick Kellogg
[mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 6:00 AM To: Axis-User (E-mail) Subject: Best practice for Java Object types like Integer, Long, ... Not an Axis-specific question, more about WSDL and Java... I have a number of methods with parameters or return types like java.lang.Integer or

RE: Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Rick Kellogg
[mailto:[EMAIL PROTECTED] Sent: Friday, December 12, 2003 6:00 AM To: Axis-User (E-mail) Subject: Best practice for Java Object types like Integer, Long, ... Not an Axis-specific question, more about WSDL and Java... I have a number of methods with parameters or return types like java.lang.Integer or

Best practice for Java Object types like Integer, Long, ...

2003-12-12 Thread Keith Hatton
Not an Axis-specific question, more about WSDL and Java... I have a number of methods with parameters or return types like java.lang.Integer or java.lang.Long. Using Java2WSDL/WSDL2Java these get converted into int and long, which is not what I need - null is a valid value. But I can't put nill