You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Harshad Nanal <ha...@mahindrabt.com> on 2001/11/05 09:31:09 UTC

Soap 2.2 Samples/Mime getFileVector example - Security Hole

Hi 

I itend to modify  this example for making some data available publicly.
Hence my getfile doesnot require any filename to be passed from client
side. The server side class returns a file on its own.

I guess , the comment of "security hole" in the example is not relevant
then.

Can you please advise?
Thanks
Harshad

*********************************************************
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

Multipart response in Soap

Posted by Tomas Jacobsson <to...@su.eip.ericsson.se>.
Hello!
I am having a question on how to keep a Http connection there forever in
Soap. Like a send a multipart get message and the server sends back answers
to me when it updates something. Like it get some thing from another and the
server pushes that on to me. So that I want is a Soap/Http connection that
stays up forever.
Anybody that knows how to do this?
Regards

Tomas


Multipart response in Soap

Posted by Tomas Jacobsson <to...@su.eip.ericsson.se>.
Hello!
I am having a question on how to keep a Http connection there forever in
Soap. Like a send a multipart get message and the server sends back answers
to me when it updates something. Like it get some thing from another and the
server pushes that on to me. So that I want is a Soap/Http connection that
stays up forever.
Anybody that knows how to do this?
Regards

Tomas


Re: Broadcast messages over Soap

Posted by William Brogden <wb...@bga.com>.

Tomas Jacobsson wrote:
> 
> Hello!
> I want to broadcast messages over Soap, I know that this usually means
> that I must have a request-reply protocol and that http don't really
> support this. But there must be a way to walk around this problem. One
> idea is that you at every client have a soap server, but that is not a
> convient way to solve this for me.
> Another should be that after the client have made its call to the server
> it stays up with the connection so that the server later can "push" out
> messages to the clients, like that you have http connections that stays
> up forever.
> Or what is the best way to broadcast messages with Soap, any idea?
> Somebody that have succesfully broadcasted messages over Soap?
> Regards
> 
> Tomas

I just experimented with several methods in connection with my current
book project. There are several possibilities:

Java Message Service  - see the publish/subscribe examples
JavaSpaces - a really cool technology
email - You can mail to a mailing list - your subscribers need to have
  mail accounts set aside for the SOAP messages.



-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Re: Broadcast messages over Soap

Posted by Simon Fell <so...@zaks.demon.co.uk>.
On Mon, 05 Nov 2001 09:40:15 +0100, in soap you wrote:

>Hello!
>I want to broadcast messages over Soap, I know that this usually means
>that I must have a request-reply protocol and that http don't really
>support this. But there must be a way to walk around this problem. One
>idea is that you at every client have a soap server, but that is not a
>convient way to solve this for me.
>Another should be that after the client have made its call to the server
>it stays up with the connection so that the server later can "push" out
>messages to the clients, like that you have http connections that stays
>up forever.
>Or what is the best way to broadcast messages with Soap, any idea?
>Somebody that have succesfully broadcasted messages over Soap?
>Regards
>
>Tomas

I'd be tempted to switch to a transport that supports your
requirements better than http. You should be able to easily do what
you want by running SOAP over Jabber, SMTP or UDP.

Cheers
Simon

Re: Broadcast messages over Soap

Posted by William Brogden <wb...@bga.com>.

Tomas Jacobsson wrote:
> 
> Hello!
> I want to broadcast messages over Soap, I know that this usually means
> that I must have a request-reply protocol and that http don't really
> support this. But there must be a way to walk around this problem. One
> idea is that you at every client have a soap server, but that is not a
> convient way to solve this for me.
> Another should be that after the client have made its call to the server
> it stays up with the connection so that the server later can "push" out
> messages to the clients, like that you have http connections that stays
> up forever.
> Or what is the best way to broadcast messages with Soap, any idea?
> Somebody that have succesfully broadcasted messages over Soap?
> Regards
> 
> Tomas

I just experimented with several methods in connection with my current
book project. There are several possibilities:

Java Message Service  - see the publish/subscribe examples
JavaSpaces - a really cool technology
email - You can mail to a mailing list - your subscribers need to have
  mail accounts set aside for the SOAP messages.



-- 
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP 
ISBN 0-7821-2809-2

Re: Broadcast messages over Soap

Posted by Simon Fell <so...@zaks.demon.co.uk>.
On Mon, 05 Nov 2001 09:40:15 +0100, in soap you wrote:

>Hello!
>I want to broadcast messages over Soap, I know that this usually means
>that I must have a request-reply protocol and that http don't really
>support this. But there must be a way to walk around this problem. One
>idea is that you at every client have a soap server, but that is not a
>convient way to solve this for me.
>Another should be that after the client have made its call to the server
>it stays up with the connection so that the server later can "push" out
>messages to the clients, like that you have http connections that stays
>up forever.
>Or what is the best way to broadcast messages with Soap, any idea?
>Somebody that have succesfully broadcasted messages over Soap?
>Regards
>
>Tomas

I'd be tempted to switch to a transport that supports your
requirements better than http. You should be able to easily do what
you want by running SOAP over Jabber, SMTP or UDP.

Cheers
Simon

Broadcast messages over Soap

Posted by Tomas Jacobsson <to...@su.eip.ericsson.se>.
Hello!
I want to broadcast messages over Soap, I know that this usually means
that I must have a request-reply protocol and that http don't really
support this. But there must be a way to walk around this problem. One
idea is that you at every client have a soap server, but that is not a
convient way to solve this for me.
Another should be that after the client have made its call to the server
it stays up with the connection so that the server later can "push" out
messages to the clients, like that you have http connections that stays
up forever.
Or what is the best way to broadcast messages with Soap, any idea?
Somebody that have succesfully broadcasted messages over Soap?
Regards

Tomas


Broadcast messages over Soap

Posted by Tomas Jacobsson <to...@su.eip.ericsson.se>.
Hello!
I want to broadcast messages over Soap, I know that this usually means
that I must have a request-reply protocol and that http don't really
support this. But there must be a way to walk around this problem. One
idea is that you at every client have a soap server, but that is not a
convient way to solve this for me.
Another should be that after the client have made its call to the server
it stays up with the connection so that the server later can "push" out
messages to the clients, like that you have http connections that stays
up forever.
Or what is the best way to broadcast messages with Soap, any idea?
Somebody that have succesfully broadcasted messages over Soap?
Regards

Tomas