I've seen the same problem; cranked logging right up to debug and not seen a
thing on the concole (edit log4j.properties BTW).
My hypothesis was that something about my code/WSDD was breaking everything.
But I couldnt track down exactly where the break was occuring, so as to add
more helpful messa
Hi all, I hope someone can set me on the right path here.
I'm using Axis 1.0 and Tomcat from the JBoss 3.0.3 / Tomcat 4.1.12
release. (I'm not using JBoss in this case.)
I had two services which were deploying & being called by the
auto-generated JUnit test cases OK.
I then added a full implementa
That approach will lock you into using Axis as your SOAP layer.
:)
Eric H. Jung
-Original Message-
From: Bobby Carp [mailto:bobby.carp@;blackpearl.com]
Sent: Wednesday, November 06, 2002 6:19 PM
To: '[EMAIL PROTECTED]'
Subject: RE:
Tom,
I use the parameter element in the WSDD deploym
Tom,
I use the
parameter element in the WSDD deployment for the service such
as:
In my service
code, I use the following:
MessageContext
msgCxt = MessageContext.getCurrentContext();
SOAPService soapSvc =
msgCxt.getService();
soapSvc.getOption("myparam");
-Original
Mes
hello,
to access the
:
configFileLocation
C:\myapp\config\config.xml
section in the
web.xml file in a servlet i use:
application.getInitParameter("configFileLocation")
to get the parameter
value "C:\myapp\config\config.xml"
is there a similar
way to acc
I need to change the User-Agent in the HTTP Header for the SOAP Client Call
> User-Agent: Axis/1.0
What is the correct way to set the User-Agent ?
I tried to set it on Call , but the User-Agent did not change
This code does not work:
Service service = new Service();
Call call = (Call) service
To call a web service from a servlet passing a string parameter I can do..
call.addParameter( "symbol", XMLType.XSD_STRING, ParameterMode.IN );
But how do I pass a structure or a class to a web service and receive the same
(modified) class back? Is this right or nearly right ?
Cain abl
Title: What happened with nightly drops?
Hi,
I have a nightly drop as of 10/22 but I don't have source for it, which I need.
What happened with nightly drops? The only one available is as of 10/27 and it does not contain binaries, only source. I cannot use release 1.0.
Where can I get la
1. does this return an XML file:
http://localhost:8080/axis/EchoHeaders.jws?wsdl
2. if it does, does the request
http://localhost:8080/axis/EchoHeaders.jws?method=list return a list of
headers?
- Original Message -
From: "Calvin Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
- Original Message -
From: "ArentJan Banck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 1:39 PM
Subject: Re: axis 1.0 does not deploy
> I think Axis could use a 'getting started' FAQ, what would be the best way
> to do this? Open a bugzilla item?
Writ
Mark,
If you start it for tomcat I'll throw in what I found usefull. Also I'm
actually using axis with Websphere 4 now. I used tomcat to ensure that i
really didn't know what I was doing. But now I have axis working perfectly
(minus .jws) in Websphere 4
Calvin R. Smith
P.S.
if you don't s
Tom Jordahl wrote:
Wow, that sounds like a volunteer to me!
Write it up and put it in a bugzilla report and we will add it to the docs.
Keep in mind, not everyone uses Tomcat to work with Axis
I'm more than happy to contribute. I will add how to setup with Tomcat
4.1.12 ... including the
Title: RE: EJBs deployed as webservices continued
Hi,
I
didn't follow the thread fully. Just my few cents.
How
about the jmx jars. Tomcat uses mx4j-jmx.jar and jboss uses its own
implementation. If you happen to use any of the JMX
classes
in
your ejb, you will have another nightmare.
Thanks James,
Yes, I had to delete the server-config.wsdd. But, I think the error is not a
serious one at all. We just need to add some more instructions in the user
guide.
--Bahman
- Original Message -
From: "James Black" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, Nove
> From: Mark Strecker [mailto:Mark.Strecker@;sdrc.com]
> I agree, the docs need to be updated with better instructions on how to
> get the different versions of Tomcat configured and how to do the
> deployment. Even an FAQ on the Axis page(which answers these recurring
> setup issues) would be a
Bahman Kalali wrote:
> I had the same problem after installing a fresh Axis. I found that if I
> start Tomcat again, the error message does not show anymore. I only noticed
> this error for the first time that I installed axis in Tomcat and wanted to
> deploy some services.
The first time you
> - Problem with servlet engine config file: /WEB-INF/server-config.wsdd
>
This is not an error message, you don't need a wsdd file for Axis to work
with jws files.
Message is indeed confusing.
>
> again I tried to view the sample by opening my browser and going to the
> site: http://127.0.0.1:8
Thanks Vidyanand,
It works fine now. I was actually trying to implement this way, but I was
stuck. You helped me a lot. I really appreciate.
Again, thanks,
--Bahman
- Original Message -
From: "Vidyanand Murunikkara" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 0
Title: nightly drops missing
You were correct! I changed type="" to type="xsd:anyType" and it
started working. This has got to be a bug. I'll report
it.
-Original Message-From: Brian Ward
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 06,
2002 3:22 PMTo: '[EMAIL PROTEC
Title: nightly drops missing
I
think your error is related to the "empty" type of your nestedException
element. I think that the {http://www.w3.org/2001/XMLSchema} string is
just the default namespace with no class following it.
Anyone?
---
bhw
-Original Message-From: Volkman
Title: RE: EJBs deployed as webservices continued
Russell, et al.
I am using JBoss as my EJB server, but I have a decoupled Tomcat-4.1.12 installation hosting Axis. I think that (minus a few Sun RI vs. JBoss issues) the problem domain is nearly identical. I can appreciate your pain in get
jws does not work for me and Mark (see his earlier message where he confirms
jws is broke)
it probably does work but not for my setup and I'm not sure why. I simply
did as the docs said and it failed.
Calvin R. Smith
Original Message Follows
> Mark,
> Thanks that worked, so basical
- Original Message -
From: "Calvin Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 12:21 PM
Subject: Re: axis 1.0 does not deploy
> Mark,
> Thanks that worked, so basically .jws deployment is not working.
> Even after I was able to call the sample
Thank you all for the responses: I'll take a look tomorrow at the mentioned
methods; looks like I didn't look well enough into the code :)
best regards,
adrian.
On Wednesday 06 November 2002 18:52, Dennis Sosnoski wrote:
> Just to avoid potential confusion, "Constructor" is not the proper term
>
Title: nightly drops missing
I'm using Java2WSDL and WSDL2Java. The generated
WSDL contains the following.
http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://www.w3.org/2001/XMLSchema">
http://schemas.xmlsoap.org/soap/encoding/"/>
http://api.secref.agedwards.com"
xmlns=
Yep. I came to the same conclusion about jws deployment. If you generate
the wsdl for the Calculator.jws (.../axis/Calculator.jws?wsdl) then the
jws file gets compiled into the jwsClasses directory ... but that
doesn't seem to buy anything ... it still doesn't work. Either way you
can successfu
There is an easier way to get an operationDesc from a ServiceDesc when
you know the method name.
OperationDesc opDesc = service == null ? null :
service.getOperationByName( opName );
Vidyanand.
-Original Message-
From: Vidyanand Murunikkara
Sent: Wednesday, November 06, 2002 12:21 P
Try this out Bahman
import org.apache.axis.handlers.BasicHandler;
import org.apache.axis.MessageContext;
import org.apache.axis.Message;
import org.apache.axis.AxisFault;
import org.apache.axis.description.ServiceDesc;
import org.apache.axis.description.OperationDesc;
import org.apache.axis.Hand
Mark,
Thanks that worked, so basically .jws deployment is not working.
Even after I was able to call the sample from the java client the .jws is
still broke. Even restarting tomcat fails to fix .jws files
Not that I care since I don't plan on using them anyway but rather for users
of this list
Hi All-
I have defined a request handler that replaces the incoming SOAP Envelope in
the Axis Message object with a New Envelope.
Note: For testing purpose I kept both the incoming message and the
transformed message the same. All I do is replace the old envelope with a
new envelope in the handl
It's
working for me in a Service, not a Handler. Maybe they don't have the
objects fully initialized when the handler is called?
-Original Message-From: Bahman Kalali
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 06, 2002
11:23 AMTo: [EMAIL PROTECTED]Subject: Re: How to
I went through something similar. Remove the server-config.wsdd file
that you created then deploy the samples.userguide.example3. Look at
Custom Deployment - Introducing WSDD for complete instructions on how to
do this. The server-config.wsdd will be created and you can see that the
'MyService'
Calvin
Try extracting the server-config.wsdd in axis.jar and placing it in
/WEB-INF.
Vidyanand.
-Original Message-
From: Calvin Smith [mailto:calvinrsmith@;hotmail.com]
Sent: Wednesday, November 06, 2002 11:37 AM
To: [EMAIL PROTECTED]
Subject: axis 1.0 does not deploy
I have so far be
- Original Message -
From: Bahman
Kalali
To: [EMAIL PROTECTED]
Sent: Wednesday, November 06, 2002 2:23 PM
Subject: Re: How to get an operation Name in a Requstor
Handler
Thanks Bobby,
I had even tried that one, but I got the same error
message(java.lang.NullPointerException)
I had the same problem after installing a fresh Axis. I found that if I
start Tomcat again, the error message does not show anymore. I only noticed
this error for the first time that I installed axis in Tomcat and wanted to
deploy some services.
--Bahman
- Original Message -
From: "Calv
I have so far been unable to get axis to work.
When I downloaded the 1.0 version of axis I found the axis webapp and
deployed that to tomcat and went through the verify process, and fixed it so
it's happy. But then when I tried to run a webservice I got:
- Problem with servlet engine config file
Thanks Booby,
I had even tried that one, but I got the same error
message(java.lang.NullPointerException)
I just read an APIdocs of OperationDesc, I guess there is something wrong
with OperationDesc.
http://www.cs.unc.edu/Courses/comp190/docs/documentation/axis/apiDocs/org/apache/axis/de
OperationDesc oper = msgCxt.getOperation();
oper.getName();
-Original Message-From: Bahman Kalali
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 06, 2002
9:58 AMTo: [EMAIL PROTECTED]Subject: How to get
an operation Name in a Requstor Handler
I am trying to write a
I am trying to write a Service
requestor Handler. Inside the Handler's invoke method, I want to
get the method name of service provider:
I can get an operation name from a
MessageContext as follows.
public void invoke(MessageContext msgContext)
throws
AxisFault
{
Handler serviceHandl
Just to avoid potential confusion, "Constructor" is not the proper term
here. The service locator class has a pair of factory methods that
return instances of the actual service interface. One of these uses the
default URL hard-coded in the class definition, the other uses a
passed-in URL. You
Objectman,
I am not using jBoss but the sun RI ( j2sdkee1.3 ). Also I am not trying to deploy
axis into the J2EE app server as a web client to the bean. What I have is a working
bean deployed into the RI container. I then deploy the Bean in Axis as a webservice (
under Tomcat ) with a wsdd. The
>but I am curious to know why you can't put javax packages
Don't know I'm afraid. But on my Tomcat 4.0 install the axis validator only runs at
all if all the jars that conatin packages starting javax are in lib.
Its mentioned somewhere in the Axis installation doc ( or the tomcat doc ) can't
re
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 06, 2002 5:23 AM
Subject: RE: Empty arrays not serialized properly
> I got a reply, it will be fixed in .Net Framework 1.1
> I just tested this with 1.1.4322.12 (1.1 beta) and it seems to wor
You can get it back by browsing the thread on the mailing list from Apache Axis web
site.
(search for 'Revised Deploying EJB as a web service howto (PDF Format)' and go to the
first message).
Claude
-Original Message-
From: Bahman Kalali [mailto:bkalali@;csg.uwaterloo.ca]
Sent: Tuesday
Pardon my ignorance, but I am curious to know why you can't put javax
packages in WEB-INF/lib. On my 4.0.4 instance, I just dumped the axis
jars into WEB-INF/lib and it worked fine. The only error I ever got was
something about "Problem with servlet engine config file:
/WEB-INF/server-config.ws
Either you are Call is set on a wrong service, or
Tomcat still is not fully run and initialized. In the second case, wait
till you see tomcat is up and running on stdout.
--Bahman
- Original Message -
From:
Emma Johansson
To: [EMAIL PROTECTED]
Sent: Wednesday, Novemb
This is the way to use dynamic URLs.
This API is part of JAX-RPC and is present in all versions of generated Axis Locator
classes.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: [EMAIL PROTECTED] [mailto:Eirik.Wahl@;bravida.no]
Sent: Wednesday, November 06, 2002
Darrell Gamble wrote:
>
> no, tomcat
>
> optioo <[EMAIL PROTECTED]> wrote:
>
> Darrell Gamble wrote:
> >
> > Can anyone help me get set up and going with Axis. Nothing
> is
> > working. I've read all everything on the site, books
> examples,
> > set environmen
Are
the jars that are needed ( like jaxrpc.jar, saaj.jar, activation.jar, mail.jar, xmlsec.jar ) should be
in the %TOMCAT_HOME%/lib not in the
webapps/axis/WEB-INF/lib
is this your problem ( it was mine y'see
)
Regards
Russell
-Original Message-From: Darrell Gamble
[mail
no, tomcat
optioo <[EMAIL PROTECTED]> wrote:
Darrell Gamble wrote:> > Can anyone help me get set up and going with Axis. Nothing is> working. I've read all everything on the site, books examples,> set environment variables, classpaths up the waazzooo and still to no> avail. I can't get Axis' utili
Darrell Gamble wrote:
>
> Can anyone help me get set up and going with Axis. Nothing is
> working. I've read all everything on the site, books examples,
> set environment variables, classpaths up the waazzooo and still to no
> avail. I can't get Axis' utilities to do anything at all. The no
>
Title: Error using Eclipse Tomcat plugin
found
the problem, never have any java projects in the tomcat
classpath.
-Original Message-From: Barry Lulas
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 06,
2002 10:49 AMTo: '[EMAIL PROTECTED]'Subject:
Error using Eclipse Tom
Hi,
I know it's not quite the same thing, but it may help point you in the
right direction, or get you to where you want to go.
You can either deploy axis on JBoss, or
you can use JBoss.NET which integrates Axis into the server.
If you want to try the later using EJBs, then I've put up a tutor
I kept
getting screwed by the fact that you cannot place jars that contain javax
packages in web-inf/lib for the axis app. Put them in tomcat_home/lib
( that
is if you are on tomcat )
Hope
that helps
Russell
-Original Message-From: Darrell Gamble
[mailto:[EMAIL PROTECTE
Can anyone help me get set up and going with Axis. Nothing is working. I've read all everything on the site, books examples, set environment variables, classpaths up the waazzooo and still to no avail. I can't get Axis' utilities to do anything at all. The no class def found error is invading m
Title: What's the proper use of the QName object?
I have a ws that has an execute method, which both takes and returns a java.lang.String. In my test client, I call the setOperationName, passing the QName object, which has been created like the following:
call.setOperationName(new QName("htt
You directory hierarchy should look like the following.
/whereverYouJBossIs/server/default/deploy/axis.war
Under axis.war is where you need to place the axis distribution.
Once that is in place. Restart the jboss server. You can test your
installation by
placing a simple test case class in the W
Hi again,
Thanks everyone for all your help to date: here is where I am now.
I bought the Axis book from wrox, and read the short appendix on deploying EJBs as web
services. They added the step of putting the jBoss jars into the lib directory of
Tomcat ( a new one on me ).
Not being on jBoss I
Title: Error using Eclipse Tomcat plugin
When I try to start Tomcat using the Eclipse plugin so I can debug by Axis web service, I get the following exception:
ERROR reading C:\Tools\tomcat\conf\server.xml
At Line 18 /Server/Listener/ className=org.apache.catalina.mbeans.ServerLifecycleListe
Hi,
Are you connecting to the right address of you web service?
> faultString: java.net.ConnectException: Connection refused
^^
--
mattia
> faultActor: null
> faultDetail:
> stackTrace: java.net.ConnectException: Connection ref
Does someone know what the problem might be when I get this error message?
% java FibonacciTester
Nov 6, 2002 2:28:49 PM org.apache.axis.client.Call invoke
INFO: Mapping Exception to AxisFault
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.net.ConnectEx
I got a reply, it will be fixed in .Net Framework 1.1
I just tested this with 1.1.4322.12 (1.1 beta) and it seems to work now.
I attached a small patch for Axis that makes the array serializer .Net 1.0
compatible.
ArentJan
-Original Message-
From: Martin Jericho [mailto:martin.j@;jabmail
Hi all
From
http://www.w3.org/2000/xp/Group/1/10/11/2001-10-11_Framework_HTTP_Binding
...
The requested resource has moved and the HTTP request SHOULD be retried
using the URI carried in the associated Location header as the request-URI
for the POST request.
RFC2616 states that these response c
Is Axis client set up to handle redirection(302 http code)? My application
makes a web service call to a particular url, which sends back a 302 http code
along with the url to redirect to.
Does anyone have any experience with this scenario. Should I write a custom
client handler to take car
Hi!
I'm using Axis beta 1 (or is it beta 2?), and my "MyServiceLocator" has TWO
constructors, one that uses the "private final" field, but also one that takes a
parameter "java.net.URL portAddress", which solves the problem of changing URL to the
SOAP web service.
Are you sure that there is no
Hi stuart,
now it works, but the reason I didn't see my error is that the Methode getRealPath(
String str) takes also a string as parameter although a String is returned and that
confused me.
thanks
Mohammed
-Ursprüngliche Nachricht-
Von: Stuart Halloway (DevelopMentor) [mailto:stu@
thank you!
you where right, I was standing in the wrong directory.
/ Emma
Selvakumar Ganesan wrote:
Emma,Make
sure you are at the correct directory level when issuing the command. You
may be inside fibonacci directory (where Fibonacci.class is present) while
issuing the command, in which case t
Emma,
Make sure you are at the correct directory level
when issuing the command. You may be inside fibonacci directory (where
Fibonacci.class is present) while issuing the command, in which case the class
file path is just Fibonacci and not fibonacci.Fibonacci.
Assuming you are inside "fibo
Well, I posted on 28-10-02 a mail with subject
"Axis 1.0 Tomcat 4.1.12 Java 1.4.0_02 Installation
tips"
that maybe can help you understand if your
configuration is good (with the stated versions of the software this tips make
things work, even if it's not the best way).
But I think that yo
I'm not sure of which classpath I need. I have
/home/loke/ejoemma/xml-axis-10
in my classpath. Do I need some more to be able to use the java2wsdl
tool?
Could it be something wrong with the command
java org.apache.axis.wsdl.Java2WSDL
-o fib.wsdl
-l"http://localhost:8080/axis/services
Hello,
One little question concerning the Axis-generated Java stub client:
The MyServiceLocator class (which actually contains an attribute like:
private final java.lang.String kercash_address =
"http://172.20.140.221/axis/services/myservice";;
declares it as "private final".
Why is that
Hi, Emma
it looks like the vm isn't able to find the class
fib2.Fib2
Is the classpath variable correct, if
any?
regards,
Paolo
Hi!
Can someone please tell me how to use the java2wsdl command. I'm trying
to follow the instructions on http://www.onjava.com/pub/a/onjava/2002
Hi!
Can someone please tell me how to use the java2wsdl command.
I'm trying to follow the instructions on
http://www.onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2
But the command:
java org.apache.axis.wsdl.Java2WSDL
-o fib.wsdl
-l"http://localhost:8080/axis/services/fibonacci"
Hi,
Is there a specific plan to handle performance?
We are trying to use axis for a real product, and the current performance is one
of the biggest bottlenecks, so should we switch to SOAP 2.3.1 or wait for a axis
1.1 release?
Thanks, Yaron.
-Original Message-From: [EMAIL PROT
Andy,
Besides reading the docs, you also can take a WSDL, do a "java
org.apache.axis.wsdl.WSDL2Java file.wsdl" on it and study the generated bind
stub code.
Sjaak
> -Original Message-
> From: Andy Kriger [mailto:akriger@;greaterthanone.com]
> Sent: 05 November, 2002 22:13
> To: Axis-User
75 matches
Mail list logo