andrew,
thanx for that clarification.I have tried the same with tomcat and
apache soap 2.2 it has worked fine.
Except that i get and exception when i try to access the
HttpRequestFacade object that i get when i say
context.getProperty(org.apache.soap.Constants.BAG_HTTPSERVLETREQUEST);
but that s
I am glad to hear you have a working configuration. Your questions were not
silly, nor was your experience unique. Helping users up the initial learning
curve is one of the weaker aspects of many open source projects. A nice thing
about open source is that one can always read the code rather th
Hi Scott,
Finally, everything worked fine. I downloaded soap again, and installed it
one more time. This time, the classes directory was created in web-inf and
my helloworld service executed fine.
Thanks a lot for all your help. Sorry for bothering you with all my silly
questions.
Sherine
>Fr
I'm not surprised iPlanet worked the same. I believe the servlet spec is
now quite explicit about the different class loaders that must be used and
how they work. I'm sure it was no great joy for the folks who had to
implement it.
Scott
- Original Message -
From: "Andrew Trieger" <[EMA
SON OF A BI#$@#$#@#$#@$@#
That's it, i put my .class into the webapp's classes directory, and
it worked.
Yes, I know tomcat uses like 4 different classloaders depending on where
the class file is, of course that doesnt explain why it also failed under
iplanet / soap, but it must simply be the ca
That is the problem. When I put the byte code in
$CATALINA_HOME/common/classes, I get the same error you are seeing:
Ouch, the call failed:
Fault Code = SOAP-ENV:Server
Fault String = Exception while handling service request:
org/apache/soap/rpc/SOAPContext
I bet that Tomcat uses a differ
I quickly set up my notebook (downloaded soap 2.2 and tomcat 4.0.3) to run
the bytecode you sent. My notebook is Windows 98 and JDK 1.3.1. Your byte
code works fine for me. The only thing I do that sounds different is that I
do not copy HellowWorldService.class to $CATALINA_HOME/common/classes.
Andrew,
Could you send me byte code for the service, i.e. HelloWorldService.class?
If you can, I'll run it from my rig at home tonight to see how it works for
me.
Scott
- Original Message -
From: "Andrew Trieger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 1
Scott,
OK. I now reproduced the error on my win2k
(professional) box as well. To reiterate from the previous email
response from me, I took your server class, put it in tomcat/classes
and compiled it on my OSX box (java 1.3.1_02, soap2.2, tomcat 4.0.1).
I deployed the service using the
I do not know about w2k ws, but on NT workstation it is 10. The limit is
not actually connections, I believe, but on the number of connections that
can be queued. This is enforced within the TCP/IP stack.
Scott
- Original Message -
From: "Richard Bolen" <[EMAIL PROTECTED]>
To: <[EMAIL
You can have both 3.2.1 and 4.0.3 installed on the same machine without
problems. To run both at the same time, you must have them listen on
different ports (as configured in server.xml). If you point your browser to
port 8080 and get the 3.2.1 welcome page, then 3.2.1 is running on that
port.
Scott,
I did this on my OSX box, same environment as yours
except the OS, which i am now going to go try on windows but thought i'd
send the results first. I got this:
[atrieger@shadowfax workspaces]$ java HelloWorldClient http://shadowfax:8080/soap/servlet/rpcrouter
Ouch, the call failed
Vamsi,
This is the setup of the Call object my xml client
builds (and later does call.invoke())
params.addElement(new Parameter("arg", String.class,
"This is my string, given for you.", null));
call = new Call("urn:helloWorldWithArg",
"helloWorldWithArg",
I decided to go through the installation from the start, I'm getting the
feeling that something is wrong.
I wonna ask you a question: I have on my computer an older version of Tomcat
(3.2.1). I couldn't get rid of it because JBuilder5 uses it: I wasn't able
to use the Tomcat 4.0.3 for JBuilder
Title: problem using Api SOAP and Weblogic
Hello,
I use Tomcat 3.3 and Weblogic 5.1 and i' ve a problem with soap api.
When Tomcat invoke an ejb using soap, no error is encountered in weblogic, but unfortunately the folowing error is triggered in Tomcat :
Fault= SOAP-ENV:Client, Deploym
What is the upper limit for connections with a non-server version of the microsoft OS?
I'm having some performance problems as well and I'm testing on Win2K workstation.
How is this connection limit enforced? At the TCP/IP stack level or the socket level
(or some other way)?
Rich
-Orig
That's must it, Scott!
I'm running the process on a Microsoft Windows 2000 Workstation. Not on a
Server OS version.
I'll try to run on a HP-UNIX machine to check this problem out.
Thanks a lot.
Tiago Fernandes Thomaz
-Original Message-
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent:
If you followed the instructions at
http://mywebpages.comcast.net/scottnichol/apachesoapinstall.htm, WEB-INF would
contain both web.xml and a classes directory. This is because
j:\soap-2_2\webapps\soap.war contains this directory structure, so it should be
created when un-jarring the file per the
The parameter is used as the backlog parameter in java.net.ServerSocket. This
is used as the parameter to the underlying socket call listen(). It is the
number of outstanding requests that will be queued by the OS and/or TCP/IP
stack.
See my other posting re: your operating system. If you are
Hi again,
I don't know why this is happening.
Still not working!!!Problem persists!!
I'd like to point out first, I don't know if it is of any relevance, that
WEB-INF did not contain any folders, just one file:web.xml.
I created the folders classes and hello; HelloServer.java was copied into
tha
Put HelloServer.class in the
D:/soap/bin/soap-2_2/webapps/soap/WEB-INF/classes/hello directory and restart
Tomcat. Also, be certain you deploy with a deployment descriptor that says
hello.HelloServer for the class.
Scott
- Original Message -
From: "sherine khoury" <[EMAIL PROTECTED]>
To
Hi Scott,
I'm sorried to bother you again. The idea of playing around with classpaths
does not amuze me either. In fact, what I tried in the first place was to
run the service without changing any of the paths. But the fault generated
by my small service (HelloWorld) was Server.BadTargetObject
The code must have some way to understand how to represent a Java class in XML,
and how to create an instance of a Java class from XML. The Apache SOAP way of
doing this is pretty reasonable, and is similar to what Microsoft implemented in
the SOAP Toolkit V2. On the serialization side, it might
Also note that if you use a Microsoft OS, you will be limited to 10 queued
connections unless you run the Server, Advanced Server, etc., version of the OS.
Scott
- Original Message -
From: "Scott Nichol" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 8:09 AM
Sub
I highly recommend you do not set a classpath for your services. Simply use the
"base" of your service as the classpath starting point. If you have installed
the web application to D:/soap/bin/soap-2_2/webapps/soap, then just put your
service classes under that point. If your class is hello.Hel
I tried this instead of the line, I think it gives the same
effect. I've entered it in the web.xml file in the conf directory, and for
the servlet 'default' as this would effect all other web.xml generated, But
still doesn't work.
Is there somewhere else I should put it??
classpath
Could it be your servlet container?
-Original Message-
From: Tiago Fernandes Thomaz [mailto:[EMAIL PROTECTED]]
Sent: 22 April 2002 10:59
To: '[EMAIL PROTECTED]'
Subject: Heavy loads on SOAP RPC
Hi,
I'm facing some trouble concerning heavy loads on soap rpc.
I coded a soap client that s
The Web server and/or servlet container against which you are testing probably
has a limit set for the number of connections it will queue. In Tomcat 3.2.1,
for example, server.xml has the "backlog" parameter for a Connector:
In
I think that happened when I started copying the hello directory everywhere,
especially in the samples directory ( where the addressbook service already
exists). The hello directory exists both in the soap/samples and in the soap
directory.
I tried to put the xerces.jar to be the first in CLASS
Sherry,
You have put HelloServer in package hello, but your deployment descriptor refers
to samples.hello.HelloServer. The two must refer to the same class.
Scott Nichol
- Original Message -
From: "sherine khoury" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002
I think your path is still wrong here :
try making the path attribute = D:/soap/bin/soap-2_2/webapps/soap
hope this helps.
> -Original Message-
> From: sherine khoury [mailto:[EMAIL PROTECTED]]
> Sent: 22 April 2002 10:12
> To: [EMAIL PROTECTED]
> Subject: Re: Help a beginner!!
>
>
try moving xerces.jar to be the first item in your classpath. Also try
posting to [EMAIL PROTECTED]
> -Original Message-
> From: sherine khoury [mailto:[EMAIL PROTECTED]]
> Sent: 22 April 2002 12:08
> To: [EMAIL PROTECTED]
> Subject: Re: Help a beginner!!
>
>
> Hi again,
> I know you do
Hi ! here is my orion-web.xml. Look at the content below and maybe you'll
find the point where you should do something.
http://www.orionserver.com/dtds/orion-web.dtd";>
Üdv. Pop Marius L.
- Original Message -
From: "sherine khoury" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
Hi !
You are not bothering me ! I would help you but unfortunatley I have no more
ideas !
I'm sure that is a classpath configuration but I don't know where it is in
Tomcat.
Üdv. Pop Marius L.
- Original Message -
From: "sherine khoury" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Mo
Hi again,
I know you don't use TomCat, but here's my problem.
my computer has tens of files all named web.xml. I've located one in the
soap folder, and tried to add the line. When I restart
TomCat and get the message :
org.xml.sax.SAXParseException:Element type classpath must be declared
And th
Why do i need different serializers and deserializers to marshall
and unmarshall a message?
Why do have to specify the a serializer/deserialzer of my choice
when i pass an user created type as a parameter to an rpc?
Thanx in advance
vamsi
_
Hi,
I'm facing some trouble concerning heavy loads on soap rpc.
I coded a soap client that simulates several clients with a Thread
implementation.
My snippet code is:
public class SOAPClient
{
public static void main (String[] args) throws Exception
{
URL url = new URL(args[0]);
Stri
I Haven't worked with tomcat but I think that is not enough.
When you deploy your app. Tomcat creates for you an xxx-web.xml (I don't
know exactly its name in Tomcat) file in application-deployments directory.
and there you should configure your classpaths as I have written below.
Üdv. Pop Mariu
Hi,
I'd like to mention that I entered the following code in
server.xml(jakarta-tomcat/conf directory):
where D:/soap/bin/soap-2_2/webapps/soap is the directory containing the
hello directory with all the files
Is that code correct?
Although I did add it the fault is still appearing. What sh
I had the same problem, but I am using Orion1.5.4.
I did this:
in my orion\application-deployments\MYAPP-web\orion-web.xml I have put this
row
Hope will bve usefull for you !
Üdv. Pop Marius L.
- Original Message -
From: "sherine khoury" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
Hi, this is my second mail to this mailing list, I hope this one will go
through.
I'm trying a simple helloworld service using soap2.2,tomcat4.0.3 on windows
xp.
I installed soap using the installation guide at
http://mywebpages.comcast.net/scottnichol/apachesoap/install.html.
All tests went
41 matches
Mail list logo