@related: WebService gsoap uddi WSDL

Hello,

I contacted RzR on the www to explain him my concern. It has to advise me to contact you.

I have a PHP5 install and I would like to known how can I do to send an XML request without WSDL file. (All the example I have, are some with wdsl file’s referent)

I’m sure about request parameters because I already test them on http://www.perfectxml.com/SOAPTestClient.asp , with the several elements:

a) POST URL: http://test.jonview.com/WEBSERVICES/SOAP

b) Content-Type: text/xml; charset=utf-8

c) SOAPAction:

jonviewhostserver_xml/n_cst_xml.uf_process_request_call   return,java.lang.String,return in,java.lang.String,as_type in,java.lang.String,as_cache in,java.lang.String,as_userid in,java.lang.String,as_password in,java.lang.String,as_client_loc_seq in,java.lang.String,as_message

d) SOAP Request:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" >
<SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body>
	<m:uf_process_request_call xmlns:m="jonviewhostserver_xml/n_cst_xml">
	<as_type xsi:type="xsd:string">XML</as_type>
	<as_cache xsi:type="xsd:string">jonview_host</as_cache>
	<as_userid xsi:type="xsd:string">USATRHOST</as_userid>
	<as_password xsi:type="xsd:string">HOSTPASS</as_password>
	<as_client_loc_seq xsi:type="xsd:string">2464</as_client_loc_seq>
		<as_message xsi:type="xsd:string">
			<message>
			<actionseg>CK</actionseg>
				<searchseg>
					<citycode>YOW</citycode>
					<startdate>28-MAR-2006</startdate>
					<duration>2</duration>
					<status>Available</status>
				</searchseg>
			</message>
		</as_message>
	</m:uf_process_request_call>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

So, I would like to do it from my php5 server

If I understand well the information given on php official web site, I should have something like that:

$client = new SoapClient(null, array('location' =>  "http://test.jonview.com/WEBSERVICES/SOAP",
'uri' => "jonviewhostserver_xml/n_cst_xml.uf_process_request_call  return,java.lang.String,return in,java.lang.String,as_type  in,java.lang.String,as_cache in,java.lang.String,as_userid  in,java.lang.String,as_password in,java.lang.String,as_client_loc_seq  in,java.lang.String,as_message"));

But, how I do to send post the request, Do I use __doRequest??

brgs,

Michel Tadjarian

here is my E-mail link: b.regards(a)voila.fr

soap.txt · Last modified: 2022/04/16 12:24 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki