ODI Web Services Logging
Hi Experts,
If we use ODI 11g web service to invoke scenario, is there any way to get the detailed session log, like, each stepLog, start/end time, etc.?
Thanks!
Hi Michelle,
This information should still be available in the ODI Console Operator log (and also the work repository schema, if you are going through the back door).
Cheers
Bos
Similar Messages
-
How to call an ODI web service through PL/SQL
Hi All,
Can we call an ODI web service through PL/SQL. If we can, can you please provide me info/examples/links on how to accomplish this task ?
Any information will help me and my team.
Am I required to use UTL_HTTP ?
Thanks,
Amer
Edited by: Rooney on Nov 6, 2012 9:58 AMHi,
Take a look at this :
http://www.business-intelligence-quotient.com/?p=1466 -
Error in AXIS2 when i try publish ODI web services
Hi people,
I´m configured AXIS2 into OC4J (SOA Suite 10.1.3.1) and when i try to publish ODI web services using a odi-public-ws.aar file on AXIS2, show me a "Faulty Services" message and when i click on details link show me a Java message (below):
{color:#ff0000}*This Web axisService has deployment faults*{color}
Error: java.lang.NoSuchMethodError: javax.wsdl.Operation.getExtensionAttributes()Ljava/util/Map;
at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations(WSDL11ToAxisServiceBuilder.java:1295) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType(WSDL11ToAxisServiceBuilder.java:592) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:469) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:363) at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:248) at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:356) at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:67) at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597) at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:330) at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:227) at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:284) at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:82) at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:516) at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:436) at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2361) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4810) at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4734) at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4922) at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1134) at com.evermind.server.http.HttpApplication.(HttpApplication.java:738) at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414) at com.evermind.server.Application.getHttpApplication(Application.java:545) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990) at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909) at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:645) at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290) at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270) at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177) at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2450) at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:998) at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131) at java.lang.Thread.run(Thread.java:595)
Wow, a lot of lines ! No problem, i can identify problem when try generate a WSDL file ... it´s correct ? (Please correct me if i have a incorrect reasoning).
Can a JDK Version too ? I´m using a JDK 1.5.0_06. According by manual instructions version of JDK can be 1.4.2 or later version....
Help me ! :-)
Thanks for your attention !!Roberto and all,
I installed Tomcat and published ODI web service and it was done sucessfully.
Why OC4J this simple activity doesn´t have any success ? I'm still curious what's difference between OC4J and Tomcat and why it does not allow this simple task when is completed in a such simple way... Oracle support analyst recommended that I use the OC4J but did not explain the reason, what are the advantages and benefits compared to Tomcat...
Sincerelly, i´m not too sure if i should go ahead with OC4J.
Thanks for your attention !
Best Regards,
João. -
Location of Orchestrator Web Service Logs
Anybody know where Orchestrator hides any web service logs? i'm troubleshooting an issue.
Hi,
Hope it helps you:
http://technet.microsoft.com/en-us/library/hh912318.aspx
http://technet.microsoft.com/en-us/library/hh488400.aspx
Natalya -
Hi,
There is no log and trace records are available under the Web Services Log Viewer in a CE System
NWA> SOA Management >Logs and traces > Web services logging and tracing
what are to be checked and why it's not showing .
Thanks in tonHi,
Check the logs in NWA > Prblem Mgmt > Logs & Traces > Deafult Trace
Regards
Priya -
ODI Web Service Invoke Scenario
Hi all,
I am trying to invoke a scenario from ODI Web Services, passing the following parameters:
<invokeScenarioRequest>
<invokeScenarioRequest>
<RepositoryConnection>
<OdiUser>SUPERVISOR</OdiUser>
<OdiPassword>XXXXX</OdiPassword>
</RepositoryConnection>
<Command>
<ScenName>PROCESSORDER</ScenName>
<ScenVersion>-1</ScenVersion>
<Context>Development</Context>
<LogLevel>5</LogLevel>
<SyncMode>1</SyncMode>
</Command>
<Agent>
<Host>localhost</Host>
<Port>20910</Port>
</Agent>
</invokeScenarioRequest>
</invokeScenarioRequest>
When I execute this from ODI Web Service Advanced Editor, I got the following exception. Is there anything I missed out during installation / configuration?
ServiceClass does not implement required method of the form OMElement invokeScenario(OMElement e)
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1515)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1792)
at com.sunopsis.wsinvocation.client.a.a.d.a(d.java)
at com.sunopsis.wsinvocation.client.a.a.d.requestReply(d.java)
at com.sunopsis.graphical.wsclient.f.b(f.java)
at com.sunopsis.graphical.tools.utils.swingworker.v.call(v.java)
at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
at com.sunopsis.graphical.tools.utils.swingworker.l.run(l.java)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Appreciate any input. Thanks all.
Regards,
EdisonCan you please check the request message again; <invokeScenarioRequest> is repeated.
Thanks,
Is -
How to write Web Service Log to a file in Java
Hi..
I have a requirement that I need to maintain Log file of my web service which is deployed on OC4J server.
Is there any API for this ? Or any other way to do it ?
Regards,
AjayHi..
Thanks.
Instead of using Logging API, I created own class to handle Log.
But my issue is When Ever I am appending Log to already created file the following Line is also appending.
<?xml version = '1.0' encoding = 'UTF-8'?>I want this Line only one time in each log file.
What should I do for this ?
Regards,
Ajay -
In WLS 8.1 running the server with -Dweblogic.webservice.verbose=true would make it poot out the SOAP request and response messages. This doesn't seem to work anymore with WLS 9.2. Should it, or is there a new/better way to get web service stack logging of some kind? Thanks...
MarkTry
-Dweblogic.wsee.verbose=*
Thats what I use
Also, I've set this as the value to an environment variable so anytime I
start the server this appears
JAVA_OPTIONS=-Dweblogic.wsee.verbose=*
Best of luck
Mark Shaffer wrote:
In WLS 8.1 running the server with -Dweblogic.webservice.verbose=true would make it poot out the SOAP request and response messages. This doesn't seem to work anymore with WLS 9.2. Should it, or is there a new/better way to get web service stack logging of some kind? Thanks...
Mark -
Hi,
Currently I heve been developing PL/SQL Web Service on Oracle10i (9.0.4) server using regular J2EE Web Services.
Web Services module I have created uses oracle.j2ee.ws.StatelessStoredProcRpcWebService servlet.
Everything works fine, except logging. How can I log errors (JDBC exceptions, network exceptions, etc.)?
Is there any way to write down occured errors to a log file?
Thanks for any help.
Marcin.Hello Ruban,
You need to look for SWSE logs from Siebel.
If you do not have details, you need to increase SWSE logs by referring below knowledge article:
How To Turn Up Logging on the Siebel Web Server Extension in Siebel Versions 7.x and 8.x? (Doc ID 477185.1)
I hope it helps.
Best Regards,
Chetan -
Hi Experts,
I was wondering if there is any way to read/access the log file which is generated while making a web services call . If yes then How??
Thanks & Regards
SablokHi Experts,
I was wondering if there is any way to read/access the log file which is generated while making a web services call . If yes then How??
Thanks & Regards
Sablok -
ODI Web Service Soap Header Missing Error
I am trying to invoke oracle crm ondemand web service using ODIInvokeWebService tool by providing the below parameters
Url
Port Type
Operation
XML Request
HTTP User
HTTP Password
I am getting the below error during the execution of the step.
javax.xml.ws.soap.SOAPFaultException: Invalid Soap Request : Soap Header is missing
at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:189)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:187)
The code which is getting executed is
OdiInvokeWebService "-URL=http://slc402454.us.oracle.com:30090/Services/cte/FieldManagementService?wsdl" "-PORT_TYPE=FieldManagementService" "-OPERATION=FieldManagementRead" "-HTTP_USER=Upgrade_all/sales" "-HTTP_PASS=aYyHL7THHZYEdPNTd.1ugy"
<?xml version = '1.0' encoding = 'UTF8'?>
<WL5G3N1:FieldManagementRead_Input xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:WL5G3N1="urn:crmondemand/ws/odesabs/fieldmanagement/">
<apQuery:FieldSet xmlns:apQuery="urn:/crmondemand/xml/fieldmanagement/query">
<apQuery:ObjectName>Account</apQuery:ObjectName>
<apQuery:IncludeAll>true</apQuery:IncludeAll>
</apQuery:FieldSet>
</WL5G3N1:FieldManagementRead_Input>
With SOAPUI , I am able to get the response.After mentioning the SOAP header and response file as XML with other properties , I am able to successfully retrieve the SOAP response.
-
Hi all
i am doing a web service -> XI -> R3( RFC) Scenario.my scenario is running, i had to use <b> Altova XML Spy</b> for calling web service ....
now the issue is, <b>can i keep track of who has called that webservice</b>..
ex :- can i authorize only 5 user to call the web service through XML Spy...
is their any option in XI..
Regards,
AshutoshHI
To store adapter attributes in the message header of the XI message, set the Set Adapter-Specific Message Attributes indicator.
The following attributes are added to the XI message header if the sender makes them available, and if the Variable Transport Binding indicator is set.
Name Technical Name
Remote User SRemoteUser
Remote Host SRemoteHost
To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
Name Technical Name
Variabler Header XHeaderName1
Variabler Header XHeaderName2
Variabler Header XHeaderName3
The names of the fields and parameters must correspond to the names of the fields and parameters that also go through the HTTP request.
The attribute namespace for the adapter is http://sap.com/xi/XI/System/SOAP.
See the link below
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
Also we can access the Message ID in the payload itself using the UDF.
Header info - Access of XI Message Header Information
Regards
Chilla -
ODI Web Service is Synchronous or Asynchronous??
Hi,
I have a question about odi.When a websevice calls odi scenario(through agent) the the session id returned to the webservice immediately.Is this calling process synchronous/asynchronous?Actually i want to say, the webservice get the session id at the invokation time(when scenario start executing) or at the time when scenario execution completed?
Please Ans
Thanks
PapaiIf you go for Asynchronous, you can use getSessionStatus. Parameters are ODI user, password, work repository name and session id(s) (you can retrieve the status for multiple session at one time I think).
Hope it helps,
JeromeFrHi Jerome,
The request payload is like this:-
<OdiStartScenRequest>
<Credentials>
<OdiUser>odi_user</OdiUser>
<OdiPassword>odi_password</OdiPassword>
<WorkRepository>work_repository</WorkRepository>
</Credentials>
<Request>
<ScenarioName>scenario_name</ScenarioName>
<ScenarioVersion>scenario_version</ScenarioVersion>
<Context>context</Context>
<LogLevel>log_level</LogLevel>
*<Synchronous>synchronous</Synchronous>*
<SessionName>session_name</SessionName>
<Keywords>session_name</Keywords>
<Variables>
<Name>variable_name</name>
<Value>variable_value</Value>
</Variables>
</Request>
</OdiStartScenRequest>
Now my question is for *<Synchronous>synchronous</Synchronous>* element what I have to write:-
<Synchronous>synchronous</Synchronous>
or
<Synchronous>Synchronous=1</Synchronous>
or
<Synchronous>1</Synchronous> -
Hi All!
I'm testing the call of a Scenario from a webServices using SoapUI.
When I create a SOAP request from soapUI under the invokeScenario the XMI saw is
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gen="http://generated.ws.invocation.sdk.odi.oracle">
<soapenv:Header/>
<soapenv:Body>
<gen:invokeScenario>
<!--Optional:-->
<gen:invokeScenario>?</gen:invokeScenario>
</gen:invokeScenario>
</soapenv:Body>
</soapenv:Envelope>
I think that there is something missing.
Any idea? Have I to do something on ODI?
Regards,
DanieleHi Ananth,
I've already check this tread.. my problem is that the soap env is really different from the one I aspect...
Any Idea?
I'm on ODI 10.1.3.6.4 and Axis2 1.5.2
Regards! -
Hello All, I have successfully installed and configured ODI web services. Are there any steps available to create the Weblogic admin server as a service along with ODI web services starting also? I have steps to create the weblogic admin server as a service but this does not start all of the weblogic components, specifically the ODI pieces. When I start the weblogic server from the start menu the admin server comes online as well as the ODI services and I can access ODI through the web console. When I start it through the service that I created in the services console, the admin server comes online and I can access it through http://server:7001/console, but not able to access the ODI web page. Please advise, thank you.
Have a read of the following document in Oracle Support - "How to Install MS Windows Services For FMW 11g WebLogic Domain Admin and Managed Servers? [ID 1060058.1]"
Though once you have installed ODI managed server as a windows service check the web application log for any errors because you may need to add DOMAIN_HOME and its path as an environment variable.
Cheers
John
http://john-goodwin.blogspot.com/
Maybe you are looking for
-
Ipod not recognized by updater/itunes
I've gone through all the steps listed on the help pages. I've done as many of the 5 r's as I can. I just got a video ipod last weekend. I have the latest updates on itunes and ipod updater. I know the ports arent the problems because when I plug in
-
Inbound Idoc customer number conversion
I am new to EDI and have a question to ask you both about inbound IDOC's. We have customers sending remittance advices through EDI. The customer numbers in them are their own customer numbers. In SAP, we maintain different customer numbers. Where do
-
Hello all, I have several questions and I would really appreciate any help that you may have. First off, my main problem is that my company's website is loading slow and I'm not sure why. All of my images are small file sizes, but I do have 4 scene
-
I have imovie 7.1.8. on Mavericks and wanted to update. search for updates did not work: "sorry this page no longer available" I went to apple download: https://www.apple.com/de/mac/imovie/ I click "load imovie for mac" I land in App Store...no downl
-
I have a Mac OSX 10.5.8
I'm having trouble opening Adobe Photoshop CS5 Extended. When i try to open the program it says that i cannot open it because it is not supported on this architecture. Please advise.