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/
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
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
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
.
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
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
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
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
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
/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
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
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
. 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
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
, 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
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
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
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
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
.
Michael
--
Michael Schuerig Cold silence has a tendency
mailto:[EMAIL PROTECTED] To atrophy any sense of compassion
http://www.schuerig.de/michael/--Tool, Schism
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
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
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
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
-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
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
(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
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
= 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
--
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
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
_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
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
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
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
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
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
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
-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
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
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
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
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
43 matches
Mail list logo