[eluser]hamiltonian[/eluser]
I am consuming a JAVA webservice through PHP using NuSoap and it works great (finally!). Now I am trying to access the data in the response, but am not having much luck.
The Response I get looks like:
Quote:<?xml version="1.0" ?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:getTLResponseSetResponse xmlns:ns2="http://ESP.jbhunt.com/">
<return>
<errorFlag>false</errorFlag>
<responseDetailsArray>
<baseTariff>1305</baseTariff>
<config>DROP</config>
<customerDerComment></customerDerComment>
<customerDerivative>0</customerDerivative>
<deliveryDay>31</deliveryDay>
<deliveryMonth>7</deliveryMonth>
<deliveryYear>2008</deliveryYear>
<destDrayMiles>0</destDrayMiles>
<destRamp>G$</destRamp>
<equipment>DVN_53</equipment>
<inboundDerivative>0</inboundDerivative>
<laneDerivative>180</laneDerivative>
<minTariff>0</minTariff>
<origDrayMiles>0</origDrayMiles>
<origRamp>C!</origRamp>
<outboundDerivative>0</outboundDerivative>
<pickupDay>29</pickupDay>
<pickupMonth>7</pickupMonth>
<pickupYear>2008</pickupYear>
<totalRate>0</totalRate>
<totalTariff>1485</totalTariff>
<transit>IM_STD</transit>
<transitDays>2</transitDays>
</responseDetailsArray>
<responseDetailsArray>
<baseTariff>1675</baseTariff>
<config>DROP</config>
<customerDerivative>0</customerDerivative>
<deliveryDay>31</deliveryDay>
<deliveryMonth>7</deliveryMonth>
<deliveryYear>2008</deliveryYear>
<destDrayMiles>0</destDrayMiles>
<equipment>DVN_53</equipment>
<inboundDerivative>0</inboundDerivative>
<laneDerivative>0</laneDerivative>
<minTariff>927</minTariff>
<origDrayMiles>0</origDrayMiles>
<outboundDerivative>0</outboundDerivative>
<pickupDay>29</pickupDay>
<pickupMonth>7</pickupMonth>
<pickupYear>2008</pickupYear>
<totalRate>0</totalRate>
<totalTariff>1675</totalTariff>
<transit>TRK_STD</transit>
<transitDays>2</transitDays>
</responseDetailsArray>
</return>
</ns2:getTLResponseSetResponse>
</S:Body>
</S:Envelope>
Any ideas?