[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



I think that this statement is maybe wrongly coded:
xmlns:odi="xmlns.oracle.com/odi/OdiInvoke/">

Maybe it should be:
xmlns:odi="http://oracle.com/odi/OdiInvoke/";>


William 



-----Message d'origine-----
De : ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de rags rags
Envoyé : lundi 18 avril 2011 05:52
À : ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Objet : 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="http://www.w3.org/2005/08/soap/envelope/";'
+ ' xmlns:odi="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>';


       //'http://wlkorcl17.wilko.co.uk:7777/axis2/services/OdiInvoke?wsdl'
rc = http_url_post_xml(
       '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'
                  : 'xmlns.oracle.com/odi/OdiInvoke/invokeScenario');

What am I doing wrong?  Please can anyone help.

Thanks,
Warm regards,
Raghu
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------