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

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



   Hi,



   I've searched the archives to see if anyone else's faced this problem,
   but couldn't find any.  I guess i'm the only dunce who can't figure
   this out.

   I keep running into this error message

   'Only SOAP 1.1 or SOAP 1.2 messages are supported in the system'.  I
   have taken this from the httpapi_debug log file.  which eventually
   throws a HTTP/1.1 500 Internal Server Error to my RPG program when it
   is executed.  I've used Scott's HTTPAPI 1.2 apis.  The SOAP and RC
   values I have created from the WSDL we have to invoke.  the service
   invoked returns only a simple 1a value back to caller.



   SOAP =
     '<?xml version="1.0" encoding="utf-8" standalone="no"?>'
   + '<SOAP-ENV:Envelope'
   + ' xmlns:SOAP-ENV="[1]http://www.w3.org/2005/08/soap/envelope/";'
   + ' xmlns:odi="[2]xmlns.oracle.com/odi/OdiInvoke/">'
   + '<SOAP-ENV:Header/>'
   + '<SOAP-ENV:Body>'
   + ' <ns1:getRate'
   + ' <odi:invokeScenarioRequest>'
   + '    <odi:RepositoryConnection>'
   + '       <odi:OdiUser>SUPERVISOR</odi:OdiUser>'
   + '       <odi:OdiPassword>SUNOPSIS</odi:OdiPassword>'
   + '    </odi:RepositoryConnection>'
   + '    <odi:Command>'
   + '       <odi:ScenName>EMAIL_TEST_FAILURE</odi:ScenName>'
   + '       <odi:ScenVersion>-1</odi:ScenVersion>'
   + '       <odi:Context>TEST</odi:Context>'
   + '    </odi:Command>'
   + '    <odi:Agent>'
   + '       <odi:Host>wlkorcl17</odi:Host>'

   + '
   <odi:Port>20910</odi:Port>'
   + '
   </odi:Agent>'
   + '
   </odi:invokeScenarioRequest>'
   +
   '</SOAP-ENV:Body>'

   +
   '</SOAP-ENV:Envelope>';






   //'[3]http://wlkorcl17.wilko.co.uk:7777/axis2/services/OdiInvoke?wsdl'
   rc =
   http_url_post_xml(

   '[4]http://wlkorcl17.wilko.co.uk:7777/axis2/services/OdiInvoke'
                     : %addr(SOAP) +
   2
                     :
   %len(SOAP)
                     :
   *NULL
                     :
   %paddr(Incoming)
                     :
   %addr(String)
                     :
   HTTP_TIMEOUT
                     :
   HTTP_USERAGENT
                     :
   'text/xml'
                     :
   '[5]xmlns.oracle.com/odi/OdiInvoke/invokeScenario');



   What am I doing wrong?  Please can anyone help.



   Thanks,

   Warm regards,

   Raghu

References

   1. http://www.w3.org/2005/08/soap/envelope/%22'
   2. http://xmlns.oracle.com/odi/OdiInvoke/
   3. http://wlkorcl17.wilko.co.uk:7777/axis2/services/OdiInvoke?wsdl
   4. http://wlkorcl17.wilko.co.uk:7777/axis2/services/OdiInvoke
   5. http://xmlns.oracle.com/odi/OdiInvoke/invokeScenario'
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------