[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with SOAP Action?
Hi Alvin,
As near as I can tell, the SoapAction should be "" (two double quotes,
nothing in between).
The endpoint (URL for HTTPAPI) would be:
https://webservices.averittexpress.com:443/LTLRateQuoteService
I've attached a file named LTLRateQuoteService_soap.txt to show you what
I think the SOAP message should look like.
There were a number of errors in their XSD (XML Schema Document) posted
on their site... it was not valid XML. And it's required to read the
WSDL, so the WSDL doesn't work either. I've tried to fix them by
hand... I've attached my attempt. (Obviously, there's a chance that I
made a mistake when I fixed the file by hand...)
To try SoapUI, save the attached WSDL and XSD documents into the *same*
folder on your hard drive. Do not change the filenames (they refer to
each other by file name). Then try using SoapUI on the WSDL file, and
it should work.
I want you to understand: This is not an HTTPAPI question. This WSDL is
invalid for all SOAP clients, not just mine. And it really isn't my job
to fix Averitt's WSDL file! Though, I've made an attempt to do so. I'm
saying this because I want you to appreciate that I've gone the extra
mile, and you may not realize this if I don't say it.
On 2/21/2011 2:25 PM, Alvin Strasburger wrote:
We are working on a new web service project with Averitt Express.
Averitt has recently made this project available for Beta testing.
The link to their documentation is
[1]http://www.averittexpress.com/webservices.html. We are actually
working on the LTL Rate Quote web service which is about ¾ of the way
down the page.
Unfortunately, we know just enough to complete these integrations when
everything works as expected. We are not certain how to load this
documentation into SOAPUI because it doesn't appear to be valid WSDL,
so we have tried to blunder through with HTTPAPI. At this point we
have a valid XML, but are not certain exactly how to determine the
SOAP Action.
Can anyone take a look at the above documentation and lend assistance?
Thanks,
Alvin
References
1. http://www.averittexpress.com/webservices.html
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ltl="https://webservices.averittexpress.com/LTLRateQuoteService">
<soapenv:Header/>
<soapenv:Body>
<ltl:getLTLRate>
<!--Optional:-->
<arg0>
<!--Optional:-->
<ltl:AccountNumber>?</ltl:AccountNumber>
<!--Optional:-->
<ltl:OriginCity>?</ltl:OriginCity>
<!--Optional:-->
<ltl:OriginState>?</ltl:OriginState>
<!--Optional:-->
<ltl:OriginZip>?</ltl:OriginZip>
<!--Optional:-->
<ltl:DestinationCity>?</ltl:DestinationCity>
<!--Optional:-->
<ltl:DestinationState>?</ltl:DestinationState>
<!--Optional:-->
<ltl:DestinationZip>?</ltl:DestinationZip>
<!--Optional:-->
<ltl:ShipDate>?</ltl:ShipDate>
<!--Optional:-->
<ltl:CustomerType>?</ltl:CustomerType>
<!--Optional:-->
<ltl:PaymentType>?</ltl:PaymentType>
<!--Optional:-->
<ltl:ShipmentInfo>
<!--Optional:-->
<ltl:NumPieces>?</ltl:NumPieces>
<!--Optional:-->
<ltl:NumHandlingUnits>?</ltl:NumHandlingUnits>
<!--Optional:-->
<ltl:CubicFeet>?</ltl:CubicFeet>
<!--Zero or more repetitions:-->
<ltl:Items>
<!--Optional:-->
<ltl:ShipmentClass>?</ltl:ShipmentClass>
<!--Optional:-->
<ltl:ShipmentWeight>?</ltl:ShipmentWeight>
<!--Optional:-->
<ltl:Units>?</ltl:Units>
<!--Optional:-->
<ltl:Description>?</ltl:Description>
<!--Optional:-->
<ltl:NmfcNumber>?</ltl:NmfcNumber>
<!--Optional:-->
<ltl:NmfcSubNumber>?</ltl:NmfcSubNumber>
</ltl:Items>
<!--Optional:-->
<ltl:TotalItem>?</ltl:TotalItem>
<!--Optional:-->
<ltl:TotalWeight>?</ltl:TotalWeight>
<!--Zero or more repetitions:-->
<ltl:Accessorial>
<ltl:ArrivalNotify>false</ltl:ArrivalNotify>
<ltl:ConventionCenterDelivery>false</ltl:ConventionCenterDelivery>
<ltl:ConstructionSiteDelivery>false</ltl:ConstructionSiteDelivery>
<ltl:InsideDelivery>false</ltl:InsideDelivery>
<ltl:Liftgate>false</ltl:Liftgate>
<ltl:Hazmat>false</ltl:Hazmat>
<ltl:ResidentialDelivery>false</ltl:ResidentialDelivery>
<ltl:Non-CommercialPickupDelivery>false</ltl:Non-CommercialPickupDelivery>
<ltl:StandardLTLGuarantee>false</ltl:StandardLTLGuarantee>
<ltl:SecurityInspection>false</ltl:SecurityInspection>
</ltl:Accessorial>
</ltl:ShipmentInfo>
</arg0>
</ltl:getLTLRate>
</soapenv:Body>
</soapenv:Envelope>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="https://webservices.averittexpress.com/LTLRateQuoteService" xmlns:tns="https://webservices.averittexpress.com/LTLRateQuoteService" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="AvtLTLRateQuoteRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="AccountNumber" type="xs:string" minOccurs="0"/>
<xs:element name="OriginCity" type="xs:string" minOccurs="0"/>
<xs:element name="OriginState" type="xs:string" minOccurs="0"/>
<xs:element name="OriginZip" type="xs:string" minOccurs="0"/>
<xs:element name="DestinationCity" type="xs:string" minOccurs="0"/>
<xs:element name="DestinationState" type="xs:string" minOccurs="0"/>
<xs:element name="DestinationZip" type="xs:string" minOccurs="0"/>
<xs:element name="ShipDate" type="xs:string" minOccurs="0"/>
<xs:element name="CustomerType" type="xs:string" minOccurs="0"/>
<xs:element name="PaymentType" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentInfo" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="NumPieces" type="xs:string" minOccurs="0"/>
<xs:element name="NumHandlingUnits" type="xs:string" minOccurs="0"/>
<xs:element name="CubicFeet" type="xs:string" minOccurs="0"/>
<xs:element name="Items" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ShipmentClass" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentWeight" type="xs:string" minOccurs="0"/>
<xs:element name="Units" type="xs:string" minOccurs="0"/>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcNumber" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcSubNumber" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TotalItem" type="xs:string" minOccurs="0"/>
<xs:element name="TotalWeight" type="xs:string" minOccurs="0"/>
<xs:element name="Accessorial" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ArrivalNotify" type="xs:boolean" default="false"/>
<xs:element name="ConventionCenterDelivery" type="xs:boolean" default="false"/>
<xs:element name="ConstructionSiteDelivery" type="xs:boolean" default="false"/>
<xs:element name="InsideDelivery" type="xs:boolean" default="false"/>
<xs:element name="Liftgate" type="xs:boolean" default="false"/>
<xs:element name="Hazmat" type="xs:boolean" default="false"/>
<xs:element name="ResidentialDelivery" type="xs:boolean" default="false"/>
<xs:element name="Non-CommercialPickupDelivery" type="xs:boolean" default="false"/>
<xs:element name="StandardLTLGuarantee" type="xs:boolean" default="false"/>
<xs:element name="SecurityInspection" type="xs:boolean" default="false"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AvtLTLRateQuoteResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="AccountNumber" type="xs:string" minOccurs="0"/>
<xs:element name="RateQuoteNumber" type="xs:string" minOccurs="0"/>
<xs:element name="OrigCity" type="xs:string" minOccurs="0"/>
<xs:element name="OrigState" type="xs:string" minOccurs="0"/>
<xs:element name="OrigZip" type="xs:string" minOccurs="0"/>
<xs:element name="OriginServiceCenter" type="xs:string" minOccurs="0"/>
<xs:element name="DestCity" type="xs:string" minOccurs="0"/>
<xs:element name="DestState" type="xs:string" minOccurs="0"/>
<xs:element name="DestZip" type="xs:string" minOccurs="0"/>
<xs:element name="DestServiceCenter" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentDate" type="xs:string" minOccurs="0"/>
<xs:element name="EstimatedServiceDays" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentItems" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ShipmentClass" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentWeight" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcNumber" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcSubNumber" type="xs:string" minOccurs="0"/>
<xs:element name="Rate" type="xs:string" minOccurs="0"/>
<xs:element name="Charge" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DiscountAmount" type="xs:string" minOccurs="0"/>
<xs:element name="DiscountFactor" type="xs:string" minOccurs="0"/>
<xs:element name="RateBase" type="xs:string" minOccurs="0"/>
<xs:element name="Tariff" type="xs:string" minOccurs="0"/>
<xs:element name="CanadaCrossBorderFee" type="xs:string" minOccurs="0"/>
<xs:element name="TexasCharge" type="xs:string" minOccurs="0"/>
<xs:element name="Washington.DCCharge" type="xs:string" minOccurs="0"/>
<xs:element name="NYCCharge" type="xs:string" minOccurs="0"/>
<xs:element name="NorthVirginiaCharge" type="xs:string" minOccurs="0"/>
<xs:element name="FloridaKeysCharge" type="xs:string" minOccurs="0"/>
<xs:element name="FerryCharge" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoOriginDocFee" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoOriginOceanChg" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoPickupChg" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoDestinationDocFee" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoDestinationOceanChg" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoBunkerFuel" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoDeliveryChg" type="xs:string" minOccurs="0"/>
<xs:element name="ArrivalNotify" type="xs:string" minOccurs="0"/>
<xs:element name="StandardLTLGuarantee" type="xs:string" minOccurs="0"/>
<xs:element name="ConstructionSiteDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="InsideDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="Liftgate" type="xs:string" minOccurs="0"/>
<xs:element name="Hazmat" type="xs:string" minOccurs="0"/>
<xs:element name="ResidentialDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="Non-CommercialPickupDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="SecurityInspection" type="xs:string" minOccurs="0"/>
<xs:element name="ConventionCenterDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="AccessorialAmount" type="xs:string" minOccurs="0"/>
<xs:element name="DeficitAmount" type="xs:string" minOccurs="0"/>
<xs:element name="DeficitCharge" type="xs:string" minOccurs="0"/>
<xs:element name="FuelCharge" type="xs:string" minOccurs="0"/>
<xs:element name="GrossMinimum" type="xs:string" minOccurs="0"/>
<xs:element name="NetTotal" type="xs:string" minOccurs="0"/>
<xs:element name="TotalCharge" type="xs:string" minOccurs="0"/>
<xs:element name="TotalFreightCharge" type="xs:string" minOccurs="0"/>
<xs:element name="TotalWeight" type="xs:string" minOccurs="0"/>
<xs:element name="QuoteDate" type="xs:string" minOccurs="0"/>
<xs:element name="Message" type="xs:string" minOccurs="0"/>
<xs:element name="Error" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="getLTLRate" type="tns:getLTLRate"/>
<xs:element name="getLTLRateResponse" type="tns:getLTLRateResponse"/>
<xs:complexType name="getLTLRate">
<xs:sequence>
<xs:element name="arg0" form="unqualified" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="AccountNumber" type="xs:string" minOccurs="0"/>
<xs:element name="OriginCity" type="xs:string" minOccurs="0"/>
<xs:element name="OriginState" type="xs:string" minOccurs="0"/>
<xs:element name="OriginZip" type="xs:string" minOccurs="0"/>
<xs:element name="DestinationCity" type="xs:string" minOccurs="0"/>
<xs:element name="DestinationState" type="xs:string" minOccurs="0"/>
<xs:element name="DestinationZip" type="xs:string" minOccurs="0"/>
<xs:element name="ShipDate" type="xs:string" minOccurs="0"/>
<xs:element name="CustomerType" type="xs:string" minOccurs="0"/>
<xs:element name="PaymentType" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentInfo" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="NumPieces" type="xs:string" minOccurs="0"/>
<xs:element name="NumHandlingUnits" type="xs:string" minOccurs="0"/>
<xs:element name="CubicFeet" type="xs:string" minOccurs="0"/>
<xs:element name="Items" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ShipmentClass" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentWeight" type="xs:string" minOccurs="0"/>
<xs:element name="Units" type="xs:string" minOccurs="0"/>
<xs:element name="Description" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcNumber" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcSubNumber" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TotalItem" type="xs:string" minOccurs="0"/>
<xs:element name="TotalWeight" type="xs:string" minOccurs="0"/>
<xs:element name="Accessorial" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ArrivalNotify" type="xs:boolean" default="false"/>
<xs:element name="ConventionCenterDelivery" type="xs:boolean" default="false"/>
<xs:element name="ConstructionSiteDelivery" type="xs:boolean" default="false"/>
<xs:element name="InsideDelivery" type="xs:boolean" default="false"/>
<xs:element name="Liftgate" type="xs:boolean" default="false"/>
<xs:element name="Hazmat" type="xs:boolean" default="false"/>
<xs:element name="ResidentialDelivery" type="xs:boolean" default="false"/>
<xs:element name="Non-CommercialPickupDelivery" type="xs:boolean" default="false"/>
<xs:element name="StandardLTLGuarantee" type="xs:boolean" default="false"/>
<xs:element name="SecurityInspection" type="xs:boolean" default="false"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getLTLRateResponse">
<xs:sequence>
<xs:element name="return" form="unqualified" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="AccountNumber" type="xs:string" minOccurs="0"/>
<xs:element name="RateQuoteNumber" type="xs:string" minOccurs="0"/>
<xs:element name="OrigCity" type="xs:string" minOccurs="0"/>
<xs:element name="OrigState" type="xs:string" minOccurs="0"/>
<xs:element name="OrigZip" type="xs:string" minOccurs="0"/>
<xs:element name="OriginServiceCenter" type="xs:string" minOccurs="0"/>
<xs:element name="DestCity" type="xs:string" minOccurs="0"/>
<xs:element name="DestState" type="xs:string" minOccurs="0"/>
<xs:element name="DestZip" type="xs:string" minOccurs="0"/>
<xs:element name="DestServiceCenter" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentDate" type="xs:string" minOccurs="0"/>
<xs:element name="EstimatedServiceDays" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentItems" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="ShipmentClass" type="xs:string" minOccurs="0"/>
<xs:element name="ShipmentWeight" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcNumber" type="xs:string" minOccurs="0"/>
<xs:element name="NmfcSubNumber" type="xs:string" minOccurs="0"/>
<xs:element name="Rate" type="xs:string" minOccurs="0"/>
<xs:element name="Charge" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="DiscountAmount" type="xs:string" minOccurs="0"/>
<xs:element name="DiscountFactor" type="xs:string" minOccurs="0"/>
<xs:element name="RateBase" type="xs:string" minOccurs="0"/>
<xs:element name="Tariff" type="xs:string" minOccurs="0"/>
<xs:element name="CanadaCrossBorderFee" type="xs:string" minOccurs="0"/>
<xs:element name="TexasCharge" type="xs:string" minOccurs="0"/>
<xs:element name="Washington.DCCharge" type="xs:string" minOccurs="0"/>
<xs:element name="NYCCharge" type="xs:string" minOccurs="0"/>
<xs:element name="NorthVirginiaCharge" type="xs:string" minOccurs="0"/>
<xs:element name="FloridaKeysCharge" type="xs:string" minOccurs="0"/>
<xs:element name="FerryCharge" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoOriginDocFee" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoOriginOceanChg" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoPickupChg" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoDestinationDocFee" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoDestinationOceanChg" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoBunkerFuel" type="xs:string" minOccurs="0"/>
<xs:element name="PuertoRicoDeliveryChg" type="xs:string" minOccurs="0"/>
<xs:element name="ArrivalNotify" type="xs:string" minOccurs="0"/>
<xs:element name="StandardLTLGuarantee" type="xs:string" minOccurs="0"/>
<xs:element name="ConstructionSiteDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="InsideDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="Liftgate" type="xs:string" minOccurs="0"/>
<xs:element name="Hazmat" type="xs:string" minOccurs="0"/>
<xs:element name="ResidentialDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="Non-CommercialPickupDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="SecurityInspection" type="xs:string" minOccurs="0"/>
<xs:element name="ConventionCenterDelivery" type="xs:string" minOccurs="0"/>
<xs:element name="AccessorialAmount" type="xs:string" minOccurs="0"/>
<xs:element name="DeficitAmount" type="xs:string" minOccurs="0"/>
<xs:element name="DeficitCharge" type="xs:string" minOccurs="0"/>
<xs:element name="FuelCharge" type="xs:string" minOccurs="0"/>
<xs:element name="GrossMinimum" type="xs:string" minOccurs="0"/>
<xs:element name="NetTotal" type="xs:string" minOccurs="0"/>
<xs:element name="TotalCharge" type="xs:string" minOccurs="0"/>
<xs:element name="TotalFreightCharge" type="xs:string" minOccurs="0"/>
<xs:element name="TotalWeight" type="xs:string" minOccurs="0"/>
<xs:element name="QuoteDate" type="xs:string" minOccurs="0"/>
<xs:element name="Message" type="xs:string" minOccurs="0"/>
<xs:element name="Error" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="LTLRateQuoteService" targetNamespace="https://webservices.averittexpress.com/LTLRateQuoteService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="https://webservices.averittexpress.com/LTLRateQuoteService" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types>
<xsd:schema>
<xsd:import namespace="https://webservices.averittexpress.com/LTLRateQuoteService" schemaLocation="LTLRateQuoteService_schema1.xsd"/>
</xsd:schema>
</types>
<message name="getLTLRateResponse">
<part name="parameters" element="tns:getLTLRateResponse">
</part>
</message>
<message name="getLTLRate">
<part name="parameters" element="tns:getLTLRate">
</part>
</message>
<portType name="LTLRateQuoteService">
<operation name="getLTLRate">
<input message="tns:getLTLRate">
</input>
<output message="tns:getLTLRateResponse">
</output>
</operation>
</portType>
<binding name="LTLRateQuoteServicePortBinding" type="tns:LTLRateQuoteService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getLTLRate">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="LTLRateQuoteService">
<port name="LTLRateQuoteServicePort" binding="tns:LTLRateQuoteServicePortBinding">
<soap:address location="https://webservices.averittexpress.com:443/LTLRateQuoteService"/>
</port>
</service>
</definitions>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------