473,782 Members | 2,487 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5724
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 misunderstandin g. 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
404
by: Leonid | last post by:
Thanks a lot for your time! Here is WSDL: <?xml version="1.0" encoding="utf-8"?>
2
15452
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 web service though. Question 1: Does Java etc have some kind of SOAP tool kit developers could use to access our web service? Question 2: .NET conveniently shows what the serialized xml looks like and what the web service expects (Please see...
2
3274
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 to service, it is received, but I can't get the answer. Here is the message from event log:
3
7728
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 value for the UserName token. Is it possilbe at all to do this from VBScript (or jscript?)? I know I will be limited with what I can do with the SOAP message. Eg/ can't sign/encrypt it etc. Thanks,
1
2310
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 application to send a SOAP Message to this remote server. The only info they have given me is the server and port number and they have a "ping style" msg that the server will accept a msg and return back exactly what I send the msg has two...
0
4846
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 WebService/Schema. Unable to import binding 'MyRemoteObjectBinding' from namespace 'http://schemas.microsoft.com/clr/nsassem/RemoteServer/RemoteServer%2C%20Version%3D1.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull'. Unable to import...
5
4135
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 I'm routing messages to uses WSHttpBinding, SSL with UserName/Password client credentials. Using guidance from the Technology samples I can create a router that forwards messages without security credentils but not with them. Can anybody point me...
0
2701
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" xmlns:soapenc="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/ XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/ encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/...
4
12057
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 (I'm not sure to understand it...) : SoapFault exception: Method 'ns1:getMetadataRequest' not implemented: method name or namespace not recognized in beta_2/soap.php:26 Stack trace: #0 /root/src/rxtxws/beta_2/soap.php(26):...
0
9479
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10146
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8967
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5509
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3639
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2874
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.