Hello,
many thanks for your solution : it's working!
I add in my implementation the line :
StAXUtils.setFactoryPerClassLoader(false).
I'll send you a lof a belgian beer if you want ;-)
Regard
Philippe
Le 30-janv.-10 à 00:11, Andreas Veithen a écrit :
Phillippe,
There are two possible reasons:
* The obvious one would be that the wstx-asl JAR is missing. Since JRE
1.6 ships with a StAX implementation (which Axiom would then use
instead of Woodstox), while JRE 1.5 does not, this may explain why the
code runs successfully in one environment, while it fails in the
other.
* The more subtle explanation would be that Axiom attempts to load the
StAX implementation from the wrong class loader. By default, Axiom
loads the StAX implementation from the thread context class loader. If
OpenOffice sets up the runtime environment in such a way that the
thread context class loader is different from the class loader that is
used to load your code, then this error may occur. If this is the
case, you have two options: set the thread context class loader
yourself or call StAXUtils.setFactoryPerClassLoader(false) to change
Axiom's behavior.
Andreas
On Fri, Jan 29, 2010 at 23:21, Philippe Denis <ph.de...@gmail.com>
wrote:
Hello everybody,
I created my web service in eclipse and then I created my web
service client
with the command "wsdl2java". The service client works correctly
when I test
it in eclipse.
However, I'd integrate my web service client in OpenOffice. I know
OpenOffice and I know how to integrate a package in OpenOffice.
However, when I integrate my web service client in OpenOffice, I
receive an
error (attached with the mail). I don't understand the reason
because it's
exactly the same package that I tested in eclipse.
Do you understand what means the error? Could you tell me some
clues to
solve my problem?
I'd be glad if you find a solution,
Thank you very much.
Philippe
NOTE : I use :
- Mac os 10.5
- Axis 2 1.4.1
- Apache 5.5