WebService in JDeveloper 10.1.3

I have developed document/literal web services in JDeveloper 10.1.2 and running it on Oracle Application Server 10.1.2. In JDeveloper 10.1.3, web services is based on JAX-RPC. Can I run web services developed with a previous version work in the emebdded oc4j without any changes?
Thanks,
Madhav

JDeveloper 10.1.2 supports J2EE 1.3
JDeveloper 10.1.3 supports J2EE 1.4
The J2EE 1.4 specification has added support for Web services through the new JAX-RPC 1.0 API. The deployment descriptors of the J2EE 1.3 web service are required to be migrated to J2EE 1.4.

Similar Messages

  • How to test Siebel webservice in Jdeveloper that uses Authentication?

    Hi..
    I am testing siebel webservice in Jdeveloper 11.1.1.5 by right clicking on WSDL n using "Test webService".But it is giving 500:internal server error..I tried everything..basically i have to pass username password in authentication.I have tried "Authorization-basic" and also tried vis "SOAP Headers > :WS-Security:Header" but of no use.I also tried the above mentioned way.."security-role-assignment" in web.xml and weblogic.xml but that is also not working.The webservice is working fine on SOAPUI but not wroking on Jdeveloper.Is there anything that Iam missing in configuration part...or in HTTP analyzer?? Please help.
    Thanks!

    In transaction SICF  you could enter a (system) user for your webservices so that you won't require authentication. (However, you should check if this is a good and valid option in the context of your application.)
    In addition, you can provide your SAP credentials (username, password) within Adobe Flex itself. Read more about the "URLRequestHeader" function.

  • Is there a bug with stateful WebServices in JDeveloper 10.1.3.1 ?

    Hi
    I created an ultra simple JAX-RPC Webservice from the following class using the JDeveloper WebService Wizard:
    class myWebService
      private static int SessionId;
      public myWebService() {SessionId++;}
      public int getSessionID() {return SessionId;}
    } I declared this WebService as Stateful with Session Scope. The Timeout is 600s;
    Running this WebService in JDeveloper 10.1.3 (using the generated HTML-Testinterface) I see that "getSessionID" returns the same ID on each invocation. Obviously state is managed correctly.
    However, running the same WebService in JDeveloper 10.1.3.1 I see that "getSessionID" returns a different ID on each invocation. Obviously state has been lost.
    Is this a bug in JDeveloper?
    Thanks for your help.
    Frank Brandstetter

    Is anyone using stateful webservices with JDeveloper 10.1.3.1 ?

  • How to develop java webservice in jDeveloper

    Hi,
    iam new to web services. iwant to develop the webservice in jDeveloper. i am also new to jDeveloper. ?
    can you please give me the steps to develop the webservices?
    and also give me the suggestion which tool i can use?
    if any body having the sample application please forward to [email protected]?
    regards
    ram

    Hi frank,
    thanks for your reply. i got it. but when i am testing this webservice its not calling properly.when i am calling the url,, its displaying as page cant be displayed. i had started the server as well..... what is the problem..
    this is the url what i got from the wsdl file...
    http://10.113.11.156:8888/WebApp-MyPro-context-root/HelloWSSoapHttpPort
    regards
    ram

  • Exposing plsql Packages as webservices using JDeveloper

    Hi folks,
    I'm using Jdeveloper to publish database package/ procedures as webservices.These procedures use objects types as parameters (Varchar2's). I can generate the webservices (by the JDeveloper wizard), the WSDL file is generated;
    Question is about the required and optional fields. In my procedure declaration I defined the input as Varchar2 and also defined a default
    Procedure p ( p_var IN VARCHAR2 Default NULL) AS
    BEGIN
    NULL;
    END; 
    But when I deploy this package as webservice (via jdeveloper) to our weblogic server, and run a test, I get errors related to required fields if I don't pass in any value.
    Invalid input arguments for the following fields: p_var value required
    How would I change this behavior ? I made the procedures to accept default parameters ( even when no value is passed I would want my code to run)
    Thanks in advance,
    Prashanth

    Thanks Timo !
    Found out to be an issue with Oracle Fusion Middleware control (http://<hostname>:<port>/em ) validating for required Inputs, but when tested with SOAP UI or Web logic Test Client (http://<hostname>:<port>/wls_utc) it works as expected. Reported the issue to Oracle Support and the problem has been reproduced there.
    Regards,
    Prashanth

  • Creating WebService using Jdeveloper 9i

    Is there a article on creating PLSQL Webservice using Jdeveloper 9i(9.0.3.5) and then porting it on the Application server? We have Oracle Application 11.5.10 using 10g database.
    Thanks
    PHK

    Follow the links at the end of the demo pages of JDeveloper to get to older stuff for example this:
    http://www.oracle.com/technology/products/jdev/viewlets/903_ws_plsql/903_WS_PLSQL_viewlet.html

  • When we use XML,XSD,WSDL files to create SOA webservices in jdeveloper ,what will happen means internally,how will useful xml ,xsd,wsdl for composite ?

    When we use XML,XSD,WSDL files to create SOA webservices in jdeveloper ,what will happen means internally,how will useful xml ,xsd,wsdl for composite ?
    How xml will send message to XSD then how wsdl interaction then to composite ?

    XSD (XML Schema Definition), is an abstract representation of a XML characteristics.
    The WSDL (Web Services Description Language), describes the functionality offered by your web service.
    You can say what operations your services offers, and describe the messages used for this operations in your XSD.

  • Develope complex WebService with JDeveloper and deploy to tomcat

    Hello,
    I am thinking of developing a complex WebService with JDeveloper and deploy it to tomcat.
    The WebService should retrieve a few "normal" datatypes and a pdf and a few images. I try to store the pdf and the image in an Oracle DB as BLOB.
    My idea ist to create a Package which selects the values, pdf and the image and retrieve them as the output paramter.
    Then I want to create a WebService with the JDeveloper which calls this Package. This WebService should be published on a Tomcat.
    My first question is if that is possible?
    I think there are few problems.
    I searched the forum about deploying a JDeveloper WebService to Tomcat, but I can not find a whole solution which is going to work. I read something about JAX-RPC, but I am new to this topic. So it would be very nice, if anyone could tell me where I can find the solution or post a quick guide to solve that.
    Another question is how I have to decode the images and the pdf to provide those files in a WebService?
    I would be very glad if anyone can help me or tell me where I can find information about that, becaus I am new to this topic!
    Thank you,
    Tim

    Hi,
    does anybody have an idea about that?
    Thanks,
    Tim

  • Accessing WebServices in JDeveloper

    Hi,
    I have a HelloWorld webservice written in C# .NET and I want the webservice to be accessed through OA Framework.I am using Jdeveloper 9i OA Extension.
    I am new to OA Framework and JDeveloper tool.
    An answer on accessing .NET Webservice throgh JDeveloper would be a great help.
    Thanks,
    Gowtam

    Hi Gowtam,
    As for your query on accessing .Nt web services through JDev, heres a couple of links from OTN, which can be helpful :
    Manual Invocation of a .NET Web Service : http://www.oracle.com/technology/tech/webservices/htdocs/series/net/index.html
    Calling and Testing a .NET web service (Online Demo): http://www.oracle.com/technology/products/jdev/viewlets/1013/TestClientforNet3_viewlet_swf.html
    Hope this helps,
    Sunil..

  • Error in Creating Webservice in JDeveloper 10.1.3 EA

    hi,
    I'm trying to implement a java webservice using JDev 10.1.3 EA. I just create one simple class with one method returning a string. here is the class code:
    public class ServiceTest {
    public ServiceTest() {
    public String getMessage() {
    return "hello wooorld!";
    after that, i do right-click on it and select "Create J2EE Webservice", and I choose J2EE 1.4 (JAX-RPC), and let JDev do its job creating several classes. I'm trying to run its WSDL file and nothing happens except string message "Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview initialized" appears.
    After that, i'm creating web service proxy by right-click on WSDL file and select "Generate Webservice Proxy" and let JDev creates several class. But when I invoke webservice by calling method
    myPort.getMessage();
    in the MyWebService1SoapHttpPortClient.java and run it, the following error occurs:
    java.rmi.RemoteException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; nested exception is:
         HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
         at mypackage.proxy.runtime.MyWebService1SoapHttp_Stub.getMessage(MyWebService1SoapHttp_Stub.java:92)
    Is there any mistake in my code? I've also created Webservice Proxy for GoogleAPI Webservice using JDev 10.1.3 EA and it runs well. thanks a lot for any suggestion.
    regrads,
    fox

    yes, i found an URL and I try to access this via browser, and the following message appears:
    Error instantiating web-application
    Error compiling :C:\My Documents\Java\Webservice\Service3\public_html: Syntax error in source or compilation failed in: E:\master\Oracle JDeveloper 10.1.3 Early Access\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Webservice-Service3-webapp\galih\service\runtime\MyWebService1SoapHttp_Tie.java E:\master\Oracle JDeveloper 10.1.3 Early Access\jdev\system\oracle.j2ee.10.1.3.34.12\embedded-oc4j\application-deployments\current-workspace-app\Webservice-Service3-webapp\galih\service\runtime\GalihServiceService_SerializerRegistry.java:36: error #300: MyWebService1_getMessage_ResponseStruct__LiteralSerializer not found in class galih.service.runtime.GalihServiceService_SerializerRegistry
    CombinedSerializer serializer = new galih.service.runtime.MyWebService1_getMessage_ResponseStruct__LiteralSerializer(type, DONT_ENCODE_TYPE);
    ^
    1 error

  • Unable to Create PLSQL Webservice in JDeveloper 11g

    Hi,
    i have created webservice for PL/SQL for functions with out TYPE data types as parameter..
    but i am unable to create a webservice for procedure having
    Freight_Pkg.PROCEDURE get_freight(
    p_sbl_source_line_tab IN OUT SYK_SBL_SOURCE_LINE_TAB_TYPE
    ,l_total_freight OUT NUMBER
    ,l_err_code OUT NUMBER
    ,l_err_mesg OUT VARCHAR2
    and when i try to create web service it generates below Warning
    =========================================
    Log Message of WebService
    ========================================
    Generating PL/SQL Web Service
    Generating WSDL and mapping file
    WARNING: OWS-00077 The Value Type class: SykSblSourceLineBase does not have a valid Java Bean pattern.
    Adding service files to deployment profile
    Service generation finished
    Generation complete.
    Please let me know the procedure for creating Webservice for PLSQL of Table Type Parameters passing as IN parameter in Procedure.
    Thanks,
    Vijay

    Vijay,
    Is this configured with Oracle E-Business Suite? If yes, please note that JDeveloper 11g is not certified with Oracle Apps 11i/R12.
    How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    If this is not related to EBS, post your question in the appropriate forum for a better/faster response.
    JDeveloper and ADF
    JDeveloper and ADF
    Thanks,
    Hussein

  • Error trying to generate WSDL of webservice in JDeveloper 11.1.1.3

    Hey,
    Everytime I try to generate a WSDL of a webservice I get the following stack trace:
    java.lang.NullPointerException
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getTypeReasons(JavaWebServiceValidator.java:882)
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getInvalidValueTypes(JavaWebServiceValidator.java:1060)
         at oracle.jdeveloper.webservices.model.java.JavaWebServiceValidator.getValidationErrors(JavaWebServiceValidator.java:241)
         at oracle.jdeveloper.webservices.model.CoreHashStructureModel.validate(CoreHashStructureModel.java:187)
         at oracle.jdeveloper.webservices.model.generator.Validation.action(Validation.java:65)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
         at java.lang.Thread.run(Thread.java:619)
    I'm able to run this webservice via run and debug as well as "Test this webservice." It's just when I try to generate the WSDL from within jdeveloper that I get this message. I'm even able to view the WSDL file within the browser by adding ?WSDL at the end of the url for the web service endpoint. Any ideas?

    So, I need to have the @XmlSeeAlso() for this service to work since it relies on outside classes to run. But, I did remove the @XmlSeeAlso() from the class just to see if this would allow JDeveloper to generate the WSDL and when I do this I get the following stack trace:
    oracle.jdeveloper.webservices.tools.WsdlValidationException: java.lang.NullPointerException
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:376)
         at oracle.jdeveloper.webservices.tools.WebServiceTools.createWsdl(WebServiceTools.java:388)
         at oracle.jdeveloper.webservices.model.java.generator.CreateWSDL.createWSDL(CreateWSDL.java:281)
         at oracle.jdeveloper.webservices.model.generator.CommonCreateWSDL.action(CommonCreateWSDL.java:59)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:143)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: java.lang.NullPointerException
         at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1079)
         at oracle.j2ee.ws.tools.wsa.Util.genWSDL(Util.java:1559)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
         at $Proxy42.genWSDL(Unknown Source)
         at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.createWsdl(WsaAdaptor.java:372)
         ... 5 more
    Caused by: java.lang.NullPointerException
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateGlobalElement(WSDLTypesGenerator.java:308)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateWrapperGlobalElements(WSDLTypesGenerator.java:226)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLTypesGenerator.generateTypes(WSDLTypesGenerator.java:134)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateTypes(WSDLGenerator.java:236)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generateWsdlForOnePortType(WSDLGenerator.java:190)
         at oracle.j2ee.ws.common.jaxws.wsdl.WSDLGenerator.generate(WSDLGenerator.java:157)
         at oracle.j2ee.ws.tools.wsa.JavaToWsdlTool.genWSDL(JavaToWsdlTool.java:1074)
         ... 13 more
    Edited by: user12883803 on Jun 25, 2010 7:02 AM

  • Creating Asynchronous webservice using Jdeveloper

    Guys,
              I want to expose a java class as a Asynchronous web service. The issue is i cannot make it asynchronous. When i deploy it, there is no callback port.
    Have anybody used Jdeveloper to generate Asynchronous web service from java class?
    Below is my code....
    import javax.jws.WebService;
    import oracle.webservices.annotations.async.AsyncWebService;
    @WebService(serviceName = "MyTestAsyncService")
    @AsyncWebService
    public class MyTestAsyncService
      public  String sayHello()
        return "Hello World";

    Hello,
    I think, it should be work. I just tested using JDeveloper 11.1.2.3.0.
    This is web service:
    package webservice;
    import javax.jws.WebMethod;
    import javax.jws.WebService;
    @WebService(serviceName = "MyTestAsyncService")
    public class MyTestAsyncService {
        @WebMethod
        public String sayHello() {
            return "Hello World";
    I have generated using New->Web Service Client and Proxy and give WSDL URL.
    It will generate web service client with asynchrone.
    package ws.client;
    // This source file is generated by Oracle tools.
    // Contents may be subject to change.
    // For reporting problems, use the following:
    // Generated by Oracle JDeveloper 11g Release 2 11.1.2.3.0.6276
    public class MyTestAsyncServicePortClient {
        public static void main(String[] args) {
            MyTestAsyncService_Service myTestAsyncService_Service = new MyTestAsyncService_Service();
            MyTestAsyncService myTestAsyncService = myTestAsyncService_Service.getMyTestAsyncServicePort();
            System.out.println(myTestAsyncService.sayHello());
            // Add your code to call the desired methods.
    Also that one is port class, which is generated from wizard.
    package ws.client;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.util.logging.Logger;
    import javax.xml.namespace.QName;
    import javax.xml.ws.Service;
    import javax.xml.ws.WebEndpoint;
    import javax.xml.ws.WebServiceClient;
    import javax.xml.ws.WebServiceFeature;
    * This class was generated by the JAX-WS RI.
    * Oracle JAX-WS 2.1.5
    * Generated source version: 2.1
    @WebServiceClient(name = "MyTestAsyncService", targetNamespace = "http://webservice/", wsdlLocation = "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService")
    public class MyTestAsyncService_Service
        extends Service
        private final static URL MYTESTASYNCSERVICE_WSDL_LOCATION;
        private final static Logger logger = Logger.getLogger(ws.client.MyTestAsyncService_Service.class.getName());
        static {
            URL url = null;
            try {
                URL baseUrl;
                baseUrl = ws.client.MyTestAsyncService_Service.class.getResource(".");
                url = new URL(baseUrl, "http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService");
            } catch (MalformedURLException e) {
                logger.warning("Failed to create URL for the wsdl Location: 'http://127.0.0.1:7101/WebServiceServer-WebService-context-root/MyTestAsyncServicePort?WSDL#%7Bhttp%3A%2F%2Fwebservice%2F%7DMyTestAsyncService', retrying as a local file");
                logger.warning(e.getMessage());
            MYTESTASYNCSERVICE_WSDL_LOCATION = url;
        public MyTestAsyncService_Service(URL wsdlLocation, QName serviceName) {
            super(wsdlLocation, serviceName);
        public MyTestAsyncService_Service() {
            super(MYTESTASYNCSERVICE_WSDL_LOCATION, new QName("http://webservice/", "MyTestAsyncService"));
         * @return
         *     returns MyTestAsyncService
        @WebEndpoint(name = "MyTestAsyncServicePort")
        public MyTestAsyncService getMyTestAsyncServicePort() {
            return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class);
         * @param features
         *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
         * @return
         *     returns MyTestAsyncService
        @WebEndpoint(name = "MyTestAsyncServicePort")
        public MyTestAsyncService getMyTestAsyncServicePort(WebServiceFeature... features) {
            return super.getPort(new QName("http://webservice/", "MyTestAsyncServicePort"), MyTestAsyncService.class, features);
    I hope, it will work
    Regards,
    Eba

  • Developing Portable WebServices using Jdeveloper

    I am currently using Jdeveloper 10.1.3.2 and I have developed WebServices from my existing WSDL files and deployed the WebServices in OC4J. Everything is working fine now. I noticed that Jdeveloper has created some OC4J specific files like oracle-webservice.xml. Now I want this working WebService Application to be deployed to another Application Server. I am sure it would fail.
    My Question is,
    1) How can I devlop Web Services using Jdeveloper which can be deployed in any App Server?
    2) Will Jdev 11g with JAX-WS will be helpful?
    3) Is there any tutorial for developing portable webservices which can be deployed across any App Server.

    Hi Frank
    Thanks for your response.
    So If I remove my oracle-webservices.xml and deploy my Project, Will it work in any App Server.
    Also where can I put the contents in oracle-webservices.xml file like
    <oracle-webservices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oracle-webservices-10_0.xsd">
    <webservice-description name="''''''''">
    <port-component name="''''''''">
    <operations>
    </operations>
    </port-component>
    </port-component>
    </webservice-description>
    </oracle-webservices>
    Thanks

  • PL/SQL Webservice in jdeveloper 10.1.3.2.0

    Hi
    I am very new to Creating Web Services. As I got a requirement to develop a Web Service using PL/SQL.
    I have gone the posting but could not able to find a document which will give me step by step instructions to create and deploy and test the PL/SQL Webservice.
    Could any body help me out in this regard.
    Hightly appreciate your help
    Regards
    Kiran Akkiraju

    http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
    It's pretty well documented within Jdev also.
    Thanks, Rob

Maybe you are looking for

  • Follow-up to the Podcast problem that has been happening since January...

    K, I give up... Congrats Apple, you took someone who was just starting to break into the Apple line of products and turned them away with terrible customer service and support... This is my very first Apple product, and will be last, luckily I'm stil

  • Have solution about  "Error Publishing"

    Work 100% all the time very good now! Have the same probblem like everybody. iWeb 8 have a big problem, apple correct them in couples a day a month? Now look my step work very very good for me 100% garantie. 1- On your User/Library/Application Suppor

  • How can we improve the rebuid script in 10g

    Hi Plateform solaris = SunOS 5.9 current database version is = 9.2.0.7 Our client ir migrating database to oracle 10g. I don't have much knowledge on 10g for reorg of indexes I have been using following scripts in 9.2.0.7 alter index GMOWNER.INDEX_34

  • Order books in an unsupported country

    I'm in a country (Greece) that doen't have an option for iPhoto books order. Is there any way to order books via iPhoto (or export them)?

  • Error Message FF 747

    Hello SAP Gurus! I have a problem I hope you can help me with.  We are running on version 4.6C and use Vertex Q Series 3.1. We have a user in the field that is trying to reject a line item on a sales order, but when doing this they get error message