Publishing PL/SQL Package as Web Service
I am trying to build a PL/SQL Web Service following the "Build a PL/SQL Web Service" paper by Jason Price.
This used the standalone OC4J.
When I run the WebServicesAssember (page 4 of article):
java -jar %ORACLE_HOME%\webservices\lib\WebServicesAssembler.jar -config config.xml
I get the following error message:
Exception in thread "main"
java.lang.NullPointerException:
Class db.func.place.order.dbfuncUser not found
The database connection works, the package is created.
Anyone have any ideas ??
Thanks, Bob Larsen
Hi
I too got the same problem and I am finding for the solution. If you have found it please reply me as soon as possible.
my email: [email protected]
I appreciate your answer and many other problems regarding it. I hope u knw the answer...If you can please help me out
with regards,
chaitanya
Similar Messages
-
Publish PL/SQL procedures as web services?
I am investigating JDeveloper for possible use in a project we are starting. We already have existing PL/SQL Procedures that we want to use and I have done a prototype using XSQL and OWA in JDeveloper 9i Candidate version. I am trying to figure out what the changes and improvements are in the most recent version of JDeveloper. On this page http://technet.oracle.com/products/jdev/htdocs/jdev903_fo.html#web_services it says there is broader support for Publishing PL/SQL procedures as web services. Is there any more information out there on this? What exactly has been improved and what are the current limitations. I did find some documentation in the Oracle9i Application Server Developers Guide on the limitations (release 2 (9.0.2) http://download-west.oracle.com/docs/cd/A97329_01/web.902/a95453/plsqlservices.htm#1030066 Do I assume this is the same limitations for JDeveloper since the Oracle9iAS included with it? I am getting confused by all this documentation.
Thanks for any help
NatalieNatalie,
Please take a look at the tutorials on
http://otn.oracle.com/tech/webservices/database.html
Also, read the Web Service discussion forum where you will find some useful hints. Using 9.2.x DB, OC4J 9.0.4 and JDev9.0.3.1 it is really funny to start publishing PL/SQL as Web Service.
Flemming -
Missing Technet Video - Publish PL/SQL as a Web Service
When I try to view the video for "Publish PL/SQL as a Web Service" (http://www.oracle.com/technology/tech/webservices/htdocs/series/plsql/index.html) I get an invalid URL message from Real Player.
Is this video no longer available?Sorry; that content is no longer available. For a more recent document we suggest this URL:
http://www.oracle.com/technology/pub/articles/price_10gws.html
Cheers, OTN -
Cannot run "Publish PL/SQL as a Web Service" example
Hello!
I have Oracle 8.1.7 AS and 9i JDeveloper running on Windows 2000. I'm trying to run the "Publish PL/SQL as a Web Service" example, but am encountering errors I believe are related to my hostname/IP address/DNS entry. Of course, I could be wrong.
Here is some information:
==========================================================
1. I was able to successfully initialize Containers for J2EE. However, when I was trying to deploy the PL/SQL example, it inserted this information:
C:\oracle\jdev9i\j2ee\home>C:\oracle\jdev9i\jdk\bin\java.exe -jar C:\oracle\jdev9i\j2ee\home\oc4j.jar
Node started with id=-1753996682
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
Error updating application PLSQL-PLSQL-WS: Error loading web-app 'WebServices' at
C:\oracle\jdev9i\j2ee\home\applications\PLSQL-PLSQL-WS\WebServices:
resource-ref 'jdbc/testCoreDS' referenced from resource-ref-mapping not found
==========================================================
2. I went through the instructions from the website, and when I began the deployment process it generated this information:
---- Deployment started. ---- Jan 17, 2003 1:20:27 PM
Wrote WAR file to C:\oracle\jdev9i\jdev\plsql-webexample\Project1\WebSe[i]Long postings are being truncated to ~1 kB at this time.Couple of suggestions despite your post being cut off with what might be useful information (please post the rest if these suggestions don't help):
1. There are some bugs with Personal Oracle and Web services, notably Oracle9i Personal that may apply also to 8.1.7. If you have a MetaLink account it is logged as bug 2591731.
2. As you are using your local machine, make sure your proxies are turned off (Tools-Preferences Web Browser/Proxy)
3. I've noticed problems when folks use a JDK with a version lower than 1.3.1_02 to run OC4J - it is certified only with 1.3.1_02 or higher. If you are using the built-in JDeveloper JDK to start up OC4J (e.g. <Jdev_home>\jdk\bin\java.exe) you should be fine. But if you are just typing in java -jar oc4j.jar it is worth checking. Check the your default JDK version by typing in: java -version. If it is lower, then download a new version from http://java.sun.com/j2se/1.3/download.html.
4. For level setting it is best to be using build 1035 of JDeveloper, the current production release and either the OC4J embedded in it or the stand-alone version here on OTN.
Hope these point in the right direction.
Mike. -
I am getting this error on WEB SERVICE Creation :
=========================================
MY Configuration :
ORACLE VERSION = 10g Express Edition Release 10.2.0.1.0
OC4J VERSION = oc4j_extended_101300.zip
ORACLE DRIVER = ojdbc14.jar
JAVA_HOME=/opt/jdk1.5.0_06
J2EE_HOME=/usr/lib/oracle/xe/app/OC4J/j2ee/home
ORACLE_HOME=/usr/lib/oracle/xe/app/OC4J
CLASSPATH=.:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/jdbc/lib/ojdbc14.jar:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/j2ee/home/oc4j.jar:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/webservices/lib/wsdl.jar:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/webservices/lib/soap.jar:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/xmlparserv2.jar:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/activation.jar:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/mail.jar:/opt/jdk1.5.0_06/lib/tools.jar:/opt/jdk1.5.0_06/jre/lib/rt.jar
DATA-SOURCE.XML.........................
vbdba : ../config ]> cat data-sources.xml
<?xml version="1.0" standalone='yes'?>
<data-sources
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd"
schema-major-version="10"
schema-minor-version="1"
>
<data-sources>
<connection-pool name="ConnectionPool1">
<connection-factory factory-class="oracle.jdbc.pool.OracleDataSource"
url="jdbc:oracle:thin:@localhost:1521:XE"
user="store" password="store"/>
</connection-pool>
<managed-data-source connection-pool-name="ConnectionPool1"
jndi-name="jdbc/OracleDS" name="OracleDS"/>
</data-sources>
</data-sources>
Fri Mar 24 11:48:35
vbdba : ../config ]>
=========================================
MY config.xml
vbdba : ../config ]> cat data-sources.xml
<?xml version="1.0" standalone='yes'?>
<data-sources
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/data-sources-10_1.xsd"
schema-major-version="10"
schema-minor-version="1"
>
<data-source
class="com.evermind.sql.DriverManagerDataSource"
name="OracleDS"
location="jdbc/OracleDS"
xa-location="jdbc/xa/OracleXADS"
ejb-location="jdbc/OracleDS"
connection-driver="oracle.jdbc.driver.OracleDriver"
username="store"
password="store"
url="jdbc:oracle:thin:@local:1521/XE"
/>
</data-sources>
Fri Mar 24 11:48:35
vbdba : ../config ]> vbdba : ../D_My_Apps ]> cat config.xml
<web-service>
<display-name>PLSQL Web Service</display-name>
<description>PLSQL Sample</description>
<destination-path>./dbfunc.ear</destination-path>
<temporary-directory>/tmp</temporary-directory>
<context>/plsqlsample</context>
<stateless-stored-procedure-java-service>
<jar-generation>
<schema>store/store</schema>
<db-url>jdbc:oracle:thin:@localhost:1521:XE</db-url>
<prefix>db.func.place.order</prefix>
<db-pkg-name>dbfunc</db-pkg-name>
</jar-generation>
<uri>/dbfunc</uri>
<database-JNDI-name>jdbc/OracleDS</database-JNDI-name>
</stateless-stored-procedure-java-service>
<wsdl-gen>
<wsdl-dir>wsdl</wsdl-dir>
<option name="force">true</option>
<option name="httpServerURL">http://localhost:8888</option>
</wsdl-gen>
<proxy-gen>
<proxy-dir>proxy</proxy-dir>
<option name="include-source">true</option>
</proxy-gen>
</web-service>
Fri Mar 24 11:47:38
vbdba : ../D_My_Apps ]>
=========================================
WEB SERVICE Creation
vbdba : ../xe ]> java -jar ${ORACLE_HOME}/webservices/lib/WebServicesAssembler.jar -config ${ORACLE_HOME}/D_My_Apps/config.xml
Please wait ...
STORE.DBFUNC
java.lang.NullPointerException
at oracle.jpub.sqlrefl.SqlTypeWithMethods.hasDefault(SqlTypeWithMethods.java:359)
at oracle.jpub.sqlrefl.SqlTypeWithMethods.reflectMethods(SqlTypeWithMethods.java:151)
at oracle.jpub.sqlrefl.SqlTypeWithMethods.getDeclaredMethods(SqlTypeWithMethods.java:38)
at oracle.jpub.publish.SqlPackageWriter.<init>(SqlPackageWriter.java:39)
at oracle.jpub.publish.JavaPublisher.publish(JavaPublisher.java:266)
at oracle.jpub.DoitImpl.mainSql(DoitImpl.java:326)
at oracle.jpub.DoitImpl.main(DoitImpl.java:99)
at oracle.jpub.Doit.main(Doit.java:46)
at oracle.j2ee.ws.tools.DBJarGenerator.doIt(DBJarGenerator.java:263)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseStatelessJavaNode(WsAssemblerConfig.java:214)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAssemblerConfig.java:89)
at oracle.j2ee.ws.tools.WsAssemblerConfig.<init>(WsAssemblerConfig.java:62)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:96)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:71)
Exception in thread "main" java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:291)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:141)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:310)
at oracle.j2ee.ws.tools.JarUtils.putFileToJar(JarUtils.java:290)
at oracle.j2ee.ws.tools.JarUtils.putFileToJar(JarUtils.java:257)
at oracle.j2ee.ws.tools.DBJarGenerator.doIt(DBJarGenerator.java:266)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseStatelessJavaNode(WsAssemblerConfig.java:214)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAssemblerConfig.java:89)
at oracle.j2ee.ws.tools.WsAssemblerConfig.<init>(WsAssemblerConfig.java:62)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:96)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:71)
Fri Mar 24 10:27:58
vbdba : ../xe ]>
=========================================Oracle AS 10.1.3
Oracle DB 10.1.0.5
I found below error,when i create ear file
# java -jar ${ORACLE_HOME}/webservices/lib/WebServicesAssembler.jar -config ${ORACLE_HOME}/D_My_Apps/config.xml
Please wait ...
Please wait ...
VCMGR.W4_XMLSVC
java.lang.NullPointerException
at oracle.jpub.sqlrefl.SqlTypeWithMethods.hasDefault(SqlTypeWithMethods.java:359)
at oracle.jpub.sqlrefl.SqlTypeWithMethods.reflectMethods(SqlTypeWithMethods.java:151)
at oracle.jpub.sqlrefl.SqlTypeWithMethods.getDeclaredMethods(SqlTypeWithMethods.java:38)
at oracle.jpub.publish.SqlPackageWriter.<init>(SqlPackageWriter.java:39)
at oracle.jpub.publish.JavaPublisher.publish(JavaPublisher.java:266)
at oracle.jpub.DoitImpl.mainSql(DoitImpl.java:326)
at oracle.jpub.DoitImpl.main(DoitImpl.java:99)
at oracle.jpub.Doit.main(Doit.java:46)
at oracle.j2ee.ws.tools.DBJarGenerator.doIt(DBJarGenerator.java:263)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseStatelessJavaNode(WsAssemblerConfig.java:214)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAssemblerConfig.java:89)
at oracle.j2ee.ws.tools.WsAssemblerConfig.<init>(WsAssemblerConfig.java:62)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:96)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:71)
Exception in thread "main" java.util.zip.ZipException: ZIP file must have at least one entry
at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:291)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:141)
at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:310)
at oracle.j2ee.ws.tools.JarUtils.putFileToJar(JarUtils.java:290)
at oracle.j2ee.ws.tools.JarUtils.putFileToJar(JarUtils.java:257)
at oracle.j2ee.ws.tools.DBJarGenerator.doIt(DBJarGenerator.java:266)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseStatelessJavaNode(WsAssemblerConfig.java:214)
at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAssemblerConfig.java:89)
at oracle.j2ee.ws.tools.WsAssemblerConfig.<init>(WsAssemblerConfig.java:62)
at oracle.j2ee.ws.tools.WsAssembler.assemble(WsAssembler.java:96)
at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:71)
config file
<web-service>
<display-name>PLSQL Web Service</display-name>
<description>PLSQL Sample</description>
<destination-path>./w4_xmlsvc.ear</destination-path>
<temporary-directory>/tmp</temporary-directory>
<context>/w4svcplsql</context>
<stateless-stored-procedure-java-service>
<jar-generation>
<schema>user/password</schema>
<db-url>jdbc:oracle:thin:@databasehost:1521:DB</db-url>
<prefix>w4.xmlsvc.order</prefix>
<db-pkg-name>w4_xmlsvc</db-pkg-name>
</jar-generation>
<uri>/w4_xmlsvc</uri>
<database-JNDI-name>jdbc/OracleDSw4SAP</database-JNDI-name>
</stateless-stored-procedure-java-service>
<wsdl-gen>
<wsdl-dir>wsdl</wsdl-dir>
<option name="force">true</option>
<option name="httpServerURL">http://localhost:4100</option>
</wsdl-gen>
<proxy-gen>
<proxy-dir>proxy</proxy-dir>
<option name="include-source">true</option>
</proxy-gen>
</web-service>
So Goto Oracle database server
and create sqlj
#sqlplus / as sysdba @sqljutl.sql
and recreate ear file again
Message was edited by:
HunterX (Surachart Opun) -
PL/SQL Packages as Web Services - plsqlAssemble Task - Code Generation
Hi,
I was able to generate Web Services for some of the PL/SQL packages using plsqlAssemble Task. (10.1.3 .1.1)
It produces a certain number of java classes for that.
Then I had to modify some of the generated code.
What is the best approach on modifying the generated code.
My concern is that I will have to rebuild/generate the code again in a future because the code generated may be not supported in future version of OAS, which was the case with the previous version ( 9.0.4 ) and I will have to maintain /support all manual changes.
Even when I don't need to modify the generated code what is the chances that it will not be supported for the future version of OAS and we need constantly sink it up with the current versions.
Please advise.
Thanks,
Michael HitrikRonald,
Thanks for you advise.
I don't think that it will be a good solution .
First, I would like to know if I have to re-generate the code. If this is a case then plsqlAssemble would be a big problem as a solution. Our clients would need to do this as well.
What I am actually doing is the following:
I am trying to secure PL/SQL Web Services with SOAP Headers for passing authentication data such as user and passw for the DataSource.
It works great but I had to extend some of code generated Java classes which implements ServiceLifecycle to get SOAPMessageContext object.
Thanks,
Michael Hitrik -
Publishing PL/SQL procedures as web service
Hi,
Is there a way to publish a PL/SQL procedure as a web service in APEX?
Thanks
AKBob,
watch this viewlet, maybe it gives you a helping hand
http://otn.oracle.com/products/jdev/viewlets/10g/WS_PLSQL_Demo_viewlet_swf.html
Frank -
Problem pl/sql function as web service in OAS as omni portlet
Dear All,
I try to use pl/sql function from package as web service in OAS as omni portlet. This function returning, for example, the result of searching as number of rows (Id, name).
As I have understood, OAS omni portlets understands only J2EE 1.3(oracle) web service (which is chosen on the first step of the making the service from PL/SQL). Since in the event of choice J2EE 1.3(JAX-PRC) OAS can not analyse the answer SOAP on elements.
I try return types:
1. xml. Kind of <rowset><row><id>1</id><name>John</name></row><rowset>.
2. ref cursor can`t use
3. varray of records can`t use.
At the best, answer recognizes as line, rather then as array element.
Thank you in advance for answerDear All,
I try to use pl/sql function from package as web service in OAS as omni portlet. This function returning, for example, the result of searching as number of rows (Id, name).
As I have understood, OAS omni portlets understands only J2EE 1.3(oracle) web service (which is chosen on the first step of the making the service from PL/SQL). Since in the event of choice J2EE 1.3(JAX-PRC) OAS can not analyse the answer SOAP on elements.
I try return types:
1. xml. Kind of <rowset><row><id>1</id><name>John</name></row><rowset>.
2. ref cursor can`t use
3. varray of records can`t use.
At the best, answer recognizes as line, rather then as array element.
Thank you in advance for answer -
Publishing BC4J Components as a Web Services Link????
Hi,
can someone give us the link about the tutorial
"Publishing BC4J Components as a Web Services" for Jdeveloper 10g?
ThanksI copied your question and pasted it to Google. And here is the link
http://www.oracle.com/technology/tech/webservices/htdocs/series/pattern/
To use Google for your search, type www.google.com in a web browser URL field. You will be amazed what you find by using it
Frank -
SQL injections in web services
Hi,
I am new to SQL Injections, i am going to work with SQL injections in web services.
could anyone please help me for any documentation..
thanks in advance..
Thanks & Regards,
RajuHello Raju,
Please go through the below link:
http://www.testingexperience.com/testingexperience04_08.pdf
Hope the information is useful
Regards,
Swetha -
How to build, package & deploy web services manually without ant on JWSDP
Hello,
How can I Build, Package & Deploy web services manually without using ant tool on JWSDP 1.3?.
Because I am having difficulties in using ant tool for my own webservices. ant is very tightly coupled with the directory hierarchy & configuration files (as I go throught the examples of JWSDP1.3). Also I need to learn the overall process going on behind the scene.
I have to teach the simplest required steps to build, package & deploy any webservice to any container independent of application server & OS without using ant tool. It would also help me to understand which items are required as specified in the Web Services Specifications & which one are implementation or platform specific.
Any help would be greatly appreciated.
Thanks,
Iftikhar.Just follow the step of the JWSDP1.3 tutorial..
-
Publish PL/SQL package as a web service without using Oracle AS?
Hello, my question is:
Can I publish a PL/SQL package as a web service in Oracle10g directly from the
database and/or the oracle http server, without needing Oracle Application
Server?
Thank you in advance.Hi,
there is a tutorial:
http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
"Developing a Web Service from a PL/SQL Package"
I think you need Oracle AS, because you need an instance which "talks" http.... -
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. -
Publishing PL/SQL package as HTTPS
Hi,
I would like to publish a PL/SQL package procedue as a web service. I found a good article on doing this here: http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
What I would like to know is how to make this web service to function on HTTPS protocol instead of using HTTP. Is it possible?
Regards, TamasTamas,
Yes, it is possible. The following article explains this - it creates a WS based on a Java class, but the steps to secure the WS remain the same for a PL/SQL WS nevertheless.
http://www.oracle.com/technology/products/jdev/101/howtos/securews/index.html
HTH,
Yogesh -
How to publish Report Viewer reports as Web Services
I have some reports templates (.rdlc) having only business objects as data sources (no direct SQL connection). They are working well with Windows Report Viewer. Now I am think to make the reports available via web services to multiple apps. Is there
a way to do that? Any sample?
Thanks,
JasonHello,
SQL Server Reporting Services provides access to the full functionality of the report server through the Report Server Web service. In order to meet your requirement, you
can try to converting an .rdlc file to an .rdl file
and then deploy the report to report server.
If you want to rendering the report in your application, you can try to use the ReportViewer controls in remote processing mode.
Reference:
Adding and Configuring the ReportViewer Controls
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support
Maybe you are looking for
-
Users getting disabled during Synchronization
Hi All, We are running Plumtree 5.0.2 in Windows Environment under Tomcat and also used Sample Application "Auth_HelloWorld-Java" as the base and modified it as per the current needs for Authentication and Synchronization. When I run the Synchronizat
-
Suppose following stored procedure: PROCEDURE TEST_PRC IS BEGIN RAISE VALUE_ERROR; END; If I call this procedure in Sql*Plus, I get: BEGIN test_prc; END; ERROR in line 1: .ORA-06502: PL/SQL: numeric or value error ORA-06512: at "SCH_PERSONEN.TEST_PRC
-
How do I renew my license of my preview CE?
I can tell the license has expired since after 10 minutes the application server goes dow. What is the best and easiest way to renew it? Thanks in advance, Diego.
-
Not getting Dolby 5.1 Surround
I've searched this site and I can't find a solution to my problem. I have a Pioneer Receiver and I can't get Dolby 5.1 Surround Sound using Apple TV. I have a HDMI cable from ATV to the Receiver. I read here that some were able to get 'Surround' to w
-
Hi everyone, I'm having a little problem with this code: import java.net.*; import java.io.*; class httpz { public static void main(String args[]) { ServerSocket ss = null; try { ss = new ServerSocket(80); } catch(IOException ioe) { io