× 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.



Scott,

Yep, did that and now I get:

The server cannot service the request because the media type is unsupported.


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Scott Klement
Sent: Wednesday, September 2, 2020 2:27 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Calling Web Service Passing XML

Jerry,

Ok, so where I typed PUT THE CORRECT ACTION HERE, replace that with '"http://www.rlcarriers.com/TraceShipment";' like you received from the vendor.

-SK

On 9/2/2020 1:47 PM, (WalzCraft) Jerry Forss wrote:
Thank you Scott for all you do!!
I will get that upgraded.

This is outside my knowledge set by trying to learn.

The vendor just sent me this message:

Yes. This should how a working http header look like.

POST https://api.rlcarriers.com/1.0.3/ShipmentTracingService.asmx
HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "http://www.rlcarriers.com/TraceShipment";
Content-Length: 845
Host: api.rlcarriers.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
Scott Klement
Sent: Wednesday, September 2, 2020 1:36 PM
To: rpg400-l@xxxxxxxxxxxxxxxxxx
Subject: Re: Calling Web Service Passing XML

Hi Jerry,

Change your code to:

rc = http_post_stmf( TrackingURL
: '/iAccess/HTML/TrackingRequest.xml'
: '/iAccess/HTML/TrackingResponce.xml'
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'application/xml'
: PUT THE CORRECT SOAP ACTION HERE );

Also, not sure if you're aware, but you're using the old routines in HTTPAPI. Please consider updating your code to use http_stmf() or http_req().

monitor;
http_setOption('soap-action': PUT THE CORRECT ACTION HERE); http_stmf( 'POST'
: TrackingURL
: '/iAccess/HTML/TrackingResponce.xml'
: '/iAccess/HTML/TrackingRequest.xml'
: 'application/xml' );
on-error;
// check http_error to find out what went wrong
endmon;


-SK



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

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.