Wed Services as Datasource
We want to use BI Publisher to create reports that use web services as datasource. I tried using the web service option in data model for the report and gave the WSDL address of the web service that provides the data. It is giving me error message. Do we need to define web service datasources also using JDBC Connection setup? If so what would be the connect string and driver class for a web service.
Problem I have is our web services require authentication with an user id and passwd. How do I setup userid/passwd BI Publisher to access web services. I tried the example given by Tim Dexter i.e getQuote example this is working fine.
Similar Messages
-
My brother video tape my wedding service on his ipad. how can I get a copy?
my brother video taped my wedding service on his ipad. how can I get a copy?
One way to do it is for your brother to import the video to his computer, copy it and give the copy to you. You can read about it here.
http://support.apple.com/kb/HT4083
There are apps available in the app store that will transfer photos and videos via WiFi. You can look at a couple of those. WiFi Photo Transfer, PhotoSync .... -
Error activating a web service based datasource ( BI 7.3)
Hi,
While activating a datasource based on web services i get the below error:
"Internal error while deleting web service"
"Error when activating datasource"
As per one of the posts, we need to activate the services listed under "bc" ( path : virtualhost->sap->bc ) in tcode: SCIF.
There are many services listed under the "bc" node that are inactive. Please let me know which are the services that needs to be activated under this node.
Alternatively pls also suggest if there is any other way to solve this issue.
Thanks.Hi Jayanthi,
Please get help from Basis Team.
Regards,
Kuldeep Jain -
Basic questions about PL/SQL web services and datasource names
Hi there,
I successfully generated a web service for a PL/SQL packaged procedure in JDeveloper 11.1.1.3.0).
In the web service base class the following code was generated:
__dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/dbconnectionDS");However in the weblogic server the datasource name is jdbc/somethingelse so the deployment fails at first.
What is the recommended procedure to solve this issue? The obvious solution is to manually edit the source -- that is what I did and it worked fine. However if I re-generate the web service I will lose my change. Is there a better way to do this?
Another question -- in the generated web.xml file, there is a resource-ref for the datasource. I was hoping that changing the datasource name there would help but it didn't work. What is it used for in this context?
Thanks
LuisHi Vishal,
I did as you suggested but it didn't work... see below more details.
Thanks
Luis
1 - I re-generated the web service from the PL/SQL package. The constructor in CFBTestWSBase class looks likes this:
public CFBTestWSBase() throws SQLException
{ try {
javax.naming.InitialContext __initCtx = new javax.naming.InitialContext();
__dataSource = (javax.sql.DataSource) __initCtx.lookup("java:comp/env/jdbc/custfeedbackDS");
} catch (Exception __jndie) {
throw new java.sql.SQLException("Error looking up <java:comp/env/jdbc/custfeedbackDS>: " + __jndie.getMessage());
}2 - I added the following section to weblogic.xml:
<resource-description>
<res-ref-name>comp/env/jdbc/custfeedbackDS</res-ref-name>
<jndi-name>jdbc/DataSource</jndi-name>
</resource-description>3 - I got the following error when during deployment to weblogic server:
[HTTP:101216]Servlet: "CFBTestWSPort" failed to preload on startup in Web application: "CustFeedbackTestWS.war".
java.sql.SQLException: Error looking up <java:comp/env/jdbc/custfeedbackDS>: While trying to look up comp/env/jdbc/custfeedbackDS in /app/webapp/CustFeedbackTestWS.war/346617503.
at cfbtestws.CFBTestWSBase.<init>(CFBTestWSBase.java:33)
at cfbtestws.CFBTestWSUser.<init>(CFBTestWSUser.java:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
... -
Cannot connect to Azure Mobile Services as DataSource
I've created an Azure Mobile Service which is using .NET backend.
Project Siena isn't able to connect or work against this kind of data source.
Error message is
An error occurred connecting to Azure Mobile Service
I have also tried to create zz_config support table, and implement a custom TableController for serving the URI
tables/zz_config but I could only got few steps further, still without the possibility to read and use the model exposed by Mobile Services
This behavior has been reproduced with both Beta 2 and Beta 3
P.S. Adding the AMS as REST data source makes possible to import and use the model exposed. The operation of association in this case must be done per-table in Siena
Wheb can we expect Siena to work well together with the new version of Azure Mobile Services?
Massimo Prota
.NET MCAD - SP2007 MCTS - SP2010 MCPD and MCITP
My blog: http://blogs.ugidotnet.org/mprota - Twitter:
@massimoprotaYes, that article is indeed precise and updated. I followed all steps described properly, especially for the part about setting up the database structure, and create
zz_config table (second post of the series)
I can connect to AMS (JS Backend) with Siena, but tables' names aren't showing up correctly, but display as
undefined, and from there on doesn't work properly.
JSON object returned from GET /tables/zz_config?$filter=(Key%20eq%20'table')
"id": "ccb9c9a8-9bae-41c8-87aa-277e2e0d1379",
"key": "table",
"value": "users"
I do confirm I have the same (incorrect) behavior using a .NET Backend where I set up
zz_config table and create a TableController mapped with it; with route
tables/zz_config
I confirm also I had the same behavior this morning with Beta 2, before I installed Beta 3.
P.S. The error message reported in my first post is returned only when the table
zz_config isn't setup correctly on AMS
Massimo Prota
.NET MCAD - SP2007 MCTS - SP2010 MCPD and MCITP
My blog: http://blogs.ugidotnet.org/mprota - Twitter:
@massimoprota -
Web Service as Datasource for a Report
hello.
current situation:
CR2008 (12.3.0.601)
webservice is created.
webservice is bound as datasource in CR.
report creation works fine.
but:
i would like to provide key information for the tables specified in WS-XSD.
something like (marked with '->'):
<xsd:complexType name="someTableRowType">
<xsd:sequence>
<xsd:element name="numberColumnInSomeTable" type="xsd:int" minOccurs="1" maxOccurs="1">
-> <xsd:attribute name="key" type="xsd:string" fixed="true"/>
</xsd:element>
<xsd:element name="stringColumnInSomeTable" type="xsd:string" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="someTableType">
<xsd:sequence>
<xsd:element name="someTableRowType" type="xsd:string" minOccurs="0" maxOccurs="unbound" />
</xsd:sequence>
</xsd:complexType>
// and then:
<xsd:complexType name="someOtherTableRowType">
<xsd:sequence>
<xsd:element name="numberColumnInSomeOtherTable" type="xsd:int" minOccurs="1" maxOccurs="1">
-> <xsd:attribute name="references" type="xsd:string" use="required"/>
</xsd:element>
<xsd:element name="stringColumnInSomeOtherTable" type="xsd:string" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="someOtherTableType">
<xsd:sequence>
<xsd:element name="someOtherTableRowType" type="xsd:string" minOccurs="0" maxOccurs="unbound" />
</xsd:sequence>
</xsd:complexType>
i am looking for the keywords for "key" and "references". is there something like that? or an other posibility exist?hi Ludek,
i want to provide additional information about the relations between the "tables" i provide. so that CR could be able to link these tables automaticly during the report creation. and i am looking for a possibility to define the primary- and foreignkey in the xsd.
what du you mean with "System.Data"? it seems to me you speak about .NET? i don't deal with .NET.
hi Bhushan,
your suggestion could help me by other problems i have. thank you.
temir -
Hello All,
Full updates are working for the mentioned datasource 0CRM_SRV_REQ_INCI_H
But i am not able to get any delta records to the delta queue and i have checked all the possibilities
Working on CRM 7.0 EHP1 and connected to a BI 7.02 system
Delta for Master data attr like product and BP is working
I cant debug with RSA3 as it wont allow me to choose delta mode and debug(i have done the initialization successfully)
I have checked all the delta pre requisites and its driving me crazy now
I just need some pointers to actually nail this and will be thankfull for any
SuyashHi Sayush,
Did you hear back from SAP then on this delta issue.
Thanks & Regards,
Anu -
WCF Service as Data source in SSRS report with Complex Types
Hi All,
I have a requirement where we are suppose to use WCF service as datasource in SSRS. I was able to do that when the WCF response type was simple.
Now the requirement have changed where the response type is complex . I couldn't figure out a way of accessing WCF with complex types.
Any pointer will be of great help as I couldn't find any related articles for this kind of scenario.
RajHi Raj,
WCF uses a serialization engine called the Data Contract Serializer by default to serialize and deserialize data (convert it to and from XML). All .NET Framework primitive types, such as integers and strings, as well as certain types
treated as primitives, such as DateTime and XmlElement,
can be serialized with no other preparation and are considered as having default data contracts. Many .NET Framework types also have existing data contracts. For a full list of serializable types, see Types
Supported by the Data Contract Serializer.
New complex types that you create must have a data contract defined
for them to be serializable. You can explicitly create a data contract by using DataContractAttribute and DataMemberAttribute attributes.
This is normally done by applying the DataContractAttribute attribute
to the type.
You can refer to :
http://msdn.microsoft.com/en-us/library/ms733811(v=vs.110).aspxhttp://www.codeproject.com/Articles/738844/Using-WCF-Data-Contract-Known-Types-by-Example
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
XML/Web Service Load into Delta queue
Hello,
What is the mechanism to push an XML file into the BW delta queue for use by an XML/SOAP or Web service based datasource? There is no XI in the picture so the XI based how/to papers are not germane to this question. The HOWTO paper on XML load has a script for loading an XML file but it errors out on creation of the Activex object, plus it needs XML parser etc. Is there an SAP approved way of routinely loading XML files into the delta queue versus some test script?This can be done in BW.
Try the links given below, also there is a How to document available from SAP on this.
http://help.sap.com/saphelp_bw33/helpdata/en/9f/9b8f3c855f0454e10000000a11405a/content.htm
http://www.sapteched.com/presentations/session.asp?sid=140
Thanks. -
Trusted Authentication possible with Wed Sevices SDK? BOE - 3.1
Hi,
We are planning to upgrade to BOE 3.x. We have integrated our application with BOE using Wed Services SDK. I'd like to know if we can implement the trusted authentication using the web services APIs in BOE 3.x.
Apparently the question was posted here before but no answers -
Re: trusted authentication.
Thanks
ManasXI 3.1 Service Pack 2.
Configure Trusted Authentication on the CMC. Ensure TrustedPrincipal.conf file with the shared secret is in the <INSTALL>/BusinessObjects Enterprise 12.0/win32_x86 folder.
If you look in dswsbobje/WEB-INF/classes/dsws.properties, you'll see a property trustedAuthentication.enabled set to false.
Set it to true, then restart the dswsbobje Java Web Application Server.
Then you only need to pass in domain (CMS name) and username to the Session Web Services for logon.
Note that if you do the above, it'll use Trusted Authentication for all requests coming into dswsbobje - i.e., no longer need to pass in passwords.
So you really need to put something in front of dswsbobje, to authenticate any requests going in.
Sincerely,
Ted Ueda -
Service request fields enhanced through AET are not reflecting in BW DS
Hi All,
the CRM developer has added 3 service request fields to crmd_orderadm_h, crmd_service_h via AET. He has marked all the 3 fields as 'BW reporting relevant'.
I have now checked the BW extractors in the hope that these 3 fields will now be appended to the BW service request datasources automatically.
But instead of adding the fields to service request datasource(0CRM_SRV_REQ_INCI_H)(BUS2000223), it added the 3 custom fields to process datasource 0CRM_SRV_PROCESS_H.
I am not sure what exactly have gone wrong . Is there a way to get these custom fields automatically into 0CRM_SRV_REQ_INCI_H.
Thanks in advance,
RamzHi Ramz,
this seems to be identical to
Re: Fields enhanced through AET are not reflecting in CRM DS Extract structure
Please find my reply there.
Best regards
Matthias -
DataSource JNDI Lookup gives NamingException
Hi i am using Weblogic 11g
I had created a Datasource in it from Services/JDBC/DataSources and assigned it a name myAppDbPool
But from my servlet when i am looking for it It is displaying as
While trying to look up comp/env/myAppDbPool in /app/webapp/TestingDS/9028625.
I had used differnt options like
1. Putting the properties and passing it to the InitailContext.
2. Used java:comp/env/myAppDbPool, java:comp/myAppDbPool.
But all in waste ,so please let me know where i am doing wrong .
This is inside my servlet :
InitialContext ctx=new InitialContext();
DataSource ds=(DataSource)ctx.lookup("java:comp/env/myAppDbPool");
Please tell me if i am doing anything wrong here .
Thanks n advanceOk. Take one step back. Make sure that your Datasource is infact targetted to Admin Server (and all managed servers in case of cluster). When we create a Datasource in weblogic console, we create connection pool with all db details and as we click and click at one point, it should show Target Tab with list of servers on this domain. So make sure that it is targetted to Admin Server. Infact just open config.xml file and check if your datasource is listed there. config.xml file is under your domain/config folder.
Goud -
Hello,
i followed this tutorial --> http://www.oracle.com/technology/obe/obe11jdev/bulldog/ejb_jpa_jsf/ejb.html
It works on my desktop.
I'd like to delploy this application on a weblogic server (other than my computer), but when I try, I have the following message :
javax.ejb.EJBException: EJB Exception: ; nested exception is:
javax.persistence.PersistenceException: Exception [EclipseLink-7060] (Eclipse Persistence Services - 1.1.1.v20090430-r4097): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [java:/app/jdbc/jdbc/testconnectionDS].
Internal Exception: javax.naming.NameNotFoundException: While trying to look up /app/jdbc/jdbc/testconnectionDS in /app/ejb/ejb1.jar#ConfigurationEJB.; remaining name '/app/jdbc/jdbc/testconnectionDS'; nested exception is: javax.persistence.PersistenceException: Exception [EclipseLink-7060] (Eclipse Persistence Services - 1.1.1.v20090430-r4097): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [java:/app/jdbc/jdbc/testconnectionDS].
Internal Exception: javax.naming.NameNotFoundException: While trying to look up /app/jdbc/jdbc/testconnectionDS in /app/ejb/ejb1.jar#ConfigurationEJB.; remaining name '/app/jdbc/jdbc/testconnectionDS'
If I understood, I must change the persistence.xml, but what?
Thanks
YvesHi,
You can create a jdbc datasource on the server, using console (Services -> JDBC -> DataSources -> New....), and specify a jndi name for it, for example jdbc/MyAppDS.
Then, change the persistence.xml accordingly, something like:
<jta-data-source>jdbc/MyAppDS</jta-data-source>
<property name="javax.persistence.jtaDataSource" value="jdbc/MyAppDS"/>And, that should be it.
Pedja -
Oracle BPM 11gR1 Patchset 2 AWS
I was working with the Oracle BPM 11gR1 Patchset 2 that was created by Oracle on the Amazon Wed Service (AWS) cloud. I have it installed and everything is working. Howerver, because it is a image that was created by Oracle, what are the passwords for the console, em, bam, bpm that was created?
Information:
US East AMI ID: ami-c241aaab
AMI Manifest: 083342568607/oracle-soa-bpm-11gr1-ps2-4.2-pub
License: Public
The new Oracle BPM 11gR1, including the latest Oracle SOA Suite 11gR1 Patchset-2 is now available as an Amazon Machine Image (AMI). This is a fully configured image which requires absolutely no installation and lets you get hands on experience with the software within minutes. This image has all the required software installed and configured and includes the following:
Oracle 11g Database Standard Edition
Oracle SOA Suite 11gR1 Patch-set 2
Oracle BPM 11gR1
Oracle Webcenter with BPM Process Spaces
Oracle Universal Content Management
Oracle JDeveloper with SOA and BPM plugins
What was the usernames/passwords for all the parts?
The README file states to ask any questions about the image in the SOA forum
Refernce Link: http://www.oracle.com/technetwork/topics/cloud/whatsnew/index.html (Bottom of page)I found the following web site that can help. The password for everything is welcome1
http://blogs.oracle.com/bpm/2010/06/bpm_11gr1_now_available_on_ama.html -
REG: Error in IDoc adapter outbound processing
Hi All,
I had a couple of doubts regarding these IDoc's.
1) I am dealing with the web services to IDoc Scenario. When i am activated my wed services it is giving an error like
"IDOC_ADAPTER.ATTRIBUTE_BE_NOT_SUPP" and "Only asynchronous processing supported for IDoc adapter outbound processing"
Can any one help me to Solve my Problem
2) How to find out whether the IDoc is of synchronous or Asynchronous mode
and how to handle the synchronous type of IDoc's
Thanks in advance.
with Regards,
Kalyan Dannapaneni.Hi Kalyan,
IDOCs are only Aynchronous (EO or EOIO).
If you want to call Synchronious, you will have to find remote enabled function modules (RFCs, BAPIs).
Or you have to use the ccBPM Synch-Async pattern to have an synchronos call passed to an IDoc, waiting for the Acknowledgement. In your situation I would check if a similar BAPI/RFC exists on your Backend SAP system.
Best regards,
Silvia
Maybe you are looking for
-
Hi This is my existing interface ,I need to do a validation on Unique id,which i need to add to custom table ZBACKS_GIPD. Check if there is same unique id within the upload file. Check from table ZBACKS_GIPD if the same Unique ID already exists , Upd
-
How do I get a virtual lab to work on this computer. The technician said the CD is not compatible. Maybe corrupt. He seemed he did not know what he was talking about. I asked him was it any software I could downloa
-
Problem with N-Mon.kext.
Hi. I have Mac OS x 10.7.5 Intel. A message appears in my screen that says that is wrongly installed. How can I do to re-install it?
-
ARD Client Settings are not saving in System prefs. Any thoughts?
I am using ARD 2.2 from my Powerbook. It is running 10.4.3. Was able to create connections for observing with a G5 iMac running 10.4.5 , another PowerBook (which required an ARD client upgrade) running 10.3.9, and a G3 iBook running 10.3.9 with no is
-
Caller ID and Text Messaging Alerts
Does anyone know if there is an App. or board where I can suggest one be made that will tell you if you have say an incoming call or text message without displaying the number etc. I've turned off the text message preview feature which still displays