RE: Java - Socket()

2001-12-12 Thread Craig Dudley

I don't think there is one, the closest would be cfhttp though I think, what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks

~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Mark Smyth

I though COM/DCOM were similar to sockets..

-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:11
To: CF-Talk
Subject: RE: Java - Socket()


I don't think there is one, the closest would be cfhttp though I think, what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Rudy Rustam

Initially in java, to send a stream of http data (header and body) like
this:
Post /customer/customer.sms HTTP/1.1
Host: www.yahoo.com
Authorization: 1232132
Content-Length: 93

Subject=Example
[Book1]
Chapter1=Bla bla bla

[Book2]
Chapter1=Bla bla

Any idea how cfhttp could do the same function?

Regards,
Rudy


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 6:51 PM
To: CF-Talk
Subject: RE: Java - Socket()

I don't think there is one, the closest would be cfhttp though I think,
what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks


~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Craig Dudley

CFHTTP will not give you the control you need over the http headers.

You will need either a com object or a java custom tag. I'm doing something
very similar with a com object called tcpclient, the writer of which (Lewis
Sellers) is on this list.

It's fast, easy to use and gives you almost total control, you can get it
here http://www.intrafoundation.com/tcpclient.html

I'll glady let you have the code I'm using if you need help.

HTH, Craig.


-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:46
To: CF-Talk
Subject: RE: Java - Socket()


Initially in java, to send a stream of http data (header and body) like
this:
Post /customer/customer.sms HTTP/1.1
Host: www.yahoo.com
Authorization: 1232132
Content-Length: 93

Subject=Example
[Book1]
Chapter1=Bla bla bla

[Book2]
Chapter1=Bla bla

Any idea how cfhttp could do the same function?

Regards,
Rudy


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 6:51 PM
To: CF-Talk
Subject: RE: Java - Socket()

I don't think there is one, the closest would be cfhttp though I think,
what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Mark Smyth

cfhttp is fairly limited

I've had this problem working with SOAP.  

If you need to send a body, this is achieved by using a COM object and then
sending the http message through the COM.

try tcpclient2 http://www.intrafoundation.com/tcpclient.html

You connect to a COM object using the cfobject tag, but this tag comes with
loads of examples if i remember

Mark




-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:46
To: CF-Talk
Subject: RE: Java - Socket()


Initially in java, to send a stream of http data (header and body) like
this:
Post /customer/customer.sms HTTP/1.1
Host: www.yahoo.com
Authorization: 1232132
Content-Length: 93

Subject=Example
[Book1]
Chapter1=Bla bla bla

[Book2]
Chapter1=Bla bla

Any idea how cfhttp could do the same function?

Regards,
Rudy


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 6:51 PM
To: CF-Talk
Subject: RE: Java - Socket()

I don't think there is one, the closest would be cfhttp though I think,
what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks



~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Mark Smyth

hi craig

just out of interest, have you (or anyone else on the list) connected to a
SOAP server of tomcat?

Mark

-Original Message-
From: Mark Smyth 
Sent: 12 December 2001 11:04
To: CF-Talk
Subject: RE: Java - Socket()


cfhttp is fairly limited

I've had this problem working with SOAP.  

If you need to send a body, this is achieved by using a COM object and then
sending the http message through the COM.

try tcpclient2 http://www.intrafoundation.com/tcpclient.html

You connect to a COM object using the cfobject tag, but this tag comes with
loads of examples if i remember

Mark




-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:46
To: CF-Talk
Subject: RE: Java - Socket()


Initially in java, to send a stream of http data (header and body) like
this:
Post /customer/customer.sms HTTP/1.1
Host: www.yahoo.com
Authorization: 1232132
Content-Length: 93

Subject=Example
[Book1]
Chapter1=Bla bla bla

[Book2]
Chapter1=Bla bla

Any idea how cfhttp could do the same function?

Regards,
Rudy


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 6:51 PM
To: CF-Talk
Subject: RE: Java - Socket()

I don't think there is one, the closest would be cfhttp though I think,
what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Craig Dudley

Not yet Mark, will be implementing a SOAP system soon after Christmas.

I've heard a few people talk about a custom tag called cfx_soap before
though, maybe that can help you.


