You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Steven J Baker <sj...@ambrielconsulting.com> on 2002/03/25 20:33:36 UTC
Re: AXIS problem
Did you start the AXIS server through the admin page after starting Tomcat?
Jean-Marc Taillant wrote:
> Hi all,
>
> I use Tomcat 3.3a with Axis beta1. I try to list ( or to deploy too) the
> services installed on Axis with the following command:
>
> java org.apache.axis.client.AdminClient -l
> http://localhost:8080/axis/services/AdminService list
>
>
>
> and i get the following error:
>
>
>
> - AxisFault: AxisFault
> faultCode: http://xml.apache.org/axis/:Server.generalException
> faultString: Null response message!
> faultActor: null
> faultDetail:
> stackTrace: Null response message!
> at org.apache.axis.client.Call.invoke(Unknown Source)
> at org.apache.axis.client.Call.invoke(Unknown Source)
> at org.apache.axis.client.AdminClient.process(Unknown Source)
> at org.apache.axis.client.AdminClient.process(Unknown Source)
> at org.apache.axis.client.AdminClient.list(Unknown Source)
> at org.apache.axis.client.AdminClient.list(Unknown Source)
> at org.apache.axis.client.AdminClient.process(Unknown Source)
> at org.apache.axis.client.AdminClient.main(Unknown Source)
>
>
>
> I try to get the latest nightly build but the server seems to be busy (
> bad transfert rate)
>
> Someone could tell me if the is a problem with beta1?
>
> I try to look at the mailing list but there is no subject about this
fault.
>
>
>
> Regards,
>
> Jean Marc Taillant
>
--
Steven J Baker Ambriel Consulting
Telephone: +44 7855 333023 http://ambrielconsulting.com
Re: AXIS problem
Posted by Jean-Marc Taillant <ta...@bst.bsf.alcatel.fr>.
i started Axis through the admin page , and i get the last versino of Xerces
but i got the same error on the client side ( but now the trace in the
tunneling are good ( i can see 55.25 in the result of the stock sample)....
But i get an exception on client side
----- Original Message -----
From: "Steven J Baker" <sj...@ambrielconsulting.com>
To: <ax...@xml.apache.org>
Sent: Monday, March 25, 2002 8:33 PM
Subject: Re: AXIS problem
> Did you start the AXIS server through the admin page after starting
Tomcat?
>
>
> Jean-Marc Taillant wrote:
> > Hi all,
> >
> > I use Tomcat 3.3a with Axis beta1. I try to list ( or to deploy too)
the
> > services installed on Axis with the following command:
> >
> > java org.apache.axis.client.AdminClient -l
> > http://localhost:8080/axis/services/AdminService list
> >
> >
> >
> > and i get the following error:
> >
> >
> >
> > - AxisFault: AxisFault
> > faultCode: http://xml.apache.org/axis/:Server.generalException
> > faultString: Null response message!
> > faultActor: null
> > faultDetail:
> > stackTrace: Null response message!
> > at org.apache.axis.client.Call.invoke(Unknown Source)
> > at org.apache.axis.client.Call.invoke(Unknown Source)
> > at org.apache.axis.client.AdminClient.process(Unknown Source)
> > at org.apache.axis.client.AdminClient.process(Unknown Source)
> > at org.apache.axis.client.AdminClient.list(Unknown Source)
> > at org.apache.axis.client.AdminClient.list(Unknown Source)
> > at org.apache.axis.client.AdminClient.process(Unknown Source)
> > at org.apache.axis.client.AdminClient.main(Unknown Source)
> >
> >
> >
> > I try to get the latest nightly build but the server seems to be busy (
> > bad transfert rate)
> >
> > Someone could tell me if the is a problem with beta1?
> >
> > I try to look at the mailing list but there is no subject about this
> fault.
> >
> >
> >
> > Regards,
> >
> > Jean Marc Taillant
> >
>
>
>
> --
> Steven J Baker Ambriel Consulting
> Telephone: +44 7855 333023 http://ambrielconsulting.com
>
>
RE: web service fails to run when has constructor
Posted by ajack <aj...@openbiz.biz>.
Try a public constructor, not a package-only one.
public MyService(){
regards
Adam
-----Original Message-----
From: Hui Deng [mailto:hdeng419@yahoo.com]
Sent: Monday, March 25, 2002 1:15 PM
To: axis-user@xml.apache.org
Subject: web service fails to run when has constructor
Hi All,
Haven't find info regards to it, so I post it here.
Just want to be sure that the the java class be
deployed as Web Service should not have default
constructor explicitly. For example, when I deployed
the following service and run, I got error said:
java.lang.IllegalAccessException:
C:Apache Tomcat 4.0webappsaxisWEB-INFclasses>java
samples.userguide.example
3.Client "test me!"
http://localhost:8080/axis/servlet/AxisServlet
java.lang.IllegalAccessException:
samples.userguide.example3.MyService
public class MyService {
static int staticnum = 0;
private boolean state = false;
static int created = 0;
MyService(){
//created++;
}
public String serviceMethod(String arg)
{
....
}
...
}
When I removed the constructor, everything works fine.
Did I miss something?! If it's true, it hard to deploy
any pre-existing classes becasue most of them have
constructors.
Thanks in advanced,
-Hui
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards.
http://movies.yahoo.com/
web service fails to run when has constructor
Posted by Hui Deng <hd...@yahoo.com>.
Hi All,
Haven't find info regards to it, so I post it here.
Just want to be sure that the the java class be
deployed as Web Service should not have default
constructor explicitly. For example, when I deployed
the following service and run, I got error said:
java.lang.IllegalAccessException:
C:Apache Tomcat 4.0webappsaxisWEB-INFclasses>java
samples.userguide.example
3.Client "test me!"
http://localhost:8080/axis/servlet/AxisServlet
java.lang.IllegalAccessException:
samples.userguide.example3.MyService
public class MyService {
static int staticnum = 0;
private boolean state = false;
static int created = 0;
MyService(){
//created++;
}
public String serviceMethod(String arg)
{
....
}
...
}
When I removed the constructor, everything works fine.
Did I miss something?! If it's true, it hard to deploy
any pre-existing classes becasue most of them have
constructors.
Thanks in advanced,
-Hui
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/