RE: newbie to Java and SOAP

2002-01-28 Thread Hansen, Richard
1) What should my classpath be? Depends, mine has no changes for SOAP under Tomcat 4.1 2) Do I need to modify catalina.bat? No. 3) What jars go in each directory? Either put the .war in the webaps directory or copy the webapps\soap direcotry to webapps. You may need to get soap.jar into

RE: Serializing an array of beans

2002-01-09 Thread Hansen, Richard
). I can't make ANY type of serializer other than the apache ones work, which worries me. I assume that providing a class and a pointer to it is all that I need to do at the server end? Thanks, Andrew -Original Message- From: Hansen, Richard [mailto:[EMAIL PROTECTED]] Sent

RE: Help to run soap example.

2001-12-12 Thread Hansen, Richard
Please read the documentation, it says : The service does not support the invoked method. If your service implementation class has the method, then it may be that your deployment descriptor doesn't publish that method. Check your deployment descriptor. The SOAP:Fault element may contain more

RE: Is Apache SOAP a turnstile?

2001-12-11 Thread Hansen, Richard
Why would you expect it to block using application scope? If your methods are not synchronized (which they probably should not be) I don't think they block. The Apache SOAP scoping controls how many instances of a service class are created and when they are created. Application equals one global

RE: Check the FAQ and some links before asking here

2001-12-04 Thread Hansen, Richard
Too bad the list doesn't add a footer to every message listing the url for the FAQ pages. Rick Hansen

RE: SOAP Performance and when SOAP should be used

2001-11-09 Thread Hansen, Richard
Not over http anyway. Perhaps using smtp or some type of messaging middleware as the transport. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 11:07 AM To: [EMAIL PROTECTED] Subject: RE: SOAP Performance and when SOAP should be

RE: Java Exceptions Vs. SOAP fault

2001-10-22 Thread Hansen, Richard
To get this past the router you will need to define a new fault listener for your service. This listener can then listen for you exceptions and build custom faults. Check in the docs on how to do this. Rick -Original Message- From: Rajasekhar [mailto:[EMAIL PROTECTED]] Sent: Monday,

RE: ms soap -- apache soap

2001-10-05 Thread Hansen, Richard
Here is a vb snippet that did it for me. I suppose the same set of calls should work the same in C++. Serializer.startElement string1 Serializer.SoapAttribute type, , xsd:string, xsi Serializer.writeString client 1 Serializer.endElement Rick Hansen We have been running an java apache

FW: DateSerializer bug fix

2001-08-21 Thread Hansen, Richard
I hope someone in the Dev group will check this out an commit the changes. I got little response on the Dev list, so in the mean time I will post to the larger group here. Rick Hansen -Original Message- From: Hansen, Richard Sent: Friday, August 17, 2001 10:15 AM To: '[EMAIL PROTECTED

RE: Having SOAP server return a Response object

2001-08-01 Thread Hansen, Richard
Unless I misunderstand, why don't you just return an object that contains your strings as member fields? Give it public getters and setters, like a Java bean, for each string. The XML will have the names in the element tag for each string. You will need to register a serilaizer/deserializer for

RE: Should rpcs be threadsave?

