Thanks for the suggestions for my initial request about SOAP calls from RPGLE. I made the changes and, with a couple other changes, was able to call the method and parse its returned XML into my nested data structures. Now I’m on to the next method – and this one is giving me a bit of trouble. To use the 2nd method I basically cloned the 1st and made some changes. Now when I call http_string() it errors out with the following: “HTTP/1.1
415 Cannot process the message because the content type 'text/xml' was” – and that’s it! 2nd level help text tells me “No additional online help information is available.” My Endpoint URL, Input SOAP message and SOAP action are correct (as far as I can tell from SoapUI). My soapResponse is blank because of the error.
Any ideas? One thought – I can make consecutive calls to different SOAP apis, right? Is there anything I have to do to ‘close out’ the first call before I can issue a second call? I’m putting these SOAP api calls into a *SRVPGM and in my *PGM my code basically looks like this: unitNumber = ‘2900C’; currentLocation = getCurrentLocation(unitNumber); // this call works just fine currentMeter = getCurrentMeter(currentLocation: unitNumber); // this is the call that’s giving me an error on the http_string() call. Any ideas would be appreciated. Thanks! Jeff Bianchi Jeff.Bianchi@xxxxxxxx| P 253.804.1034 Oak Harbor Freight Lines, Inc. "Bringing Peace of Mind Since 1916." |
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi