PLSQL package creation
I don't know if this problem is linux specific, but here it
goes...
I'm using oracle 8.0.5 linux as a designer 2000 repository.
When installing the repository two packages fail to compile, i.e.
rmman and ck_util. The 'show errors' after compilation returns
nothing. The shared_pool_size is 16M.
Regards,
Klaas
null
Maybe a question of rollback segment size ?
Try to recompile with spool and look for "error" and "ora"
Regards
Mathias
Klaas Visser (guest) wrote:
: I don't know if this problem is linux specific, but here it
: goes...
: I'm using oracle 8.0.5 linux as a designer 2000 repository.
: When installing the repository two packages fail to compile,
i.e.
: rmman and ck_util. The 'show errors' after compilation returns
: nothing. The shared_pool_size is 16M.
: Regards,
: Klaas
null
Similar Messages
-
Help: How to call a plsql Package on click of a button in ADF
Hi Guru's
Please provide your suggestions, how to go ahead in ADF to call a plsql package when a button i clicked.
I do have a knowledge of oracle callable statment to call the plsql package but not having any idea how to relate button click event in ADF.
Thanks,
SPCCreate a service method in your Application Module to [url http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvgen.htm#sm0297]call the stored package, expose that service method on the client interface, and then drag the service method from the data control palette on to your page as a button.
John -
Can't create WS from PLSQL package (Jdeveloper 11g 4) (Exception occured)
Hello,
I'am using JDeveloper 11g preview 4.
On database i have a package with 2 procedures.
When I like to create a WS from database package I get the Exception:
java.lang.ClassCastException: oracle.jdeveloper.webservices.model.plsql.PLSQLPortType
at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.getJarFiles(AddToDeploymentProfiles.java:592)
at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.action(AddToDeploymentProfiles.java:292)
at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.Dialog$2.run(Dialog.java:553)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:551)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:242)
at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:366)
at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:137)
at oracle.jdevimpl.webservices.WebServicesAddin.fastCreatePlSqlService(WebServicesAddin.java:1503)
at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:513)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:843)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1043)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception from Jdeveloper console
Validating XML...
Validating C:\Generali\WsGenerali\public_html\WEB-INF\web.xml
Validate XML: 0 errors, 0 warnings.
Aug 13, 2008 1:20:20 PM oracle.javatools.logging.LogUtils log
WARNING: Exception in task oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1@1fa522d on model oracle.jdevimpl.webservices.wsdl.WSDLXmlModel@129271e; txn name=null
java.lang.NullPointerException
at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1.performTask(FixLocationAttribute.java:72)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:172)
at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute.action(FixLocationAttribute.java:51)
at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
at java.lang.Thread.run(Thread.java:595)
Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
my procedures are:
type r_sifrant is record
( id number,
nadrejeni_id number,
opis varchar2(100),
privzeto varchar2(1)
type r_cursor is ref cursor return r_sifrant;
function f_sel_sifrant(p_naziv in varchar2) return r_cursor;
procedure gen_polica(p_username in varchar2, p_polica_xml in clob, p_stevilka_police out number);
Here I have posted a video of generating ws from plsql package (screen capture):
http://shrani.si/f/x/P6/m5GSF8c/in2.avi
Thank you for any help
best regards
Peterv
Message was edited by:
user651799Hello,
I'am using JDeveloper 11g preview 4.
On database i have a package with 2 procedures.
When I like to create a WS from database package I get the Exception:
java.lang.ClassCastException: oracle.jdeveloper.webservices.model.plsql.PLSQLPortType
at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.getJarFiles(AddToDeploymentProfiles.java:592)
at oracle.jdeveloper.webservices.model.generator.AddToDeploymentProfiles.action(AddToDeploymentProfiles.java:292)
at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.Dialog$2.run(Dialog.java:553)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Dialog.java:551)
at java.awt.Component.show(Component.java:1300)
at java.awt.Component.setVisible(Component.java:1253)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
at oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:242)
at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:366)
at oracle.jdevimpl.webservices.wizard.jaxrpc.PLSQLWizard.runWizard(PLSQLWizard.java:137)
at oracle.jdevimpl.webservices.WebServicesAddin.fastCreatePlSqlService(WebServicesAddin.java:1503)
at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:513)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:843)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:486)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:1104)
at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:578)
at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:475)
at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:422)
at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:283)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1043)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Exception from Jdeveloper console
Validating XML...
Validating C:\Generali\WsGenerali\public_html\WEB-INF\web.xml
Validate XML: 0 errors, 0 warnings.
Aug 13, 2008 1:20:20 PM oracle.javatools.logging.LogUtils log
WARNING: Exception in task oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1@1fa522d on model oracle.jdevimpl.webservices.wsdl.WSDLXmlModel@129271e; txn name=null
java.lang.NullPointerException
at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute$1.performTask(FixLocationAttribute.java:72)
at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:172)
at oracle.bali.xml.model.task.StandardTransactionTask.run(StandardTransactionTask.java:103)
at oracle.jdeveloper.webservices.model.generator.FixLocationAttribute.action(FixLocationAttribute.java:51)
at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:147)
at java.lang.Thread.run(Thread.java:595)
Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
WARNING: Exception Encountered
Aug 13, 2008 1:20:20 PM oracle.j2ee.xml.XMLMessages warningException
my procedures are:
type r_sifrant is record
( id number,
nadrejeni_id number,
opis varchar2(100),
privzeto varchar2(1)
type r_cursor is ref cursor return r_sifrant;
function f_sel_sifrant(p_naziv in varchar2) return r_cursor;
procedure gen_polica(p_username in varchar2, p_polica_xml in clob, p_stevilka_police out number);
Here I have posted a video of generating ws from plsql package (screen capture):
http://shrani.si/f/x/P6/m5GSF8c/in2.avi
Thank you for any help
best regards
Peterv
Message was edited by:
user651799 -
Hi ,
I created package name BBP_ESI, with the following information:
Appl. Component - MM
software component - SAP_APPL
Assign BBP_ESI as a sub package to PI-B2B .
1, Where can i find Allowed Objects types in the package creation ,i am using SAP 6.0 version .
2, When i create a report and save it in this package BBP_ESI, its giving error Customer object PROG ZFCI_BBP_ESI_IDOC_SETUP cannot be assigned to package BBP_ESI . Please let me know why i am getting this error .
Thanks In Advance .
Regards,
Neelimasee SAP documentation for package naming convention:
Packages
The following namespaces are available for packages:
Package names beginning with a letter from A to S, or from U to X.
Package names beginning with these letters are reserved for objects of the SAP standard system from the SAP namespace. You cannot create customer objects or objects from prefix namespaces in these packages.
Note that the package name must be no more than 30 characters long. The name of the main package should reflect the content of the package Adjacent packages should have similar names.
The Transport Organizer records changes to objects in these packages, so that they can be transported.
These packages belong to the "SAP" transport layer and are assigned to an SAP software component (such as SAP_BASIS, SAP_APPL).
Package names beginning with Y or Z
You can create customer-specific objects from the customer namespace in these packages.
The Transport Organizer records changes to objects in these packages, so that they can be transported, provided the SAP System has been set up appropriately. (For more information, see Setting the System Change Option). These packages are assigned to the software component HOME.
So create the packages accordingly... -
Transport and package creation
Hello SAP Masters,
I am looking for some details guideline about package creation and sap crm transport layer. I mean how to create different packages and how to transport from one server to another.
Looking for your reply.
Thanks and Regards
RahulHi Rahul,
would recommend the following help links: http://help.sap.com/saphelp_nw70/helpdata/en/57/38ddb14eb711d182bf0000e829fbfe/content.htm
and http://help.sap.com/saphelp_nw70/helpdata/en/af/40bd38652c8c42e10000009b38f8cf/content.htm
Best Regards,
Michael -
How to create a security role to delegate package creation and deployment?
Hi,
I am new to SCCM 2012 and I would like to delegate packaging and deployment based on an AD container and user. For example, I have a US-SCCM-Admin account created in the US OU in Active Directory. I also have computers in the US Computers OU in AD. I am
not sure what settings I need so that the US-SCCM-Admin account only has rights to create and deploy packages to the US OU and no where else? I added US-SCCM-Admin security group from AD to the "Administrative Users" group in SCCM. But now I need
to configure a role for this group but I am not sure which one to copy or import? I tried copying the "Application Deployment Manager" role and renaming it appropriately but when I login to SCCM as this user, they dont have the option to create or
deploy packages? Does anyone have a simple step by step on this or explanation on what to do to delegate package creation and deployment based on the user in an AD group? TIAThe Application Deployment Manager role is only allowed to deploy an already existing application. You would have to use the
Application Administrator role instead.
Torsten Meringer | http://www.mssccmfaq.de -
Using XML Publisher with plsql package data source?
Hi,
I have a html gantt chart which i create using a plsql package and the use of the htp.p procedure for output to a webpage.
I want to be able to print this to PDF and was hoping the XML Publisher may be an option for doing this. The datasource for this however seems to be a sql query or XML feed.
Can anyone provide any suggestions on this??With a Pipelined Table Function you can use a function in your FROM-clause (so you'll have a normal SELECT, but in the background the data comes from a PL/SQL-function):
SELECT * FROM TABLE( <function_name> )
Look here:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:30404463030437
http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14261/tuning.htm#sthref2335 -
Urgent - Error calling web service generated from plsql package
Hi,
I am using Jdeveloper 10.1.3 production release.
I am trying to publish a plsql packaged procedure as a web service.
My first question is -
When I am publishing the plsql API as a WS, should I choose the style Document/Wrapped or RPC Literal? Document Wrapped is the default in the wizard.
My second question - Depending on whether I choose Document/Wrapped or RPC Literal style, I get 2 different errors when I try to run the client java file (generated by Jdeveloper) that calls the web service. The client java compiles successfully but when I run I get these messages:
Document/Wrapped error -
D:\jdev1013\jdk\bin\javaw.exe -ojvm -classpath H:\jdevhome\jdev\mywork\Genesis\Test\classes;D:\jdev1013\sqlj\lib\runtime12.jar;D:\jdev1013\jdbc\lib\ojdbc14dms.jar;D:\jdev1013\jdbc\lib\orai18n.jar;D:\jdev1013\jdbc\lib\ocrs12.jar;D:\jdev1013\diagnostics\lib\ojdl.jar;D:\jdev1013\lib\dms.jar;D:\jdev1013\jdev\lib\jdev-rt.jar;D:\jdev1013\webservices\lib\soap.jar;D:\jdev1013\webservices\lib\saaj-api.jar;D:\jdev1013\lib\xmlparserv2.jar;D:\jdev1013\jlib\javax-ssl-1_1.jar;D:\jdev1013\jlib\jssl-1_1.jar;D:\jdev1013\j2ee\home\lib\activation.jar;D:\jdev1013\j2ee\home\lib\mail.jar;D:\jdev1013\j2ee\home\lib\http_client.jar;D:\jdev1013\webservices\lib\jaxrpc-api.jar;D:\jdev1013\webservices\lib\wsclient.jar;D:\jdev1013\webservices\lib\wsserver.jar;D:\jdev1013\webservices\lib\wssecurity.jar;D:\jdev1013\webservices\lib\wsdl.jar;D:\jdev1013\webservices\lib\orasaaj.jar;D:\jdev1013\webservices\lib\orawsdl.jar;D:\jdev1013\webservices\lib\orawsrm.jar;D:\jdev1013\webservices\lib\jaxr_api.jar;D:\jdev1013\webservices\lib\orajaxr.jar;D:\jdev1013\webservices\lib\relaxngDatatype.jar;D:\jdev1013\webservices\lib\jaxb-impl.jar;D:\jdev1013\webservices\lib\jaxb-libs.jar;D:\jdev1013\webservices\lib\xsdlib.jar;D:\jdev1013\webservices\lib\mdds.jar;D:\jdev1013\jlib\jaxen.jar;D:\jdev1013\jlib\oraclepki.jar;D:\jdev1013\jlib\ojpse.jar;D:\jdev1013\jlib\osdt_core.jar;D:\jdev1013\jlib\osdt_cert.jar;D:\jdev1013\jlib\osdt_xmlsec.jar;D:\jdev1013\jlib\osdt_wss.jar;D:\jdev1013\jlib\osdt_saml.jar;D:\jdev1013\jlib\repository.jar;D:\jdev1013\jlib\ojmisc.jar;D:\jdev1013\j2ee\home\jazncore.jar;D:\jdev1013\j2ee\home\oc4jclient.jar;D:\jdev1013\rdbms\jlib\xdb.jar;D:\jdev1013\diagnostics\lib\ojdl2.jar;D:\jdev1013\lib\xsu12.jar;D:\jdev1013\lib\xml.jar;D:\jdev1013\j2ee\home\lib\ejb.jar;D:\jdev1013\j2ee\home\lib\jms.jar;D:\jdev1013\j2ee\home\lib\jta.jar;D:\jdev1013\j2ee\home\lib\servlet.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;D:\jdev1013\j2ee\home\lib\ojsp.jar;D:\jdev1013\j2ee\home\jsp\lib\taglib\ojsputil.jar;D:\jdev1013\j2ee\home\oc4j.jar;D:\jdev1013\j2ee\home\lib\oc4j-internal.jar;D:\jdev1013\jdev\lib\ojc.jar genc2dv1.TestWebServiceSoapHttpPortClient
calling http://rchellam-PC1:8888/Genesis-Test-context-root/TestWebServiceSoapHttpPort
java.rmi.RemoteException: Error parsing envelope: (1, 1) Start of root element expected.; nested exception is:
javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at test.proxy.runtime.TestWebServiceSoapHttp_Stub.getAttributes(TestWebServiceSoapHttp_Stub.java:157)
at genc2dv1.TestWebServiceSoapHttpPortClient.getAttributes(TestWebServiceSoapHttpPortClient.java:46)
at genc2dv1.TestWebServiceSoapHttpPortClient.main(TestWebServiceSoapHttpPortClient.java:29)
Caused by: javax.xml.soap.SOAPException: Error parsing envelope: (1, 1) Start of root element expected.
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:104)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:76)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:713)
at oracle.j2ee.ws.client.StreamingSender._preHandlingHook(StreamingSender.java:673)
at oracle.j2ee.ws.client.StubBase._preHandlingHook(StubBase.java:664)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:201)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at test.proxy.runtime.TestWebServiceSoapHttp_Stub.getAttributes(TestWebServiceSoapHttp_Stub.java:134)
... 2 more
Caused by: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:333)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.j2ee.ws.saaj.soap.soap11.SOAPImplementation11.createEnvelope(SOAPImplementation11.java:78)
... 9 more
Process exited with exit code 0.
RPC Literal error -
D:\jdev1013\jdk\bin\javaw.exe -ojvm -classpath H:\jdevhome\jdev\mywork\Genesis\Test\classes;D:\jdev1013\sqlj\lib\runtime12.jar;D:\jdev1013\jdbc\lib\ojdbc14dms.jar;D:\jdev1013\jdbc\lib\orai18n.jar;D:\jdev1013\jdbc\lib\ocrs12.jar;D:\jdev1013\diagnostics\lib\ojdl.jar;D:\jdev1013\lib\dms.jar;D:\jdev1013\jdev\lib\jdev-rt.jar;D:\jdev1013\webservices\lib\soap.jar;D:\jdev1013\webservices\lib\saaj-api.jar;D:\jdev1013\lib\xmlparserv2.jar;D:\jdev1013\jlib\javax-ssl-1_1.jar;D:\jdev1013\jlib\jssl-1_1.jar;D:\jdev1013\j2ee\home\lib\activation.jar;D:\jdev1013\j2ee\home\lib\mail.jar;D:\jdev1013\j2ee\home\lib\http_client.jar;D:\jdev1013\webservices\lib\jaxrpc-api.jar;D:\jdev1013\webservices\lib\wsclient.jar;D:\jdev1013\webservices\lib\wsserver.jar;D:\jdev1013\webservices\lib\wssecurity.jar;D:\jdev1013\webservices\lib\wsdl.jar;D:\jdev1013\webservices\lib\orasaaj.jar;D:\jdev1013\webservices\lib\orawsdl.jar;D:\jdev1013\webservices\lib\orawsrm.jar;D:\jdev1013\webservices\lib\jaxr_api.jar;D:\jdev1013\webservices\lib\orajaxr.jar;D:\jdev1013\webservices\lib\relaxngDatatype.jar;D:\jdev1013\webservices\lib\jaxb-impl.jar;D:\jdev1013\webservices\lib\jaxb-libs.jar;D:\jdev1013\webservices\lib\xsdlib.jar;D:\jdev1013\webservices\lib\mdds.jar;D:\jdev1013\jlib\jaxen.jar;D:\jdev1013\jlib\oraclepki.jar;D:\jdev1013\jlib\ojpse.jar;D:\jdev1013\jlib\osdt_core.jar;D:\jdev1013\jlib\osdt_cert.jar;D:\jdev1013\jlib\osdt_xmlsec.jar;D:\jdev1013\jlib\osdt_wss.jar;D:\jdev1013\jlib\osdt_saml.jar;D:\jdev1013\jlib\repository.jar;D:\jdev1013\jlib\ojmisc.jar;D:\jdev1013\j2ee\home\jazncore.jar;D:\jdev1013\j2ee\home\oc4jclient.jar;D:\jdev1013\rdbms\jlib\xdb.jar;D:\jdev1013\diagnostics\lib\ojdl2.jar;D:\jdev1013\lib\xsu12.jar;D:\jdev1013\lib\xml.jar;D:\jdev1013\j2ee\home\lib\ejb.jar;D:\jdev1013\j2ee\home\lib\jms.jar;D:\jdev1013\j2ee\home\lib\jta.jar;D:\jdev1013\j2ee\home\lib\servlet.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging-api.jar;D:\jdev1013\jakarta-taglibs\commons-logging-1.0.3\commons-logging.jar;D:\jdev1013\j2ee\home\lib\ojsp.jar;D:\jdev1013\j2ee\home\jsp\lib\taglib\ojsputil.jar;D:\jdev1013\j2ee\home\oc4j.jar;D:\jdev1013\j2ee\home\lib\oc4j-internal.jar;D:\jdev1013\jdev\lib\ojc.jar genc2dv1.TestWebService2SoapHttpPortClient
calling http://rchellam-PC1:8888/Genesis-Test-context-root/TestWebService2SoapHttpPort
unexpected null value for literal data
at oracle.j2ee.ws.common.util.exception.JAXRPCExceptionBase.<init>(JAXRPCExceptionBase.java:52)
at oracle.j2ee.ws.common.encoding.SerializationException.<init>(SerializationException.java:26)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:191)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:137)
at test.proxy.runtime.TestWebService2SoapHttp_getAttributes_ReqS_LiteralSerializer.doSerialize(TestWebService2SoapHttp_getAttributes_ReqS_LiteralSerializer.java:154)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.internalSerialize(LiteralObjectSerializerBase.java:199)
at oracle.j2ee.ws.common.encoding.literal.LiteralObjectSerializerBase.serialize(LiteralObjectSerializerBase.java:137)
at oracle.j2ee.ws.client.StreamingSender._writeRequest(StreamingSender.java:625)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:137)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:111)
at test.proxy.runtime.TestWebService2SoapHttp_Stub.getAttributes(TestWebService2SoapHttp_Stub.java:89)
at genc2dv1.TestWebService2SoapHttpPortClient.getAttributes(TestWebService2SoapHttpPortClient.java:57)
at genc2dv1.TestWebService2SoapHttpPortClient.main(TestWebService2SoapHttpPortClient.java:32)
Process exited with exit code 0.
Now all the classes are generated by JDeveloper automatically from the plsql API. So I am not sure why the errors occur and how to fix these.
Also, these errors are occurring on plsql APIs that have input or output parameters of plsql record type or pslql table of record type. These errors don't occur if the api is simple with scalar input or output parameters only.
I would appreciate any help on how to resolve these errors.
Thanks,
RajiHi,
I'm wondering if the problem is actually that the client is failing to connect to the server correctly. Can I suggest that you switch on the HTTP Analyzer and see what comes back there.
Is it possible it is a proxy problem? If you are working locally then I first suggest that you ensure that the Web Browser Proxy is off (see Tools -> Preferences -> Web Browser Proxy) - and that there are no exceptions listed (either with the proxy on or off) before you start the HTTP Analyzer.
As to Doc/Wrapped or RPC. see this blog entry for a little more explanation:
http://susanduncan.blogspot.com/2006/05/rpc-document-bare-wrapped-literal-get.html
regards
Susan -
Best practice : Base an Entity object on a table or on PLSQL Package?
Hello,
We are going to build an application based upon services. We'd like to implement the data part of our services with the ADF BC components. Each Service data part is represented as an Application.
There are two ways to define an entity within an application
(1) Directly based upon the database tables
(2) Based upon a PLSQL package, containing insert/update/delete functionality (as described in paragraph 26.4 of the ADF Dev. guide for Forms/4GL Developers)
I can imagine that the last methodology is (from a services standpoint) a cleaner separation between the data and the model layer.
What are the advantages/disadvantages in real life of basing an Entity object on a PLSQL package?
Thanks in advance,
Regards Leon SmiersHello Frank,
We are going to use the ADF BC model for both JSF pages and Web Services. So I'd like to hve a reusable BC Model.
You mentioned ADF BC transaction management, when you base the BC model upon PLSQL API's, do I have to define my own transaction management?
Regards Leon -
The PLSQL Package version is not honored in Jdeveloper
Hello,
I have launched following PLSQL procedure and successfully compiled in the database. Then, I am calling this procdure using application connections window in Jdeveloper. This plsql api is the integral component of the webservice written using jdeveloper.
Below is the interface of the plsql. Note that parameter p_streetaddress3 is commented. When I compile the package and java wrapper in jdeveloper everything gets compiled just fine. However, when the web service is deployed it still shows the parameter p_streetaddress3.
Why, this already commented out parameter should continue to show up on webservice even when it is commented at database level?
In other words, changes made in plsql package, for a jdeveloper webservice are not getting reflacted.
Any idea?
Thanks,
Ruchir
PROCEDURE xxfa_ap_supplier (
p_err_buf OUT VARCHAR2,
p_retcode OUT NUMBER,
p_lastupdateddate DATE,
p_vendorflag VARCHAR2, --p_new_ven_flag
p_partyid VARCHAR2,
p_partyname VARCHAR2, --p_vendor_name
--p_vendor_type_lookup_code VARCHAR2,
-- p_payment_terms VARCHAR2,
--p_start_active_date DATE,
-- p_client NUMBER,
-- p_legacyno VARCHAR2,
p_streetaddress1 VARCHAR2,
p_streetaddress2 VARCHAR2,
-- p_streetaddress3 VARCHAR2,
-- p_streetaddress4 VARCHAR2,
p_city VARCHAR2,Hi Ruchir,
in 10.1.3 we had problems re-generating web services as the WSDL was not always refreshed, only the Java sources. Maybe the same is happening to you. Try deleting the WSDL before re-generating the web service and see if it helps.
HTH,
Patrik -
We've got a customer who gets this error when attempting to install our software. My Google-fu makes me think this is a rare error. Chris, would you have any ideas as to the cause of this?
Many thanks,
Taylor
[2011-09-18:14:36:24] Runtime Installer begin with version 2.7.1.19610 on Windows 7 x86
[2011-09-18:14:36:24] Commandline is:
[2011-09-18:14:36:24] No installed runtime detected
[2011-09-18:14:36:44] Relaunching with elevation
[2011-09-18:14:36:44] Launching subprocess with commandline c:\users\sawhit~1\appdata\local\temp\air9728.tmp\adobe air installer.exe -ei
[2011-09-18:14:36:52] Runtime Installer begin with version 2.7.1.19610 on Windows 7 x86
[2011-09-18:14:36:52] Commandline is: -stdio \\.\pipe\AIR_6756_0 -ei
[2011-09-18:14:36:52] No installed runtime detected
[2011-09-18:14:36:54] Starting silent runtime install. Installing runtime version 2.7.1.19610
[2011-09-18:14:36:54] Installing msi at c:\users\sawhit~1\appdata\local\temp\air9728.tmp\setup.msi with guid {FDB3B167-F4FA-461D-976F-286304A57B2A}
[2011-09-18:14:37:29] Runtime Installer end with exit code 0
[2011-09-18:14:37:30] Elevated install completed
[2011-09-18:14:37:37] Launching subprocess with commandline c:\Program Files\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
[2011-09-18:14:37:37] Runtime Installer end with exit code 0
[2011-09-18:14:37:43] Runtime Installer begin with version 2.7.1.19610 on Windows 7 x86
[2011-09-18:14:37:43] Commandline is: -installupdatecheck
[2011-09-18:14:37:43] Installed runtime (2.7.1.19610) located at c:\Program Files\Common Files\Adobe AIR
[2011-09-18:14:37:48] Performing pingback request
[2011-09-18:14:37:49] Pingback request completed with HTTP status 200
[2011-09-18:14:37:49] Starting runtime background update check
[2011-09-18:14:37:49] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/2.7.1.19610/update
[2011-09-18:14:37:49] Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/2.7.1.19610/update to C:\Users\sawhitman\AppData\Roaming\Adobe\AIR\Updater\Background
[2011-09-18:14:37:50] Runtime update not available
[2011-09-18:14:37:50] Unpackaging cancelled
[2011-09-18:14:37:50] Runtime Installer end with exit code 0
[2011-09-18:14:42:13] Application Installer begin with version 2.7.1.19610 on Windows 7 x86
[2011-09-18:14:42:13] Commandline is: C:\Users\SAWHIT~1\AppData\Local\Temp\YNAB3_Live_3.5.3.4-2.air
[2011-09-18:14:42:13] Installed runtime (2.7.1.19610) located at c:\Program Files\Common Files\Adobe AIR
[2011-09-18:14:42:16] Unpackaging file:///C:/Users/SAWHIT~1/AppData/Local/Temp/YNAB3_Live_3.5.3.4-2.air to C:\Users\sawhitman\AppData\Local\Temp\flaB571.tmp
[2011-09-18:14:42:39] Application signature verified
[2011-09-18:14:42:39] Unpackaging/validation complete
[2011-09-18:14:42:39] No app located for appID 'com.youneedabudget.YNAB3.Live' and pubID '9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1'
[2011-09-18:14:42:50] Converting unpackaged application to a native installation package in C:\Users\sawhitman\AppData\Local\Temp\fla3A1C.tmp
[2011-09-18:14:43:03] Native installation package creation failed: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: EndUpdateResource: Windows Error #5" errorID=0]
[2011-09-18:14:43:13] Application Installer end with exit code 7
[2011-09-18:14:43:20] Application Installer begin with version 2.7.1.19610 on Windows 7 x86
[2011-09-18:14:43:20] Commandline is: C:\Users\SAWHIT~1\AppData\Local\Temp\YNAB3_Live_3.5.3.4-2.air
[2011-09-18:14:43:20] Installed runtime (2.7.1.19610) located at c:\Program Files\Common Files\Adobe AIR
[2011-09-18:14:43:24] Unpackaging file:///C:/Users/SAWHIT~1/AppData/Local/Temp/YNAB3_Live_3.5.3.4-2.air to C:\Users\sawhitman\AppData\Local\Temp\flaC01C.tmp
[2011-09-18:14:43:37] Application signature verified
[2011-09-18:14:43:37] Unpackaging/validation complete
[2011-09-18:14:43:37] No app located for appID 'com.youneedabudget.YNAB3.Live' and pubID '9C763150EFAB05FD2A2B78705C7A54E2FCDDE07D.1'
[2011-09-18:14:43:59] Converting unpackaged application to a native installation package in C:\Users\sawhitman\AppData\Local\Temp\fla47B3.tmp
[2011-09-18:14:44:16] Native installation package creation failed: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: EndUpdateResource: Windows Error #5" errorID=0]
[2011-09-18:14:44:28] Application Installer end with exit code 7On Windows 7, make sure you are running as Administrator:
Download and install Adobe AIR from this page
Download YNAB3_Live_3.5.3.4.air to a folder on your computer.
Navigate to the folder on your computer where you saved the YNAB3_Live_3.5.3.4.air. If you are on Windows Vista or Windows 7, right-click on the file and choose “Run as Administrator.” For Mac, Linux, and all other versions of Windows, simply double-click on it to install YNAB 3.
Thanks,
Lisa Chao
Adobe Flash Runtime Team -
Plsql package cannot be re-compiuled or droppedHi
Hi All,
I have a plsql package that cannot be re-compiled or dropped . Can any one help how to proceed.
I using oracle 10.3 installed in a solaris 10 machine
Thanks
BRuser11191992 wrote:
Hi All,
I have a plsql package that cannot be re-compiled or dropped . Can any one help how to proceed.
I using oracle 10.3 installed in a solaris 10 machine
Thanks
BRI guess there is a long running session or a regular dbms_job that is constantly using this package. In that case and after careful consideration kill this session. -
I want to use Plsql packages for insert/update/delete in Jdeveloper Jsp forms . Can anyone help me regarding this . Thanks in Advance
Thanks
N.NagarajanOr you could create an EntityObject based on a view, and have your Pl/SQL package called by "instead of" triggers on this view. This way, you keep a consistent interface between various applications (for instance, a BC4J application and something built with PHP).
-
Hi Experts
i would like to know how a plsql package called inside odi.i have plsql package in the back end.i just need to run the same via odi by giving some parameters
in back end i am running the same as below
DECLARE
ERRBUF VARCHAR2(200);
RETCODE NUMBER;
BEGIN
abc.lea (ERRBUF,RETCODE,'abc',2011,12);
END;
how i will replicate the same odiHi Guru
I have refered the same .here its mentioned for calling a procedure and running the same.in my case i have a plsql package in the back end which is having so many procedures.so i just need to call.but while directly calling the package.procdure in odi its throwing error like package should be declared.
Regards
Sree -
PtG SQL-Adapter using PLSQL Package
Hi,
I'm using a PLSQL Package instead of a single procedure to build a service.
If I call my personal error procedure after a no_data_found Exception, I get an Errormsg in the Webbrowser: oracle.panama.PanamaException: Expected 'EOF'.
Does anybody has some ideas?
Thanks.
Kind regards
ClausProblem was that the exception occured in a subblock and the rest of the procedure was worked of after the exception handling. So I resolved two <SimpleResult> Blocks in one XML Page.
Sorry for stealing your time this time.
Thx.
Maybe you are looking for
-
Create Adobe PDF from Word DOCX Issue
Good Morning All, We have stumbled across an apparently well-known issue, which annoyingly for all concerned does not seem to have a satisfying answer. One rather long discussion is here: http://forums.adobe.com/message/4237240. There is at least o
-
Mac Mini Will not boot from external drive or install disk
Hi, I just bought a new 2.0 ghz mac mini 1 gb ram. 120gb hdd. I have a separate external HDD attached and wanted to boot from this. It works with my MBP and IMAC. When i plug it into the Mac Mini and start up with Option key. It recognizes it. I then
-
How to transfer purchased apps from iPhone to macbook
Hey guys, I'm trying to transfer a couple of apps that I purchased on my iPhone, and I'm trying to get them on my Macbook air without buying them agin. The problem is that I don't know if the method thats been provide for us on apple/support.com is a
-
HT4623 iPod Touch not showing up in iTunes
My iPod will not show up in iTunes, so I am unable to update the iOS. I have followed all the troubleshooting steps given in the Help section and nothing is working. Please help!
-
Flash not working properly in Internet Explorer 6
Hello, Flash images are not displaying correctly in Internet Explorer 6. I have checked in Internet Explorer 7 and it is working fine. Could someone help me to fix this issue ? I have checked the Tools->Security->Custom Level->Run Flash image and it