2001-07-27 Thread Hansen, Richard
Yes, your code must be thread safe. -Original Message- From: Oliver Rettig [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 6:29 PM To: soap Subject: Should rpcs be threadsave? Hi, I´ve written a apache-soap-server with some methods I invoke by some clients. Cauld

RE: wsdl output message parts

2001-07-26 Thread Hansen, Richard
Apache SOAP does not, at least with normal use, allow multiple output parameters. I always return objects from my service methods. So my WSDL response message has a single entry for a complex type of some sort. Rick Hansen -Original Message- From: Richard Emberson [mailto:[EMAIL

RE: help can't get services deployed

2001-07-26 Thread Hansen, Richard
The implication appears to be that Xerces is just not being found, unless it means that Xerces 1.4.2 has dropped the framework.Version.fVersion system..so I just downloaded Xerces 1.4.2 (source) and looked, and am not surprised because it's still there. My suspicion is that the classpath

RE: How do you retrieve complex Java objects from a non-Java client.

2001-07-23 Thread Hansen, Richard
There are no Java objects involved. SOAP messages are transported XML as text. It is totally up to the client to extract the message into whatever kind of data structure is appropriate. Check the MS Soap Toolkit on how to handle complex types. Rick Hansen -Original Message- From:

RE: How do you retrieve complex Java objects from a non-Java client.

2001-07-23 Thread Hansen, Richard
??? Hansen, Richard wrote: There are no Java objects involved. SOAP messages are transported XML as text. It is totally up to the client to extract the message into whatever kind of data structure is appropriate. Check the MS Soap Toolkit on how to handle complex types

RE: Deployment Descriptors

2001-07-19 Thread Hansen, Richard
Apache only uses deployment descriptors to deploy a service on the server. A client that calls a service does not use them at all. -Original Message- From: Dylan J Browne [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 9:45 AM To: soap Subject: Deployment Descriptors

RE: String[]

2001-07-11 Thread Hansen, Richard
Here is how I declare String[] in WSDL. It seems to work. complexType name=ArrayOfString complexContent restriction base=SOAP-ENC:Array attribute name=SOAP-ENC:arrayType wsdl:arrayType=string[]/ /restriction /complexContent /complexType

RE: Serializers issue

2001-07-06 Thread Hansen, Richard
Yes. But I don't think for the same type or QName. -Original Message- From: Ragu Sivaraman [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 6:07 PM To: [EMAIL PROTECTED] Subject: Serializers issue To SOAP gurus!! Is it possible to use multiple serializers in a soap

RE: ISP's that host SOAP applications?

2001-06-29 Thread Hansen, Richard
If an ISP hosts servelts isn't that enough for Apache SOAP? Rick Hansen Does anyone know of any ISP's that will host SOAP applications? I've found lists of ISP's that do servlets/jsp, but none that mention SOAP: - http://www.servlets.com/isps/ -

RE: Having problems getting started....

2001-06-29 Thread Hansen, Richard
From the client or the server? If the client then xerces.jar must not be in your classpath. From the server then I think it is not in your classpath or it is not first in the tomcat classpath. Rick Hansen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent:

RE: Error when selecting List option

2001-06-27 Thread Hansen, Richard
It would seem that your servlet engine classpath does not have soap.jar. -Original Message- From: Chiranjeevi Paruchur [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 27, 2001 11:32 AM To: SOAP Discussion group Subject: Error when selecting List option Hi! All, In admin

RE: How to handle faults?

2001-06-26 Thread Hansen, Richard
I have implemented your first choice. In my reading of the spec it is perfectly OK, even expected, to extend the fault code mechanism. I think you want to make sure to follow the spec about using SERVER and CLIENT. You are right that a fault listener is what you need to get this done. Rick

RE: Beginner question : Client throwing AbstractMethodError

2001-06-22 Thread Hansen, Richard
From the Java API docs : public class AbstractMethodError extends IncompatibleClassChangeError Thrown when an application tries to call an abstract method. Normally, this error is caught by the compiler; this error can only occur at run time if the definition of some class has incompatibly

RE: Soap Error

2001-06-21 Thread Hansen, Richard
No, I can see it fine. -Original Message- From: Jonathan Chawke [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 21, 2001 8:01 AM To: [EMAIL PROTECTED] Subject: Re: Soap Error Hi Janesh, I've just looked and the page [http://xml.apache.org/soap/faq/faq_chawke.html] seems to

RE: What jar files do I need to provide for Apache SOAP clients ?

2001-06-20 Thread Hansen, Richard
I seem to recall that some client side peices in 2.1 (not 2.2) needed servlet.jar. I think it was the deployment code, but I don't remember for sure. Rick Hansen -Original Message- From: Rahul Kirthivasan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 8:09 AM To: [EMAIL

RE: Classpath Wrong?

2001-06-20 Thread Hansen, Richard
I wish that classpaths didn't have to come up in a soap-user list at all, but this seems to be the most common source of introductory problems and there is sometimes something more subtle nasty going on somewhere. \ At http://www.javageeks.com/Papers/ there are severa good articles on

RE: Problems with Examples

2001-06-12 Thread Hansen, Richard
The likely reasons are in the FAQ! This often indicates some type of classpath problem. The rpcrouter cannot find the service classes. I think of it as classdef not found error. Rick Hansen -Original Message- From: Erol Akarsu [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 12, 2001

RE: VB/Apache problem-- void Java method always cause VB Client to fa il.

2001-06-08 Thread Hansen, Richard
You should define an empty response type in the WSDL file. -Original Message- From: Ding, Chengmin [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 5:41 PM To: '[EMAIL PROTECTED]' Subject: VB/Apache problem-- void Java method always cause VB Client to fa il. Hi, All,

RE: VB/Apache problem-- void Java method always cause VB Client t o fa il.

2001-06-08 Thread Hansen, Richard
: Hansen, Richard [mailto:[EMAIL PROTECTED]] Sent: Friday, June 08, 2001 9:21 AM To: '[EMAIL PROTECTED]' Subject: RE: VB/Apache problem-- void Java method always cause VB Client t o fa il. You should define an empty response type in the WSDL file. -Original Message- From: Ding

RE: How to set output parameters in my server code

2001-06-07 Thread Hansen, Richard
Apache SOAP does not support out params. Hi, I am trying to invoke a java method of a java service on server (via .../servlet/rpcrouter to deploy this service, actually just a java class containing that method). My problem is, this method will not only return a value, it will also have some

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Hansen, Richard
Sounds like the MS side is having a problem. Is a SOAP message actually getting sent? Are you checking for SOAP faults on the client? If the message is sent and reaches the correct end point, then you will either get a response (which MS may still not be able to parse) or a SOAP fault from the

RE: MS SOAP Client / Apache SOAP server

2001-06-07 Thread Hansen, Richard
t seems like you need to do some noraml debugging kinds of tasks. Maybe you should try running it under the TCPTunnel to see better what is happening. It really sounds like a VB code problem. Is your code finishing the init? Is it making the getS call? You can check the MS soa help for gettting

RE: WSDL

2001-06-05 Thread Hansen, Richard
The address location holds the URL that a client reading the WSDL will use to connect to the service. What you have looks right to me. Rick Hansen -Original Message- From: Daniel Kruler [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 11:52 AM To: [EMAIL PROTECTED] Subject:

RE: WSDL

2001-06-05 Thread Hansen, Richard
webserver, I have to change WSDL? -Original Message- From: Hansen, Richard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 05, 2001 1:02 PM To: '[EMAIL PROTECTED]' Subject: RE: WSDL The address location holds the URL that a client reading the WSDL will use to connect