Re: Sending raw SOAP Message to specified port



On Sep 1, 3:21 am, ZAAN <z.niedziel...@xxxxxxxxx> 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?

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/

.



Relevant Pages

  • Problem to invoke a method of webservice from a C++ SoapClient
    ... I used SoapClient Libray provided by SQLData to invoke a method ... exposed by Webservices of weblogic over HTTP.(using WSDL). ... and do html encoding and send that to the server, ... the response would be build as a soap response and send over http. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: SOAP::Lite "service" examples
    ... SOAP::Lite service which uses a working, ... server side stuff, wsdl (which I have access to but would need to ... this (stringification?) context. ... Anyway, I will work on making a simplified WSDL and a Server to serve it, ...
    (comp.lang.perl.misc)
  • Re: VB.Net Web Services?
    ... get a simple request / response example working on a local IIS server. ... they use as long as they are following the WSDL standards. ... external company and wrap it in a SOAP envelope. ...
    (microsoft.public.dotnet.general)
  • Re: Web-Service-Client SOAP Version
    ... Web-Service-Client erzeugt und rufe damit den Web-Service auf. ... dass statt SOAP 1.1 SOAP 1.2 verschickt worden ist. ... Kann man in der WSDL angeben, ... Service schickt, und dieser den dann ablehnt, dann hält sich der Service ...
    (de.comp.lang.java)
  • Sending raw SOAP Message to specified port
    ... system written in Delphi. ... Client and Server side. ... instead of that they have made an application, which listens for SOAP ... Is there any parameters in WSDL which says to SoapClient ...
    (comp.lang.php)