-Original Message-
From: Mark Smyth [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 11:06
To: CF-Talk
Subject: RE: Java - Socket()


hi craig

just out of interest, have you (or anyone else on the list) connected to a
SOAP server of tomcat?

Mark

-Original Message-
From: Mark Smyth 
Sent: 12 December 2001 11:04
To: CF-Talk
Subject: RE: Java - Socket()


cfhttp is fairly limited

I've had this problem working with SOAP.  

If you need to send a body, this is achieved by using a COM object and then
sending the http message through the COM.

try tcpclient2 http://www.intrafoundation.com/tcpclient.html

You connect to a COM object using the cfobject tag, but this tag comes with
loads of examples if i remember

Mark




-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:46
To: CF-Talk
Subject: RE: Java - Socket()


Initially in java, to send a stream of http data (header and body) like
this:
Post /customer/customer.sms HTTP/1.1
Host: www.yahoo.com
Authorization: 1232132
Content-Length: 93

Subject=Example
[Book1]
Chapter1=Bla bla bla

[Book2]
Chapter1=Bla bla

Any idea how cfhttp could do the same function?

Regards,
Rudy


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 6:51 PM
To: CF-Talk
Subject: RE: Java - Socket()

I don't think there is one, the closest would be cfhttp though I think,
what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks





~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Mark Smyth

tried cfx_soap, even to the extent of altering the source code, with no luck

there seems to be some problem with coldfusion, com and soap servers on
tomcat.

ASP works fine, and i'm really pi with having to work with asp

Mark


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 11:24
To: CF-Talk
Subject: RE: Java - Socket()


Not yet Mark, will be implementing a SOAP system soon after Christmas.

I've heard a few people talk about a custom tag called cfx_soap before
though, maybe that can help you.


-Original Message-
From: Mark Smyth [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 11:06
To: CF-Talk
Subject: RE: Java - Socket()


hi craig

just out of interest, have you (or anyone else on the list) connected to a
SOAP server of tomcat?

Mark

-Original Message-
From: Mark Smyth 
Sent: 12 December 2001 11:04
To: CF-Talk
Subject: RE: Java - Socket()


cfhttp is fairly limited

I've had this problem working with SOAP.  

If you need to send a body, this is achieved by using a COM object and then
sending the http message through the COM.

try tcpclient2 http://www.intrafoundation.com/tcpclient.html

You connect to a COM object using the cfobject tag, but this tag comes with
loads of examples if i remember

Mark




-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:46
To: CF-Talk
Subject: RE: Java - Socket()


Initially in java, to send a stream of http data (header and body) like
this:
Post /customer/customer.sms HTTP/1.1
Host: www.yahoo.com
Authorization: 1232132
Content-Length: 93

Subject=Example
[Book1]
Chapter1=Bla bla bla

[Book2]
Chapter1=Bla bla

Any idea how cfhttp could do the same function?

Regards,
Rudy


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 6:51 PM
To: CF-Talk
Subject: RE: Java - Socket()

I don't think there is one, the closest would be cfhttp though I think,
what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks






~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Rudy Rustam

Yeah...! just what I want, Thanks guys, Thanks Craig!


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 7:36 PM
To: CF-Talk
Subject: RE: Java - Socket()

CFHTTP will not give you the control you need over the http headers.

You will need either a com object or a java custom tag. I'm doing
something
very similar with a com object called tcpclient, the writer of which
(Lewis
Sellers) is on this list.

It's fast, easy to use and gives you almost total control, you can get
it
here http://www.intrafoundation.com/tcpclient.html

I'll glady let you have the code I'm using if you need help.

HTH, Craig.


-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:46
To: CF-Talk
Subject: RE: Java - Socket()


Initially in java, to send a stream of http data (header and body) like
this:
Post /customer/customer.sms HTTP/1.1
Host: www.yahoo.com
Authorization: 1232132
Content-Length: 93

Subject=Example
[Book1]
Chapter1=Bla bla bla

[Book2]
Chapter1=Bla bla

Any idea how cfhttp could do the same function?

Regards,
Rudy


-Original Message-
From: Craig Dudley [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, December 12, 2001 6:51 PM
To: CF-Talk
Subject: RE: Java - Socket()

I don't think there is one, the closest would be cfhttp though I think,
what
are you trying to do?

-Original Message-
From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2001 10:18
To: CF-Talk
Subject: Java - Socket()


Hi guys,

What's the coldfusion equivalent for java Socket()?

Thanks




~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Java - Socket()

2001-12-12 Thread Joel Parramore

There isn't one.  And what else you use depends on what you want to do.

ColdFusion has a number of tags encapsulating specific Internet protocols,
i.e., CFHTTP, CFFTP, CFPOP, etc. CFHTTP can be used for regular HTTP
operations (POST, GET) but is no good for things like SOAP (not enough
control of headers, for one).

Lower-level socket operations would require the use of a custom tag, either
written in C++ or Java, or a COM/DCOM object.

Regards,
Joel Parramore



 -Original Message-
 From: Rudy Rustam [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, December 12, 2001 5:18 AM
 To: CF-Talk
 Subject: Java - Socket()


 Hi guys,

 What's the coldfusion equivalent for java Socket()?

 Thanks
 
~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Java - Socket()

2001-12-12 Thread Lewis Sellers

On Wed, 12 Dec 2001 10:31:30 -, Mark Smyth
[EMAIL PROTECTED] wrote:

I though COM/DCOM were similar to sockets..

COM/DCOM almost has nothing to do with berkley-type sockets.

COM is Microsoft-specification/technology for encapsulating
interoperable object-oriented code (usually in c++ or vb, and
sometimes Delphi(pascal)). 

Sockets are essentially an API that interfaces with TCP/IP, which
contains (among others) the TCP and UDP network protocols.

DCOM (distributed COM) does use a network protocol that allows COM
objects to talk across the internet with each other. That's most
likely what you were thinking of.


As others mentioned I do have some COM objects that allow you to
directly use TCP or UDP protcols at
http://www.intrafoundation.com/tcpclient.html and
http://www.intrafoundation.com/udpclient.html.

--min

~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists