Re: Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-22 Thread soap vamsi
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

Re: Help a beginner!!

2002-04-22 Thread Scott Nichol
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

Re: Help a beginner!!

2002-04-22 Thread sherine khoury
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

Re: Fw: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
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

Re: Fw: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Andrew Trieger
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

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
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

Fw: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
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.

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Scott Nichol
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

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Andrew Trieger
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

Re: Heavy loads on SOAP RPC

2002-04-22 Thread Scott Nichol
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

Re: Help a beginner!!

2002-04-22 Thread Scott Nichol
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.

Re: using SOAPContext as first argument in RPC SOAP messages class notworking

2002-04-22 Thread Andrew Trieger
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

Re: using SOAPContext as first argument in RPC SOAP messages class not working

2002-04-22 Thread Andrew Trieger
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",

Re: Help a beginner!!

2002-04-22 Thread sherine khoury
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

problem using Api SOAP and Weblogic

2002-04-22 Thread DE STEUR Véronique (NORSYS)
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

RE: Heavy loads on SOAP RPC

2002-04-22 Thread Richard Bolen
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

RE: Heavy loads on SOAP RPC

2002-04-22 Thread Tiago Fernandes Thomaz
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:

Re: Help a beginner!!

2002-04-22 Thread Scott Nichol
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

Re: Heavy loads on SOAP RPC

2002-04-22 Thread Scott Nichol
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

Re: Help a beginner!!

2002-04-22 Thread sherine khoury
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

Re: Help a beginner!!

2002-04-22 Thread Scott Nichol
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

Re: Help a beginner!!

2002-04-22 Thread sherine khoury
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

Re: serializers/deserializers

2002-04-22 Thread Scott Nichol
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

Re: Heavy loads on SOAP RPC

2002-04-22 Thread Scott Nichol
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

Re: Help a beginner!!

2002-04-22 Thread Scott Nichol
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

RE: Help a beginner!!

2002-04-22 Thread sherine khoury
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

RE: Heavy loads on SOAP RPC

2002-04-22 Thread Chris Francis
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

Re: Heavy loads on SOAP RPC

2002-04-22 Thread Scott Nichol
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

Re: Help a beginner!!

2002-04-22 Thread sherine khoury
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

Re: Help a beginner!!

2002-04-22 Thread Scott Nichol
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

RE: Help a beginner!!

2002-04-22 Thread Abou-Khalil, Charbel
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!! > >

RE: Help a beginner!!

2002-04-22 Thread Abou-Khalil, Charbel
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

Re: Help a beginner!!

2002-04-22 Thread pop m
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

Re: Help a beginner!!

2002-04-22 Thread pop m
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

Re: Help a beginner!!

2002-04-22 Thread sherine khoury
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

serializers/deserializers

2002-04-22 Thread soap vamsi
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 _

Heavy loads on SOAP RPC

2002-04-22 Thread Tiago Fernandes Thomaz
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

Re: Help a beginner!!

2002-04-22 Thread pop m
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

Re: Help a beginner!!

2002-04-22 Thread sherine khoury
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

Re: Help a beginner!!

2002-04-22 Thread pop m
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

Help a beginner!!

2002-04-22 Thread sherine khoury
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