ADF and Web Services
Am using JDev11.1.1.x
How do I create a Web Service using an ADF app. Have looked online and cannot seem to find a reference to this topic newer than about 2008.
Thanks - Casey
Is section "11 Integrating Service-Enabled Application Modules" in the Fusion Guide what you want?
http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/bcextservices.htm#CJAJGIEB
CM.
Similar Messages
-
I've created, tested and successfully deployed an ADF BC Web Service to the SOA server using JDeveloper 11.1.1.7. Using the BPM 11g Process Composer tool, how do I access the deployed ADF BC Web Service? I would like to use the named view criteria of the ADF BC Web Service to populate a Process Composer web form. The add new service function of the BPM Business Catalog is not accepting the JDeveloper generated WSDL file.
That's the end goal, but I haven't gotten that far. I'm using the 11.1.1.7 versions of ADF JDeveloper and the BPM suite. I'm attempting to consume an ADF BC web service from my BPM process using the Composer tool, but I first need to figure out how to publish/register the ADF BC web service with the BPM so that I can reference the ADF BC web service in the implementation of the BPM Service Task as a Service Call. I thought I could register the ADF BC web service with the BPM using the BPM business catalog but when I attempt to add a new service and give it the WSDL generated from JDeveloper I get this error:
BPM-71536: BCModelsService.wsdl has a dependency to BCModelsService.xsd that cannot be resolved. -
ADF BC Web Service - authenticate with JSESSIONID
Hi!
I create ADF Fusion Application Web project. I add a jspx page to ViewController project called "welcome.jspx" and secure Application with HTTP Basic authentication. Now in ViewController page I add POJO class and create webservice from it. Now I run the project and I can access welcome.jspx page only if I provide correct username and password. Now in ViewController project i choose Test WebService on WSDL. If i send test request, I get 403 unathorized. If I add JSESSIONID cookie in the request header, I can access webservice.
Now in Model project I create simple entity, view on top of it and add to the ApplicationModule. Now in ApplicationModule I create web service from it (Service interface) with method getByKey. I deploy whole application. If I select Test Webservice on the ApplicationModule's generated WSDL I can access webservice without providing securityCredentials. I can access it without providing JSESSIONID cookie (note the difference to the ViewController project). I know that ViewController project and Model have different ContextRoot and I speculate that why it goes (I know that two projects (Model, ViewController) cannot have the same Security Context). In created ApplicationModule I override prepareSession method and monitor who is logged in when executing ADF BC WebService. If I do not provide JSESSIONID cookie the logged "user" in is anonymous, If do provide it, I am logged in as user for which that JSESSIONID is created.
I know I can secure webservice by attaching security policy, such as oracle/wss_usernamename.* (Soap:Header requires username/password) or oracle/http_token policy and if I do so, I must provide security credentials everytime - I do not like that. I would like to achieve that if I provide JSESSIONID cookie I am authenticated, if do not provide it, I receive 403 unauthorized - the same behaviour as is in the ViewController Dummy webservice.
So is it possible to add second context root or something like that to the ApplicationSecurity (jazn*.xml files or something like that) to enforce the same security for Model part?
Perhaps I should explain what I am doing:
- we have ADF model with service enabled ApplicationModules (web services based on application modules) and now we are building clients to consume them. We have created simple LoginPage (in ViewCOntroller project) where we obtain JSESSIONID cookie. Now we want to contanct websercie with JSESSIONID cookie and weblogic must recognize us, but in case JSESSIONID cookie is not present, invalid - a 401 unauthorized should ne returned.
Can you provide some hints how to work on?That's the end goal, but I haven't gotten that far. I'm using the 11.1.1.7 versions of ADF JDeveloper and the BPM suite. I'm attempting to consume an ADF BC web service from my BPM process using the Composer tool, but I first need to figure out how to publish/register the ADF BC web service with the BPM so that I can reference the ADF BC web service in the implementation of the BPM Service Task as a Service Call. I thought I could register the ADF BC web service with the BPM using the BPM business catalog but when I attempt to add a new service and give it the WSDL generated from JDeveloper I get this error:
BPM-71536: BCModelsService.wsdl has a dependency to BCModelsService.xsd that cannot be resolved. -
XML and Web Service Data Source Missing in Crystal Reports for VS
I would like to use a Web Service as the data source for a Crystal Report that will be running outside of my Visual Studio application. So setting the data source to the web service in code is not possible. My understanding is Crystal Reports has a connection (in the Database Expert under New Connection) named XML and Web Service. Here you can select web service and enter the WSDL URL for the web service. However it does not appear in the list for Crystal Reports for Visual Studio. Does this connection type come with the Visual Studio version of Crystal Reports and if not is their a way to obtain it?
Thank you for your assistance.None of the bundled versions of CR have the driver. Reason is that the driver responsible for these connections requires the Java framework and I suspect MS would not be too pleased if we installed the Java framework. The stand alone versions, since they are not part of any bundle can and do install the Java framework and the driver. Note that even the latest release of CR - CRVS2010 does not have the driver as it essentially becomes a bundle or a VS2010 plug-in.
So, the short of it is; you have to obtain a stand-alone version of CR. I'd recommend CR 2008 (12.x) as CRXI R2 will run out of support in June of this year.
- Ludek -
Can't run wiki and web services at the same time?
I'm a newbie with Lion Server, but I've been running several web sites successfully for about 6 months. I'm up to Server 10.7.4.
I've been trying ever since the first installation of Server to get the wiki service running. I had absolutely no luck until I turned OFF the web service (always got the "URL does not exist" error when I tried to create a group wiki from inside the Server app). With the web service off, it all starts up fine and I created my first wiki (woohoo). Turning web service back on kills access to the wiki. I don't find reference to this in any of the dicussions, and especially not in Apple's documentation.
Are the Wiki and Web services mutually exclusive? Or is there a way around this?
I'm using Dyndns to provide me with sub-domains to use, and I've dedicated one of them to the wiki service. Traffic comes in on port 8080, where my web sites are on port 80.
Thanks for any pointers...
edbokLR supports tethering using a Canon DLL and EOS Utility probably also supports tethering or at least uses something from a similar Canon DLL. You probably cannot have two different versions of that DLL loaded at the same time, so it makes sense there are problems.
-
Message Monitoring and Web services Sequences .. SOAMANAGER
When can I use Mesage Monitoring and Sequence Monitoring .
We are making a proof a concept and we are the following.
1. A program which executes a proxy and with this proxy we are consuming a web services.
2. The proxy and web services were implemented in the same Abap Machine .
3. We execute the test and everything works very well and we consume the webservice and the program displays the expected result.
Now want to know How can we use the Message Monitoring and the Sequence Monitoring . Is this posible ? Do we have to make any previous configuration?
We don´t have any XI installation and for that we wonder if we can monitorize the webservices sequences ?
Any idea about if we can realize such king of actions ..
Many ThanksHi
I assumes u have dual stack.
You can do the sequence monitoring with or without PI. But without PI you would achieve that thing on the local machine.
You have to do those things at Java End using SAP NWA.
Please see this link
http://help.sap.com/saphelp_nwce10/helpdata/en/46/b00c2a99930764e10000000a1553f6/content.htm
http://help.sap.com/saphelp_nwce10/helpdata/en/46/9cb2b57ded371ae10000000a11466f/content.htm -
SSL certificates and Web Services Usage inside Oracle Database Questions!
We have implemented a specific business logic using PL/SQL for our client, so we open a file and process each line of this, doing something in the Database and also call a Web Services (Service1) using UTL_HTTP package. Service1 runs in a Windows 2008 Server in the DMZ as Database server.
Service1 is already working, and we can call the service from PL/SQL without troubles.
However, according with security client's policies they requires all Web services be consumed via https including Service1, so we must to follow the procedure established for Oracle in order to enable the calling of service1 via https from the Database.
Our client's DBA and IT Team are concerned about two subjects before to continue to follow the certificate installation:
- SSL Certificates:
1- Can installed certificates in the Database put in risk the stability of the database?
2- Can installed certificates in the Database generate performance issues?
3- Can installed certificates reloading the Databases?
2- Can installed certificates in the Database generate security issues?
- Web services:
1- Can web services calling from the Database put in risk the stability of the database?
2- Can web services calling from the Database generate performance issues?
3- Can web services calling from the Database generate security issues in the DMZ?
Could you please give us any clues, about the possible negative impact related with the SSL certificates and Web Services Usage inside Oracle Database, if it’s the case this impact exists?.
Those are the links describing the procedure mentioned above.
1 -http://www.kotti.es/2009/11/oracle-wallet/
DB: Oracle 9i.
Average number of lines in file: 300
Periodicity: Twice at day.Thiago:
You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
Regards,
Jason -
Custom Portal Services and Web services
Can you please tell me what exactly are "custom portal services" and "web services" with a business like/ real life example?
How do you go about developing deploying and utilizing these services in Portal?
Thanks.Hi navin,
Thanks for the par file.
Duly awarded points.
I need your help again.
I wish to use the method
public String getWelcomeString(String name)
in my own portal application to test usage of portal services.
So I uploaded your par file on my server.
Then I added the api and core jar files which came along with your par in my project as external jar files.
I imported com.wickes.WickesService.*;
Next, to use the service I coded:
IPortalRuntimeResources rs =
PortalRuntime.getRuntimeResources();
IWickesService ws = (IWickesService) rs.getService(IWickesService.KEY);
But now I am stuck and I dont know how to proceed.
Please help. -
Enterprise services and Web services
Hi Everyone
I need documents about Invoking enterprise services from Netweaver PI and web services from Netweaver PI, I can find only NetWeaver CE, but not PI. So help, any links?? or pdfs?? or ideal would be some demo example of invoking a web service using PI.
Thank you
VijayHi,
Since you would need to wet your hands by playing with webservice and PI. Please consider the following links.
SOAP scenario
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
https://weblogs.sdn.sap.com/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]
https://weblogs.sdn.sap.com/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
https://weblogs.sdn.sap.com/pub/wlg/1442 [original link is broken] [original link is broken] [original link is broken]
Regards
joel
Edited by: joel trinidade on Mar 25, 2009 10:41 AM
Edited by: joel trinidade on Mar 25, 2009 10:43 AM -
GTC Connector using SPML Format Provider and Web Services Transport Provide
Hello All,
Did any body create a GTC connector which uses SPML Format for Format Provider and Web Services format for Transport Provider?
Is there any doc which talks about the same?
I need to provision to a system over web services and I thought GTC using the above formats should be an easy approach. Am I right?
I was trying to follow:
http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/devgtc.htm#BABDFDFE
But Iam getting lost in the immerse details.
Thanks in advance.Hi ,
I tried creating one and am getting the following error while provisioning:
SPML Response failed V2 schema validation
Th eoracle document says :Ensure that the SPML response returned by the target system conforms to the SPML V2 standard specification
Please help me with the same. What is it that needs to be done here.
Thanks
WIP -
Error during EAR deployment with EJB and web service
I created a simple stateless EJB with one method called echo that returns a string. I created a web service using the wizard, did a build and deployed. The deployment did not report an error, but the logs in the visual administrator showed the follwoing message, and the web service did NOT deploy.
Am I missing something related to EJB and web service security?
PLEASE HELP ME.
>>> Warning: delete security configuration [apps/com.areva/ear/ejb/security/com.areva~ejb.jar]
[EXCEPTION]
java.lang.Exception
at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
at com.sap.engine.services.ejb.EJBAdmin.remove(EJBAdmin.java:2538)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:321)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3028)
at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:820)
at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:291)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)I have the same message. I am running sp11.
Does anyone have an answer for this?????
>>> Warning: delete security configuration [apps/avalero.com/rtfa-ear/contextRoot]
[EXCEPTION]
java.lang.Exception
at com.sap.engine.services.security.server.PolicyConfigurations.unregisterPolicyConfiguration(PolicyConfigurations.java:153)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.removeSecurityResources(WebContainerHelper.java:905)
at com.sap.engine.services.servlets_jsp.server.container.WebContainerHelper.remove(WebContainerHelper.java:447)
at com.sap.engine.services.servlets_jsp.server.container.RemoveAction.remove(RemoveAction.java:50)
at com.sap.engine.services.servlets_jsp.server.container.WebContainer.remove(WebContainer.java:150)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.removeApplication(RemoveTransaction.java:294)
at com.sap.engine.services.deploy.server.application.RemoveTransaction.prepare(RemoveTransaction.java:178)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:323)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3033)
at com.sap.engine.services.deploy.server.DeployServiceImpl.remove(DeployServiceImpl.java:821)
at com.sap.engine.services.deploy.server.DeployRuntimeControlImpl.remove(DeployRuntimeControlImpl.java:271)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.pj.jmx.introspect.DefaultMBeanInvoker.invoke(DefaultMBeanInvoker.java:58)
at com.sap.pj.jmx.mbeaninfo.AdditionalInfoProviderMBean.invoke(AdditionalInfoProviderMBean.java:289)
at com.sap.pj.jmx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:944)
at com.sap.pj.jmx.server.interceptor.MBeanServerWrapperInterceptor.invoke(MBeanServerWrapperInterceptor.java:288)
at com.sap.engine.services.jmx.CompletionInterceptor.invoke(CompletionInterceptor.java:400)
at com.sap.pj.jmx.server.interceptor.BasicMBeanServerInterceptor.invoke(BasicMBeanServerInterceptor.java:277)
at com.sap.jmx.provider.ProviderInterceptor.invoke(ProviderInterceptor.java:255)
at com.sap.engine.services.jmx.RedirectInterceptor.invoke(RedirectInterceptor.java:340)
at com.sap.pj.jmx.server.interceptor.MBeanServerInterceptorChain.invoke(MBeanServerInterceptorChain.java:330)
at com.sap.engine.services.jmx.MBeanServerSecurityWrapper.invoke(MBeanServerSecurityWrapper.java:287)
at com.sap.engine.services.jmx.MBeanServerInvoker.invokeMbs(MBeanServerInvoker.java:157)
at com.sap.engine.services.jmx.ClusterInterceptor.invokeMbs(ClusterInterceptor.java:220)
at com.sap.engine.services.jmx.ClusterInterceptor.invoke(ClusterInterceptor.java:803)
at com.sap.engine.services.jmx.MBeanServerInterceptorInvoker.invokeMbs(MBeanServerInterceptorInvoker.java:102)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImpl.invokeMbs(P4ConnectorServerImpl.java:61)
at com.sap.engine.services.jmx.connector.p4.P4ConnectorServerImplp4_Skel.dispatch(P4ConnectorServerImplp4_Skel.java:64)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162) -
Messages Monitoring and Web Services Sequences .... SOAMANAGER
When can I use Mesage Monitoring and Sequence Monitoring .
We are making a proof a concept and we are the following.
1. A program which executes a proxy and with this proxy we are consuming a web services.
2. The proxy and web services were implemented in the same Abap Machine .
3. We execute the test and everything works very well and we consume the webservice and the program displays the expected result.
Now want to know How can we use the Message Monitoring and the Sequence Monitoring . Is this posible ? Do we have to make any previous configuration?
We don´t have any XI installation and for that we wonder if we can monitorize the webservices sequences ?
Any idea about if we can realize such king of actions ..
Many Thankshi,
short answer: you can't. to my knowledge there is no such thing as message/sequence monitoring outside of PI/XI.
the only thing you can do is to enable debugging and access some debugging info from ST22. other than that you do not have access to the original (XML) message, the HTTP headers or the ST(simple transformation) info or anything else.
regards,
anton -
Hi forummates,
In the traditional architecture, the communication between EJB is RMI/IIOP. Web Services can be looked as a communication between classes on SOAP/HTTP.
How should we use Web Services in J2EE in the maximum effeciency? Is there any good example of using Web Services in J2EE (1.4 is a must?) ? Please advise.
Lawrence.Hi Lawrence,
I would look at the J2EE blueprints on web services to get started. You may also want to take a look at the J2EE tutorial and web services tutorial. Links below:
http://java.sun.com/blueprints/guidelines/designing_webservices/
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html
http://java.sun.com/webservices/docs/ea1/tutorial/ -
If you want to use Struts and web services, what approach do you take? If you want to use reliable messaging,
you need to have a web service client as well as the web service being called.
What is the recommended way to set this up?
Do you call a local web service from the action class and then have that web service do all of the business logic including calling remote web services?
I am just starting to look at this so I am probably not close but I would like some guidance on what, in general, is the correct approach.The jars you are referring to are not SAP BusinessObject specifics jars: struts and JiBX. There are open source java framework. For more information about the struts refer to:
http://en.wikipedia.org/wiki/Apache_Struts
for more information about jibx refer to:
http://en.wikipedia.org/wiki/JiBX
Normally the core jars for a SAP BusinessObjects webservice SDK are:
The core jar files to use for Web Services Java SDK applications are:
dsws-bicatalog.jar
dsws-biplatform.jar
dsws-common.jar
dsws-publish.jar
dsws-queryservice.jar
dsws-reportengine.jar
dsws-saveservice.jar
dsws-session.jar
wilog.jar
And the jars you have mentioned are part of the
The dependent jar files to use for Web Services Java SDK applications are:
activation-1.1.jar
axiom-api-1.2.5.jar
axiom-impl-1.2.5.jar
axis2-kernel-1.3.jar
axis2-saaj-1.3.jar
axis2-xmlbeans-1.3.jar
backport-util-concurrent-2.2.jar
commons-codec-1.3.jar
commons-httpclient-3.0.1.jar
commons-logging-1.1.jar
log4j-1.2.14.jar
mail.jar
stax-api-1.0.1.jar
struts.jar
wsdl4j-1.6.2.jar
wstx-asl-3.2.1.jar
xbean-2.2.0.jar
XmlSchema-1.3.2.jar
In any cases it is recommended not to have duplicated jars in your deployment and also check if the version of the jars to use is supported by the version of the JDK used.
Thanks -
Hello everyone,
I've started looking into SOAP and web services, and have used Tyler Muth's tutorial to email and FTP BI publisher reports using APEX.
I was wondering if it is possible to create an on-screen report (i.e. an interactive report) using a web service?
I've managed to return values to form fields using web services...I was always under the impression, from before I looked at web services, that creating an on-screen report using data from a web service was one of the main things you could do....
Please could someone let me know if this is possible, and roughly how you'd go about doing it?
Thank you in advance.
RobinHi Robin,
I think I have implemented the same thing which you are trying to do
The followinf is the response of a web service from BI Publisher. You can check the response using the statement
select clob001 from wwv_flow_collections where where collection_name = <name_of_the_collection_u_specified_while_sending_the web_service_request>
<getScheduledReportInfoResponse xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService">
<getScheduledReportInfoReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:JobInfo" xmlns:ns1="http://xmlns.oracle.com/oxp/service/PublicReportService">
<ns1:burstingOption>false</ns1:burstingOption>
<ns1:createdDate>2009-11-23T06:03:10.000Z</ns1:createdDate>
<ns1:deliveryDescription xsi:nil="true"/>
<ns1:deliveryParameters xsi:nil="true"/>
<ns1:endDate xsi:nil="true"/>
<ns1:jobGroup>administrator</ns1:jobGroup>
<ns1:jobID>366</ns1:jobID>
<ns1:jobName>603219960-ADMIN-Smaller result set</ns1:jobName>
<ns1:locale>en_GB</ns1:locale>
<ns1:reportName>Adhoc report</ns1:reportName>
<ns1:reportParameters xsi:type="ns1:ParamNameValue">
<ns1:multiValuesAllowed>false</ns1:multiValuesAllowed>
<ns1:name>SORT_COLUMN_ADHOC</ns1:name>
<ns1:values>
<ns1:item>09-NOV-2009 07:02:00|11-NOV-2009 07:02:00|2077927020;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;||||||S|B</ns1:item>
</ns1:values>
</ns1:reportParameters>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportParameters xsi:nil="true"/>
<ns1:reportSet>false</ns1:reportSet>
<ns1:reportURL>/Navada/Normal/Adhoc report/Adhoc report.xdo</ns1:reportURL>
<ns1:runType>Run Once Only</ns1:runType>
<ns1:scheduleDescription xsi:nil="true"/>
<ns1:scheduleParameters xsi:nil="true"/>
<ns1:startDate>2009-11-23T06:03:10.000Z</ns1:startDate>
<ns1:status>Unknown</ns1:status>
<ns1:username>administrator</ns1:username>
</getScheduledReportInfoReturn>
<getScheduledReportInfoReturn xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns2:JobInfo" xmlns:ns2="http://xmlns.oracle.com/oxp/service/PublicReportService">
<ns2:burstingOption>false</ns2:burstingOption>
<ns2:createdDate>2009-11-20T13:00:44.000Z</ns2:createdDate>
<ns2:deliveryDescription xsi:nil="true"/>
<ns2:deliveryParameters xsi:nil="true"/>
<ns2:endDate xsi:nil="true"/>
<ns2:jobGroup>administrator</ns2:jobGroup>
<ns2:jobID>365</ns2:jobID>
<ns2:jobName>603219960-ADMIN-test again</ns2:jobName>
<ns2:locale>en_GB</ns2:locale>
<ns2:reportName>Adhoc report</ns2:reportName>
<ns2:reportParameters xsi:type="ns2:ParamNameValue">
<ns2:multiValuesAllowed>false</ns2:multiValuesAllowed>
<ns2:name>SORT_COLUMN_ADHOC</ns2:name>
<ns2:values>
<ns2:item>20-SEP-2009 13:55:00|20-NOV-2009 13:55:00|01*;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;|;;;;;;;;;;;;;;;;;;;;||||||S|B</ns2:item>
</ns2:values>
</ns2:reportParameters>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportParameters xsi:nil="true"/>
<ns2:reportSet>false</ns2:reportSet>
<ns2:reportURL>/Navada/Normal/Adhoc report/Adhoc report.xdo</ns2:reportURL>
<ns2:runType>Run Once Only</ns2:runType>
<ns2:scheduleDescription xsi:nil="true"/>
<ns2:scheduleParameters xsi:nil="true"/>
<ns2:startDate>2009-11-20T13:00:44.000Z</ns2:startDate>
<ns2:status>Unknown</ns2:status>
<ns2:username>administrator</ns2:username>
</getScheduledReportInfoReturn>
</getScheduledReportInfoResponse>
I use the following query to show a report in top of this response
select extractValue(value(t),'/*/burstingOption','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "burstingOption"
, replace(trim(trailing 'Z' from extractValue(value(t),'/*/createdDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "createdDate"
, extractValue(value(t),'/*/deliveryDescription','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "deliveryDescription"
, replace(trim(trailing 'Z' from extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "endDate"
,replace(replace(substr(extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,1,(instr(extractValue(value(t),'/*/endDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,'.')-1)),'T',' '),':','-') "endDate1"
, extractValue(value(t),'/*/jobGroup','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "jobGroup"
, to_number(extractValue(value(t),'/*/jobID','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')) "jobID"
, extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "jobName"
, substr(extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,(instr(extractValue(value(t),'/*/jobName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') ,'-')+1)) "jobName1"
, extractValue(value(t),'/*/locale','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "locale"
, extractValue(value(t),'/*/reportName','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportName"
, extractValue(value(t),'/*/reportSet','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportSet"
, extractValue(value(t),'/*/reportURL','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "reportURL"
, extractValue(value(t),'/*/runType','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "runType"
, extractValue(value(t),'/*/scheduleDescription','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "scheduleDescription"
, extractValue(value(t),'/*/scheduleParameters','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "scheduleParameters"
, replace(trim(trailing 'Z' from extractValue(value(t),'/*/startDate','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"')),'T',' ') "startDate"
, extractValue(value(t),'/*/status','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "status"
, extractValue(value(t),'/*/username','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"') "username"
from wwv_flow_collections c, table(xmlsequence(extract(xmltype.createxml(c.clob001),'//getScheduledReportInfoResponse/getScheduledReportInfoReturn','xmlns="http://xmlns.oracle.com/oxp/service/PublicReportService"'))) t
where c.collection_name = 'SCHEDULED_JOB_REPORT'
Regards,
Vishal
Maybe you are looking for
-
How can I use this Apple ID?
I want to use this Apple ID.
-
In the middle of a video chat everybodys face freezes & i have to forcequit
It had been like this since the last ichat update. HELP FIX! i use video chat almost everyday
-
Connecting to a database from an application
I have been trying to connect to a mysql database on my webspace using a java application on my pc but have had no success. I keep getting 'invalid authorization specification: access denied for user: myuserid@myipaddress PASSWORD=YES When i set up m
-
Quick Time Error 46-Easy Solution found
I had the same Quicktime Error 46 that others have had. I tired every solution I could think of and none worked. I am using winxp home on my wife's laptop. Guess what actually worked? System Restore. In my case, Quicktime was working properly until t
-
Lo-o-o-ng project in 3 iMovie projects. How to combine?
I'm editing a long trip I took, and have it in 3 different iMovie projects, 1 an hour and 22 min., 1 an hour 15 min., and 1 less than hour. Any way to combine these into one iMovie without having to learn FCP? As it is now, any audio added to these c