Regarding Jdeveloper

Hi ,
Iam using Jdeveloper to build web applications whenever i commit any changes and run the application it is shooting the "error deployment server failed and further it wont allow me to run any applications ...how to eliminate this one please any one to guide me ?

Hi Micheal
here are the followinfg details of the problem iam facing
i created the following package with procedure and published it
create or replace package webpkg
as
procedure webpub(p1 number,p2 number,p3 OUT number);
end;
create or replace package body webpkg
as
procedure webpub(p1 number,p2 number,p3 OUT number)
as
begin
if p2<p1 then
p4:='P2<P1 ....Its not acceptable Saleem';
dbms_output.put_line('ERROR P2 Less Than P1 Not Acceptable');
elsif
p2=p1 then
p4:='P2=P1 ....Its not acceptable Saleem';
dbms_output.put_line('ERROR P2 Equal To P1 Not Acceptable');
elsif
p2>p1 then
p4:='P2>P1 ....Its acceptable Saleem';
dbms_output.put_line('OK P2 Greater Than P1 Acceptable');
p3:=p1+p2;
else
dbms_output.put_line('Enter the data appropriately ');
end if;
end;
end;
i compiled it ...its absolutely working fine then i published it
the following is the wsdl details ......
<definitions name="webpkg"
targetNamespace="http://jdk.webpkg.webpub/webpkg.wsdl">
&#8722;
<documentation>
WSDL for Service: webpkg, generated by Oracle WSDL toolkit (version: 1.1)
</documentation>
&#8722;
<types>
&#8722;
<schema targetNamespace="http://jdk.webpkg.webpub/webpkg.xsd">
&#8722;
<complexType name="jdk_webpkg_webpub_webpkgUser_webpub_Out">
&#8722;
<all>
<element name="p3Out" type="xsd:decimal"/>
</all>
</complexType>
</schema>
</types>
&#8722;
<message name="webpubInput">
<part name="param0" type="xsd:decimal"/>
<part name="param1" type="xsd:decimal"/>
</message>
&#8722;
<message name="webpubOutput">
<part name="return" type="xsd1:jdk_webpkg_webpub_webpkgUser_webpub_Out"/>
</message>
&#8722;
<portType name="webpkgPortType">
&#8722;
<operation name="webpub">
<input message="tns:webpubInput"/>
<output message="tns:webpubOutput"/>
</operation>
</portType>
&#8722;
<binding name="webpkgBinding" type="tns:webpkgPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
&#8722;
<operation name="webpub">
<soap:operation soapAction="urn:jdk-webpkg-webpub-webpkg/webpub"/>
&#8722;
<input>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:jdk-webpkg-webpub-webpkg"/>
</input>
&#8722;
<output>
<soap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:jdk-webpkg-webpub-webpkg"/>
</output>
</operation>
</binding>
&#8722;
<service name="webpkg">
&#8722;
<port name="webpkgPort" binding="tns:webpkgBinding">
<soap:address location="http://172.16.121.66:8888/proc/webpkg"/>
</port>
</service>
</definitions
Iam getting the output in the following form ......
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:webpubResponse xmlns:ns1="http://jdk.webpkg.webpub/webpkg.wsdl"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<return xmlns:ns2="http://jdk.webpkg.webpub/webpkg.xsd"
xsi:type="ns2:jdk_webpkg_webpub_webpkgUser_webpub_Out">
<p3Out xsi:type="xsd:decimal">30</p3Out>
</return>
</ns1:webpubResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Then i wrote a pl/sql function to get the output parameter p3
CREATE OR REPLACE FUNCTION ws_test(value1 in number,value2 in number)
RETURN sys.xmltype as
env VARCHAR2(32767);
http_req utl_http.req;
http_resp utl_http.resp;
resp sys.xmltype;
in_xml sys.xmltype;
url
varchar2(2000):='http://172.16.121.66:8888/proc/webpkg';
BEGIN
-- generate_envelope(req, env);
env:='<?xml version = "1.0" encoding = "UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="urn:jdk-webpkg-webpub-webpkg"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<env:Header/>
<env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<ns:webpub>
<param0 xsi:type="xsd:decimal">value1</param0>
<param1 xsi:type="xsd:decimal">value2</param1>
</ns:webpub>
</env:Body>
</env:Envelope>';
-- show_envelope(env);
http_req := utl_http.begin_request(url, 'POST','HTTP/1.1');
utl_http.set_body_charset(http_req, 'UTF-8');
utl_http.set_header(http_req, 'Content-Type', 'text/xml');
utl_http.set_header(http_req, 'Content-Length', length(env));
utl_http.set_header(http_req, 'SOAPAction',
'http://172.16.121.66:8888/proc/webpkg/webpub');
utl_http.write_text(http_req, env);
http_resp := utl_http.get_response(http_req);
utl_http.read_text(http_resp, env);
utl_http.end_response(http_resp);
in_xml := sys.xmltype.createxml(env);
resp := xmltype.createxml(env);
RETURN in_xml;
END;
but iam gettting the following error......
SQL> select ws_test(10,20) from dual;
WS_TEST(10,20)
<?xml version="1.0" encoding="US-ASCII"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org
/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>For input string: &quot;valu&quot;
[java.lang.NumberFormatExc
eption]</faultstring>
<faultactor>/proc/webpkg</faultactor>
</SOAP-ENV:Fault>
WS_TEST(10,20)
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Looking at my WSDL and envelopes can u write the appropriate function which consumes the published package and get me the p3 out put parameter of my procedure please its my humble request

