Re: PHP SOAP - Extreme newbie questions :/
Hi,
Thank you for your answer :-).
----- Here is the ".wsdl" file:
=======================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="urn:stockquote"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="urn:stockquote">
<types>
<xsd:schema targetNamespace="urn:stockquote">
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
</xsd:schema>
</types>
<message name="getStockQuoteRequest">
<part name="symbol" type="xsd:string" />
</message>
<message name="getStockQuoteResponse">
<part name="return" type="xsd:decimal" />
</message>
<portType name="stockserverPortType">
<operation name="getStockQuote">
<input message="tns:getStockQuoteRequest"/>
<output message="tns:getStockQuoteResponse"/>
</operation>
</portType>
<binding name="stockserverBinding" type="tns:stockserverPortType">
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getStockQuote">
<soap:operation soapAction="urn:stockquote#getStockQuote"
style="rpc"/>
<input>
<soap:body use="encoded" namespace="urn:stockquote"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<soap:body use="encoded" namespace="urn:stockquote"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="stockserver">
<port name="stockserverPort" binding="tns:stockserverBinding">
<soap:address location="http://localhost/soap_tutorial_server.php"/>
</port>
</service>
</definitions>
=======================================================
----- The URL you suggested:
http://localhost/soap_tutorial_server.php#getStockQuote?symbol=ABC
gives the same result as:
http://localhost/soap_tutorial_server.php
The PHP binaries I have are those of the bundle "php-5.2.13-Win32"...
> I use Zend Framework's Soap service to read my PHP classes and
> construct the WSDL file.
Is it something like "soapUI" (I downloaded "soapUI" but didn't use it)?
I don't understand what you mean by "to read my PHP classes"...
What would I be able to do with "Zend Framework's Soap service", in my
specific case?
Thanks again for your time :-).
Best regards,
--
Lmhelp
--
View this message in context: http://old.nabble.com/PHP-SOAP---Extreme-newbie-questions-%3A--tp28095423p28097433.html
Sent from the Php - Soap mailing list archive at Nabble.com.
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[PHP Home]
[PHP Users]
[Kernel Newbies]
[PHP Database]
[Yosemite]