> 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 int
per class myself (i.e. a
> simple bean that
> contains an array, rather than an array).
>
> 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
I don't think you normally need to worry about array serialization. I think
it will just happen. You do need to worry about serializing your bean. But
if the bean class is properly registered with a serializer arrays should
just work. The only reason I needed to register the arrays was so MS SOAP
> could someone please tell me, why I should define 2 ore more diferetn
> Faultlistener(maybe my own)
Because you want to set the fault code being returned to the client.
> in the DD and how does the application or the Apache SOAP API
> decide which
> Faultlistener to use.
Whatever you tell it
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 element may contain more detailed info
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
i
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
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, Oct
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 ja
1) Do the samples work?
2) Have you looked in the FAQs? They cover this pretty well.
3) This us normally a class path issues. I might also be a xml parser
problem. Some version of Xerces dont work right.
Rick Hansen
> -Original Message-
> From: Alex Lindgren [mailto:[EMAIL PROTECTED]]
>
Is the Axis user list up? The Axis web site says :
The Axis User List
No Traffic (doesn't exist yet)
> -Original Message-
> From: Glen Daniels [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 26, 2001 1:57 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Getting new WSDL option to work
I think a lot of it is ease of creation and maintenance. The soap server
takes care of all the XML processing, all you deal with is normal Java data
types. You get to write normal Java classes deploy them in the server. You
don't need to write a multitide of servlets, each with XML parsing, to
han
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 PROT
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 th
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
> client
> 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 classp
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 PROT
Is the data coming back as a single string or an array of 1400 individual
XML items? I ran into a similar problem sending back an array of many small
strings. There was more XML tag data than actual application data. It seems
to take a long time to build all the XML elements also. I ended up sendi
erver would understand
> the message being created and sent my an Apache SOAP client?? or
> that matter the Perl SOAP server and a C++ SOAP client???
>
> "Hansen, Richard" wrote:
> >
> > There are no Java "objects" involved. SOAP messages are
> transpo
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:
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.
>
> I haven´t solve the string-array problem but I´ve found a
> second form of
> wsdl-declaration of the complex type for String[].
>
> I´ve used:
>
>
>
>
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
>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]]
> Sen
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/
> - http://www.adrenalinegroup.com/jws
Ouch, I don't think XMLParserLiaison exists in Apache 2.2.
> -Original Message-
> From: Catalin Tomescu [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 28, 2001 3:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: generation Client stub using WSDL - error
>
>
> This is easy. The path to so
Go to the IBM developer works web site and follow the link to Web Services
section. There is a good series of tutorial articles by Graham Glass on SOAP
using Apache SOAP with Tomcat. You might find them helpful, I know they got
me started.
Rick Hansen
> -Original Message-
> From: HariNam
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
And SOAP will just be get faster over time. RMI probably won't.
> -Original Message-
> From: SBC [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 1:56 PM
> To: [EMAIL PROTECTED]
> Subject: Re: SOAP Performance (against RMI)
>
>
> I did a simple test & found that RMI is 6 times
SOAP already serializes objects to XML. It is a matter of how the clients
get them out of the message.
Rick Hansen
> -Original Message-
> From: David Rioux [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 26, 2001 5:12 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Design Help
>
>
> Hi:
>
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 Hansen
Did you send the message to the TCPTunnel? You need to call SOAP on port
7007.
> -Original Message-
> From: Eva Flora [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 22, 2001 6:45 PM
> To: [EMAIL PROTECTED]
> Subject: TcpTunnelGui
>
>
> My weblogic server is running on port 7005 and I i
>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 cha
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
Do you really want he ouput as XML? I haven't done anything with literal
XML, but can you desrialize that to a String or should it be some kind of
XML dom element? The message looks to me like you should just be able to
register it as a soap encoding to a java string using the
StringDeserializer.
> 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
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: [EMAI
If you have not already, you should look at the interop docs in Apache Soap
2.2. I don't know if adding a type mapping to mapping registry on the Soap
server will help, but that is the normal solution to "no serializer found"
errors. You will probably have better luck asking VB specific questions
Yes, but I beleive that call.invoke always expects a response from the
server. In your case the response just does not have anything in it. At
least with the RPC transport I don't think you can just send off a message
and continue on immediately not bothering to wait for a response from the
HTTP s
) +119
>exampleTryClients.ExampleTry.MultiplyBy2(String i) +49
>exampleTryClient.WebForm1.Button1_Click(Object sender,
> EventArgs e) in
> c:\documents and
> settings\su6645\vswebcache\saburon\vsnet\exampletryclient\webf
> orm1.cs:71
>System.Web.UI.WebCont
I would guess that the xsi:type problems you are having may be no different
than when getting an MS client to talk to a Apache Java service. Apache
requires the type info and MS does not include it. You should look at the
interop docs.
I would think you could just define QNames for the params 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
t;
> What about passing no parameters to a method? Should I do the same
> thing but include that message into ?
>
> -----Original Message-
> From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 11:19 AM
> To: '[EMAIL PROTECTED]'
> Subject
e e
> rror
> ======
> ==
> ===
>
> -Chengmin
>
> -Original Message-
> From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 9:21 AM
> To: '[EMAIL PROTECTED]
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.
>
>
>
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 th
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
rpc
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 out
>From the FAQ in the docs for soap 2.2:
1.5 Help! The Samples won't work. Every time I run a sample client I get
this response: "Fault String = java.lang.NoSuchMethodError"
Ensure that:
(a) You have deployed the sample service you want to use.
(b) Xerces.jar is the very first entry in your class
Here is what worked for me:
http://www.w3.org/1999/XMLSchema";
targetNamespace="http://www.registrationservice/xsd";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
>
> I am defining string array in WSDL using
Not really. Over at http://www.pocketsoap.com/wsdl/ there is a validator,
but the last time I used it it did not . The best thing I came up
with was to create a VB app that tries to create a high level client from
WSDl. Then I try to figure out the WSDL problem from any errors that occur.
Rick Ha
Here are a couple examples of arrays. Don't know if you can directly specify
vectors or hashtables as I don't believe they are SOAP defined types.
> -Orig
ytime I deploy a service on a different 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
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]
> Subj
55 matches
Mail list logo