Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to connect through SOAP if i dont have any WSDL file or URL
    text
    copied!<p>Rate Quote Rate quote request must be sent to the following URL:SomeIPaddress/cgibin/ map/RATEQUOTE Here is a sample schema of the Rate Quote Request.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt; - &lt;soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"&gt; - &lt;soap12:Body&gt; - &lt;request&gt; - &lt;Details&gt; - &lt;DetailItem&gt; &lt;Weight&gt;decimal&lt;/Weight&gt; &lt;Class&gt;decimal&lt;/Class&gt; &lt;/DetailItem&gt; &lt;/Details&gt; - &lt;Accessorials&gt; - &lt;AccessorialItem&gt; &lt;Code&gt;char&lt;/Code&gt; &lt;/AccessorialItem&gt; &lt;/Accessorials&gt; &lt;BillingTerms&gt;Char&lt;/BillingTerms&gt; &lt;OriginCity&gt;Char&lt;/OriginCity&gt; &lt;OriginState&gt;Char&lt;/OriginState&gt; &lt;OriginZipcode&gt;Char&lt;/OriginZipcode&gt; &lt;DestinationCity&gt;Char&lt;/DestinationCity&gt; &lt;DestinationState&gt;Char&lt;/DestinationState&gt; &lt;DestinationZipcode&gt;Char&lt;/DestinationZipcode&gt; &lt;PalletCount&gt;decimal&lt;/PalletCount&gt; &lt;Customer&gt;Char&lt;/Customer </code></pre> <p>I am using this coding for this but its not working showing errror previously i have used this method for many API's but i uesd to have .wsdl file:</p> <pre><code> &lt;? $client = new SoapClient('http://208.51.75.23:6082/cgi-bin/map/RATEQUOTE',array( 'trace' =&gt; 1,'exceptions' =&gt; 0 )); $params = array("Details" =&gt; array("DetailItem" =&gt;array("Weight" =&gt;"3","Class" =&gt;"55")), "Accessorials" =&gt; array("AccessorialItem"=&gt;array("Code" =&gt;"LIFTG")), "BillingTerms" =&gt; "FEEP", //Billing Terms:Prepaid Collect "OriginCity" =&gt; "Henrico", "OriginState" =&gt; "VA", "OriginZipcode" =&gt; "23229", "DestinationCity" =&gt; "LOS ANGELES", "DestinationState" =&gt; "CA", "DestinationZipcode" =&gt; "90001", "PalletCount" =&gt; "1", "Customer" =&gt; "abc", ); $return = $client-&gt;CreateResult-&gt;$params; print_r($return);die; ?&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload