Re: JRE 1.5 enum is a Reserved Word Does Axis Comply withthis rule?

2005-02-04 Thread Michael Schuerig
On Thursday 03 February 2005 04:27, Davanum Srinivas wrote: you can replace xxx.enum.yyy with xxx.constants.yyy This only works in cases where one simply uses the constants. It does not work for variable, field, and parameter types. Michael -- Michael Schuerig Not only does

Re: JRE 1.5 enum is a Reserved Word Does Axis Comply withthis rule?

2005-02-04 Thread Michael Schuerig
On Friday 04 February 2005 12:52, Davanum Srinivas wrote: On Fri, 4 Feb 2005 10:06:11 +0100, Michael Schuerig [EMAIL PROTECTED] wrote: On Thursday 03 February 2005 04:27, Davanum Srinivas wrote: you can replace xxx.enum.yyy with xxx.constants.yyy This only works in cases where one

Re: JRE 1.5 enum is a Reserved Word Does Axis Comply withthis rule?

2005-02-04 Thread Michael Schuerig
do you suggest? Michael -- Michael Schuerig Thinking is trying to make up mailto:[EMAIL PROTECTED]for a gap in one's education. http://www.schuerig.de/michael/ --Gilbert Ryle

Testing: cutting the Axis stack at message level

2005-01-19 Thread Michael Schuerig
is related to what I'm trying to do. Michael -- Michael Schuerig All good people read good books mailto:[EMAIL PROTECTED]Now your conscience is clear http://www.schuerig.de/michael/ --Tanita Tikaram, Twist In My Sobriety

Re: dynabeans

2005-01-19 Thread Michael Schuerig
-RPC API. The best solution, IMHO, would be if some future version of Axis would extend the spec to allow TypeMappings between XML types and DynaClasses. Michael -- Michael Schuerig Life is just as deadly mailto:[EMAIL PROTECTED

Re: Testing: cutting the Axis stack at message level

2005-01-19 Thread Michael Schuerig
On Wednesday 19 January 2005 20:19, Peter Molettiere wrote: On Jan 19, 2005, at 7:52 AM, Michael Schuerig wrote: For integration testing of client and server code and configuration I'd like to cut the Axis handler stack in the place where messages are converted to and from XML. I'm

Re: Document/Literal : bad part name in axis server response

2005-01-11 Thread Michael Schuerig
Axis offers. I don't know Jonas, thus I can't say whether this is a genuine limitation of the respective Jonas version or a shortcoming of the deployment. Michael -- Michael Schuerig Contests between male toads over females are mailto:[EMAIL PROTECTED] often settled by the depth

Re: Document/Literal : bad part name in axis server response

2005-01-10 Thread Michael Schuerig
file on the server side? I don't think so. AFAIR, the wsdlURL parameter in the WSDD file is only used to return the specified file for ?wsdl-style requests. Ephemeris, could you post the WSDD that wsdl2java generates for your wsdl? Michael -- Michael Schuerig Contests between male

Re: LocalTransport: Setting operation metadata?

2005-01-07 Thread Michael Schuerig
On Friday 07 January 2005 03:31, Michael Schuerig wrote: I'm using LocalTransport in a unit test involving out parameters. Currently, I'm getting back these parameters with names that are determined through introspection. Is there some programmatic way to set metadata like this explicitly

LocalTransport: Setting operation metadata?

2005-01-06 Thread Michael Schuerig
I'm using LocalTransport in a unit test involving out parameters. Currently, I'm getting back these parameters with names that are determined through introspection. Is there some programmatic way to set metadata like this explicitly? Michael -- Michael Schuerig Those

Local transport: setting a local server?

2005-01-02 Thread Michael Schuerig
For testing purposes I want to use LocalTransport. I can't set it directly on the Call objects, though. I have only access to the service and stub instances. Is there another way to sneak in a configured AxisServer that's accessed through local transport? Michael -- Michael Schuerig

Re: Automatic Client-Side De/Serialization of User Types (java)

2004-12-22 Thread Michael Schuerig
_service; } -- Michael Schuerig Not only does lightning not strike mailto:[EMAIL PROTECTED] twice, it usually doesn't strike once. http://www.schuerig.de/michael/ --Salman Rushdie, Fury

Re: java2wsdl ant task for document/literal

2004-12-20 Thread Michael Schuerig
and in what they emphasize. In particular, I wouldn't expect roundtrip mapping to give sensible results. Michael [1] http://webservices.xml.com/pub/a/ws/2003/07/22/wsdlfirst.html -- Michael Schuerig The more it stays the same, mailto:[EMAIL PROTECTED

Re: design question

2004-12-17 Thread Michael Schuerig
= MessageContext.getCurrentContext(); ... _bee.setSessionId(...); _bee.someMethod(); } } Michael -- Michael Schuerig They tell you that the darkness mailto:[EMAIL PROTECTED] Is a blessing in disguise http://www.schuerig.de/michael

Re: deserialize static xml?

