Calling webservice OdiInvoke Startscen from an .html file

ybuffetaud

ybuffetaud

Active Member
Hello I've tested my webservice with SOAP Ui and it is working fine.
I saw that it was sending the following message :
POST http://192.168.1.16:7001/oraclediagent/OdiInvoke HTTP/1.1
Connection: close
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "xmlns.oracle.com/odi/OdiInvoke/invokeStartScen"
Content-Length: 740
Host: 192.168.1.16:7001
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

<soapsoapenv:Envelope xmlns:soapsoapenv="http://schemas.xmlsoap.org/soap/soapenvelope/" xmlns:eek:di="xmlns.oracle.com/odi/OdiInvoke/">
<soapsoapenv:Header/>
<soapsoapenv:Body>
<odi:OdiStartScenRequest>
<Credentials>
<OdiUser>USER</OdiUser>
<OdiPassword>PASSWORD</OdiPassword>
<WorkRepository>WORKREP</WorkRepository>
</Credentials>
<Request>
<ScenarioName>IUP_REFERENTIEL_SMI</ScenarioName>
<ScenarioVersion>001</ScenarioVersion>
<Context>RECETTE</Context>
<Synchronous>true</Synchronous>
<LogLevel>5</LogLevel>
</Request>
</odi:OdiStartScenRequest>
</soapsoapenv:Body>
</soapsoapenv:Envelope>

Do you know how to make an HTML page with a button to do the same.
I need end user to lauch scenario without having acces to ODI server or ODI console.
 
Back
Top