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
).
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
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
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
Too bad the list doesn't add a footer to every message listing the url for
the FAQ pages.
Rick Hansen
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
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,
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
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
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
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
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
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
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:
???
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
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
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
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
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/
-
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:
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
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
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
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
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
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
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
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,
: 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
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
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
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
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:
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
34 matches
Mail list logo