Re: Returning my own WSDL from ?wsdl

2002-12-28 Thread Steve Loughran
yes, you can config axis to return a file or resource on the classpath,
instead of its own wsdl.  look at reference.html in CVS for details

-steve

- Original Message -
From: Kevin Jones [EMAIL PROTECTED]
To: Axis User [EMAIL PROTECTED]
Sent: Friday, December 20, 2002 09:16
Subject: Returning my own WSDL from ?wsdl


 After I've created and deployed a web service is there ant way to get
 Axis to turn off automatic WSDL generation when it sees the ?wsdl
 parameter and instead get it to return wsdl that i deploy with the
 service?

 Thanks,

 Kevin Jones






Re: Design question on using Java classes v/s hashes or arrays

2002-12-28 Thread Steve Loughran

- Original Message -
From: Rajal Shah [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 15:51
Subject: RE: Design question on using Java classes v/s hashes or arrays


 I see your point.. If business functionality changes though, then maybe
you
 need to change the method name or something and deprecate the old method..
 to solve the issue you bring up. (and work on your SLAs with the clients
to
 make them understand the new behavior or provide both business logic
 options).

 I am referring to the versioning of services for extending the
functionality
 of a data object. And having 2 end points can serve the needs to backward
 compatibility and avoid me to define my objects as hashes.

If you use doc/lit messaging rather than rpc/enc, you can add new stuff to a
message (But obviously these need to be optional additions, you cannot
subtract, and you need to keep semantics 100% consistent. Even so, it does
give doc/lit a bit of flexibility. And equally importantly, shows up
versioning issues in API signatures fast.

 I talk about versioning a bit in http://iseran.com/Steve/papers/wstw/

 Your document is pretty comprehensive and well thought out!

I still have doubts there. There are lots of issues we are let to learn, and
only that trial and error will find. I sort of wrote that paper as I was
going along, but decided it was time to get stuff out the door.

with my current project I wrote the proto server, then did the client (swing
based), and soon redid bits of the api for ease of programming and long haul
perf. For example one call returned #of items in a queue, another listed the
queueID of all elements, and the third took one queueID and returned
info about that element.

Now what do I do for long haul? Do I boost throughput with a message that
lets you specify a list of queue items. Good for http1.0 nagling, saves on
net sockets used (good for the server),... But it could make the UI less
responsive. Right now I can fill the list in one at a time, with a worker
thread to talk to the server. But with a bulk call I dont get an update till
the update is complete.

I dont see any 'best answer' here. I'll probably add the bulk call for when
somebody wants it, but maybe only fetch small chunks, say 4 items at a time,
for responsiveness.

-steve




Re: Returning my own WSDL from ?wsdl

2002-12-28 Thread Steve Loughran

- Original Message -
From: Kevin Jones [EMAIL PROTECTED]
To: Weicheng Peng [EMAIL PROTECTED]
Cc: Axis User [EMAIL PROTECTED]
Sent: Saturday, December 21, 2002 11:58
Subject: Re: Returning my own WSDL from ?wsdl


  You need to set fullpath file name, axis doesn't use relative path 
 for this
  case.

 Which means it's broken. Setting the full path is useless for several
 reasons:

 If I want to deploy the app as a WAR file I won't have a full path.
 Different Servers will have differnet paths
 Windows vs Linux!

 I would regard this as a bug,

well, stick it as a resource in the classpath. You are left with a separate
problem 'what if I want to include full urls in the wsdl', but that may be
tractable at build time




Re: Cannot inherit from final class

2002-12-28 Thread Steve Loughran

- Original Message -
From: Tim Sawyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 27, 2002 09:57
Subject: Re: Cannot inherit from final class


 Ooops, forgot that bit!

 HappyAxis.jsp gives this:

 org.apache.jasper.JasperException: Cannot inherit from final class
 at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
 at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter

This is not an axis problem per se, this is a 'your jsp engine is broken'
defect, that usually comes down to 'you have an old or unexpected version of
xerces somewhere on the classpath'.