2004-12-15 Thread Michael Schuerig
such a factory is like this BaseDeserializerFactory.createFactory(BeanDeserializerFactory.class, javaClass, xmlType)); As far as I can tell, you can pass null for xmlType in this case. Michael -- Michael Schuerig Failures to use one's frontal lobes mailto:[EMAIL PROTECTED

Re: deserialize static xml?

2004-12-14 Thread Michael Schuerig
-- Michael Schuerig Most people would rather die than think. mailto:[EMAIL PROTECTED]In fact, they do. http://www.schuerig.de/michael/ --Bertrand Russell /* * Copyright 2004 Michael Schuerig [EMAIL PROTECTED] * * Licensed under

Re: Axis and Java 1.5

2004-12-10 Thread Michael Schuerig
(Style st) { } public static void main(String[] args) { //method(Style.DOCUMENT); // Doesn't compile method((Style)Style.DOCUMENT); // ClassCastException at runtime } } I don't know of a workaround for this. Michael -- Michael Schuerig

Sample of using local transport for testing a service?

2004-12-09 Thread Michael Schuerig
I'm looking for an example of using local transport for unit testing a service. I've seen the tests that use local transport, but from them I don't quite understand how to use it in my case. In particular, I need to configure names, types etc. for operations. Michael -- Michael Schuerig

Re: Document Literal Wrapped Response from Axis

2004-12-09 Thread Michael Schuerig
-side, in my hand-written code, I explicitly call call.setOperationStyle(Style.WRAPPED); wsdl2java puts equivalent code in its generated ...BindingStubImpl classes, unless support for wrapped is explicitly turned of with --noWrapped. Michael -- Michael Schuerig They tell

Re: Sample of using local transport for testing a service?

2004-12-09 Thread Michael Schuerig
On Thursday 09 December 2004 11:46, Michael Schuerig wrote: I'm looking for an example of using local transport for unit testing a service. I've seen the tests that use local transport, but from them I don't quite understand how to use it in my case. In particular, I need to configure names

Service(wsdlLoc) and header params (was: wsdl2java: Tweaking what's generated)

2004-12-08 Thread Michael Schuerig
On Tuesday 07 December 2004 23:49, Michael Schuerig wrote: On Tuesday 07 December 2004 10:32, [EMAIL PROTECTED] wrote: Have you looked at the Service constructors that take a WSDL? This might be the best route for you, rather than using WSDL2Java. You can build a client very simply

Re: wsdl2java: Tweaking what's generated

2004-12-07 Thread Michael Schuerig
there was such a constructor. It seems to be the best way in my case. Michael -- Michael Schuerig The more it stays the same, mailto:[EMAIL PROTECTED]The less it changes! http://www.schuerig.de/michael/ --Spinal Tap, The Majesty of Rock

Reserialization of attachments on the client-side

2004-12-06 Thread Michael Schuerig
. Michael -- Michael Schuerig Cold silence has a tendency mailto:[EMAIL PROTECTED] To atrophy any sense of compassion http://www.schuerig.de/michael/--Tool, Schism

wsdl2java: Tweaking what's generated

2004-12-06 Thread Michael Schuerig
aesthetic sensibilities. The same effect could probably be achieved with custom JavaGenerator subclasses. I fear, though, that it might be a lot of work, as it's not just an addition but a change to existing functionality. Has anyone tried anything like this? Michael -- Michael Schuerig

Re: Quality of Axis with respect to document and literal style

2004-12-05 Thread Michael Schuerig
over the net? By that I mostly mean XML that's not just usable between the two applications you can control, but that makes interoperability possible. If not, you might get cleaner results with custom de/serializers. Michael -- Michael Schuerig The more it stays

Re: Quality of Axis with respect to document and literal style

2004-12-05 Thread Michael Schuerig
On Sunday 05 December 2004 22:11, Lyndon Tiu wrote: On December 5, 2004 12:50 pm, Michael Schuerig wrote: Does this result in sensible XML being transferred over the net? By that I mostly mean XML that's not just usable between the two applications you can control, but that makes

Re: Deserializing arrays doc/lit style?

2004-11-25 Thread Michael Schuerig
GetDescriptorsResponseDescriptors. Apparently Axis doesn't want to return an Array directly and always interposes another classes. In general, I'd prefer to avoid generated domain classes as much as possible; I already have these classes and I'd like Axis to map to them. Michael -- Michael Schuerig

Deserializing arrays doc/lit style?

2004-11-24 Thread Michael Schuerig
by an ArrayDeserializer. To me it appears as if Axis is mixing up the types of arrays and their elements. Preferably, I hope to be told that the error is on my part and that I only need to specify slightly differently what I want in order to get it. Michael -- Michael Schuerig

Re: BeanSerializer

2004-11-23 Thread Michael Schuerig
, context); I don't see how it can be done for deserializers -- in particular, without dragging in most of Axis. This is actually pretty bad for writing unit tests. Michael -- Michael Schuerig Those people who smile a lot mailto:[EMAIL PROTECTED

Accessing a file from a Serializer?

2004-11-21 Thread Michael Schuerig
. ServletContext.getResource(path) would help a lot -- but how do I get hold of the relevant ServletContext instance? Michael -- Michael Schuerig Nothing is as brilliantly adaptive mailto:[EMAIL PROTECTED] as selective stupidity. http://www.schuerig.de/michael/--A.O. Rorty

Re: Accessing a file from a Serializer?

2004-11-21 Thread Michael Schuerig
On Sunday 21 November 2004 20:05, Michael Schuerig wrote: If only I could obtain a URL pointing to my file. public Element writeSchema( Class javaType, Types types ) throws Exception { if (StringUtils.isNotBlank(_schemaName)) { URL schemaURL = getClass

Deserializing with a digester

2004-11-18 Thread Michael Schuerig
this; } public void characters( char[] chars, int start, int end ) throws SAXException { _dig.characters(chars, start, end); } } -- Michael SchuerigYou can twist perceptions mailto:[EMAIL PROTECTED]Reality won't budge http

Re: Repost: OT-ANN: My favorite SoA is Hessian

2004-11-15 Thread Michael Schuerig
On Monday 15 November 2004 15:08, Vic wrote: Anyway, I found above open source product to be powerfull, and if some other's are frustrated w/ Axis, they have an Open Source alternative. Hessian doesn't do the same as Axis, thus it is not an alternative. Michael -- Michael Schuerig

Re: Deserialization

2004-10-26 Thread Michael Schuerig
        /elem1         elem1           ...       /list1     /multiRef And I'm wondering if common deserializers can handle that. I haven't got the WSDL/schema right, yet, so I can't really tell. Michael -- Michael Schuerig Life is just as deadly mailto:[EMAIL PROTECTED

Re: Using Axis to store SOAP messages to persistence layer?

2004-10-25 Thread Michael Schuerig
to store them in the database (of course then I also need the opposite way for the deserialization). Have a look at the samples/encoding in the axis distribution. That may be what you need or point you in a suitable direction. Michael -- Michael Schuerig Not only does lightning

Service implementation class: instantiate by factory?

2004-10-23 Thread Michael Schuerig
the service implementation class a thin wrapper that delegates to another object it got from a factory. This seems to be the way to go. Michael -- Michael Schuerig Those people who smile a lot mailto:[EMAIL PROTECTED] Watch the eyes http

Book recommendations?

2004-10-21 Thread Michael Schuerig
. Building Web Services with Java (2nd ed) Sams 2004 Richard Monson-Haefel J2EE Web Services Addison-Wesley 2003 Is any one of them preferable? Are there others I ought to look at? Thanks, Michael -- Michael SchuerigI was blessed with a birth and a death and mailto:[EMAIL PROTECTED

Re: Book recommendations?

2004-10-21 Thread Michael Schuerig
Thanks for the comments and recommendations. I'll have a look at the other mentioned books. Michael -- Michael Schuerig Failures to use one's frontal lobes mailto:[EMAIL PROTECTED]can result in the loss of them. http://www.schuerig.de/michael/ --William H. Calvin

Re: Book recommendations?

2004-10-21 Thread Michael Schuerig
in the blog of one of the authors. I haven't found it mentioned in any blog, but I didn't search everything. According to Amazon.de it'll be available May 31, 2005. Amazon.com says March 1, 2004, which is obviously wrong. Michael -- Michael Schuerig There is no matrix, mailto:[EMAIL

Sample code for (de)serializers? (was: Generating a return value w/o using objects?)

2004-10-18 Thread Michael Schuerig
with it in terms of my own business objects. Michael -- Michael Schuerig Those people who smile a lot mailto:[EMAIL PROTECTED] Watch the eyes http://www.schuerig.de/michael/--Ani DiFranco, Outta Me, Onto You

Re: Sample code for (de)serializers?

2004-10-18 Thread Michael Schuerig
a Deserializer, MyDeserializer, that generate business objects to my liking from the SOAP reply. A factory for this MyDeserializer needs to be registered with the TypeMappingRegistry for the Service. Am I on the right path? Michael -- Michael Schuerig Failures to use one's frontal

Generating a return value w/o using objects?

2004-10-16 Thread Michael Schuerig
to XML anyway. Instead, I'd prefer to generate a suitable XML representation myself -- that is if I knew how it ought to look and how to tell Axis to use it. Any pointers are appreciated. Michael -- Michael Schuerig Thinking is trying to make up mailto:[EMAIL PROTECTED

Re: Newbie: EchoHeaders returns NullPointerException

2004-10-10 Thread Michael Schuerig
abstract method getUserData(java.lang.String) in org.w3c.dom.Node So, does anyone actually use axis with JDK 1.5? What's the trick? Michael -- Michael Schuerig The Fifth Rider of the Apocalypse mailto:[EMAIL PROTECTED] is a programmer. http://www.schuerig.de/michael/