BIWS - Publish block as a web service - prompt selection missing
Hello,
we are running sap Bo 4.0 sp 2 pach 6.
I have encountered a strange problem with Publish as a Web Service Wizzard.
I created a simple webi report with a vertical table based on Bex Query, the bex query has 2 mandatory prompts date: and company code:
Webi pics up these prompts and asks for them every time i do a refresh, as you would expect.
Now i want to publish my vertical table as a web service. I can`t, because the Publish content wizard does not see these prompts, so every time i refresh i get an error.
I tried a different approach:
Created the same webi report only this time going through an old universe (.unv) based on the same Bex query.
This time Publish as a Web Service Wizard works fine, it picks up the mandatory prompts and allows a normal refresh.
This seems like a bug, has anyone else encountered this? Maybe there is a SAP note for this? I can`t seem to find it though.
I have the same problem.
The only workaround I tried is to remove the prompt entirely, and add the date and company code as a free characteristic. When you build webi query, you can find date and company code on your object browser and add them into query filter. BIWS will capture the prompt.
May not work if you have restricted key figure with prompt. And I am not sure about the performance as well though, it may bring everythign and filtering is being done in BO side. But I think BW is smart enough to fire up query to only bring selected result.
Similar Messages
-
Publishing Application Modules as Web Services runs into error
Hello,
I want to create a web service based upon and ADF BC Application (in other words, based upon a data control).
I want to expose the ADF BC Application functionality (DML, calling of procedures) via Web Service.
I read in the Developers Guid for Forms4GL Developers, parapragh 33.4 (Publishing Application Modules as Web Services), how this can be done:
How to Enable the J2EE Web Service Option for an Application Module
To enable your application module as a web service:
1. Enable a custom Java class for your application module and add to it one or more
custom methods that you want to appear on the web service interface.
2. Open the Application Module editor and on the Client Interface tab, select one or
more custom methods to appear on the client interface.
3. With the Application Module editor still open, on the Remote panel, select
Remoteable Application Module, select J2EE Web Service in the Available list
and shuttle it to the selected list.
4. Then click OK to save your changes.
When I follow this series of actions I get the following error:
Failed to validate method
oracle.javatools.parser.java.v2.classfile.ClClass$ClMethod@3146a021
java.lang.IllegalStateException: Failed to validate method oracle.javatools.parser.java.v2.classfile.ClClass$ClMethod@3164a021 whether it is publishable
at oracle.jbo.dt.jdevx.JdvWebServicePlatform2.getMethodPublishableStatus(JdvWebServicePlatform2.java:254)
at oracle.jbo.dt.objects.JboWebServicePlatform.generateWebServiceCode(JboWebServicePlatform.java:308)
at oracle.jbo.dt.objects.JboWebServicePlatform.createServer(JboWebServicePlatform.java:100)
at oracle.jbo.dt.objects.JboDeployPlatform.createRemoteClass(JboDeployPlatform.java:2077)
at oracle.jbo.dt.ui.module.AMSaveRemoteThread.doGeneration(AMRemotePanel.java:671)
at oracle.jbo.dt.ui.module.AMSaveRemoteThread.run(AMRemotePanel.java:658)
Who has any ideas?
Regards Leon Smiersrepost
-
Publish PL/SQL as Web Service
I am new to Oracle Web Service. I went through Publish PL/SQL as Web Service tutorial and tested from browser. When I tested by
http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService
I got following message:
"Error parsing the WSDL for this endpoint.
oracle.wsdl.internal.WSDLException: oracle.xml.parser.v2.XMLParseException: Start of root element expected."
I was able to display WSDL somehow by
http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService?WSDL
I have no clue what is the problem. Please help.
Thanks.
Yi Zhou
[email protected]Hi,
The problem could be because of wrong JDK version. Looks like you are using JDK1.4.2. Could you try checking with JDK 1.3.x
If you still face problems, specify your environment details and at what stage you are getting the error.
Sujatha. -
Unable to publish WBEi object as Web Service in BOBJ 4.0
We have an issue when publish WEBi object (say a table) as Web service with following error message:
The server sent HTTP status code 503: Service Unavailable.
Click on the Details button, here are details:
com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 503: Service Unavailable at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.checkStatusCode(Unknown Source) at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(Unknown Source) at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(Unknown Source) at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Unknown Source)
at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Unknown Source)
at com.sun.xml.internal.ws.client.Stub.process(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.doProcess(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(Unknown Source)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(Unknown Source)
at $Proxy56.getDaaWSList(Unknown Source)
at com.businessobjects.extension_point.InfoStoreHelper.getDaaWSList(InfoStoreHelper.java:122)
at com.businessobjects.extension_point.reportpanel.PublicationWarningPage$RetrieveDaaWSWorker.doInBackground(PublicationWarningPage.java:265)
at com.businessobjects.extension_point.reportpanel.PublicationWarningPage$RetrieveDaaWSWorker.doInBackground(PublicationWarningPage.java:245)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
When I try to add a new web service host (actual hostname) in the Manage Web Services Hosts screen within the wizard, the url value ( e.g. http://hostname:8080/dswsbobje) also has the same message. i.e., "The server sent HTTP status code 503: Service Unavailable."
The Publish service in http://hostname:8080/dswsbobje/services/listServices is active. When I goto pagehttp://hostname:8080/dswsbobje/services/Publish?wsdl, I see following contents:
<?xml version="1.0" encoding="UTF-8" ?>
+ <definitions targetNamespace="http://publish.dsws.businessobjects.com/2007/06/01" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tns1="http://dsws.businessobjects.com/2007/06/01" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s0="http://publish.dsws.businessobjects.com/2007/06/01">
Also in CMS, AdaptiveProcessingServer under Connectivity Services is enabled and running.
Is there any additional setting required to make this "publishing as Web Service" available?
Thanks a lot for your help!
BillHi,
What happens if you test your same workflow directly on the local BIP server ? (i.e. by-passing proxy, firewall etc)
Also, please Patch up to the latest version (4.0 SP02 Patch2.11) as there was an issue with WRC BI web Services previously.
Regards,
H -
BI Web services - Prompts with 'OR' condition are not working
Hi Gurus
I am using BIWS to build my Xcelsius dashboards . When i building a webservice from webi report having two data providers named fact & dim and i merging two data providers and the result i am using in a report.
The Fact data providers contains a query filters with 'OR' conditions applied in it.
when i test this webservice with the values it always displaying the last refreshed instance of report even i purge the data before building web service.
Could you please let me know is any one faced this issue. I am using Webi rich client 12.3.1 version
Note *: The web service works fine if i am using query filters with 'AND' condition.
Kindly check this do the needful
Cheers
KarunHai
Check this
Re: Web Intelligence BI Web Services and Xcelsius
http://everythingxcelsius.com/xcelsius-training/xcelsius-and-business-intelligence-web-services-biws/3642
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00536d65-f9cf-2e10-0eaa-f3346306dc1a
http://www.asug.com/CalendarEventDetails/tabid/150/eventid/2509/Default.aspx
http://www.forumtopics.com/busobj/viewtopic.php?p=819152 -
Hi,
I have been successfull in Publishing Web Service using SQL (DML) using :
1. Oracle Express Db 10.2
2. OC4J 10.1.3
Any Help Will be appreciated........ :)
NOTE: Oracle Documentation on Application Server SUCKS (Too Many Errors prints and Wrong Information in the Web Servises area including JAR file paths)
I can only use One parameter in the QUERY and a Second Parameter gives an Error.
java -jar ${ORACLE_HOME}/webservices/lib/wsa.jar -sqlAssemble -appName query -dataSource jdbc/OracleCoreDS -sqlstatement "updtProdTyp=update PRODUCT_TYPES SET NAME = :{newname VARCHAR} where NAME = :{oldname VARCHAR}" -dbConnection jdbc:oracle:thin:@localhost:1521:XE -dbUser store/store
INFO: [WSADBPlugin] endpoint setInterface: oracle.generated.SqlStmts, setImplementation: oracle.generated.SqlStmtsUser
INFO: java oracle.jpub.Doit -user=store/store -url=jdbc:oracle:thin:@localhost:1521:XE -dir=./src/server -codegen=jdbc -style=oracle/j2ee/ws/tools/wsa/db/webservices-common -style=oracle/j2ee/ws/tools/wsa/db/webservices10 -style=oracle/j2ee/ws/tools/wsa/db/webservices10literal -outarguments=return -datasource=jdbc/OracleCoreDS -sqlstatement.updtProdTyp=update PRODUCT_TYPES SET NAME = :{newname VARCHAR} where NAME = :{oldname VARCHAR} -sqlstatement.class=SqlStmts -package=oracle.generated -plsqlfile=SqlStmts_plsql_wrapper.sql,SqlStmts_plsql_dropper.sql -plsqlpackage=SqlStmts_plsql_wrapper -connscope=method -sqlj -d=./war/WEB-INF/classes -C-g
INFO: SqlStmtsBase
/usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:8: oracle.generated.SqlStmtsUser is not abstract and does not override abstract method updtProdTypiSS(java.lang.String[],java.lang.String[]) in oracle.generated.SqlStmts
public class SqlStmtsUser extends SqlStmtsBase implements SqlStmts, java.rmi.Remote
^
/usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:22: cannot find symbol
symbol : method _getProdTypBeans(java.lang.String,java.sql.Connection)
location: class oracle.generated.SqlStmtsBase
__jRt_0 = super._getProdTypBeans(__jRt_2, __onnScopeMethod);
/usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:85: cannot find symbol
symbol : method _getProdTyp(java.lang.String,java.sql.Connection)
location: class oracle.generated.SqlStmtsBase
__jRt_0 = super._getProdTyp(__jRt_8, __onnScopeMethod);
^
/usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:128: _updtProdTyp(java.lang.String,java.lang.String,java.sql.Connection) in oracle.generated.SqlStmtsBase cannot be applied to (java.lang.String,java.sql.Connection)
__jRt_0 = super._updtProdTyp(__jRt_10, __onnScopeMethod);
^
/usr/lib/oracle/xe/app/OC4J/D_My_Apps/src/server/oracle/generated/SqlStmtsUser.java:145: cannot find symbol
symbol : method _updtProdTypiS(java.lang.String[],java.sql.Connection)
location: class oracle.generated.SqlStmtsBase
__jRt_0 = super._updtProdTypiS(__jRt_12, __onnScopeMethod);
^
6 errors
INFO: NEW DBWS runtimeProperties set databaseJndiName: jdbc/OracleCoreDS
INFO: User classpath is :/usr/lib/oracle/xe/app/OC4J/D_My_Apps/./war/WEB-INF/classes
INFO: Checking for JSR-181 Annotations capabilities in current JVM...
INFO: Found JSR-181 Annotations capabilities. Checking for JSR-181 Annotations Processor...
INFO: Found JSR-181 Annotations processor. JSR-181 Annotations (if any) will be processed
INFO: No JSR-181 annotations found in specified class oracle.generated.SqlStmtsUser
FINE: ValueTypeModeler.log [creating model: query]
FINE: ValueTypeModeler.log [creating port: oracle.generated.SqlStmts]
FINE: MethodModeler.log [creating operation: updtProdTyp]
FINE: MethodModeler.log [creating operation: updtProdTypiSS]
WARNING: Problem validating implementation class. Access modifier problem detected for the implementation class oracle.generated.SqlStmtsUser: int updtProdTyp( java.lang.String, java.lang.String ) is defined with access modifiers that make it an unsuitable implementation of the interface method: The method cannot be 'abstract'.
Thu Mar 30 14:17:34
Thanks
====================================I don't have the problem with the second arugument, using essentially the same command as yours. Could you make sure you clean up the following subdirectories and retry:
ear query.ear src war
My guess is that the leftover subdirectories in your previous run are playing game with you. You can simplify leftover management by specifying -output setting. -
Hi,
When I publish a PL/SQL package as a web service in J2EE 1.4 (Jax-RPC) Web Service version get this error:
oracle.j2ee.ws.common.tools.api.ValidationException: Error in database webservices assembly
at oracle.j2ee.ws.tools.wsa.db.WSADBPlugin.processDBEndpoint(WSADBPlugin.java:329)
at oracle.j2ee.ws.tools.wsa.Util.processDBEndpoint(Util.java:887)
at oracle.jdeveloper.webservices.model.plsql.PLSQLGenerator.preparePLSQLPortTypes(PLSQLGenerator.java:734)
at oracle.jdeveloper.webservices.model.plsql.PLSQLGenerator.doGeneration(PLSQLGenerator.java:233)
at oracle.jdeveloper.webservices.model.Generator.generateImpl(Generator.java:447)
at oracle.jdeveloper.webservices.model.Generator.generate(Generator.java:295)
at oracle.jdeveloper.webservices.model.WebService.saveEditImpl(WebService.java:3971)
at oracle.jdeveloper.webservices.model.WebService.mav$saveEditImpl(WebService.java)
at oracle.jdeveloper.webservices.model.WebService$1.run(WebService.java:3817)
at oracle.jdeveloper.webservices.model.GeneratorUI$GeneratorAction.run(GeneratorUI.java:446)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
at java.lang.Thread.run(Thread.java:595)
GRAVE: JPublisher error: please check assembler settings, database connection and database schema. Use debug=true for details.
and when use J2EE 1.3 (Oracle) version WEb Service get this error:
java.lang.NullPointerException
at oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(WrapperClassGenerator.java:262)
at oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run(SPWebServiceGenerator.java:285)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:551)
at java.lang.Thread.run(Thread.java:595)
..... Is this a BUG????
please help!OK, This is the PL/SQL package:
Function:
FUNCTION Obtener_paises RETURN res_webservice AS
v_respuesta res_webservice;
i PLS_INTEGER:=1;
CURSOR C_paises IS
SELECT cpais, tpais
FROM paises
ORDER BY tpais;
BEGIN
v_respuesta := res_webservice(null,null);
v_respuesta.error := res_error(null,null,null);
v_respuesta.error.cerror := 0;
v_respuesta.error.cerror_ora := 0;
v_respuesta.error.terror := null;
v_respuesta.datos := res_datos ();
FOR v_pais IN C_paises LOOP
v_respuesta.datos.extend;
v_respuesta.datos(i) := reg_datos(null,null);
v_respuesta.datos(i).codigo := v_pais.cpais;
v_respuesta.datos(i).descripcion := v_pais.tpais;
i := i + 1;
END LOOP;
Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:0');
RETURN v_respuesta;
EXCEPTION
WHEN OTHERS THEN
v_respuesta.error.cerror := 1;
v_respuesta.error.cerror_ora := SQLCODE;
v_respuesta.error.terror := substr(SQLERRM,1,80);
Insertar_log(NULL,SYSDATE,'C','Obtener_paises',NULL,'ERROR:1 '||substr(SQLERRM,1,120));
RETURN v_respuesta;
END Obtener_paises;
TYPES USED:
CREATE OR REPLACE
TYPE res_webservice AS OBJECT (error res_error, datos res_datos);
CREATE OR REPLACE
TYPE res_error AS OBJECT (cerror NUMBER(1), cerror_ora VARCHAR2(12), terror VARCHAR2(80));
CREATE OR REPLACE
TYPE res_datos AS TABLE OF reg_datos;
CREATE OR REPLACE
TYPE reg_datos AS OBJECT(codigo VARCHAR2(12), descripcion VARCHAR2(150));
Thanks in advanced...
Could happen this bacause of these defined types??? -
Does BI Publisher 11g Support Restful Web Services as Data Set
Hi,
Could you tell me if BI Publisher 11g supports the REST API or is SOAP based API required for web services defined as data sets.
Thanks in advance,
JeanThere are External API's which only do JSON outputs. Can this be integrated into a Report? If not, Is there a Enhacement to Add RESTful returning JSON or XML for a Dataset?
-
Base data block on a web service
Hy,
I need to integrate an oracle forms application with data provided from other applications (via web services), like countries, cities, users ecc.
there is a way to base a data block (in forms web 6/10 with Java Importer) on a data returned from a web service?
Can i base block on a PL/SQL variable, returned from java, that contains data from web service?
Thanks at all.
Davidehere is a snippet:
PROCEDURE BT_Poll IS
|| Name : BT_Poll
||
|| Aufgabe : Hier werden Bücher bestellt
||
|| Autor : 05.03.2006, VOL
|| Updates :
R_App SPU_Type.T_App := Init_App ('BT_Poll');
v_list ORA_JAVA.JARRAY;
R_String Const_lokal.T_CSV_Datensatz;
E_kein_Webservice EXCEPTION;
PRAGMA EXCEPTION_INIT (E_kein_Webservice, -105100);
v_Akt_Record NUMBER;
BEGIN
Go_block ('Workitems');
v_Akt_Record := Akt.Record;
Clear_Block;
-- user, pw, server
v_list := BpelWorkflowClient.getAllWorkItems (
a0 => Const_lokal.usr_Buchbesteller,
a1 => Const_lokal.pwd_Buchbesteller,
a2 => Const_lokal.srv_Default);
-- v_list_laenge := ORA_JAVA.get_array_length (v_list);
:PARAMETER.PA_ANZ_POLLS := ORA_JAVA.get_array_length (v_list);
FOR i in 0 .. :PARAMETER.PA_ANZ_POLLS - 1
LOOP
:WORKITEMS.ALL := ORA_JAVA.get_String_array_element (v_list, i);
Get_CSV_Daten (:WORKITEMS.ALL, ';', R_String);
:WORKITEMS.Task_Titel := R_String.Wert_01;
:WORKITEMS.Task_ID := R_String.Wert_02;
:WORKITEMS.ISBN := R_String.Wert_03;
:WORKITEMS.Buch_Titel := R_String.Wert_04;
:WORKITEMS.Autoren := R_String.Wert_05;
:WORKITEMS.Preis := R_String.Wert_06;
:WORKITEMS.Bestellername := R_String.Wert_07;
create_record;
END LOOP;
Go_Record (v_Akt_Record);
IF :PARAMETER.PA_ANZ_POLLS = 0 THEN
go_block ('BUECHER');
END IF;
EXCEPTION
WHEN E_kein_Webservice THEN
WHEN OTHERS THEN
END;
FUNCTION getAllWorkItems(
a0 VARCHAR2,
a1 VARCHAR2,
a2 VARCHAR2) RETURN ORA_JAVA.JARRAY IS
BEGIN
args := JNI.CREATE_ARG_LIST(3);
JNI.ADD_STRING_ARG(args, a0);
JNI.ADD_STRING_ARG(args, a1);
JNI.ADD_STRING_ARG(args, a2);
RETURN JNI.CALL_OBJECT_METHOD(TRUE, NULL, 'de/opitzconsulting/bpel/wf/client/BpelWorkflowClient', 'getAllWorkItems', '(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;', args);
END;
[/pre]
the getAllWorkItems is a generated Package which wraps the workflow-webservice-method
try it
Gerd -
Publishing pl/sql as web services using axis
Hello,
I am a newbie to web services.
I want to publish pl/sql packages as web services using axis and tomcat. Can you please tell me where to start - I will appreciate any information, links to tutorials and docs. Can you please tell me what I need to deploy and run the services.
Thank you very much in advance!
EkaHello,
The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
and you can use advanced features of JDBC and JPublisher if needed:
Simplifying Database Access
Regards
Tugdual Grall -
Adding C# Soap Header to a client that calls BT2010 Orchestration published as a WCF Web Service
I've added code from this reference to my orchestration (that is published as a WCF webservice):
Accessing SOAP Headers in Orchestrations.
I have a C# client that I was previously using before I was using any of the SOAP Headers. I've been looking at dozens of blogs, and find the answers to anything related to SOAP Headers most confusing (and often specific to unique cases).
I'm using BT2010. How can I add username, password, and a custom header called "ApplicationID" to my existing C# program and pass it to the orchestration/web service?
Thanks,
NealNeal,
The BizTalk WCF Service Publishing Wizard does not include custom SOAP header definitions in the generated metadata. To publish metadata for WCF services using custom SOAP headers, you should manually create a Web Services Description Language (WSDL) file.
You can use the externalMetadataLocation attribute of the
<serviceMetadata> element in the Web.config file that the wizard generates to specify the location of the WSDL file. The WSDL file is returned to the user in response to WSDL and metadata exchange (MEX) requests instead of the auto-generated WSDL.
The following XML data shows an example of a part of the WSDL file defining custom SOAP headers:
<wsdl:operation name="Request">
<soap12:operation soapAction="http://Microsoft.Samples.BizTalk.NetTcpAdapter/OrderProcess/IOrderProcess/Request" style="document" />
<wsdl:input name="Order">
<soap12:header message="i0:Order_Headers" part="SalesAgent" use="literal" />
<soap12:body use="literal" />
</wsdl:input>
<wsdl:output name="OrderConfirmation">
<soap12:header message="i0:OrderConfirmation_Headers" part="PaymentAgent" use="literal" />
<soap12:body use="literal" />
</wsdl:output>
</wsdl:operation>
Refer:
SOAP Headers with Published WCF Services
Rachit
Please mark as answer or vote as helpful if my reply does -
Hi
i creates a web service through rich client BI services
i imported it to Xcelsius
in the input values i have a prompt value which is durected to a specific cell
this cell is updated from an input value or a flash variable or just typing it
the problem is that the web service refreshed on load or activated by a connection button does not take the value for the prompt
what am doing wrong ?
10xHello,
We have a known issue with prompts in BI Services XI 3.1 SP2 that prevents input values to be correctly matched with query prompts during BI Service runtime / consumption, when prompt labels (names) include special characters (like spaces, dash, question marks, etc. that are escaped with underscores '_').
Besides avoiding to expose prompts in BI Services, workaround is to simplify query prompt names in WebI document query so they do not include any special characters.
Fix for this issue will be delivered with FP2 (XI 3.1 SP2.2).
Hope that helps,
David. -
Publishing a stateless java web service
Hi All,
Two questions:
1 - Does Oracle still support publishing java web services (stateless and stateful) just by declaring it in the web.xml file? I see that there are instructions on how to do this in an old whitepaper but any recent programmer documentation does not have it.
2 - I tried declaring a java class as a web service in the web.xml and it seems to do something (ie., when I go to the URI, there is actually the wsdl, and the various methods that can be invoked). However, when invoking one of the methods (which should just return "Hello World" without any processing at all), I get the following exception. Any ideas?
javax.servlet.ServletException
at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:632)
at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:292)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:606)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:312)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:779)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:264)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:107)
at com.evermind[Oracle9iAS (9.0.3.0.0) Containers for J2EE].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:536)
Thanks,
Johnnyhello Jonathan
In Jdev903 doc it is given that (pl/sql web service)
Limitations
On Oracle9i Database release 2, when a stored procedure or function of the same name and the same package name is accessible in more than one schema, then the SQLJ translator invoked during publication of PL/SQL web services will fail. In order to resolve this problem, ensure that packages to be published are visible only in one schema, and that no other packages in other schemas share the same name.
The problem u explained come into the same category.Which database version u r using ? .
regards
Mangesh -
Publish query as a web service
Hi,
Actually my requirement is that I need a url to import in the datamanager, so that i can import my bi query in the xcelsius.
I hav got all the BO enterprise tools available witjh BO XI 3.1 & SAP integration kit installed.
For this in the universe designer i have & created a universe/ Connection & my BI query is visible in the universe pane. Can anybody guide me how to publish or get the url? or from here how do I proceed to get my BI query in xcelsius?
Thanks in advance,ShreeshHi,
to generate the URL, you need a web service that can be created with "query as a web service".
If you already have the universe built, then you will find a very good & detailed guidance here:
/people/ingo.hilgefort/blog/2008/09/04/businessobjects-and-sap-part-10--xcelsius-with-universe-and-query-as-a-webservice
Regards
Victor -
Publishing ODi scenario as Web Service
Hi
I could use ODI invoker Service to invoke ODi scenario from SOap UI, or BPel and other Tools
The ODI invoker service invokes the SCENARIO & returns the session number for the Scenario triggered. But the issue is it will not wait for the scenario to complete.
What I need is the status for the scenario after it is done....anyone can suggest how is it possible.
Other way around is
If its possible to publish scenarios as web services????Hi Setting Sync Mode to 1 helped .Thanks. But there is one issue :
For Hard errors it returns the repsosne as false ( Failed) but for scenarios with data errors or unique constraint errors it returns a true.. is tehre a way to handle that.
Anothe rquestion related to publishing the scenario as service is:
Added Application server: AXIS2, and used "SKM Oracle" Knowledge module on a datastore(table) to generate and deploy webservice
I get this error
java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:663)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:709)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)
at com.sunopsis.dwg.dataservices.WSDLGenerator.d(WSDLGenerator.java)
at com.sunopsis.dwg.dataservices.AbstractWSGenerator.m(AbstractWSGenerator.java)
at com.sunopsis.dwg.dataservices.AbstractWSGenerator.b(AbstractWSGenerator.java)
at com.sunopsis.dwg.dataservices.WSGenerationTask.a(WSGenerationTask.java)
at com.sunopsis.graphical.b.c.b(c.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:619)
Maybe you are looking for
-
Hallo, I have problems to measure times. My measured time is not constant it jitters too much. I need a maximum jitter of 5µs and I had heard that I can solve this Problem if I programm code that is faster than 5µs on my FPGA, so I must know how long
-
RESTORE .. VALIDATE on LINUX
Does anybody know if this command is meant to produce a dump file ? I have just run a command like this RESTORE ARCHIVELOG SEQUENCE 778788 THREAD 1 VALIDATE ; and it produced no log or dump file, at least in any of the usual dump directories - i was
-
LOV dynamic refresh in CR2008 with BOXI3.1
Hi, I'm in a confusion whether the LOV for the prompts refresh dynamically when the crystal report is opened. It is a universe based report. I heard, in XIR2 it is a problem and it wont behave similar to WebI. When i tried in CR 2008 with BOXI3.1 unv
-
Permissions work locally but not remotely
I've a server that if I log in locally I can change/manage file/folder permission with no issues....but if I remote in via Remote Desktop Connections (I've tried from several workstation sub-nets) I can log on, navigate to the folders, but I can't ch
-
Passing complexType parameter to webservice
HI, I have a webservice generated with the following. wsdl attached. when I invoke the code following: public void invoca(){ try{ String targetNamespace = "http://xmlns.example.com/1298640415905"; QName serviceName = new QName(targetNamespace, "