This is not actually an error, it just means that the logging system cannot be
initiated because it has not been told what to do.
Add a log4j.properties file directly to your classes directory or anywhere on
your classpath.
Use the following as a starting point.
# Set root category priority to
Chris,
I'm still new to this myself but here's my
take on it. Axis provides a servlet, which is deployed in an application,
through which all HTTP request for a service go. From Tomcat's (or any
other application server's) point of view, it's just another web application.
If you have configuratio
i am using axis on tomcat
i simply copied the axis directory of
axis1xxx/.../webaps to tomcat/.../webapps
but can i do to remove the following error
--- [EMAIL PROTECTED] wrote:
> You do not have a log4j properties file in your
> class path.
>
> Regards
>
>
> Quoting yssr <[EMAIL PROTECTED
You do not have a log4j properties file in your class path.
Regards
Quoting yssr <[EMAIL PROTECTED]>:
> Hi
>
>java samples.userguide.example3.Client
> -lhttp://localhost:8080/axiso/services/MyService "test
> me ok"
> log4j:WARN No appenders could be found for logger
> (org.apache.axis.i
Hi
java samples.userguide.example3.Client
-lhttp://localhost:8080/axiso/services/MyService "test
me ok"
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system
properly.
You typed : test me ok
Hi,I am using the message service in AXIS1.1 to receive SOAP msgs and using XSLT translate then to internal XML and then translate a response XML to SOAP response in the public void method(SOAPEnvelope req, SOAPEnvelope res).I am able to do a round trip till I send the response in SOAPEnvelope int
I'm starting a web services project and am hoping that either Axis or
Sun's Java Web Services Developer Pack will fulfill our needs for
exposing and consuming web services.
I know that those who have already invested in implementations using
Axis have a reason to continue using it. My question is:
We've been deploying to 8.1 (no service packs and SP2) with no problem.
Both as exploded and un-exploded war and ear.
Stack trace?
Wei Hsu wrote:
Hi all,
Has anyone tried
deploying AXIS in BEA Weblogic 8.1? While
AXIS works perfectly fine for me in Weblogic 7.0, my AxisS
>The reason being is that when I used doc/literal and wrapped style,
>.NET blew-up. On the other-hand, if I stuck with the conventional
>rpc/encoded wsdl, .NET worked like a charm as a client to my web
>service.
I'm surprised to hear you say that - everything else I've read says
that wrapped doc/l
Another thing about this that is important to know is that I ***DID
NOT** use what everyone is saying to use as far as WS-I-compliant WSDL
is concerned. I used rpc/encoded. The reason being is that when I used
doc/literal and wrapped style, .NET blew-up. On the other-hand, if I
stuck with the co
Marcus,
Thanks for the quick response. I also found that the code/beans that
is/are generated (for my schema complexTypes that are being returned by
some of my web service methods) when doing a WSDL2Java (without the -h
parameter) have typeDesc info that is being passed in. That is what I
was re
It's quite possible that the version of webMethods Glue they're using
doesn't support RPC/Literal.
I suggest you change your WSDL to document/literal following the "wrapped"
convention.
Anne
-Original Message-
From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED]
Sent: We
Hi Espen,
In another thread I related that I have working Axis code that includes
the service/client as used for returning DIME attachments from an Axis
web service. This was generating a "substantial-in-size" PDF document
that was being returned to the client. If you would like me to send it
t
I started with the WSDL and generated skeleton/stub from that using
Axis' tool. I was just looking at the generated code, wondering if
there was any way to modify it to SAP's liking.
Russ
-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29,
Thanks to all that replied to my messages. I finally managed to get my app
ported over and working.
Chris
I finally got it working. It turned out I didn't need to make any changes
to the web.xml file, and that I had to change some of the fields in the
server.xml file.
Chris
-Original Message-
From: Deepak Kothule [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 3:56 PM
To: [EMAI
The encoding style attribute is required when using RPC/encoded.
Have you tried generating a stub from the WSDL rather than using the Call
interface?
Anne
-Original Message-
From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 9:19 PM
To:
Rafael,
The primary criterion for choosing between the message provider (message
style) and the RCP provider (RPC/wrapped/document styles) is based on
whether you prefer to parse the XML yourself (message style) or if you'd
rather work with Java objects (RPC provider). When using the message
provi
Suzy Fynes wrote:
Thanks for your help.
Have the activation.jar in both folders and have set the Classpath to
the axis\WEB-INF\lib folder and still cant seem to find it. Its running
from a unix server but don't see how that would make a difference seen
as all the other files such as axis.jar are fo
Does axis even support JNDI? If so, how? I've defined the info in my
server.xml and web.xml files, but my web service still can't find the db.
Chris
Yes, I authored the (attached) WSDL and delivered it to our partner to
implement. Axis uses the WSDL just fine with the exception of the
enumerated types, so I am not using them. I am not familiar with either
WebMethods or SAP and know little about their implementation. I'm trying to
work with t
I have the Context set up in the server.xml file. Right now I have the path
set to "/axis/web-inf/classes/websvc". My SOAPBindingImpl class in in the
websvc package. This seems to point tomcat to axis. In the web.xml in
axis, I have an env-entry set up for the database I defined in the
server.x
Hi everyone,
We are using Axis Java 1.2beta. We have a .NET C# client sending raw XML over
HTTP (not SOAP) to our JSP which in turns calls DynamicInvoker written by Davanum
Srinivas. The DynamicInvoker calls a Doc/lit style WSDL auto-generated by ASMX.
I measured the time delta before and aft
In server.xml file, you'd have Context element for your web application
(which is under Server->Service->Engine->Host->Context). Make sure that
JNDI resources are configured in this context element. In the web.xml
file of your application, you can refer these resources with environment
entry for t
Hello Paul,
If you could check the SOAP message
received by the client (where you are using WSIf to invoke) we can verify
if the problem is indeed with the WSIF code or on the other end. One way
to capture the SOAP message is by using the TCP monitor. See http://ws.apache.org/axis/java/user-guide
Hi fellows:
I'm having troubles trying to contact a server. I have to send this HTTP
POST
POST /tarificaForum1/service1.asmx HTTP/1.1
Host: acrux.fidens.cl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/Tarificar";
http://www.w3.org/2001/XMLSchem
Russ,
The exception is actually coming from WebMethods. I supposed you are calling
WebMethods Web Services that in turn calling SAP backend system. Do you have the WSDL
file?
Regards!
-Original Message-
From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED]
Sent: Wednesda
Hello all. I have implemented & tested an application using Axis 1.1. It
is fairly simple, only requiring a request/response pattern using simple
types. However, now I'm trying to integrate with an SAP backend system and
I'm running into issues. (SAP is the web service and Axis is the client).
Oh, you're using JNDI. I have never bothered with JNDI DataSources. I find
that straight JDBC works fine for me.
I guess you need to update /webapps/axis/WEB-INF/web.xml and
generally mess around until it works.
I'm sure someone else will be able to put you right.
Jeff
- Original Messag
I have a context like what is shown in
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how
to.html However, I can't figure out what the path and docBase parameters
should be. They were originally pointing to a directory in tomcat's webapps
dir.
Chris
-Original Messa
Hi all,
I am trying to invoke a webservice on Axis on Tomcat through the Taverna
Workflow Engine.
Samples like the Axis Stock Quote work, returning the stated "55.25".
One method of my webservice works, returning a usage statement (WSDL for
the webservice below).
However, calling the "executeJ
Not really clear what you are trying to do...
"I tried copying over the info from the old server.xml file"
What info?
Jeff
- Original Message -
From: "Hubble, Christopher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 1:42 PM
Subject: RE: Databas
I looked at the info in the wiki and it didn't seem to have the info I
wanted. The servlet will be going away as soon as the web service is
finished. I tried copying over the info from the old server.xml file, but I
keep getting NameNotFoundException: Name jdbc is not bound in this Context.
The p
If thats what you're after (reading a configuration file from WEB-INF, say),
here's some code to run in SoapBindingImpl (for instance):
private static String s_strWebInf;
public static String getWebInf()
{
if (s_strWebInf == null)
{
// Get WEB-INF location
try
{
MessageContext msgContex
If you question is how to get to the servlet context from an axis handler
its covered in the wiki.
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages
-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 1:32 PM
To: '[EMAIL
So? The same code should work :-)
Jeff
- Original Message -
From: "Hubble, Christopher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 1:32 PM
Subject: RE: Databases in Axis
> -chuckle- What I'm trying to do is convert the jdbc servlet connection I
> h
-chuckle- What I'm trying to do is convert the jdbc servlet connection I
have over to work with the axis web service that's replacing the old
serlvet.
Chris
-Original Message-
From: Jeff [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 1:27 PM
To: [EMAIL PROTECTED]
Subject:
Just use JDBC but I suspect your question will be re-phrased!
Jeff
- Original Message -
From: "Hubble, Christopher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 29, 2004 1:27 PM
Subject: Databases in Axis
> How do you configure a database in axis?
>
> Chris
I have never used Axis with JBoss, so I'm not sure I'm right :0)
Axis services have one of following scope: Application, Request and Session
(see the user Guide for more information about)
Even when you have a Application scope, when Axis run the service as a
Singleton,
multiple calls to you
How do you configure a database in axis?
Chris
I was referring to arrays specified using the proper (WS-I recommended)
syntax. ( )
Axis doesn't use the element name specified in the WSDL (in this case
"array_element") as the name of the array elements.
The namespace issues also pertain to this case.
-Eric
-Original Message-
From: J
There is no way in WSDL or XML Schema to define the names of the array
elements used in SOAP encoding, which is underspecified.. The schema type
for soap:ArrayType specifies element to be used for the array
elements. They are completely arbitrary. It would be OK, if very perverse,
if some serve
The original servlet was running in the
tomcat webapps dir. The new web service is running in axis's webapps dir,
which is in turn located in tomcats webapps dir. I assume I need to change
the path parameter in the server.xml file, but what do I change it to? I
tried changing it to axis a
Tom,
> Yes we are going to work with generated stubs. All Im
> confused about now is
> what Axis1.2 offers that supercedes the need to manually
> register the datat
> type class (i.e. will mean that I dont have to use reflection
> to instantiate
> the stub for my dataclass and then retrive
Thanks for your help.
Have the activation.jar in both folders and have set the Classpath to
the axis\WEB-INF\lib folder and still cant seem to find it. Its running
from a unix server but don't see how that would make a difference seen
as all the other files such as axis.jar are found
-Origin
Suzy Fynes wrote:
*Error*: could not find class javax.activation.DataHandler from file
*activation.jar*
Axis will not work
I have added activation.jar to my classpath from the axis/lib folder,
should it be some where else or is there something else im missing?
try putting it in (tomcat_home)/weba
WAJSBERG Julien RD-BIZZ wrote:
You can use quotes around classpaths, too :
java -cp "%CLASSPATH_WITH_SPACES%" org.java.program
Or use short names of these directories (like "c:\Progra~1" for
"c:\Program Files"); but I prefer the first solution, if it works :)
hm, yes, maybe :-)
But I just so much
Apparently I don't have the serializer configured and/or implemented properly. I get
the following "No serializer found" error when I try to call the method that returns a
jdom. Does anyone know where I can get more information about writing custom
serializers for axis?
AxisFault
faultCode:
I'm not sure. Right now it defines a
connection per directory in the webapps dir.
Chris
-Original
Message-From: Larry Meadors
[mailto:[EMAIL PROTECTED]Sent: Wednesday, September 29,
2004 10:22 AMTo: [EMAIL PROTECTED]Subject: Re: DB
Connections with Axis
Why? If it is
Yeah ive put the jar into the common folder but still cant get access to
it. I;ve set up the Classpath to point to the tomcat/common/lib folder
and still no joy
thanks
-Original Message-
From: Keeran Hawoldar [mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 15:27
To: [EMAIL PROTECTED]
S
Ditto for me.
|-+->
| | Keeran Hawoldar |
| | <[EMAIL PROTECTED]>|
| | |
| | 09/29/2004 08:26 |
| | AM|
| | Pl
I'm not sure how helpful this will be, but I had to download the
activation classes from sun.com and put the activation.jar into
/common/lib before it would work for me..
HTH!
Kee
- Original Message -
From: Suzy Fynes <[EMAIL PROTECTED]>
Date: Wed, 29 Sep 2004 15:26:30 +0100
Subject: H
Hey I’m having trouble deploying my happiness axis
page, its not
finding the activation.jar
Error: could not
find class javax.activation.DataHandler from file activation.jar
Axis will not work
I have added activation.jar to my classpath from the axis/lib folder, should it be some w
I'm trying to write a custom serializer for the jdom Element (org.jdom.Element). I've
written the serializer,deserializer,factories and added the type mapping to the wsdd
file. The service deploys and updates the server-config with the typeMapping Element
but when javaToWsdl tries to generate
Why? If it is using JNDI, it should still be OK, no?
Larry>>> [EMAIL PROTECTED] 9/29/2004 8:09:42 AM >>>
I'm migrating a servlet over to Axis. The current servlet connects using dbpooling as configured in the server.xml file. How do I change this todeploy it to Axis?
I'm migrating a servlet over to Axis. The current servlet connects using db
pooling as configured in the server.xml file. How do I change this to
deploy it to Axis?
Chris
BTW, I am using Axis 1.2 beta. That is important. I should note that I
also did NOT generate my WSDL using Java2WSDL but rather built my WSDL
first and then java classes manually which has resulted in a much leaner
code base that would have been produced automatically.
- I know that axis hardcodes
Tried that and it still didn't work.
Chris
-Original Message-
From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: RE: SOAPMonitor
Reload the SOAP monitor by clicking on reload page. If the soap monitor
is on and yo
Reload the SOAP monitor by clicking on reload page. If the soap monitor
is on and you restart the server the connection is lost. Do you think
this could be the reaon?
-Original Message-
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29, 2004 6:29 AM
To: '
I set up SOAPMonitor to see my messages travelling back and forth. I have
two instances of tomcat running, one on 8080 and the other on . They
are both running the monitor. Last night they were both working fine, but
this morning, the monitor for says it can't connect to the server. An
yes indeed! Thanks!
-R
Rafael Gomez wrote:
Hi,
any help on how to deploy axis 1.1 on Orion 2.0.2 would be highly
appreciated.
Regards,
-R
Hi rafael,
look at this web page, I think it will help you
http://kb.atlassian.com/content/tutorials/candlelight/axis.html
Karim
smime.p7s
Description: S/M
Hi Michael,
Yes we are going to work with generated stubs. All Im confused about now is
what Axis1.2 offers that supercedes the need to manually register the datat
type class (i.e. will mean that I dont have to use reflection to instantiate
the stub for my dataclass and then retrive the TypeDesc
Axel Bock a écrit :
Keith Hatton wrote:
Try not using long directory names with spaces in them when you're
setting
the CLASSPATH. I think your AXIS_HOME variable (C:\Programme\Apache
Software Foundation\Axis1.2b) or TOMCAT_HOME is the problem. The Java
interpreter is having a problem with the comm
Keith Hatton wrote:
Try not using long directory names with spaces in them when you're setting
the CLASSPATH. I think your AXIS_HOME variable (C:\Programme\Apache
Software Foundation\Axis1.2b) or TOMCAT_HOME is the problem. The Java
interpreter is having a problem with the command line. Either put
Hello,
I am using AXIS 1.2beta 3.
I will post the server side code, the .wsdd (the wsdl is autogenerated by axis using
the wsdd parameters), and then will try to give a walkthrough what to change in the
.NET generated code (using wsdl.exe or Add WebReference) and why it had to be changed.
Forg
Hi
I’m trying to deploy the following wsdd
file
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
now
when I run the adminclient I’m getting the
following e
Hi,
I've created a web service that has been running for some time now
(using Axis 1.2beta), accepting attachments using both MIME and DIME as
attachment types. However, I've encountered a problem with large
attachments (larger than 20 KB).
I can parse the SOAP body part of the message just fin
Thanks got it fixed, the was a typo in the
pathname to log4j
Thanks for help
-Original Message-
From: Sunkara, Jayachandra S
[mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 10:47
To: [EMAIL PROTECTED]
Subject: RE: Deployment Error
Do this.
On the
command prompt type
Title: Problems with custom serializer/deserializer
Hello,
I am trying to write a serializer for the Person class (with two attributes name and age and their getter and setter) and we have an exception when we try to display the WSDL :
AXIS error
Sorry, something seems to have go
Do this.
On the command prompt type set | grep
CLASSPATH
See if in the content shown
commons-logging.jar, commons-discovery.jar are appearing (and the shown path is
correct also).
If in case you don’t see the
classpath variable updated with these two jars run .bashrc command once on the
Hi there,
I downloaded the Axis1.1 and tried to deploy and test the sample under
directory \samples\attachments. But I always get "null point" error message.
Then I try to import the "EchoAttachment.java" into JBiulder X 10 and
generated as Web service with Axis 1.1 as toolkit. I developed my own
Thought that was the problem but its not,
am getting quite stumped
-Original Message-
From: Sunkara, Jayachandra S
[mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 10:15
To: [EMAIL PROTECTED]
Subject: RE: Deployment Error
Means
log4j jar is missing in classpath
Means log4j jar is missing in classpath
From: Suzy Fynes
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 29,
2004 2:43 PM
To: [EMAIL PROTECTED]
Subject: Deployment Error
Hi,
I set all classpaths on my server and I’m getting the
following error now when I try run
-Original Message-
From: Suzy Fynes
[mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 10:13
To: [EMAIL PROTECTED]
Subject: Deployment Error
Hi,
I set all classpaths on my server
and I’m getting the following error now when I try run the AdminClient
Exception in th
Hi,
I set all classpaths on my server
and I’m getting the following error now when I try run
the AdminClient
Exception in thread "main" java.lang.NoClassDefFoundError:
org.apache.commons.logging.LogFactory
at org.apache.axis.components.logger.LogFactory.class$(LogFactory.ja
Try not using long directory names with spaces in them when you're setting the
CLASSPATH.
I think your AXIS_HOME variable (C:\Programme\Apache Software Foundation\Axis1.2b) or
TOMCAT_HOME is the problem. The Java interpreter is having a problem with the command
line.
Either put it in quotes, rem
If I want to add all the jars in the lib
folder is
CLASSPATH=/usr/local/jakarta-tomcat-5.0.27/webapps/axis/WEB-INF/lib/axis.jar; /usr/local/Jakarta-tomcat-5.0.27/…/jaxrc.jar;…./saaj.jar
?
Thanks again for you help
-Original Message-
From: Sunkara, Jayachandra S
Rafael Gomez wrote:
Hi,
any help on how to deploy axis 1.1 on Orion 2.0.2 would be highly
appreciated.
Regards,
-R
Hi rafael,
look at this web page, I think it will help you
http://kb.atlassian.com/content/tutorials/candlelight/axis.html
Karim
Ah I see. Thanks I’ll give that a
try!
-Original Message-
From: Sunkara, Jayachandra S
[mailto:[EMAIL PROTECTED]
Sent: 29 September 2004 09:26
To: [EMAIL PROTECTED]
Subject: RE: deploying a wsdd file
That doesn't include all jars in the lib directory
(sadly), try adding
That doesn't include all jars in the lib directory (sadly), try adding
each and every jar file
e.g: When you run 'set', you should rather see
CLASSPATH=/usr/local/jakarta-tomcat-5.0.27/webapps/axis/WEB-INF/lib/axis.jar
CLASSPATH search is not to be treated same as PATH search
H
Hi,
any help on how to deploy axis 1.1 on Orion 2.0.2 would be highly
appreciated.
Regards,
-R
smime.p7s
Description: S/MIME Cryptographic Signature
Hey thanks for everyone for your help but I've set the classpath and it
still can't find the AdminClient. To set the classpath I did an insert
of
CLASSPATH=/usr/local/jakarta-tomcat-5.0.27/webapps/axis/WEB-INF/lib
In .bashcr
Anyone any ideas what I'm doing wrong? If I do set, I can see the
cla
I mean unqualified.
Seeing your affirmative response, I had a look in the client code. The
DOM parsing was wrong. JAX-RPC, as you say, handles well valid namespace
attribute. The DOM parser was not expecting any attribute...
Your help has been really appreciated.
Jean-Francois.
Anne Thomas Manes
First of all, thanks for your answer.
I was testing a bit and I finally managed to get Option #1 working. But
I have to say that I am a bit confused and I have no idea why this is
working. So I decided to take a look at MsgProvider source code. Its
'invoke' method gets a OperationDesc object fro
Tom,
> The XML string which I receive is generated by a mainframe
> application which
> does a conversion between an old proprietary data format and XML.
>
> In your code you mention that it is not necessary to register
> Axis classes
> explicitly in Axis 1.2 - that Axis 1.2 can do this
> d
85 matches
Mail list logo