JAX-RPC 9.0.4   --- Data Types Supported

Hi,
does any body know is java.util.List is a supported Datatype on OC4j 9.0.4.2 for JAX-RPC.
Cheers
Gaurav

Gaurav,
Not sure which version of JAX-RPC you are intended to run on top of 9.0.4.2 ?
In any way, if you want your service to work with the majority of the clients, you need to focus on the XML types; not the java types.
To my knowledge, the List will be mapped to a proprietary type, at best, which make it harder to re-use.
All the best,
Eric

Similar Messages

  • JAX-RPC and non-primitive data types

    Hello all!
    I am using JWSDP v1.3 and i have a problem using non-primitive data types as return types for my operations.
    Consider the helloservice example of the JWSDP1.3 tutorial. Now suppose that instead of having the simple operation sayHello() that returns a String, we execute a query on a database, get some ResultSetMetaData and we want these Metadata to be the return type of our operation. I.e. have the operation
    public ResultSetMetaData sayHello()
    instead of the
    public String sayHello()
    of the tutorial.
    When trying to build the service i get the following error which is normal, because ResultSetMetaData is not a supported JAX-RPC type.
    run-wscompile: [echo] Running wscompile: [echo] C:\jwsdp\apache-ant\../jaxrpc/bin/wscompile.bat -define -d build - nd build -classpath build config-interface.xml -model build/model. gz [exec] error: invalid type for JAX-RPC structure: java.sql.ResultSetMetaData [exec] Result: 1
    Is there any way to define an operation like this? Can i specify somehow ResultSetMetaData as a supported-type?
    I hope someone can give me some advice on it, because i have lost one evening trying to figure it out myself :)
    Regards,
    Kostas

    Courtesy links to crossposts so people don't waste their time answering a question which has already been answered
    http://forum.java.sun.com/thread.jsp?thread=482875&forum=59&message=2253704
    http://forum.java.sun.com/thread.jsp?thread=482873&forum=331&message=2253699

  • WARN  [SchemaTypeCreator] JAX-RPC does not allow collection types skipping:

    hi
    I am trying web service,where it returns collection.
    following is the code snippet,
         @WebMethod()
         public Collection<CustomerInfo> getAccountList()
              Query query=em.createQuery("from CustomerInfo c");
              return query.getResultList();
    the problem is at the time of deploying i am getting following warning,
    WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: customer.__JBossWS_CustomerRegisteration_EndpointInterfacePort_getAccountListResponse.result
    i am using JBoss 4.0.5,it supporting JAX-WS RI 2.0_03-b24-fcs version.
    could anybody tell me why this warning?
    is JAX WS not able to resolve the collection type?
    i tested my web service with webservice explorer provided myeclipse5.5 IDE,there web service returns null
    please help me in this?

    Hi,
    I have a serious problem when i deploy a web service in JBoss 4.0.5
    when i invoke the service i can't access to SSSSS222 beacuse in my client don't be created that class SSSSS2222....
    I mapped schemas to java with jaxb2.0.5.
    I'm using:
    JAXB 2.0 .5
    JSR181
    My schema is:
    <xs:schema......>
         <xs:element name="PPPPPP">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="AAAAAAA"/>
                        <xs:element ref="SSSSS111"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
         <xs:element name="SSSSS111">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="SSSSS222" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="SSSSS222">
              <xs:complexType>
                   <xs:all>
                        <xs:element ref="DDDDDD"/>
                        <xs:element ref="DEDEDEDE" minOccurs="0"/>
                   </xs:all>
              </xs:complexType>
         </xs:element>
    </xs:schema>Error:
    13:24:23,271 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.java.SSSSS111.SSSSS222
    A part of wsdl generated is:
    <complexType name="SSSSS111">
    <sequence/> *****error comparing with schema
    </complexType>My web service is:
         @WebMethod(operationName="WS1")
         @WebResult(name = "Resp",
              targetNamespace = "http://www.example.com/resp")
        @RequestWrapper(localName = "validacionWS",
            targetNamespace = "http://www.example.com/pet",
            className = "com.java.ValidacionWS")
        @ResponseWrapper(localName = "validacionFWSResponse",
            targetNamespace = "http://www.example.com/resp",
            className = "com.java.Respuesta")     
         public Respuesta validacionPeticion(@WebParam(name = "peticion",
                   targetNamespace = "http://www.example.com/pet")
                   Peticion peticion)throws MyException,Please, help me...

  • Java.lang.Error: JAX-RPC 1.1 method is not supported in WLS 8.1 clients.

    We have some web services that run under OC4J 10.1.3.4. We have various JEE 'client' apps (JSF, servlets etc.) that use these web services. These JEE apps also run under OC4J.
    We started a migration project from oc4j to weblogic 10.3.2. In phase 1 we want to move these JEE 'client' apps to weblogic. In phase 2 we want to move the web services themselves to weblogic with adjustments to the JEE 'client' apps as needed.
    However we ran into an issue during this phase 1. Deploying these JEE 'client' apps to weblogic results in an error like this:
    java.lang.Error: JAX-RPC 1.1 method is not supported in WLS 8.1 clients. If you are attempting to run an OC4J 10.1.3 JAX-RPC client in WLS, please see the Web Service Migration Guide for instructions.
    We are including Oracle web services client libraries (http://download.oracle.com/otn/java/oc4j/1013/wsclient_extended.zip) in these JEE 'client' apps's war files because weblogic does not have them.
    What part of Web Service Migration Guide is the above error message talking about? Do we have to re-generate the client side proxies for all these web services using weblogic's clientgen task in 'JAXRPC' mode? Many of these web services are doc/literal jax-rpc web services. Or does the migration guide recommend we migrate the web services first to weblogic? Any other specific information on working around this error message would be greatly appreciated.

    Hi,
    I had the same issue but I just managed to fix it. You must upgrade and/or regenerate you proxy. This creates new classes (possibily in a new package) that you must use in your code. I had this error because the classes directory was not clean after the rebuild and the old classes (in the old package) were still present, so the compilation was successful with the old classes. So clean your classes directories, regenerate your proxy and use the new classes in your code.
    Regards,
    Sylvain

  • Jdeveloper 11g - JAX-RPC 1.1 method is not supported in WLS 8.1 clients.

    Hi,
    I am using Jdeveloper 11g and migrating a web Service Proxy created using jdeveloper 10g.
    I imported all the proxy classes and when I try to run web service client In Jdeveloper 11g I get the following error
    "JAX-RPC 1.1 method is not supported in WLS 8.1 clients. If you are attempting to run an OC4J 10.1.3 JAX-RPC client in WLS, please see the Web Service Migration Guide for instructions."
    Please advise on how to solve this?
    which is the offending jar/library file in Jdeveloper 11g which is causing the above error?.
    Is the above problem there in the WebLogic Server Runtime also?
    Please let me know.
    2) I cannot generate web server proxies also with jdev11g because the wsdl has overloaded methods omitting the name property within the input and output message, ie, they have a null name. therefore Jdeveloper 11g is using the library which
    when called with an overloaded operation that contains null input/output message names, a duplicate error occurs because it sees other operations with the same name. so it is effectively not allowing to create the web service proxies.
    Thanks,
    Appreciate your quick response to the above

    Have you checked the 'Web Service Migration Guide' mentioned in the error message?
    Timo

  • BIweb service proxy JAX-RPC 1.1 method is not supported in WLS 8.1 clients

    Hello
    I have an application in oracle Application server and I'm migrating to weblogic 11g .
    I have used web service proxy for BIPublisher 10.1.3.4 , careated by jdeveloper web service proxy wizard , when I want using it in weblogic , In corresponding form that uses BI Publisher web service proxy , I encounter following error :
    "JAX-RPC 1.1 method is not supported in WLS 8.1 clients , if you attempting to run oc4j 10.1.3 JAX-RPC client in WLS,please see Web service Migration Guide for Instructions"
    What should I do?
    Regards
    Mehdi

    Spoke to dev and there was a bug logged, it seems to be down to Weblogic's implementation.
    +This is pure WLS issue. The root cause of this problem is that Weblogic's
    SAAJ implementation. No codechange on BIP server side
    WLS 10 ships with two SAAJ implementations. By default the buggy 9.x
    implementation is used (which lives in the package
    weblogic.webservice.core.soap), but there is a new implementation, which
    supports SAAJ 1.3 (which lives in the package weblogic.xml.saaj). I also
    checked in a debugging jsp page, which could help looking at the DEBUG
    logging to see which SAAJ implementation is used.
    JSP testpage xmlponline/wwwroot/wsclient/soapclient-wls-8270711.jsp
    To use this new version, you have to make sure setting the
    -Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl
    in startWebLogic script. +
    Please give the solution a try and let me know if it works.
    Regards
    tim

  • Tg4msql - Blob Data Type Support(Oracle 8i - sql server 2000)

    hi,
    We are trying to replicate the data from oracle 8i to sql server 2000 through tg4msql.if we want to replicate the data thet contains the blob field , we are getting invalid expression in the procedure marked with error line.
    the procedure i am using is as follows
    CREATE OR REPLACE PROCEDURE INSERT_SQL
    AS
    BEGIN
    FOR VAL_CURSOR IN
    --Get the Data from the table with status 0
    SELECT rs_report_rowid FROM BIJU.rs_report where rs_report_status = 0
    LOOP
    for new_cursor in
    --get the details of the record with the row id
    select id ,name,DOB from biju.sample where rowid = val_cursor.rs_report_rowid
    LOOP
    ---insert the data from oracle to sql where the oracle data type contains blob(here photo field data type is blob).
    Error Line: insert into [email protected](id,name,photo) values(new_cursor.id,new_cursor.NAME,new_cursor.DOB);
    END LOOP;
    END LOOP;
    COMMIT;
    END;
    i want to know that tg4msql won't support the blob data type on the oracle end?we configured blob eqivalent in sql server as binary.Any help or suggestion regarding this are welcome..
    regards
    Srini

    Srini,
    Support for LOB was added in v9.2. It is not supported in 8i.

  • Discoverer 4i - Time Series Data type support

    Does Discoverer 4i support time-series data type i.e. the ability to store an entire string of
    numbers representing for example daily or weekly data points?
    Thanks & Regards,
    Deepti

    Hi O G-M,
    Each model must contain one numeric or date column that is used as the case series, which defines the time slices that the model will use. The data type for the key time column can be either a datetime data type or a numeric data type. However, the column must
    contain continuous values, and the values must be unique for each series. The case series for a time series model cannot be stored in two columns, such as a Year column and a Month column. For more information about it, please see:
    http://msdn.microsoft.com/en-us/library/ms174923(v=sql.100).aspx
    Thanks,
    Eileen
    Eileen Zhao
    TechNet Community Support

  • Data Types supported by Express Edition

    Dear All,
    Is BLOB compatable in Express edition.
    What are the data-types are supported by Express edition.
    Thanks & regards,
    Abk

    http://download.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25108/xedev_design.htm#XEDEV02000
    HTH...

  • Data types supported in weblogic web service

    I have used byte[] (base64) array to pass binary data using weblogic in a web service, since byte[] is a java datatype that is supported, is there a definite guideline available that byte [][] ( multi-dimensional array} is not supported in weblogic 8.1? (I have tried and failed with byte [][])
    Thanks

    Hi gchirrav ,
    Multi-Dimentional array support not listed in supported Data Types in weblogic 8.1.
    Go through the following link, you will find supported data types.
    http://e-docs.bea.com/wls/docs81/webserv/implement.html#1054236
    ----Anilkumar kari

  • Object Data Type support and JDBC2 SQLData interface

    Another useful and probably easy to implement feature is to support
    persistent-aware classes based on JDBC SQLData interface._
    It will let us persist such a member of persistent class to an object
    type column._
    The interface is very simple and quite limited (no support for arrays
    etc) but useful.
    The only thing we would need is to maintain jdbc object maps for our
    database connections and tell Kodo metadata not to enhance this
    particular class member but treat is as a simple type_
    Alex

    In SPROXY you can open your proxy and then view the Activation Log under the GoTo menu.  The log will explain better what the problems might be.  In my case I needed to activate another data type enhancement first.
    Thanks,
    Matt

  • Data type support  9i Release 2

    Does oracle 9i relase 2 support the float datatype for replication .

    As a matter of fact oracle 9i has two types of api for external tables one is oracle_loader and the other is oracle_internal which in 10g become oracle_datapump.
    What my question is how can I use the other type in case of external table as we are doing in 10g? Do I need to run any script to enable this feature or is there any privillege issue?
    I've given the read, write privillege to the user and the oracle user has read/write permission in os level on the location of the directory.

  • XPath support for Date data type.

    Hi,
    I am using XPathAPI class for extracting data from an XML source.I have a column in the data which has date type (any date type supported by MS SQL, Ms Access etc).I want to select only some rows from that column.I'm not aware if XPath provides operations on date types.
    Is there any way I could compare two date values using XPath expressions??
    thanx,
    regards.

    After checking XPath 1.0 recommandation (http://www.w3.org/TR/xpath), I see nothing about date type support.
    You will have to try little tricks, like converting 2002/09/05 into a number 20020905, making it available for < and > comparisons...

  • Web services - JAX-RPC/Axis/OC4J

    Hi,
    We are planning to expose some of J2EE applications as web service. It is based on JAX-RPC 1.0. I have checked it with Apache-Axis without changing any code and it worked. Will it work in OC4J without any code changes?
    1. Does OC4J or Oracle SOAP server supports(or implements) JAX-RPC?
    2. Do we need to change any code?
    rgds
    Bala Murali

    Right now we have a JAX-RPC 1.1 with JSR 109 support preview here on OTN at - this came out at OracleWorld:
    http://otn.oracle.com/tech/java/oc4j/1003/content_preview.html
    The target production date is summer 2004. There are also plans to do another drop of this preview with updated support later this year and possibly again before the production release.
    We have quite a lot of functionality that we are targetting to flesh out our Web services support in the areas of reliability, orchestration, transactions and security.
    Mike.

  • Matching data types b/w oracle and sql server

    anyone here knows if there is a list of data types supported by both oracle and sql server (regardless of releases & versions?
    an immediate response would be highly appreciated.
    thanks.

    Hi,
    The following post might be of assistance to you:
    http://msdn.microsoft.com/en-us/library/ms151817.aspx
    If this is what you're looking for, then mark the question as answered and closed.
    Regards,
    Naveed.

Maybe you are looking for

  • Windows Server 2012 R2 print issues

    We are using terminal server with Windows Server 2012 R2. Our users are using Windows 7 Embedded thin clients with MSTSC RDP 8.0. We are using network printers. There is problem with printing from Adobe Reader. We are using Adobe Reader 11.0.06. Some

  • Upgrading to Production Version of XE

    Is it necessary to un-install XE-Beta prior to re-downloading the production version. Below is the version information for what I have currently installed. I didn't want to start the download process without first understanding what the install progr

  • Email: General Fail

    Hello, my phone is having a strange problem. When I send email to one peron, it returns a general failure message. It's only this person, with both of their email addresses. Any ideas?  Solved! Go to Solution.

  • How to Combine Two SubPaths into a Single SubPath

    For CS 5, ActionScript: I have a Path which contains two subpaths, which may or may not overlap. How do I combine them into a single SubPath (i.e., union) via scripting? I know that in the GUI, I can select both SubPaths and then press the "combine"

  • RE: Iphoto Library.

    I recently had to relaunch my iphoto library, when it came back. It's fine, but of course all my events disappeared and when i click thumbnails so that I can view my pictures smaller on a page, it's GREYED OUT.. So can't view thumbnail, how can I fix