Group,
I have a question on soapmessage.writeTo(stream);
When I send it over a TCP socket, it does not send the last line of the soap
message, esp.
The server side keeps on waiting for this piece to arrive. Why is it
happening
if it is a socket connection? It can wait for the response after sen
try stream.flush() after calling soapmessage.writeTo(stream);
--- Srilekha Mudumbai <[EMAIL PROTECTED]> wrote:
> Group,
>
> I have a question on soapmessage.writeTo(stream);
>
> When I send it over a TCP socket, it does not send the last line of the soap
> message, esp.
>
> The server side kee
Tried that already, it wouldn't help.
Regards
Srilekha
Davanum Srinivas wrote:
try stream.flush() after calling soapmessage.writeTo(stream);
--- Srilekha Mudumbai <[EMAIL PROTECTED]> wrote:
Group,
I have a question on soapmessage.writeTo(stream);
When I send it over a TCP sock
Dims,
Thanks for the timely response! I am pleasantly surprised you are reading mail from
this list :-).
Srilekha,
This list is for Apache SOAP, an older generation implementation compared to Axis,
which supports JAX-RPC, SOAP 1.2, WSDL, DIME, etc., that Apache SOAP does not. I
suggest you
Hi Everybody
How do I throw an SOAPException containing actor and/or details
Regards
Jakob
Unfortunately, the current code does not allow you to set those things. They are
handled in the Fault class instead of SOAPException. You may be able to write a Fault
handler that would do what you desire. The DOMFaultListener is one such handler that
comes with Apache SOAP. You would have t
Title: RE: Urgent: How to know when a Session has been terminated within Apache SOAP
Thanks Scott,
Then, there is absolutely no way to free session allocated resources in Apache SOAP?
I thought that, for example, releasing a backend database connection when the session-enabled
A generic connection pooling system would make more sense for things
like database connections.
When building the classes that you'll expose to SOAP try and forget that
HTTP is even involved. HTTP just happens to be the most common carrier
of SOAP messages. There's no practical method other than
I probably do not know the breadth of implementations folks have used to address this,
but here are a couple of thoughts.
1. If the service is given a scope of "session" in the deployment descriptor, then an
instance of the service class is created for each session that uses it. It will be
fre
Hi Scott
It seems to be quite complicated!!
Could I use the Fault class instead, to return a Fault message in the
soap-body.
And if I can, then how?
Thanks - Jakob
-Oprindelig meddelelse-
Fra: Scott Nichol [mailto:[EMAIL PROTECTED]
Sendt: 1. december 2003 18:26
Til: [EMAIL PROTECTED]
Em
The Fault would not be transmitted correctly: the HTTP status would be 200 instead of
500. Some SOAP clients may still handle this as a SOAP fault, but it is not
conformant with SOAP 1.1.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mai
But I also get some trouble to use Fault class.
I would appreciate if you would comment the following code snippet.
Envelope respEnv = new Envelope();
Body respBody = new Body();
Vector bodyVector = new Vector();
bodyVector.addElement(jbdb.getDoc().getDocumentElement());
r
Sorry Scott
I put a wrong code snippet.
This one should be the right one.
Envelope respEnv = new Envelope();
Fault respFault = new Fault();
respFault.setFaultCode(Constants.FAULT_CODE_CLIENT);
respFault.setFaultString(e.getMessage());
Body respBody = new Body();
Vector bodyVector = new Vector();
I said I'd give an update in a few weeks about my problem:
Everything seems to work fine now, and I'm pretty sure it's due to
running Tomcat with LD_ASSUME_KERNEL=2.2.5.
Thanks for the help. Hope this thread is of use to someone else.
Cyrus
On Thu, 2003-11-13 at 13:13, Scott Nichol wrote:
> >
14 matches
Mail list logo