× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is a SOAP service you are connection to but you have no SOAP envelope etc. wrapping your payload (assuming you showed us all the XML). The error reported appears to support this idea since it says it encountered an element named rateQuoteLtlRoot while looking for Envelope.


Jon P.


On Aug 3, 2022, at 4:08 PM, (WalzCraft) Jerry Forss <JForss@xxxxxxxxxxxxx> wrote:

Hi All,

I have done well over a dozen carriers that I am using web services for rate shopping.

I am adding a new one (MAGNUM) and they swear this should work.
He said he is trying to support code that a previous developer did, and is no longer there.

He gave me this as a working example, except for the user/password.

URL
http://cloud.magnumlog.com:8081/axis2/services/lessThanLoadQuoteWSPWsdl?wsdl

XML
<rateQuoteLtlRoot>
<username>my user</username>
<password>my password</password>
<freightToQuote>
<shipper>
<postalCode>54603</postalCode>
</shipper>
<consignee>
<postalCode>53051</postalCode>
</consignee>
<shipmentDetails>
<pieces>1</pieces>
<piecesType>PALLET</piecesType>
<palletCount>1</palletCount>
<class>70</class>
<weight>925</weight>
<weightUnits>pounds</weightUnits>
</shipmentDetails>
</freightToQuote>
</rateQuoteLtlRoot>

In postman and my pgm it returns this. He has no idea why and neither do I. Help!

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
<wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault>
<soapenv:Code>
<soapenv:Value>soapenv:</soapenv:Value>
</soapenv:Code>
<soapenv:Reason>
<soapenv:Text xml:lang="en-US">First Element must contain the local name, Envelope , but found rateQuoteLtlRoot</soapenv:Text>
</soapenv:Reason>
<soapenv:Detail></soapenv:Detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>





Subject to Change Notice:

WalzCraft reserves the right to improve designs, and to change specifications without notice.

Confidentiality Notice:

This message and any attachments may contain confidential and privileged information that is protected by law. The information contained herein is transmitted for the sole use of the intended recipient(s) and should "only" pertain to "WalzCraft" company matters. If you are not the intended recipient or designated agent of the recipient of such information, you are hereby notified that any use, dissemination, copying or retention of this email or the information contained herein is strictly prohibited and may subject you to penalties under federal and/or state law. If you received this email in error, please notify the sender immediately and permanently delete this email. Thank You

WalzCraft PO Box 1748 La Crosse, WI, 54602-1748
www.walzcraft.com<http://www.walzcraft.com> Phone: 1-800-237-1326
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.