473,326 Members | 2,124 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Sending raw SOAP Message to specified port

Hi,

I'm developing an application in PHP5, which interacts with another
system written in Delphi (of another company). I've prepared the Web
Service - WSDL, Client and Server (only stub) side. Company
responsible for Delphi part hasn't preapred "real" soap server, but
instead of that they have made an application, which listens for SOAP
request on one port and send SOAP responses on another. In that case
the problem is I can't use default HTTP protocol and (I think) I need
to send raw SOAP messages. How can I do that using native PHP5
SoapClient? Is there any parameters in WSDL which says to SoapClient
to send raw SOAP request to one port and get response on another? Is
that possible? Any ohter solutions?

Thanks in advance.
Best Regards
ZAAN

Aug 31 '07 #1
3 5693
ZAAN wrote:
Hi,

I'm developing an application in PHP5, which interacts with another
system written in Delphi (of another company). I've prepared the Web
Service - WSDL, Client and Server (only stub) side. Company
responsible for Delphi part hasn't preapred "real" soap server, but
instead of that they have made an application, which listens for SOAP
request on one port and send SOAP responses on another. In that case
the problem is I can't use default HTTP protocol and (I think) I need
to send raw SOAP messages. How can I do that using native PHP5
SoapClient? Is there any parameters in WSDL which says to SoapClient
to send raw SOAP request to one port and get response on another? Is
that possible? Any ohter solutions?

Thanks in advance.
Best Regards
ZAAN
You don't actually send on a port, you send to a port. They way they seem to
want to do this is to have your application setup as a soap server as well.
You then listen on the response port for a soap message from them.
Sep 1 '07 #2
You don't actually send on a port, you send to a port. They way they seem to
want to do this is to have your application setup as a soap server as well.
You then listen on the response port for a soap message from them.
There is some misunderstanding. Both port (for request and to send
response) are on their machine. They way they want to do that is to
get my raw (without HTTP header) soap request on one port (yes, I send
my soap request to that port) and send me response to that request on
another port (also in raw soap).

BR ZAAN

Sep 1 '07 #3
On Sep 1, 3:21 am, ZAAN <z.niedziel...@gmail.comwrote:
Hi,

I'm developing an application in PHP5, which interacts with another
system written in Delphi (of another company). I've prepared the Web
Service - WSDL, Client and Server (only stub) side. Company
responsible for Delphi part hasn't preapred "real" soap server, but
instead of that they have made an application, which listens for SOAP
request on one port and send SOAP responses on another. In that case
the problem is I can't use default HTTP protocol and (I think) I need
to send raw SOAP messages. How can I do that using native PHP5
SoapClient? Is there any parameters in WSDL which says to SoapClient
to send raw SOAP request to one port and get response on another? Is
that possible? Any ohter solutions?
I do not understand it clearly. However:
1. SOAP is actually through HTTP. That is the real use of SOAP.
2. Automatic creation of WSDL is not quite possible with PHP (because
of data types). But, I think, nuSOAP is doing some of it's sort.
3. PHP is the right choice for SOAP server implementation.
4. Delphi is the right choice for SOAP client. Just point to the WSDL
and the WSDL importer will all the good work for you.
5. For SOAP implementations, it's always better to use some tools
(instead of handcoding raw data)

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Sep 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Leonid | last post by:
Thanks a lot for your time! Here is WSDL: <?xml version="1.0" encoding="utf-8"?>
2
by: Paul Hale | last post by:
I have a vb.net web service and client that are both working fine. If someone wanted to consume our web service using .NET, no problem. Im a little confused on how non .NET clients would use the...
2
by: Kups | last post by:
Hi! I have a service and client that use WSE 2.0 and soap.tcp. Both are behind firewalls. Client connects to a public machine's tcp port which is redirected to service. If I send a request ...
3
by: Sydney | last post by:
Hi, I am trying to construct a WSE 2.0 security SOAP request in VBScript on an HTML page to send off to a webservice. I think I've almost got it but I'm having an issue generating the nonce...
1
by: Julio Delgado | last post by:
Hi, Again sorry for my ignorance first time interfacing to a remote server that is not a web service but it uses SOAP protocol to talk through a particular TCP port. I need to develop a VB.NET...
0
by: Jigar.Patel | last post by:
I have simple remoting server exposing following simple method. When I try to add webreference to this server in another project, it gives me following error: Custom tool error: Unable to import...
5
by: =?Utf-8?B?SmltbWVy?= | last post by:
Hello, I've been trying to create a WCF SOAP Router Service that can forward not just the message body but also any security headers set by the originator of the message. The destination service...
0
by: Philluminati | last post by:
I have a Perl SOAP Server which returns this SOAP Message when invoked: <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance"...
4
by: gcharbon | last post by:
Hi community, I have a problem with a Soap client written in php. I have a local server (coded in c and a client in c too, it works fine), but i want to test client in php, and i have an error...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.