Hey Tom, Till - I just implemented this in my sandbox. Will check it in as soon as
I'm at a good stopping place with the rest of the changes I'm making. It looks like
this in the WSDD:
c:/echo.wsdl
...
If not specified, we build one dynamically. If it is, we return the contents of th
Hi Martina!
Here's the deal (maybe we can save Rich some time :)). Axis takes all Java "linear
collection" classes (i.e. anything that implements List) and serializes them as SOAP
Arrays, to maximize interoperability with other toolkits. When we receive a SOAP
Array and want to deserialize
Daniel...
Hoo-ahh. Bravo. You have shed very much light, and I am very much obliged.
Thank you, thank you, thank you!
Stan
- Original Message -
From: "Daniel F. Savarese" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 6:05 PM
Subject: Re: why Axis?
>
> In
Enviroment: Tomcat 4.0.3/ JDK 1.4 / Axis Beta
3
Classpaths: Xerces in
/common/lib - AXIS is in /axis/WEB-INF/lib
Tomcat chokes on this (/axis/WEB-INF/web.xml
statement) while loading context:
java.lang.IllegalArgumentException: Invalid
servlet/AdminServlet in servlet mapping
You need the commons-logging.jar that ships with the beta [in the lib
directory]. I also do not see tt-bytecode or wsdl4j or jaxrpc that you may
or may not need, but axis ships with.
regards
Adam
-Original Message-
From: Tewari, Vijay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20,
All,
I this is a combination "how would I" and/or "request for enhancement", if I
can't.
We currently use Apache SOAP 2.2 and a whole schlew of clients -- VB (w/
server tweaks) and Java and Perl and such. We like this (for what it is) but
we have one main runtime management problem. When problem
I encountered the same problem last week. You need to put jaxp-rpc.jar in
the /common/lib folder of Tomcat 4.0.3.
Then it should work.
-Chengmin
-Original Message-
From: Phil Hunt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 12:29 PM
To: [EMAIL PROTECTED]
Subject: AXIS not
In message <003601c1d060$d5c3c7a0$9f05560c@DELL850>, "Stan Jordan" writes:
>Every time I pick up a magazine, I see an article advising Java programmers
>to build Web Services via JAX-RPC and JAXM APIs. The articles are complete
>with lotsa examples (but do not mention Axis).
As someone who wrot
Just in case there's someone else wondering what to
put into a WSDD file if you want to publish an EJB's method(s) as a web service,
here's one that works with the Axis beta and jBoss 2.4.4/Tomcat 3.2.3. The
method getMovies returns an array of MovieValue objects, hence the bean
mapping.
h
Is it ok to extend AxisServlet in a class for your own servlet without any
problems?
- Jon
Dan,
Thanks for the insight, but placing the jars in the class path seemed to
have fixed the problem.
Regards
Vijay
-Original Message-
From: Dan Silver [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 4:26 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis Beta Install problems
H
Hi Vijay -
I'm also running under Tomcat 3.2, and ran into the same problem.
The issue is that to get a ClassLoader to instantiate classes the
Axis code calls Thread.currentThread().getContextClassLoader(),
and under Tomcat 3.2 that grabs the system class loader rather
than Tomcat's adaptive cla
Why not ? ;-)
My understanding of JAX-RPC / JAXM is those API provides an easy way to send/receive SOAP requests.So what does Axis provide ?
I guess as the acronym stands for "Apache Extensible Interaction system"...Axis provides a open and pluggable architecture !!
Some interesting features :
Cha
I am attempting to install Axis Beta 1 with Tomcat 3.2.4. TC is working
fine, but when I hit the page for Admin I get the following error
2002-03-19 15:32:45 - Ctx( /axis ): Exception in: R( /axis +
servlet/AxisServlet + null) - java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFac
Thanks Charles, that did the trick.
Regards
Vijay
-Original Message-
From: Ng, Charles [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 11:12 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Axis Beta Install problems
Looks like you need to add the rest of the JAR files to your clas
Every time I pick up a magazine, I see an article advising Java programmers
to build Web Services via JAX-RPC and JAXM APIs. The articles are complete
with lotsa examples (but do not mention Axis).
Where does Axis fit into this picture? I don't want to sound rude, but why
would I program with A
Title: RE: libraries for building beta 1 source
> > -Original Message-
> > From: Volkmann, Mark
> > Sent: Wednesday, March 20, 2002 4:23 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: libraries for building beta 1 source
> >
> > Documentation near the top of build.xml specifies where to
Title: RE: libraries for building beta 1 source
> -Original Message-
> From: Volkmann, Mark
> Sent: Wednesday, March 20, 2002 4:23 PM
> To: '[EMAIL PROTECTED]'
> Subject: libraries for building beta 1 source
>
> Documentation near the top of build.xml specifies where to
> obtain som
Title: libraries for building beta 1 source
Documentation near the top of build.xml specifies where to obtain some optional components. I think a few things are missing from the list. I can't find jars that contain the following classes which are not found when I try to build the source.
org.
I might have some time Thursday to look at this problem.
Thanks,
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Okay, I added the feature described below and did some limited testing.
Please try it out.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Parimi...
Because .NET uses "document" as default, there are a zillion examples on the
web. Here are two that work fine...
http://www.alethea.net/webservices/LocalTime.asmx
http://www.esynaps.com/WebServices/DailyDiblert.asmx
You can get the wsdl file by tacking ?wsdl onto the URL in your bro
Put the wsdl file in the web root of your web server and serve it up from there as a
static page.
You don't have to publish the one that Axis generates. We have talked about an
attribute you could set in the server-config.wsdd that would point Axis to a static
WSDL document and prevent to au
I'm glad this has been resolved for you, but can the Axis team make a note to look
into this and try to do better than a NullPointerException? It would be nice if we
could be a little more informative as to the actual problem.
--Glen
> -Original Message-
> From: Stan Jordan [mailto:[
Russsell...
Works for me too, now. Putting mailapi.jar on the CLASSPATH fixed my
problem. Thanks.
Stan
- Original Message -
From: "Russell Butek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 12:44 PM
Subject: Re: real AXIS beta 1 problem (samples/attachmen
You need to have xerces on the classpath.
Ted
On Tue, 2002-03-19 at 07:35, Alex Krotov wrote:
> > Hello all,
>
> > When I do functional test, I catch several exceptions:
>
> > junit-functional-prepare:
>
> > start-signature-signing-and-verification:
> > [java] - Exception:
> > [java
It works for me. (Yeah, I know, that doesn't help you much!)
Are you using tomcat? Do you have activation.jar in tomcat's common/lib
directory?
Russell Butek
[EMAIL PROTECTED]
"Stan Jordan" <[EMAIL PROTECTED]> on 03/19/2002 05:42:40 PM
Please respond to [EMAIL PROTECTED]
To:<[EMAIL PRO
so what I infer is we can not deploy a real production service using Axis
3.0 with document style ?. Please note that I know Axis is in Beta.
Is there any plan to add this feature to wsdl emitter ?.
Thanks,
-Original Message-
From: Russell Butek [mailto:[EMAIL PROTECTED]]
Sent: Wedne
This will be fixed Real Soon Now. Probably for beta-2.
--G
> -Original Message-
> From: Russell Butek [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 1:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: real AXIS beta 1 problem (samples/message)
>
>
> You may be the first one
Looks like you need to add the rest of the JAR files to your classpath.
bcel.jar
clutil.jar
commonds-logging.jar
tt-bytecode.jar
wsdl4j.jar
Charles
-Original Message-
From: Tewari, Vijay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 2:10 PM
To: '[EMAIL PROTECTED]'
Subject:
Hi
commons-logging.jar is missing from u r classpath
add that and try
kamlesh
-Original Message-
From: Tewari, Vijay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 11:10 AM
To: '[EMAIL PROTECTED]'
Subject: Axis Beta Install problems
I am attempting to install Axis Beta 1
I am attempting to install Axis Beta 1 with Tomcat 3.2.4. TC is working
fine, but when I hit the page for Admin I get the following error
2002-03-19 15:32:45 - Ctx( /axis ): Exception in: R( /axis +
servlet/AxisServlet + null) - java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFact
You may be the first one to try this. It's unsupported. ?wsdl assumes RPC
and right now there's no way to tell it otherwise.
Russell Butek
[EMAIL PROTECTED]
"Stan Jordan" <[EMAIL PROTECTED]> on 03/19/2002 05:42:38 PM
Please respond to [EMAIL PROTECTED]
To:<[EMAIL PROTECTED]>
cc:
Subject
welcome -- from my reading of the tomcat group this
is supposed to be fixed in 4.04 ;)
- Original Message -
From:
Phil Hunt
To: [EMAIL PROTECTED]
Sent: Wednesday, March 20, 2002 11:53
AM
Subject: RE: AXIS not running on Tomcat
4.0.3
Thanks very
much! T
Hi,
I am getting the following exception when I run an Axis client to
execute a function in a Web service on a remote server (services written
using ASPs and DLLs). The request reaches the server, the server interprets
the call and even generates the resultant SOAP document. I see the results
in
We have many methods in our tests and samples that return void, so "yes",
it's possible. Sounds to me like you're having communications problems.
Russell Butek
[EMAIL PROTECTED]
"Mike Brown" <[EMAIL PROTECTED]> on 03/20/2002 12:07:31 PM
Please respond to [EMAIL PROTECTED]
To:<[EMAIL PROT
I am using tcpmon with the following command line:
java org.apache.axis.utils.tcpmon 9090 localhost 9091
When I try to use the resend feature I get the following error:
java.lang.NullPointerException
at org.apache.axis.utils.tcpmon$SocketRR.run(Unknown Source)
java.lang.NullPointerExc
I am trying to call a service method whose return
type is void. I would eventually like to use Call.invokeOneWay but for now
am fine with just using Call.invoke but it is giving me a SocketReadTimeout
exception.
Is this possible?
Mike
Hi all,
Any body has an example for document style using Axis 3.0 ?.
I tried to use the messaging example which comes with axis Beta1 but wsdl
generated contains operation style as rpc. I searched archives, some folks
were mentioning about Admin service and I did not find it in CVS
respository.
Thanks very much! That did the trick!
Phil
-Original Message-
From: jerry dumblauskas
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002
9:35 AM
To: [EMAIL PROTECTED]
Subject: Re: AXIS not running on
Tomcat 4.0.3
for tomcat 4.0.3 you need to put the
jaxrpc.j
Hi, I tryed to make a web service using the wsdl2java tool (Axis beta1).
First everything went fine. I was able to compile the code, to deploy the
the service and to invoke the service using my client application. I got no
problems sending Strings, Vectors etc. and recieving Strings or Booleans.
T
I
placed jaxrpc in tomcat/lib and xerces implementation in tomcat/commons/lib. It
works.,
parimi
-Original Message-From: Ng, Charles
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 20, 2002 9:35
AMTo: '[EMAIL PROTECTED]'Subject: RE: AXIS not
running on Tomcat 4.0.3
I
I had
to do the same when I run Tomcat 4.0.3 LE with JSDK 1.4.0.
What's
weird is that Tomcat claims to load "jaxrpc.jar" from the
webapps/axis/WEB-INF/lib directory when it deploys the "axis"
context.
Charles
-Original Message-From: jerry dumblauskas
[mailto:[EMAIL PROTECTE
for tomcat 4.0.3 you need to put the jaxrpc.jar
into the comon/lib folder in tomcat then you will be able to run
hth
Jerry
- Original Message -
From:
Phil Hunt
To: [EMAIL PROTECTED]
Sent: Wednesday, March 20, 2002 11:29
AM
Subject: AXIS not running on Tomcat
4
I seem to be having trouble getting AXIS to run on Tomcat
4.0.3
Tomcat reports it is “running” but connections
are refused. If I run the Administration applet
http://localhost:8080/axis/servlet/AdminServlet
I get the attached response.
Any ideas?
Phil Hunt
Apache
Tomc
Dear Butek,
Thanks so much for your help! I will contact you if getting some problems.
All the best,
Li Bing
- Original Message -
From: "Russell Butek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 19, 2002 6:20 AM
Subject: Re: WSDL4J
AXIS uses WSDL4J, particularly
Hi,
(Hope I understand what you are asking.)
We faced similar problem while designing
system using CORBA. Here are my 2 cents on this.
Is your server going to entertain multiple
connections? How complex the states are? You don’t seem to have Logout
method. How you are going to rec
> >I do not know immediately, how to do it in VB in ASP, but (apart from point
> 1 of my
> >original message) you simply have to receive and return cookies in the HTTP
> >communication between your service's client and server. The session's
> identifier is
> >transmitted in a cookie.
> >
>
> But I
I wish my e-mail hadn't been down yesterday, 'cos I blew 5+ hours trying to
debug my install.
Note: AXIS alpha 3 was a pleasure to install/use and I appreciate all the
effort that has gone in to this, hence I am slowly typing this long e-mail
w/ my left hand (I broke the right arm) 'cos I hope it
>I do not know immediately, how to do it in VB in ASP, but (apart from point
1 of my
>original message) you simply have to receive and return cookies in the HTTP
>communication between your service's client and server. The session's
identifier is
>transmitted in a cookie.
>
> Jarek
But I think it
> ||| 2. Generate a stub for the deployed service with the WSDL2Java tool and modify
> ||| one of generated files - the "...ServiceLocator.java" (in fact I modified one
> ||| of Axis's classes and put the modified class before axis.jar in my classpath,
> ||| which causes the file in question to be
On Wed, 20 Mar 2002 16:07:27 +0100, Jaroslaw Balut
<[EMAIL PROTECTED]> wrote:
||| 2. Generate a stub for the deployed service with the WSDL2Java tool and modify
||| one of generated files - the "...ServiceLocator.java" (in fact I modified one
||| of Axis's classes and put the modified class befor
||| Being somewhat new to SOAP (and having pored
over several
||| books/resources), I'm finding a lack of explanation out there on
how to
||| do "Stateful" SOAP servers (in the same way that it's trivial to
do
||| Stateful JSP's/Servlets).
|||
||| Basicly I want to provide a SOAP API with method
On 20 Mar 2002 07:06:30 -0700, Bryan Field-Elliot <[EMAIL PROTECTED]>
wrote:
||| Being somewhat new to SOAP (and having pored over several
||| books/resources), I'm finding a lack of explanation out there on how to
||| do "Stateful" SOAP servers (in the same way that it's trivial to do
||| Statef
On Wed, 20 Mar 2002 15:01:58 +0100, Michel Bergijk <[EMAIL PROTECTED]>
wrote:
|||
||| yes
|||
|||
||| Do the wsdd and wsdl files reside at that location aswell?
I haven't put my .wsdd file there. Since I passed it to the AdminClient and
he copied the info to the server-config.wsdd I don't
Good stuff!
-Original Message-
From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 9:26 AM
To: [EMAIL PROTECTED]
Subject: RE: Array deserialization problem
Russell and I talked about this problem, and I am going to implement a
feature (today) which will mar
Actually, they are defined in the wsdd, they seem to be simply missing from
the Stub.
Sylvain.
-Original Message-
From: Russell Butek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 9:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Array deserialization problem
Ah! I misunderstood yo
Russell and I talked about this problem, and I am going to implement a
feature (today) which will mark
the derived types as referenced if the base type is referenced. This will
cause the derived bean classes
to be generated AND registered. This should fix your problem. I'll send a
note when thi
Actually when you deploy a new service using the Admin service, Axis
updates server-config *and* makes the changes effective immediately.
Glyn
My understanding is that the Axis server loads services defined in
server-config.wsdd
at boot time. You only need to invoke the AdminClient when you
want to deploy a new service. When you deploy a new service
the Admin service updates server-config but these changes
aren't effective until nex
yes
Do the wsdd and wsdl files reside at that location aswell?
Michel
-Original Message-
From: Joey Gibson [mailto:[EMAIL PROTECTED]]
Sent: woensdag 20 maart 2002 14:57
To: [EMAIL PROTECTED]
Subject: Re: Axis error: ClassNotFoundException
On Wed, 20 Mar 2002 14:38:05 +0100,
Hi,
Being somewhat new to SOAP (and having pored over several books/resources), I'm finding a lack of explanation out there on how to do "Stateful" SOAP servers (in the same way that it's trivial to do Stateful JSP's/Servlets).
I've seen mention in the Axis docs of having your SOAP server
On Wed, 20 Mar 2002 14:38:05 +0100, Michel Bergijk <[EMAIL PROTECTED]>
wrote:
||| Sorry, something seems to have gone wrong... here are the details:
||| java.lang.ClassNotFoundException: com.foo.FooService
|||
||| My directory structure:
||| axis (directory)
||| |--com (directory)
||| |--
Hi everybody!
Me again ;-)
As my last problem got solved by myself, here is a simple question (hopefully)
I would like to present a wsdl-document with a few modifications to a user when he/she
calls the servlet with ...?wsdl (Some header additions and so on). How do I do that?
Can I place my own
> xsd:nonNegativeInteger is not supported yet.
Thank you for answer, I will be waiting.. I also found some other types
which still don't supported.
> Rich Scheuerle
> XML & Web Services Development
> 512-838-5115 (IBM TL 678-5115)
Axers,
Thinking I have a handle on how to work and where to place services I went
to my services directory to look at my service wsdl file. This is what I got
from the url http://localhost:8080/axis/services/FooService?wsdl:
AXIS error
Sorry, something seems to have gone wrong... here are the det
First problem:
- the soap:body section is required to have a use attribute, in this case I
assume you want use="literal" (of course a NullPointerException is a bad
error message in this case!)
- once I fixed that in the WSDL, thought, I have another problem:
java.io.IOException: Type
http://www.eb
Fellow Axers,
While wondering about file and directory structure I made myself the
following diagram and actions list. Can you comment on whether my thoughts
are correct?
axis (directory)
|--com (directory)
|--foo (directory)
|--deploy.wsdd
|--FooServices.class
With this class org.apache.soap.messaging.Message, we have the following
method send(java.net.URL url, java.lang.String actionURI,
Envelope env) and addBodyPart javax.mail.internet.MimeBodyPart part)
But with the class org.apache.axis.Message, this methods doesn't exist.
How to do th
In case any of you didn't see this...
Glyn
- Forwarded by Glyn Normington/UK/IBM on 20/03/02 09:54 -
Russell
Ikeda,
I take it you want to know how to create clients and services? Look in
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-guide.h
tml where it is explained. What I pieced together from this is:
1 Create a Java service interface and compile it.
2 Create a service deploy.ws
commons-logging.jar seems to be missing from the classpath.
Glyn
"Tewari, Vijay"
Hi,
I want to use Axis, so I study to run sample codes.
The proxy sample has only server side code.
I have no idea that how to use this sample from client.
I think this is very easy job for you ... but I cannot do it.
Please tell me how to use proxy example.
Thanks.
--
IKEDA Katsumi <[EMAI
73 matches
Mail list logo