JDeveloper Webservice Creation Question

While Creating webservices through JDev 11g from WSDL, we are presented with two option :-
1) Java EE 1.5, with support for JAX-WS annotations
2) Java EE 1.5, with support for JAX-WS RI
Could you please let me know which one is the most efficient option.
I see that in the second option the webservices are configured thru another file(sun-jaxws.xml) and all the requests are directed or handled by a common servlet whereas in the first option we usually configure the endpoint implementation directly in web.xml.
Another question that i have related to webservices creation - Does webservices wizard internally call wsimport to generate classes from WSDL. When i use wsimport to generate classes using WSDL and specify a jaxb global binding file to convert datatypes, this works correctly but using JDeveloper doesn't creates the Adapter classes to convert the datatypes.
Answers to the above would be helpful in reaching a decision on which approach to follow. Thanks.

Hi,
yes. Please see the how-to document we provide on otn.oracle.com/products/jdev
Frank

Similar Messages

  • Error  in PL/SQL Webservice Creation

    Error in PL/SQL WebService Creation
    We are using Jdeveloper Oracle IDE 9.0.3.9.93.
    I am trying to convert a simple function inside a package whose specification is as follows:
    package opera_util as
    Function get_codes_in_string
    (in_select_statement in varchar2,
    in_separator in varchar2 default ',' ) return varchar2;
    end opera_util;
    This gives me following error
    java.lang.NullPointerException
    void oracle.jdevimpl.webservices.generator.WrapperClassGenerator.wrapTimestamps(oracle.jdeveloper.model.JProject, java.lang.String, java.util.List)
    WrapperClassGenerator.java:417
    java.util.List oracle.jdevimpl.webservices.generator.WrapperClassGenerator.generate(oracle.jdeveloper.model.JProject, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.List, oracle.ide.dialogs.ProgressBar)
    WrapperClassGenerator.java:340
    void oracle.jdevimpl.webservices.generator.SPWebServiceGenerator.generateImpl(oracle.jdevimpl.webservices.wizard.publish.SPPublishModel, oracle.jdevimpl.webservices.util.JavaXSDTypeMap)
    SPWebServiceGenerator.java:234
    void oracle.jdevimpl.webservices.generator.SPWebServiceGenerator.access$1000071(oracle.jdevimpl.webservices.generator.SPWebServiceGenerator, oracle.jdevimpl.webservices.wizard.publish.SPPublishModel, oracle.jdevimpl.webservices.util.JavaXSDTypeMap)
    SPWebServiceGenerator.java:68
    void oracle.jdevimpl.webservices.generator.SPWebServiceGenerator$1.run()
    SPWebServiceGenerator.java:155
    void oracle.ide.dialogs.ProgressBar.run()
    ProgressBar.java:522
    void java.lang.Thread.run()
    Thread.java:484
    Any Ideas?

    Hi,
    Could you re-try publication, running jdevw.exe instead of jdev.exe, please? This will send some extra information to a console.
    I have a feeling something may be going wrong when JPublisher and SQLJ is invoked by the generator, and they both print out errors and warnings to the console. Post the information from the console here and we'll be able to figure out what's going wrong.
    Thanks,
    Alan.

  • WebServices Creation and Consuming a Web Service in WDA ABAP

    Dear Experts,
    We are on SAP-ABAP Release 7.00 / SAP NetWeaver 2004s / SP19.
    Problems and Confusions galore.
    WebService Consumption
    We have been given an external webservice which need to be consumed. When I try to create a proxy thru SPROXY or thru SE80, it throws an error : Proxy Generation : Errors Occured (In German)/ Exception Occured in Library handler/ Not Implemented / No vendor specified.
    What am I doing wrong?? Any step by step !!! Pls. help.
    I have reached a point where I have absolutely no idea where to go.
    +WebService Creation for an RFC FM +
    WSDL created (later came to know its available by default), its visible in SOA Manager but execution doesn't throw up the screen wherein one can input field values to test the service. Although. the XML file is generated.
    Any help would be highly appreciated.
    Please Note :
    1> XI Framework is NOT available
    2> on Calling TCode : SPROXY, it shows "No connection to ESR"
    Thankx in advance.
    Regds,
    Srini

    Please post your questions in the correct forum. This forum is only for Web Dynpro ABAP related questions.

  • Which jar file to include for oracle.jdeveloper.webservices.runtime.Wrapped

    I am trying to make a Web Service client on my jakarta tomcat server....
    I used JDeveloper for generating my client .java file but i dont know which jar to include for oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.
    Somebody pls tell me which jar file i need to copy for this thing to run successfully .... thx

    Hi,
    After compatibility problems between stub generated with JDeveloper 10.1.3 and Oracle Application Server 10g (9.0.4), i decide to downgrade the project to JDeveloper 10.1.2, then more problems... the wsdl wich JDeveloper 10.1.3 accept perfectlly was not so well interpreted by JDev 10.1.2, and i have to do some adjustments on wsdl, then the code generated didn´t format well the soap message (namespaces).....and i made my self some code at the stub class....uffff.
    Now I have the java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub when the application run´s at the Application Server, and yes i include the jdev-rt.jar (included on 'JDeveloper Runtime' library)
    Any clues (changing the technology is not an option ...for now)?
    Thank´s

  • Ava.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/Wrappe

    Java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub error even though jdeveloper run time is in class path?
    Works Fine under jdeveloper, have an issue when deployed into 11.5.10?
    is there a way I can have WrappedDocLiteralStub.class copied somewhere to get through this error?
    please advise

    Posted in similar thread. Below are contents.
    As a solution, Extract the required files from jar available in JDev. Now make a seperate jar file with any name like roy.jar. In that jar file, include the classes which >>are being reported missing like WrappedDocLiteralStub. Now add this jar file to your class path on server. Thus the missing file will be available to you.Abdul Wahid

  • Simple WebService Creation using JDeveloper 11.1 Technology Preview 2

    Hi,
    I like the way JDeveloper simplifies the web service creation using the wizards and allows to test the web services from the IDE itself.
    I have the following issues when I tried the step-by-step tutorial (http://www.oracle.com/technology/obe/obe11jdev/11/ws/ws.html) to build a web service. I greatly appreciate if some one can help me with these issues. This tutorial basically provides how to create a simple hello world kind of web service using JDev. Some of the steps are failing in my case.
    Failure 1) Unable to find the WSDL document
    When I invoke the "Test Web Service" menu item HTTP Analyzer is unable to locate the dynamically generated WSDL. I did try with and with-out proxy settings both the cases it failed. However I can see the WSDL if I go to the given WSDL URL in my web browser. I suspect I am missing some thing in Jdeveloper configuration. So I had to manually save the WSDL from the browser to go to further steps.
    Failure 2) Failure in the Response message
    When I invoke the request message I am getting the following error in the response:
    "The selected message is not a SOAP message". However, if I use the browser to test the web service, it is working fine.
    I greatly appreciate if you can provide me some insight into why JDeveloper is failing in these cases.
    Thanks
    Sunil

    It started working after I restarted the JDeveloper with no proxy settings. Seems to be after changing proxy settings JDev need to be restarted to take the preference changes to be effective in this case.
    Another interesting aspect that I noticed was, when HTTP analyzer is running it dynamically sets the proxy in the preferences settings as localhost with the HTTP analyzer port.
    But anyway now I am able to run and test this webservice within the JDev itself.
    Regards
    Sunil

  • Newbie Struts ActionForm creation question in JDeveloper

    Hey guys,
    I am playing around with Struts and the JDeveloper functionality for that framework. So I am getting the hang of the diagramatic way of viewing the entire Web application by graphically creating the struts-config.xml file. That is great.
    But now I have a question. Suppose I have a simple Login jsp page and I created it using the Struts html tag library. So I guess I am to have a corresponding ActionForm object for that page. How does one go about creating an ActionForm object corresponding to a particular JSP page diagramatically in struts-config.xml? I hope my question makes sense.

    Hmm, I guess you just specify what ActionForm you are wanting to take the parameter values from by just editing the properties of the Action object itself. I think I figured out the answer guys. Thanks anyway.

  • Oracle TopLink as a Custom Serializer in a Webservice tutorial question

    Tutorial link: http://www.oracle.com/technology/products/ias/toplink/technical/tips/jaxRpc11/index.htm
    Has anyone successfuly completed that tutorial using Toplink and JDeveloper 10.1.3? If so I have some questions for you. If not, then it could be possible there is a bug in the IDE with the automatic creation of serializers. I read in the documentation for Oracle, that the serializer classes are to have default constructors but none of the IDE auto-generated serializers do however.
    Surya

    If anyone is interested, I have recreated the Toplink part and the directory structures including the source code and the compiled classes. All that is to be done is to create the web service. I can send it to whoever is interested in trying to solve this problem.
    I am going to give it a shot at creating the service through the IDE or creating it separately through the command prompt and see how it goes.

  • WD Java iView Creation Question/Issue - CE 7.1 EHP 1 Trial

    Hi all,
    Im posting this question here seeing as that the issue has arrised on an installation of the AS JAVA and EP shipped with CE 7.1 EHP1 Trial.
    When attempting to create an iView for a deployed custom WD Java app on the trial Portal I am taken straight to the iView template selection without being given the options for iView creation( ie. create from template, portal component or WD Java app). Is this by design ( WD Java iView creation has changed from previous Portal versions or is limited in Trial installation), is this an issue with the components shipped with the Trial or an issue on my installation only?
    Currently my only solution for deploying WD java content is to copy the actual application and paste it as Portal content which then creates a WD Proxy page with a single WD Proxy iView (that of the copy pasted WD app). This is fine for single app scenarios but becomes an issue with multiple apps on one page and drag and relate scenarios.
    Kind regards,
    Willem.

    Hi Williem
    Please check the SAP CE 7.1 EHP1 documentation for more information.
    [CE 7.1 documentation|http://help.sap.com/saphelp_nwce711/helpdata/en/44/d958673ef05f4de10000000a11466f/frameset.htm]
    [CE 7.1 iViews  |http://help.sap.com/saphelp_nwce711/helpdata/en/f5/eb51590e6a11d7b84900047582c9f7/frameset.htm]
    Hope this will helps you.
    Thanks
    Arun Jaiswal

  • Issue with Webservice Creation using Session Beans.

    Hi All,
    I want to expose my Session beans as webservice.
    I'm using Weblogic Application Server.
    When I do the modeling using JDeveloper, I'm unable to convert the Session bean to webservice.
    Any information on this is highly appreciable.
    Thanks & Regards,
    Kumar Madhavan.

    I can't give you much of a walk through, as I have just started it myself, but I'm using a universal unique identifier to represent each client. Whenever a client posts data from a jsp or applet the uuid is also sent. I use POST to pass all my parameters. If the server hasen't received data in say 5 minutes from the client then it is assumed the client went offline. Its working for me so far.
    COn

  • Webservice invocation question ?

    hi,
    i had never create nor call a webservice... here the work i have to do :
    my environnement is : weblogic 8.1, J2EE 1.3, eclipse.
    i am developping a web application, this web applciation has a login form to enable user to connect to the application.
    A web service already exits in another weblogicserver (i have the ip, port number, methode name....), this webservice and more specialy its methode checkAuthorization takes two parameters (username,password) and send back 3 result parameteers (res1, res2, res3).
    what i have to do, is to create a helper class, let's say "webserviceClient" which invoke thsi webservice and depending on the result, authorize or not the connection.
    i began to read the sun tutorial, i understand that there is two ways to do this job, using JAX-RPC or SOAP!!!!
    my question is : are this componenet applicationserver dependent, in another way, does weblogic server 8.1 conatins the necessary package to do that ?
    my second question is, what is the more easiest way to that ?
    i have not a lot of time for doing that :-))),
    thanks for your help

    Hi Abhi,
    Are your Web Service and Enterprise Application which call the web service both are running on the same server?
    I think you should check web service processing time of the web service at server side(inside your web service/method) not at the client side. This way you will get better idea about how much time client takes to connect to web service and getting response back.
    get elapsed time as Chicon specified at client side, and put similar at server side to get web method processing time like:
    // This is you web method
    public String webMethod() {
        long webServiceStart = System.currentTimeMillis();
        // Web Service Implementation
        // Web Service Implementation
        long webServiceEnd = System.currentTimeMillis();
        System.out.println("Web Service processing time : " + (webServiceEnd-webServiceStart) + " milliseconds");
    }You should get above time almost same in both the case.
    Because standalone application needs to connect to server explicitly where as an enterprise application running on same server as your web service is will get it invoked fast compared to standalone application.
    Thanks,
    Tejas

  • Jdeveloper webservice authentication - HELP!

    Hi
    ok, this is the situation: I developed a java webservice that i installed in aplication server 10g. It's working fine without authentication! What I need is to force anyone that tries to access the web service to authenticate himself against OID.
    I tried a lot of things that worked throw a web browser but they don't work throw a client stub! My goal is when the clent stub tries to access the web service, some kind of authentication mechanism is fired. I need some help urgent on how to secure my web service in AS10g.
    What do I need to do from the client side and from the server side? I read the Oracle Application Server web services documentation but the only thing that it states is that it is possible to secure but it doesn't say how!
    Please someone respond! I'm using JDeveloper 90501 and AS 10g, my client stub accesses by SOAP.
    Thanks in advanced
    Vitor Cardoso

    Victor,
    there's a way doing it, but NOT against OID per default - you can use as a first step basic auth from your webservice stub, and do the rest programmaticly from you stub by calling a login method for example that does authentication on the server;
    For basic authentication, there's an article on my weblog
    http://clemensblog.blogspot.com/2004_05_01_clemensblog_archive.html - that points to a detailed howto.
    hth clemens

  • SOA - webservices creation

    Hi
    Can anyone suggest the best of creating a webservice/ RFc enabled function module for ME21N and me51N t-codes for creation of purchase request and order.
    We understand the service will contain only functionality and not screen.
    And the standard BAPI's for the same do not suffice as they require manual input for most of the fields. But from the screen if we enter PR no. most of teh fields get populated.
    Please help.
    Regards
    Lavanya

    Hello,
    you have two existing ways: the first one is to use the existing BAPI or  Consuming Enterprise Services and the Second way is to develop you own WS for creating WS for PO_Create
    Get Help from this blogs
    /people/austin.chinn/blog/2006/10/18/esoa-chronicles-part-i-consuming-sap-enterprise-services-using-visual-composer-and-the-composite-application-framework
    /people/rudolf.held/blog/2007/07/02/how-to-consume-an-enterprise-service-from-the-es-workplace-in-web-dynpro--part-ii-sample-code-for-download

  • Jdeveloper webservices setings

    i am trying to make a webservice to try it with jdeveloper over oc4j
    and as u know there is a test way provided by jdeveloepr to test ur webservice after publishing it
    after i compliled the calsses and deploy it and open the url http://localhost:8888/jdeveloper_ap...webservice_name
    and evry thing is ok till now and the page apear carying the method services name and when i click the method servic ename evry thing is still ok and the form apear requesting the input of the method if any with an invoke button or with the invoke button alone if no input was required and 2 link below the Proxy Jar and the Proxy Source so till now evry thing is ok
    but after i press the invoke button or when i press the link proxyjar or Proxy Source the explorer show the usual error page HTTP 500 - Internal server error Internet Explorer so nothing work till the enddoes any one expert in webservices with jedeveloepr know what do i miss to set so that the trial work?
    Message was edited by:
    user555630

    Hello,
    Do you have any log in the console/application log?
    Which version of JDeveloper/OracleAS are you using?
    Regards
    Tugdual Grall

  • Webservice creation for SAP XI/PI Scenarios

    Hi,
    How can I develop A simple Webservice for any scenario, for example, if am doing File to file copy scenario,So I want to develop a Webservice for the same scenario,
    I want to develop webservices for the entire Scenario, for this I am Using Microsoft Visual Studio.
    I Shall Create a Form/Page for UI to select the source file, and when I trigger the Copy button, the service should execute the backend SAP XI Scenario and the file should get copied.
    How should i proceed to develop the Webservice?
    Regards,
    Varun

    Hi Varun,
    Let me understand this-
    >>Also here my sender Adapter is File and Receiver Adapter is File
    Do you mean to say that you can't change the existing FILE-PI-FILE scenario to Webservice-PI-FILE scenario on PI box?
    If yes, then you just need to create a UI to copy the file in the source file folder as specified in FILE adapter settings and set the FILE adapter poll interval. It will keep polling the file source file directory and pick the file from there.
    Am I missing something here?
    And also can you tell me what do you mean when you say "service"? You want it to be invoked following some user action? I guess it would be difficult to directly trigger the PI excecution when you have file adapter at  both the end.
    Regards.

Maybe you are looking for

  • Export to PDF vs. printing

    In my file I am going to set it up for both online PDF usage and as a printable book.  Here are the questions and I am using CS4. In my InDesign file I am using a blue color to denote an internal link, i.e.: My link to My link text anchor.  This is f

  • Need recommendation - iis with two physical servers and clusters

    Hello, I was hoping to get a recommendation/opinion or two on the configuration I've inherited. I'm looking at the following configuration using weblogic 8.1 sp4 server (to be upgraded to sp6) running on two physical machines: MachineA: Domain: myDom

  • How to use MRP for generate PO? any samlpe?

    I want to know how to using the MRP for generate purchase order. have any documents for showing the steps by using MRP? Thanks. On

  • OJC error w/ assert & inner class

    The following code generates an error: public class Foo { public class Bar {} public Foo() {} public static void main(String[] args) { assert false == true:"Foo Bar"; ojc Foo.java -source 1.4 -classpath c:\j2sdk1.4.1\jre\lib\rt.jar -verbose [jdk loca

  • Importing album folders problem

    Hi. Why when I drag or import an album folder already stored on a hard drive into iTunes. iTunes then lists each track of that album as individual albums