Hello,
I am using the latest versions of tomcat and soap.
I have successfully deployed my service. But when I
run my client it gives me the error
"connec(SOAP-ENV:Client): Connection reset" while
making the call.invoke() call. In my service, I have a
database connection pool and gets a connection
Your objective, as I understood it, was to serialize Java objects as XML
over a proprietary protocol. You have written the protocol already
(right?), so all you want to do is serialize Java objects as XML. Given
technologies such as JAXB and Castor that were created to do exactly
that, they seem
Dear Scott,
thank you very much for your quick response! I will take a look at
Castor and JAXB tomorrow or later this week (I'm very busy). Do you have
any special reason why you recommend to use another solution instead of
SOAP? Is it easier to use? Or is it more efficient?
Best regards, Marc
On Mon, Dec 02, 2002 at 05:07:51PM -0500, Scott Nichol wrote:
> It appears Journyx is not sending type information for the result (which
> would be typical for Microsoft-based services or doc/lit ones in
> general). You must therefore map the QName("", "Result") to the type
> and deserializer you
Without looking at the code, my guess would be that Apache SOAP
serializes the return value based on the declared type of the function,
not the actual type returned. I will have to look at this later.
Scott Nichol
- Original Message -
From: "Chris Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL P
It appears Journyx is not sending type information for the result (which
would be typical for Microsoft-based services or doc/lit ones in
general). You must therefore map the QName("", "Result") to the type
and deserializer you expect to be returned. This mapping may change
depending on the metho
Hi all,
I am having some installation problems using the JDK1.4, SOAP2.3 and
Tomcat4.1.12LE combination. When trying to list the services at the
command line, I receive the following:
%java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/serverlet/rpcrouter list
Exception
On Mon, Dec 02, 2002 at 03:51:58PM -0500, Scott Nichol wrote:
First off, I would like to thank you for your reply.
Here is what I have done. Declared globally to my Object I have:
private SOAPMappingRegistry smr = new SOAPMappingRegistry();
private BeanSerializer beanSer = new BeanSerializ
The problem I had is that my service actually looks like this:
class SoapService {
public IData doSomething( IData data ) {...}
}
When I tried to send a ComplexData or SimpleData concrete class back, it
didn't work. Are you saying that was just a config or similar problem?
Currently, I use a
Take as an example
You first need to have a Java class into which to read this and/or from
which to write this. The easiest thing is to follow the Java Bean
pattern, so that you can use Apache SOAP's BeanSerializer. A simple
class would be
public class UserRecord {
Hi,
I am trying to write a Java client that talks to the Journyx
timesheet: http://www.journyx.com
They offer a SOAP Service to access the API set. I am able to login
and call various methods however there are several that use structs and
I am unable to make calls to those methods
Chris,
It is up to you when you define your mappings and/or write your
serializers whether the classes implementing interfaces will be
serialized with just information for the interface or for the actual
class. I personally prefer to have separate mappings for each concrete
class. I don't like t
You need a trailing slash in the encodingStyle in the mapping in your
deployment descriptor.
Scott Nichol
- Original Message -
From: "Tim Sawyer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 02, 2002 5:23 AM
Subject: Serialization Problem
> Hi,
>
> I've got the cla
Hi Paul,
THe specific problem you're having is that the server at
192.168.8.31:8080 is not sending a content-type header for
WSDL files. I'd guess you're using Tomcat- I reported that
as a bug a while back but don't know what was done. (The
default mime.types should be updated.)
You can of cours
Hi,
I've got the classic serialization problem, where I have a class type
(in my case Company) that I want to return from a SOAP call, and I'm
getting the
No Serializer found to serialize a 'com.objects.Company' using encoding
style 'http://schemas.xmlsoap.org/soap/encoding/'.
error. The fault
15 matches
Mail list logo