Similar Messages

  • Regarding Jdeveloper ---- Urgent

    Hi All,
    We got a project in iStore Customization....for that which version of Jdeveloper can i download ? and
    How can i do iStore customization? Is there any documents are there ...plz tell it also ...
    In Forums i am not able to find the iStore related forums,
    plz suggest me as soon as possible
    Best Regards
    Sayyed

    Try the OA Framework forum: OA Framework
    You might want to do a search on that forum for previous answers to this question.

  • Required Info Regarding JDeveloper

    Hi!
    I'm new to JDeveloper. Is there any link regarding details description on JDeveloper - can you share it?
    Regards.
    Satyaki De.
    Oops! I'm already in that forum....
    Message was edited by:
    Satyaki_De

    JDeveloper information is at http://oracle.com/technology/jdev

  • [b]JDev Team: Problem regarding JDeveloper's UIEditor[/b]

    Hiii,
         I am using Jdeveloper 903 production release.When I develop a Swing Form using the UIEditor of JDeveloper, the code normally gets added to the jbInit() method of the source file. the code which is getting generated is something like :
    public class SwingForm extends JPanel
    XYLayout xYLayout1 = new XYLayout();
    JCheckBox jCheckBox1 = new JCheckBox();
    JTextField jTextField1 = new JTextField();
    public SwingForm()
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    private void jbInit() throws Exception
    this.setLayout(xYLayout1);
    jCheckBox1.setText("jCheckBox1");
    jTextField1.setText("jTextField1");
    this.add(jTextField1, new XYConstraints(170, 165, 59, 20));
    this.add(jCheckBox1, new XYConstraints(160, 55, 82, 24));
    But for the sake of modularity I want to rearrage the code something like this :
    public class SwingForm extends JPanel
    XYLayout xYLayout1 = new XYLayout();
    JCheckBox jCheckBox1 = new JCheckBox();
    JTextField jTextField1 = new JTextField();
    public SwingForm()
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    private void jbInit() throws Exception
    this.setLayout(xYLayout1);
    setProperties();
    this.add(jTextField1, new XYConstraints(170, 165, 59, 20));
    this.add(jCheckBox1, new XYConstraints(160, 55, 82, 24));
    private void setProperties()
    jCheckBox1.setText("jCheckBox1");
    jTextField1.setText("jTextField1");
    But if I rearrange the code like this, the properties which I am setting inside the method setProperties() doesn't get reflected on the UIEditor. I want to know, can I set the properties inside a different method or not? If not, is there a workaround for that?
    Thanks in advance
    Hemant

    Hi,
    No, you may not set the properties inside of a method other than jbInit. There is no workaround.
    JDeveloper is not an interpreted environment. Thus, no runtime state is present during UI editing, meaning that no instance of your class is present upon which to invoke the other method. Similarly, conditional logic can not be executed. The UI Editor explicitly searches for the jbInit method and attempts to use simple reflection, to the best of its ability, to perform property sets on the member objects. Note that the member objects may be instantiated and used with reflection since they are instances of compiled classes, whereas the 'this' object is not yet compiled since you are still editing it

  • Clarification Regarding Jdeveloper

    Hi guys
    Iam new to jDeveloper. I would like to clarify which database versions can be used with jDev 9.0.3 to covert pl/sql's to Webservices.
    thanks in advance
    venkat

    I've done it with both the 8i and 9i versions of the database.
    I haven't tried working with version 7 but it might work if you have the correct JDBC classes.

  • Help needed regarding JDeveloper and ADF

    Hi All,
    I am new to ADF customization in JDeveloper. Can any of the experts here, guide me how to start and get myself expertise in ADF. Actually i have been doing some experiments like creating trains,connecting to DB etc., from few days back. But the main thing is i could'nt able to figure out the usage of each and every component. So try to help me.
    Thanks in advance.

    Hi,
    check
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html - All samples
    http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e12419/toc.htm - new tag Doc 11.1.1.5
    http://download.oracle.com/docs/cd/E18196_01/11.1.2.0.0/main_11.1.2.0.0.html - new sample 11.1.2.0

  • JDeveloper Tutorial

    I have been working my way through the Oracle Press-Oracle
    JDeveloper book. It needs some help, the instructions
    frequently don't match the menu tab names. I have also
    discovered that creating a database app, as in Chapter 7 just
    plain does not work, an obvious bug. If you select "Data Form
    based on a Frame", the program compiles and starts to run, but
    the login dialog box is only partially displayed and does not
    work. If, instead, you use "Infobus Based Data Form" then
    everything works. At the end of chapter 7 there are
    instructions to manuall create an application. When I follow
    the instructions ( as best I can because they do not match the
    names on the component tab bar ), again the program compiles and
    starts to run but I get that partial login dialog box that does
    not work. I am not asking for help, because I expect to compare
    class names between the automatically generated version that
    does not work and the Infobus version that does. Then I can
    change the manual version to reflect the class that works. I am
    just saying that this tutorial (and release in general) needs a
    lot of work before it can be released.
    null

    Donald,
    Thank you for your comments and suggestions.We'll forward your
    comments to the authors.
    Some of the discrepancies that you have observed in the book may
    be due to the fact that the books is based on JDeveloper 1.1
    while you are using JDeveloper 2.0 beta. For example: Some of
    the JBCL data access controls have been moved from the 'Data
    Access' tab on the Component Palette to the 'Data Express' tab.
    The authors of the JDeveloper book are working on a new edition
    which will be in synch with JDeveloper 2.0 production.
    Regards,
    JDeveloper Team
    Donald Peters (guest) wrote:
    : I have been working my way through the Oracle Press-Oracle
    : JDeveloper book. It needs some help, the instructions
    : frequently don't match the menu tab names. I have also
    : discovered that creating a database app, as in Chapter 7 just
    : plain does not work, an obvious bug. If you select "Data Form
    : based on a Frame", the program compiles and starts to run, but
    : the login dialog box is only partially displayed and does not
    : work. If, instead, you use "Infobus Based Data Form" then
    : everything works. At the end of chapter 7 there are
    : instructions to manuall create an application. When I follow
    : the instructions ( as best I can because they do not match the
    : names on the component tab bar ), again the program compiles
    and
    : starts to run but I get that partial login dialog box that
    does
    : not work. I am not asking for help, because I expect to
    compare
    : class names between the automatically generated version that
    : does not work and the Infobus version that does. Then I can
    : change the manual version to reflect the class that works. I
    am
    : just saying that this tutorial (and release in general) needs
    a
    : lot of work before it can be released.
    null

  • IMPORTANT MESSAGE: THIS FORUM HAS MOVED TO THE JDEVELOPER FORUM

    THIS IS AN IMPORTANT NOTE FROM THE JDEVELOPER ADF UIX DEVELOPMENT TEAM
    With the release of JDeveloper 10g and Oracle ADF (ADF UIX, ADF Business Components, ADF JClient) we are consolidating our resources to one forum - the JDeveloper forum. All current posts/threads within this forum will, in time, be moved over to the JDeveloper forum. Meanwhile you should post all new questions to the JDeveloper forum, since this forum from now on will not be monitored by the JDeveloper ADF UIX development team. The JDeveloper ADF UIX development team will focus on answering UIX questions on the JDeveloper and ADF.
    Regards,
    JDeveloper Product Management
    [Edited by: jjacobi on Nov 21, 2003 5:32 PM]

    Do you have an add-on called Adblocker Plus in your Add-on Manager?
    'Tools' > 'Add-ons' or '3bar menu icon' > 'Add-ons'
    Disable this addon and test. It has been known to cause some issues.

  • If anyone's got JDeveloper to work.....

    ..could you please post details of your NT/Oracle software
    levels, as seemingly everything I try on JDeveloper results in
    it hanging, particulary when trying to run an applet that
    connects to a database. I'm running NT SP4 with Oracle 8.0.5.
    server installed on the same machine, 128Mb memory. It's a clean
    NT install so I don't think there should be anything wrong. I
    try to use the JDBC thin driver to connect to the database. Any
    help would be much appreciated as I was looking forward to using
    this product. I don't recall Borland JBuilder giving me any of
    this aggrevation! Thanks a lot.
    null

    Looks like you have the wrong driver in the classpath.
    If you are connecting to an 8.0.5 database you need to edit the
    classpath to point to the '8.0.5 JDBC driver' (jdbc\oci8
    \classes111.zip). If you are using 8i beta then point to '8.1.4'
    JDBC driver (aurora\lib\classes111.zip).
    By default, the 8.1.4 library is in the classpath. To check the
    classpath:
    Within the IDE, select Project->Project Properties from the
    menu. Make sure Oracle 8.0.5 JDBC is listed in the Java
    Libraries list. It should be by default. If the correct
    library is not listed, do the following:
    1. Select the library you want to remove (i.e. Oracle 8.1.4 JDBC
    if you want to use 8.0.5 instead or vice versa), and click the
    Remove button.
    2. Click the Add button to display a list of predefined
    libraries you can add.
    3. Select the Oracle 8.x.y JDBC library you need. 4. Click OK.
    The correct library should now be listed in the Properties
    dialog. Click the
    OK button to accept the changes and resave your project.
    Hope this helps.
    Regards,
    JDeveloper Team
    Rich (guest) wrote:
    : ..could you please post details of your NT/Oracle software
    : levels, as seemingly everything I try on JDeveloper results in
    : it hanging, particulary when trying to run an applet that
    : connects to a database. I'm running NT SP4 with Oracle 8.0.5.
    : server installed on the same machine, 128Mb memory. It's a
    clean
    : NT install so I don't think there should be anything wrong. I
    : try to use the JDBC thin driver to connect to the database.
    Any
    : help would be much appreciated as I was looking forward to
    using
    : this product. I don't recall Borland JBuilder giving me any of
    : this aggrevation! Thanks a lot.
    null

  • Beginner to JDeveloper

    Dear Friends,
    I have been developing applications using Oracle Developer since 1998 and currently working on Oracle 9i and Oracle 10G. I have never used JDeveloper but seeing its popularity I am keen to learn and develop applications using it. It is my humble request to you all to give me guidance about how to begin,which sites to visit to get books,tutorials,tips and tricks .... so that I can download and start learning. Please advice me a small application that I can develop and become good enough to develop professional applications using JDeveloper.
    Just to inform; I am not aware of anything regarding JDeveloper so I have to start learning the very basic like abcd of English Alphabet.
    Thanking in advance to all of you and Oracle forum.
    Please help me as I too wish to become a JDeveloper Professional.
    Regards
    SK

    Best place to start off is http://otn.oracle.com/formsdesignerj2ee
    This gives you the "dummies guide to J2EE" from a 4gl angle
    Hope this helps
    Grant

  • Hot-(re)deploy classes on OC4J / JDeveloper

    Using JDeveloper 11
    When I change a .jsp the file is automatically redeployed.
    When I change a .java file (for example a managed Bean) and compile it into a .class, the old version is used.
    To see the result of my change I restart the OC4J (takes lot of time).
    --> Is there an easy way to hot-(re)deploy classes on OC4J / JDeveloper? (for example: something in my memory tells me Tomcat can run in a special mode, in which classes are also checked for updated versions and loaded when needed)
    Thanks,
    regards
    Stephan

    Hi,
    this question is better asked on the OC4J forum because JDeveloper consumes what is provided from them. I know there were plans for hot deployment, but I am not sure this is in 11 yet. So you better ask on this forum. In preview JDeveloper 11 doesn't have hot deployment for managed beans.
    Please send questions regarding JDeveloper 11 to JDeveloper and OC4J 11g Technology Preview
    thanks
    Frank

  • JDeveloper connection problem

    Hello,
    I could connect to database or application server successfully, but when I click finish, I am getting nullpointer exception.
    What could be the problem and how to solve this?
    Any help is highly appreciated.
    Regards,
    JDeveloper Newbie

    Can you please provide the version of JDev you are using and perhaps the stack trace of the NullPointerException (or at least the top 5 or so entries).
    Also, does the NPE prevent you from closing the New Connection Wizard or the connection from working?
    John McGinnis
    Oracle JDeveloper Team

  • How can I create xml file automatically from database

    Hi,
    Can I create a site map drom database.There is table for storing menu details.Is it possible to create an xml file corresponding to a query.
    How can i configure root menu.xml to incllude this xml file.Please help me..
    Thanks

    Is your question pertaining to an answer regarding JDeveloper, or you just want an XML file? If XML, have you considered looking at the Oracle db XML DB feature set?
    CM.

  • Connecting to Oracle lite via VB6

    Hello
    is there a better way to connect to Oracle 10g when using VB6?
    this is what I have:
    Under references I am using Microsoft DAO 3.6 Object library
    I do have a module where I defined the following public variables:
    Public wsOracle As DAO.Workspace
    Public cnOracle As DAO.Connection
    Public strConn As String
    and a function to alllow me to connect to the database:
    Function ConnectDB()
    On Error GoTo Error_DataBaseError
    strConn = "ODBC;DSN=MY_DATABASE;UID=user;PWD=passr"
    Set wsOracle = DBEngine.CreateWorkspace("", "admin", "admin", dbUseODBC)
    wsOracle.DefaultCursorDriver = dbUseClientBatchCursor
    Set cnOracle = wsOracle.OpenConnection("", dbDriverNoPrompt, False, strConn)
    Error_DataBaseError:
    If Err <> 0 Then
    Call ErrorCatching("ConnectDB ()")
    End If
    End Function
    It seems to work but I am having issues, two apps are connected to the same Database one is in power builder y the other in VB6 after a certain time of inactivity I get timed out from the VB app and this gets also into the power builder app.
    but if one app is open for a long time it seems to work just fine. any ideas why?
    I read that I can use the Oracle Lite 40 ODBC Driver
    but I can't seem to find a way to do the call from VB6
    any ideas?
    any enlightenment will be appreciated

    Unfortunately, in 2.0 beta, the Infobus Data Form wizard
    connection editor only supported the Oracle Thin, OCI7 and OCI8
    drivers. For 2.0 production, Oracle Lite and the JDBC-ODBC bridge
    will also be supported.
    Regards,
    JDeveloper Team
    Poorna Byri (guest) wrote:
    : Hi,
    : Can we can connect to Oracle Lite 3.5 from Oracle JDeveloper2.0
    : Beta using Infobus Data Form. When I tried to create a file
    based
    : on "Infobus Based Data Form" wizard it is not displaying Oracle
    : Lite 3.5 driver. Can I create a TNS name for Oracle Lite 3.5
    : database.
    : Any help.
    : Thanks.
    : Poorna Byri
    null

  • Oracle Openworld

    I am in the process of registering for the Oracle Openworld. To get more information regarding Jdeveloper ADF, JSF (ADF Faces) and Integration with Oracle Portal which one of the "special programs" should I pick ?
    Oracle Develop (or) X-treme Program?
    Please repond. It's urgent.
    Thanks.

    Hi Gustavo,
    1 - Do I need to take my own laptop for the hands-on sessions?
    No, the hands-on labs will be in rooms with PCs. But, it is always a good thing to have your laptop around there in any case.
    2 - Is Oracle Develop included in the Full Conference Pass?
    Yes, if you registered for Oracle Open World, you can attend the Oracle Develop sessions too. Please make sure to indicate you are interested in those sessions when you register though.
    3 - Where can I find Full Oracle Develop schedule? I navigate through the contents but couldn't see date/time info.
    It will probably be up on the web site in a week or two.
    Keep an eye on http://oracle.com/openworld and make sure to pre-register for sessions you are interested in to make sure your place is secured.

Maybe you are looking for