Hi,
I Have a big problem with SOAP. I want to retrieve some data from XHTML document and I don't know how to do that.
if I Have for example this part of XHTML code:
<div class="first">
<p>some text</p>
<a href="xxx" title="yyy">link1</a>
<p>some other text</p>
<a href="aaa" title="bbb">link2</a>
</div>
and I want to retrieve data from element a or element p. So my result will be "link2" or "some other text".
How to write it to SOAP language?
I work in PHP so I find this:
<?php
$client = new SoapClient(NULL,
array(
"location" => "http://www.example.com/",
"uri" => "urn:xmethods-delayed-quotes",
)
);
$result = $client->__call('href', array(new SoapParam("Google", "a")));
?>
but it doesn't work.
I don't know what uri exactly means but is required when wsdl is not using.
And I don't understand _call function.
Maybe this all is wrong code.
Can anyone write SOAP code for me please? But using SOAP with PHP functions only.
Thank you very much.