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
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 -
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) -
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 -
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 LarsenHi
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 -
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 -
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. -
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 -
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 -
Publish PLSQL stored procedure as web services
Is it true that PLSQL stored procedure can only be published as web services using JAVA?
I came across article that mention how to call other web services from within plsql, but not sure the vice versa.
So, please advise.
Thank you.True..I've done it once using J-Developer.
http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm#o
Good luck!!
Bhagat -
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 -
Invoke sql 2005 native web services
Dear all,
I am trying to invoke from sap ecc 6.0 a native web services written in sql 2005.
For instance the web service path is something like http://10.1.0.197:8080/EmployeeXml?wsdl .
The web method is GetEmployeesXml
If I try to consume via custom .net application, it works but when I try to do the same in sap
following this guide
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/802edea6-274e-2e10-fd95-e5e1a8bc0892?QuickLink=index&overridelayout=true
I get the error http not supported.
The differnce between an asp.net web services (where everythings works) and this one is regarding the autentication.
For the first one it is possible to specify anonymous login for second it is necessary to specify the username and password.
I kindly ask you to give any help to solve this issue, or is there a manual for sm59?
Thank you very muchTry with the following:
<xsd:complexType name="SqlResultStream">
<xsd:sequence>
<xsd:element name="SqlRowSet" type="sqlsoaptypes:SqlRowSet" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="SqlXml" type="sqlsoaptypes:SqlXml" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="SqlMessage" type="sqlmessage:SqlMessage" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="SqlRowCount" type="sqlrowcount:SqlRowCount" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="SqlResultCode" type="sqlsoaptypes:SqlResultCode" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="SqlTransaction" type="sqltransaction:SqlTransaction" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
You also have to know that this is not a perfect equivalent, as no tag can replace the xsd:choice. The xsd:choice means that only one of the elements can occur, while in xsd:sequence any of the elements can occur. But you should be able to achieve the same with a properly built mapping: create only one of the fields, and leave the rest empty - this is possible thanks to minOccurs="0".
Hope this helps,
Greg -
JDeveloper hangs when publishing the PL/SQL pkg as web service
Hi,
I have followedthe guidelines in
http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
I have created a simple pkg with one function return varchar2. Followed the exact steps to publish my test_pub, the jdeveloper hangs, at the step 4 of 7 : Program Units. Please help!
Thanks!
Yi
Message was edited by:
ytianBob,
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
Maybe you are looking for
-
How can I get the Doc object from any other object?
Dear colleagues, in FrameScript it is dead-simple to get to the document part of any object, just add .Doc to the variable. How can I achieve the same with ExtendScript? I amtired of passing the document object next to AFrames or Pgfs along into subr
-
Hi I was wondering if anyone has ever had problems with these speakers.... I dont know what the problem is...it was working fine for about a month and the connection to the right rear speaker on the sub died. I cant explain it. The speaker works fine
-
Windows 8 and I tunes compatibility ?
Does I tunes work with the new windows 8 that was just released?
-
How do I change Text Colour in a Spreadsheet? The Help menu doesn't help.
Simple question whcih i cannot find the simple answer to: How do I change Text Colour in a Spreadsheet? The Help menu doesn't help.
-
Slideshow Freezes Whole Darn Machine in iPhoto Slideshow
Any thoughts as to why I might get the whole computer locked up, when playing a slideshow from within iPhoto? Conditions: album selected, classic slideshow (no audio) > plays one or two pics, then freezes with a black screen. Cannot switch into anoth