[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: HTTPAPI Only SOAP 1.1 or SOAP 1.2 messages are supported in the system



   Hi Guys,
   Consider me as also being a HTTPAPI newbie.

   I've been trying out the GEOIP and the EXCHRATE examples and I've been
   getting 'This  page requires userid & password'.

   I'm running it on V5R1 and I've seen somewhere that
   GSK_SERVER_AUTH_TYPE is not available and V5R2 and prior. Is this the
   cause or there's something else?

   Any help from the forum is much appreciated.

   Thanks,
   Meynard
   --- On Wed, 5/4/11, ronnie <ronnie@xxxxxxxxxxxxxxxxxx> wrote:

     From: ronnie <ronnie@xxxxxxxxxxxxxxxxxx>
     Subject: RE: HTTPAPI Only SOAP 1.1 or SOAP 1.2 messages are
     supported in the system
     To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
     Date: Wednesday, May 4, 2011, 7:17 AM

   Hi Charles/Scott.
   See, I told you I was a newbie. :)
   Correct me if I am wrong again.
   In other words in his original message he is using
   [1]http://www.w3.org/2005/08/soap/envelope/ as the soap-env
   And he should be using
   [2]http://schemas.xmlsoap.org/soap/envelope/ for soap 1.1
   or
   [3]http://www.w3.org/2003/05/soap-envelope for soap 1.2
   Irrespective of which soap tag he uses.
   Thanks
   Ronnie
   -----Original Message-----
   From: [4]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   [mailto:[5]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
   Klement
   Sent: Wednesday, May 04, 2011 7:19 AM
   To: HTTPAPI and FTPAPI Projects
   Subject: Re: HTTPAPI Only SOAP 1.1 or SOAP 1.2 messages are supported
   in the system
   Hi Ronnie,
   Bear in mind that the namespace prefix (SOAP vs SOAP12 in your
   example)
   doesn't mean much by itself.  It also has to point to the proper URI
   for
   SOAP 1.1 or 1.2
   The following three XML tags are exactly equivalent:
   <SOAP:Envelope
   xmlns:SOAP="[6]http://www.w3.org/2003/05/soap-envelope";>
   <SOAP12:Envelope
   xmlns:SOAP12="[7]http://www.w3.org/2003/05/soap-envelope";>
   <BobsYourUncle:Envelope
   xmlns:BobsYourUncle="[8]http://www.w3.org/2003/05/soap-envelope";>
   The part that matters is NOT the "SOAP" or "SOAP12" or
   "BobsYourUncle".
   The part that matters is the
   [9]http://www.w3.org/2003/05/soap-envelope.
   The SOAP, SOAP12, and BobsYourUncle in the preceding examples are all
   placeholders for the [10]http://www.w3.org/2003/05/soap-envelope URI.
   Since
   they all point to the same URI, they are equivalent.
   In fact, if I deliberately wanted to be confusing, I could do this:
   <SOAP12:Envelope
   xmlns:SOAP12="[11]http://schemas.xmlsoap.org/soap/envelope/";>
   Notice the URI is the URI for SOAP 1.1.  The preceding example is
   actually SOAP 1.1 (Despite the name 'SOAP12')  Likewise, I could do
   this:
   <SOAP11:Envelope
   xmlns:SOAP11="[12]http://www.w3.org/2003/05/soap-envelope";>
   Despite my use of the deliberately confusing name (SOAP11), it's
   actually SOAP version 1.2. It's the URI that counts, not the prefix.
   On 5/3/2011 10:03 AM, ronnie wrote:
   > Hi Charles.
   >
   > I am also a very, very big newbie with HTTPAPI and the SOAP
   environment myself but I might be able to help.
   >
   > Change your "xmlns:SOAP-ENV="[1]http" to "xmlns:SOAP="[1]http" for
   version 1.1 or "xmlns:SOAP12="[1]http" for version 1.2 depending on
   which one you want to use.
   >
   > Also similarly change your soap headers accordingly.
   > + '<SOAP:Header/>'
   > + '<SOAP:Body>'
   > +'</SOAP:Body>'
   > or
   > + '<SOAP12:Header/>'
   > + '<SOAP12:Body>'
   > +'</SOAP12:Body>'
   >
   >
   > Basically change wherever you have "SOAP-ENV" to "SOAP" or "SOAP12"
   >
   > Regards
   > Ronnie
   ----------------------------------------------------------------------
   -
   This is the FTPAPI mailing list.  To unsubscribe, please go to:
   [13]http://www.scottklement.com/mailman/listinfo/ftpapi
   ----------------------------------------------------------------------
   -
   ----------------------------------------------------------------------
   -
   This is the FTPAPI mailing list.  To unsubscribe, please go to:
   [14]http://www.scottklement.com/mailman/listinfo/ftpapi
   ----------------------------------------------------------------------
   -

References

   1. http://www.w3.org/2005/08/soap/envelope/
   2. http://schemas.xmlsoap.org/soap/envelope/
   3. http://www.w3.org/2003/05/soap-envelope
   4. http://ca.mc880.mail.yahoo.com/mc/compose?to=ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   5. http://ca.mc880.mail.yahoo.com/mc/compose?to=ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   6. http://www.w3.org/2003/05/soap-envelope
   7. http://www.w3.org/2003/05/soap-envelope
   8. http://www.w3.org/2003/05/soap-envelope
   9. http://www.w3.org/2003/05/soap-envelope
  10. http://www.w3.org/2003/05/soap-envelope
  11. http://schemas.xmlsoap.org/soap/envelope/
  12. http://www.w3.org/2003/05/soap-envelope
  13. http://www.scottklement.com/mailman/listinfo/ftpapi
  14. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------