web services - Connect to SOAP 1.1 With PHP -


i have soap web services , need connect , result in php request is:

<?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">   <soap:body>     <booking xmlns="http://tempuri.org/">       <myorder>         <fromdate>datetime</fromdate>         <todate>datetime</todate>         <price>decimal</price>         <sitecommission>decimal</sitecommission>         <hotelpriceincentive>decimal</hotelpriceincentive>         <count>int</count>         <priceid>int</priceid>         <hotelid>int</hotelid>         <add_id>int</add_id>         <create_net_booking>int</create_net_booking>         <orderrooms>           <clorderrooms>             <capacityname>string</capacityname>             <basetypename>string</basetypename>             <roomstypename>string</roomstypename>             <sessionid>string</sessionid>             <amountbruto>decimal</amountbruto>             <amountnetto>decimal</amountnetto>             <price>decimal</price>             <count>int</count>             <basetypeid>int</basetypeid>             <roomtypeid>int</roomtypeid>             <adults>int</adults>             <child>int</child>             <infants>int</infants>           </clorderrooms>           <clorderrooms>             <capacityname>string</capacityname>             <basetypename>string</basetypename>             <roomstypename>string</roomstypename>             <sessionid>string</sessionid>             <amountbruto>decimal</amountbruto>             <amountnetto>decimal</amountnetto>             <price>decimal</price>             <count>int</count>             <basetypeid>int</basetypeid>             <roomtypeid>int</roomtypeid>             <adults>int</adults>             <child>int</child>             <infants>int</infants>           </clorderrooms>         </orderrooms>         <generalareaname>string</generalareaname>         <hotelname>string</hotelname>         <generalareaid>string</generalareaid>         <cancelbooking_cancelled>boolean</cancelbooking_cancelled>         <cancelbooking_cancellationdays>int</cancelbooking_cancellationdays>         <cancelbooking_policy>string</cancelbooking_policy>         <sourceprice>int</sourceprice>         <externalpriceid>int</externalpriceid>         <customerpriceremark>string</customerpriceremark>         <docketid>int</docketid>         <firstname>string</firstname>         <lastname>string</lastname>         <email>string</email>         <tz>string</tz>         <phonenum>string</phonenum>         <cellnumber>string</cellnumber>         <address>string</address>         <creditcardnum>string</creditcardnum>         <credit_tashlumim>string</credit_tashlumim>         <credit_expmont>string</credit_expmont>         <credit_expyear>string</credit_expyear>         <credit_cvv>string</credit_cvv>         <comments>string</comments>         <travellers>           <cltraveller>             <firstname>string</firstname>             <lastname>string</lastname>             <title>string</title>             <datebirthday>string</datebirthday>           </cltraveller>           <cltraveller>             <firstname>string</firstname>             <lastname>string</lastname>             <title>string</title>             <datebirthday>string</datebirthday>           </cltraveller>         </travellers>         <configparam>           <amountmarkup>string</amountmarkup>           <app_agencyxmlbaseurl>string</app_agencyxmlbaseurl>           <dockettype>string</dockettype>           <systemtypeid>int</systemtypeid>           <agencyid>int</agencyid>           <username>string</username>           <password>string</password>           <subsite>int</subsite>         </configparam>         <result>           <xmlafterregistration>string</xmlafterregistration>           <docketid>int</docketid>           <bundle_id>string</bundle_id>           <reserv_num>             <string>string</string>             <string>string</string>           </reserv_num>         </result>       </myorder>     </booking>   </soap:body> </soap:envelope> 

i try php soapclient don't relay know how right. error is: fatal error: uncaught soapfault exception: [wsdl] soap-error: parsing wsdl: couldn't load 'https://web14.agency2000.co.il/bytechws/pricessearch.asmx?wsdl' : failed load external entity "https://web14.agency2000.co.il/bytechws/pricessearch.asmx?wsdl" in c:\xampp\htdocs\credit2000\booking.php:96 stack trace: #0 c:\xampp\htdocs\credit2000\booking.php(96): soapclient->soapclient('https://web14.a...', array) #1 c:\xampp\htdocs\credit2000\booking.php(81): calldata('booking', object(stdclass)) #2 {main} thrown in c:\xampp\htdocs\credit2000\booking.php on line 96 please???

the wsdl url using not exist. without correct url never succeed request. php needs wsdl create proper data structure.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -