BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to send SOAP messages using Indy

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Erik F. Andersen
Guest





PostPosted: Sun Dec 19, 2004 3:38 pm    Post subject: How to send SOAP messages using Indy Reply with quote



Hello!

For various reasons I am building entire SOAP messages in code. I am
currently sending these messages to WebServices using THttpRIO in Delphi7,
but it appears that this class is limited in handling responses from .Net
WebServices (not all datatypes are supported).

I now got the idea that maby I can use Indy components to transport the SOAP
messages and retrieving the response instead? I already have the formatted
SOAP message and all I need is the transport layer. My project already uses
Indy9 for other things. Can I use TIdHttp.Post or another method in Indy to
do this? Note that I need SSL support! If I use Http Post it may pose a
problem that this method is limited to 100 KB or so I have heard. How should
I work around this issue?

I will parse the reply myself because all my code is already based on LIBXML
and it has all necessary functions to do this kind of stuff.

I was thinking about RemObjects SDK for this but it just seems to be way
overkill in my case...

I did take a look at IndySOAP but I couldn't compile it under Delphi7 :-(

Thanks,
Erik F. Andersen


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Sun Dec 19, 2004 7:01 pm    Post subject: Re: How to send SOAP messages using Indy Reply with quote




"Erik F. Andersen" <ea (AT) ascott (DOT) dk> wrote


Quote:
I now got the idea that maby I can use Indy components to
transport the SOAP messages and retrieving the response instead?

IndySOAP can.

Quote:
If I use Http Post it may pose a problem that this method is
limited to 100 KB or so I have heard.

Where did you hear that? TIdHTTP has no such limitation.

Quote:
I did take a look at IndySOAP but I couldn't compile it under Delphi7 Sad

Why not? Please be more specific.


Gambit



Back to top
Thomas Wegner
Guest





PostPosted: Mon Dec 20, 2004 5:48 am    Post subject: Re: How to send SOAP messages using Indy Reply with quote



Hello, i'm also interested in IndySOAP but i see
that was not developed for a long time (hope you
understand my bad english). Was it Indy10 compatible?
---------------------------------------------
Thomas Wegner
CabrioMeter - The Weather Plugin for Trillian
http://www.wegner24.de/cabriometer

"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> schrieb im Newsbeitrag
news:41c5cfe3 (AT) newsgroups (DOT) borland.com...
Quote:

"Erik F. Andersen" <ea (AT) ascott (DOT) dk> wrote in message
news:41c5a05f$1 (AT) newsgroups (DOT) borland.com...

I now got the idea that maby I can use Indy components to
transport the SOAP messages and retrieving the response instead?

IndySOAP can.

If I use Http Post it may pose a problem that this method is
limited to 100 KB or so I have heard.

Where did you hear that? TIdHTTP has no such limitation.

I did take a look at IndySOAP but I couldn't compile it under Delphi7 :-(

Why not? Please be more specific.


Gambit





Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Dec 20, 2004 10:06 am    Post subject: Re: How to send SOAP messages using Indy Reply with quote


"Thomas Wegner" <tomaten (AT) t-online (DOT) de> wrote

Quote:
Hello, i'm also interested in IndySOAP but i see
that was not developed for a long time (hope you
understand my bad english). Was it Indy10 compatible?

You should ask in the IndySoap newsgroup on Indy's own newsserver.


Gambit



Back to top
Erik F. Andersen
Guest





PostPosted: Mon Dec 20, 2004 10:49 am    Post subject: Re: How to send SOAP messages using Indy Reply with quote

Hello again,

the limitations was discovered the first time by us when we testet Http Post
against a ASP-script running on a Microsoft IIS 4. It may however be a
limitation in ASP-itself - I don't know.

About IndySOAP I finally made it compile. I had to change som IFDEF's
(because they do not handle Delphi7) and I has to make a few changes in the
DPR-file. I also discovered that I had to have DUnit installed... It seems
really easy to use and suits my needs perfectly.

I will from now on refer all my questions to the IndySoap newsgroup on the
Indy server instead.

Thanks,
Erik

"Remy Lebeau (TeamB)" <no.spam (AT) no (DOT) spam.com> skrev i en meddelelse
news:41c5cfe3 (AT) newsgroups (DOT) borland.com...
Quote:

"Erik F. Andersen" <ea (AT) ascott (DOT) dk> wrote in message
news:41c5a05f$1 (AT) newsgroups (DOT) borland.com...

I now got the idea that maby I can use Indy components to
transport the SOAP messages and retrieving the response instead?

IndySOAP can.

If I use Http Post it may pose a problem that this method is
limited to 100 KB or so I have heard.

Where did you hear that? TIdHTTP has no such limitation.

I did take a look at IndySOAP but I couldn't compile it under Delphi7 :-(

Why not? Please be more specific.


Gambit





Back to top
Clever Components Team
Guest





PostPosted: Thu Dec 30, 2004 7:37 am    Post subject: Re: How to send SOAP messages using Indy Reply with quote

Erik,
Check out our article
http://clevercomponents.com/articles/article022/soapsecurity.asp
Clever Components Team
http://www.clevercomponents.com

"Erik F. Andersen" <ea (AT) ascott (DOT) dk> wrote

Quote:
Hello!

For various reasons I am building entire SOAP messages in code. I am
currently sending these messages to WebServices using THttpRIO in Delphi7,
but it appears that this class is limited in handling responses from .Net
WebServices (not all datatypes are supported).

I now got the idea that maby I can use Indy components to transport the
SOAP
messages and retrieving the response instead? I already have the formatted
SOAP message and all I need is the transport layer. My project already
uses
Indy9 for other things. Can I use TIdHttp.Post or another method in Indy
to
do this? Note that I need SSL support! If I use Http Post it may pose a
problem that this method is limited to 100 KB or so I have heard. How
should
I work around this issue?

I will parse the reply myself because all my code is already based on
LIBXML
and it has all necessary functions to do this kind of stuff.

I was thinking about RemObjects SDK for this but it just seems to be way
overkill in my case...

I did take a look at IndySOAP but I couldn't compile it under Delphi7 :-(

Thanks,
Erik F. Andersen





Back to top
Erik F. Andersen
Guest





PostPosted: Tue Jan 04, 2005 7:51 pm    Post subject: Re: How to send SOAP messages using Indy Reply with quote

Thanks,

Great article. However, I already use XMLSec for signing my SOAP documents
and I'm not about to change that right now Wink.

/Erik

"Clever Components Team" <info.at.clevercomponents.com> wrote

Quote:
Erik,
Check out our article
http://clevercomponents.com/articles/article022/soapsecurity.asp
Clever Components Team
http://www.clevercomponents.com

"Erik F. Andersen" <ea (AT) ascott (DOT) dk> wrote in message
news:41c5a05f$1 (AT) newsgroups (DOT) borland.com...
Hello!

For various reasons I am building entire SOAP messages in code. I am
currently sending these messages to WebServices using THttpRIO in
Delphi7,
but it appears that this class is limited in handling responses from .Net
WebServices (not all datatypes are supported).

I now got the idea that maby I can use Indy components to transport the
SOAP
messages and retrieving the response instead? I already have the
formatted
SOAP message and all I need is the transport layer. My project already
uses
Indy9 for other things. Can I use TIdHttp.Post or another method in Indy
to
do this? Note that I need SSL support! If I use Http Post it may pose a
problem that this method is limited to 100 KB or so I have heard. How
should
I work around this issue?

I will parse the reply myself because all my code is already based on
LIBXML
and it has all necessary functions to do this kind of stuff.

I was thinking about RemObjects SDK for this but it just seems to be way
overkill in my case...

I did take a look at IndySOAP but I couldn't compile it under Delphi7 :-(

Thanks,
Erik F. Andersen







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.