Collections

hi this vinod,
i has been migrated from SQL Server to Oracle. In Sql Server stored procedures i created temp tables . But in PLSQL stored procedure how can get that.
Create PROCEDURE xx
Declare @report_table table(P_Id int,PRec_No int,PRec_Amt numeric(25,0))
begin
insert into @report_table values(10,20000)
end
how can i do it in PLSQL

Misuse of temporary tables when migrating code from another database to Oracle is a frequent mistake.
In Oracle, you create a temporary table as a permanent object using the "CREATE GLOBAL TEMPORARY TABLE ..." command.
You can create these as either "ON COMMIT DELETE ROWS" or "ON COMMIT PRESERVE ROWS".
Each session's data is private and when the session goes, if you've done the preserve rows option and haven't already deleted it, the data goes.
Depending on how you're using the temporary table and any result set which might be used against it in a client, you might find you need to have "on commit preserve rows" for the data/table to be usable.
However, you might well find that you don't need a temporary table at all. In my experience of seeing non-Oracle code migrated into Oracle, at least 8 times out of 10, the preferred Oracle approach would be to use a more complicated join, or a collection.
If you're returning a result set to the client, regardless of whether you're using a temporary table, more joins in the SQL, or collections, you're likely going to be returning a refcursor to the client probably using a procedure that returns a sys_refcursor parameter and in the procedure using a OPEN <sys_refcursor_parameter_name> FOR <your_sql>
Message was edited by:
dombrooks

Similar Messages

  • Installation problem on CS4 Master Collection

    WHen I attempt to install CS4 master collection on Vista Ultimate X64
    While the installer is "checking system profile" the next window shows "Loading Setup"
    I then get a System Check error page. The window label is "Adobe Creative Suite 4 Master Collection Installer - Alerts"
    In the box it says, System Check.
    Critical Errors were found in setup for Adobe Creative Suite 4 Master Collection.
    Session has dependencies that cannot be satisfied.
    please see the Setup log file for details. click Quit to exit Setup."
    Then there is a Quit button, that is the only option.
    Any ideas which services need to be enabled to be able to install creative suite?

    I do have service pack 1 for vista ultimate x64.
    Here is the end of the log....
    [ 436] Thu Oct 30 19:12:48 2008 DEBUG
    PayloadPolicyInit: BEGIN Updating installstate for payloads
    PayloadPolicyInit: END Updating installstate for payloads
    PayloadPolicyInit: BEGIN Creating policyNodes
    PayloadPolicyNode._SetPayloadAction: none for {092DF7B0-6E10-4718-9763-9704CC4E6EF9} Adobe Anchor Service CS4
    [ 436] Thu Oct 30 19:12:48 2008 ERROR
    Unable to load fileOptions from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Options\Op tions.js
    Log of: object
    name {string}: TypeError
    message {string}: 'collectionID' is null or not an object
    number {number}: -2146823281
    description {string}: 'collectionID' is null or not an object
    [ 436] Thu Oct 30 19:12:48 2008 DEBUG
    updating path to Win32
    WizardControl: loading page "Progress" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Progress\P rogress.js
    updating path to Win32
    WizardControl: loading page "Register" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Register\R egister.js
    updating path to Win32
    WizardControl: loading page "Finish" from C:\Program Files (x86)\Common Files\Adobe\Installers\49b2c0059f3cb852831867eec06474a\resources\pages\Install\Finish\Fin ish.js
    HTML data complete: Welcome
    HTML data complete: Eula
    HTML data complete: Progress
    HTML data complete: Register
    HTML data complete: Finish
    [ 436] Thu Oct 30 19:12:48 2008 ERROR
    Critical errors were found in setup for Adobe Creative Suite 4 Master Collection:
    - Session has dependencies that cannot be satisfied.
    Please see the Setup log file for details. Click Quit to exit Setup.
    [ 436] Thu Oct 30 19:17:23 2008 INFO
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    END - Installer Session
    Doesn't really make sense to me....

  • Is there a way to create a collection based on the "previous import"?

    is there a way to create a collection based on the "previous import"? that would make it easy to mobile sync the last import to my ipad, and do further picking/rejecting while away from my laptop.

    well, yes, of course i could do it that way. i guess i wasn't specific enough. is there a way to create a smart collection, with the photos in the "previous import" as members of the smart collection.  earlier i mentioned about using this smart collection to mobile sync with my ipad, to do further flagging.
    so my intention, use a smart collection to mobile sync with my ipad, and the smart collection to include the photos from my previous import.
    i guess another way to ask the question, is there a way to create a smart collection, by using some rule or condition in the smart collection, to automatically include previous import photos.
    the documentation says that "previous import" is a collection, even though it shows up in the catalogue side bar section. but i see no way to choose that collection when making a smart collection.
    jd

  • How can I cancel the "Recreate All Virtual Dekstops" for a pooled collection in 2012 R2?

    I currently have a system single-server installation of VDI, using 2012 R2 Standard as the server, using pooled collections of Windows 8.1.  In general, everything works very well, but I've been searching in vain for ONE command.  When
    I make a change to the master template in Hyper-V, Checkpoint it, then go into the Remote Desktop Services, go the appropriate collection and initiate a "Recreate All Virtual Desktops", how would I cancel that?
    It's happened on more than one occasion, where I make a change or an update to the template, and then push out the 25 new Virtual Desktops, and then the client comes back asking for a "little" change....but I'm stuck pushing it out until
    all 25 desktops have been recreated.  There must be a way to interrupt this process (probably leaving a few VM Desktops in an unstable state...which I don't care too much about as it's a pooled collection), update the template, and push it out again with
    the "Recreate All Virtual Desktops".  I do have the concurrency set so it recreates 5 at a time, but that noticeably impacts the users, and I don't want to just push out all 25 at a pop and interrupt everyone's work.  Any ideas?
    J

    Hi,
    Have you tried Stop-RDVirtualDesktopCollectionJob ?  Something like below:
    Import-Module RemoteDesktop
    Stop-RDVirtualDesktopCollectionJob -CollectionName "PooledCollectionName" -ConnectionBroker "broker.yourdomain.com"
    -TP

  • Looking for a database collection app for children

    Hi,
    I am a primary school teacher and I am looking for a interesting way for my children to learn about databases and spreadsheets this term using the Ipads. I have looked at using Numbers but I am looking for an app that is child friendly and looks at them creating their own fields and collect their own data. Ideally want them to also use the camera to collect data and do majority of this on the ipad rather than sync it from a pc. Anyone kow any good apps for this?

    That looks perfect!
    I googled at first, and found a site with an alphabetical list of about 30 different database options. I got about 4 into it before deciding I should ask the experts. :)
    Thanks a lot!

  • How to access a specific font in a TrueType font collection (TTC) file

    I am trying to create a Font as follows:
    InputStream is = new FileInputStream("myname.ttc");
    Font font = Font.createFont(Font.TRUETYPE_FONT,is);
    This works fine but I need to get a specific font from the collection.
    How does one go about creating a font from a particular font within
    a collection?
    I need to access the font file directly. I can't use the
    properties file to install the font first.
    Any help is appreciated!
    Thanks

    You also have to be careful with fonts. The font you download may be the same name, but a different font. Just because you find a Zurich BT font, does not mean it is the same. If you search on the internet, there are several sources of some Zurich BT fonts free. However, they may or may not be the same font. Editing is best done on the original document and not the PDF. One of the PDFs I found on the Landis site was only in Zurich font. I would think that the original file is available from the company and that should be the document you edit, not the PDF. It appears the original was created in InDesign (CS3).

  • How to add a new view in Factsheet to collect data from R3

    Hi Experts,
    I need to add a new view in Account Factsheet called  'Open Delivery data'
    which will collect the delivery data from R3 system.
    As I know we have two Function Modules (at CRM) 'CRMT_ERP_FACT_SHEET_RETRIEVE'
    (at R3) 'CRM_CCKPT_EXPORTSUMMARY'
    All We need to do is create view which calls the data from R3 Via these modules.
    How should I proceed.
    Is this relevent steps :-
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Regards,
    Ram

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

  • Error in cast multiset in collections

    DECLARE
    TYPE emp_dept_rec IS RECORD (
    v_sal emp.sal%TYPE,
    v_name emp.ename%TYPE,
    v_deptname dept.DEPTNAME%type
    TYPE emp_dept_tab_type IS TABLE OF emp_dept_rec;
    l_emp_dept_tab emp_dept_tab_type;
    type emp_tab is table of emp%rowtype;
    type l_emp_tab is table of emp%rowtype;
    type dept_tab is table of dept%rowtype;
    type l_dept_tab is table of dept%rowtype;
    cursor e1 is
    select * from emp;
    cursor d1 is select * from dept;
    begin
    OPEN e1;
    FETCH e1
    BULK COLLECT INTO l_emp_tab;
    open d1;
    FETCH d1
    BULK COLLECT INTO l_dept_tab;
    select cast(multiset (select em.sal,em,ename ,dep.DEPTNAME
    from table(l_emp_tab) em,table(l_dept_tab) dep
    where em.deptno=dep.deptno)
    as emp_dept_tab_type)
    into l_emp_dept_tab ;
    end;
    it is giving error as
    ORA-06550: line 43, column 25:
    PL/SQL: ORA-00923: FROM keyword not found where expected
    ORA-06550: line 39, column 5:
    PL/SQL: SQL Statement ignored

    Here is an example.
    SQL> CREATE OR REPLACE TYPE emp_rec IS OBJECT (
      2                      v_sal    NUMBER(7,2),
      3                      v_name   VARCHAR2(35),
      4                      v_empno  NUMBER(4),
      5                      v_deptno NUMBER(2)
      6                      )
      7  ;
      8  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_tab IS TABLE OF emp_rec;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE dept_rec IS OBJECT (
      2                      v_deptno NUMBER,
      3                      v_dname VARCHAR2(50)
      4                      )
      5  ;
      6  /
    Type created.
    SQL> CREATE OR REPLACE TYPE dept_tab IS TABLE OF dept_rec;
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_dept_rec IS
      2                     OBJECT (
      3                      v_sal     NUMBER,
      4                      v_name     VARCHAR2(35),
      5                      v_deptname VARCHAR2(30)
      6                      );
      7  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_dept_tab_type IS TABLE OF emp_dept_rec;
      2  /
    Type created.
    SQL> set serverout on
    SQL> DECLARE
      2    l_emp_dept_tab emp_dept_tab_type; --emp_dept_tab_type declared in database
      3    l_emp_tab      emp_tab; --emp_tab declared in database
      4    l_dept_tab     dept_tab; --dept_tab declared in database
      5 
      6    CURSOR e1 IS
      7      SELECT emp_rec(sal, ename, empno, deptno) FROM emp; --Note the type casting here
      8 
      9    CURSOR d1 IS
    10      SELECT dept_rec(deptno, dname) FROM dept; --Note the type casting here
    11  BEGIN
    12    OPEN e1;
    13 
    14    FETCH e1 BULK COLLECT
    15      INTO l_emp_tab;
    16 
    17    OPEN d1;
    18 
    19    FETCH d1 BULK COLLECT
    20      INTO l_dept_tab;
    21 
    22    SELECT CAST(MULTISET (SELECT em.v_sal, em.v_name, dep.v_dname
    23                   FROM TABLE(l_emp_tab) em, TABLE(l_dept_tab) dep
    24                  WHERE em.v_deptno = dep.v_deptno) AS emp_dept_tab_type)
    25      INTO l_emp_dept_tab
    26      FROM DUAL;
    27    FOR i IN 1 .. l_emp_dept_tab.COUNT LOOP
    28      dbms_output.put_line(l_emp_dept_tab(i)
    29                           .v_sal || '--' || l_emp_dept_tab(i)
    30                           .v_name || '--' || l_emp_dept_tab(i).v_deptname);
    31    END LOOP;
    32 
    33  END;
    34  /
    1300--MILLER--ACCOUNTING
    5000--KING--ACCOUNTING
    2450--CLARK--ACCOUNTING
    3000--FORD--RESEARCH
    1100--ADAMS--RESEARCH
    3000--SCOTT--RESEARCH
    2975--JONES--RESEARCH
    800--SMITH--RESEARCH
    950--JAMES--SALES
    1500--TURNER--SALES
    2850--BLAKE--SALES
    1250--MARTIN--SALES
    1250--WARD--SALES
    1600--ALLEN--SALES
    PL/SQL procedure successfully completed.It is just for educational purpose, because the thing you have achieved by so much programming can be done easily by simple join in the table itself.
    user10447332 Newbie
    Handle: user10447332
    Status Level: Newbie
    Registered: Oct 20, 2008
    Total Posts: 227
    Total Questions: 153 (152 unresolved) >
    What a record! and most of the time you don't care to follow/revisit the thread also!.

  • Creating a Web Service from EJB 3.0 - J2SE 5.0 Collection mapping problem

    Hi,
    Apologies if this is the wrong forum, I'm not quite sure where it fits in.
    I have some Toplink JPA entity beans that I access through a session bean. I am then trying to create a web service based on the session bean by deploying it to a 10.1.3 application server. This is based on the documentation at http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/web_services002.htm#CHDJEDDH
    The two entity beans are like:
    public class Event {
    private java.util.List<EventDetail> eventDetailList;
    public Event() {
    public void setEventDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getEventDetails() {
    return eventDetailList;
    public void addEventDetail(EventDetail eventDetail) {
    this.eventDetailList.add(eventDetail);
    public class EventDetail {
    public EventDetail() {
    The session bean has a method like:
    List<Event> listParents();
    When this is deployed to the application server I expected a complex type like ListOfEventDetail to be generated in the WSDL, as shown in http://download.oracle.com/docs/cd/B32110_01/web.1013/b28975/apptypemapping.htm#sthref966, and the Event complex type would have an element of ListOfEventDetail. Instead the Event complex type looks like this:
    <complexType name="Event">
    <sequence>
    <element name="eventDetails" type="ns1:list" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    and ns1:list appears in a different schema:
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
    <import namespace="http://wsdl/"/>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    However, if I change the getters and setters for eventDetailList in Event to setDetails and getDetails like this:
    public void setDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getDetails() {
    return eventDetailList;
    the WSDL is generated as I expected:
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    <complexType name="Event">
    <sequence>
    <element name="details" type="tns:ListOfEventDetail" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ListOfEventDetail">
    <sequence>
    <element name="item" type="tns:EventDetail" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    After messing around with various combinations of things, it seems that if the getters and setters have more than just the initial capital letter the (eg getTheThings instead of getThings) the WSDL gets messed up. Does anyone have any ideas what is going on here?

    Using <autotype> and <source2wsdd> to generate what I need. Now WL seems happy.

  • Old Photos in my Collection can no longer be seen on My iPhone

    I am using an iPhone 5S 32GB running on iOS 8 (latest update).When I am checking my collection of photos and I go to my oldest files these appear as black boxes and I cannot access them. I migrated on May to this iPhone and used iCloud for the backup (Payed for 50GB  space). I was wondering if there is any way to solve this issue or if its a Software/Update. Please help me with this since I value this photos and wouldnt want to lose them.

    See:
    * [[Images or animations do not show]]
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    It is possible that you clicked "Block Images" in the right click context menu while trying to save an image.
    *A way to see which images are blocked is to click the favicon (<i>Site Identification</i> icon) on the left side of the location bar.
    *A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    *Open the <i>Media</i> tab of the "Page Info" window.
    *Select the first image and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    *You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    *You can see all image exceptions in Tools > Options > Content: Load Images: Exceptions

  • My mac. com email can no longer be collected.

    Since I upgraded to Mavericks, I have lost the ability to collect email from my secondary mac.com account. I can still read by signing into iCloud, but not in Mail. The settings were automatically entered for me and are greyed out, so I can't change them.  Any ideas on how to solve this problem? They would be appreciated.

    Troubleshooting is a process of elimination.
    Eliminate Mail
    A few users have issues like this where Mail simply fails. You can eliminate Mail as the source of the problem by testing in Postbox and MailMate. Both have demos. If your account fails to connect in another source, then the problem is with account or an issue on your Mac.
    http://www.postbox-inc.com/
    http://freron.com 
    Thunderbird is also a free email client you can try.
    Eliminate your User's folder
    CREATE A NEW USER
    Go to System Preferences --> Create a New User in Users & Groups (Accounts. in SL) Switch to the New User by logging out under the Apple in the Menu Bar.
    Do you still see the issue?
        If yes, then the problem is with your base files.
        If no, then the problem is in your User's folder.

  • Search no longer working with image collection software

    I use both Skyscraper (unfortunately recently discontinued by Fortunate Bear) and HyperImage from Kavasoft to collect images off the Internet. Both have worked fine prior to Mavericks, but I now find that neither will collect images via a standard search using Google as the engine. I've also tried Yahoo! as the engine with the same negative results.
    I short, I have always been able to enter a parameter in either program, say "George Washington", and have the software start to collect images based on that paramater. Neither will do that now, which leads me to believe that Mavericks is somehow interfering with this functionality. If I look at the activity logs of either program, there is no activity whatsoever.
    Does anyone have any insight on this or use either of these two programs? I've tried to contact Fortunate Bear but they don't even have the program listed on their website any longer. (It's a bit strange since they just bought it last year!) I haven't yet heard back from HyperImage.
    Thanks for any input!

    Try running a repair disk permissions. This is done via the Disk Utility application. Reply if you need help to do this.
    Also, do you have another application you can scan with? Note that Preview will use Image Capture, so you need some other application. As a test, you could download Picasa from Google which works well with TWAIN scanners.
    Pahu

  • Goods Receipt Collective Slip for Mat Doc is not printing

    HI All,
    I have a strange issues. I'm trying to print collective slip for Goods Receipt which is created against of PO.
    I able to print Individual Slip when i create GR(Mat Doc) against PO with movement type 101. But I'm not able to print the Collective Slip when I create GR(Mat Doc) against PO with movement type 101. I'm saving the GR document by selecting collective slip. Error I'm getting is "The system could not create Output".
    I check the condition records in MN21, condition record is in place.
    I check in OMB5, for movement type and material document configuratio its there.
    I check in NACR, condition record is there.
    I found that In table NAST, entry for GR document created using collective slip is not available, but Individual slip GR Doc entries are there in NAST table.
    any help on this matter is highly appreciated.
    I check in SDN, Googled it, but no result.
    Thanks in Advance.

    check this
    2. Before you set up the output determination, you have to run the program RM07NCUS for each client in which you want to use the output determination function.
    This program copies the basic settings from the SAP standard client (000).
    from there:
    http://help.sap.com/saphelp_46c/helpdata/en/ed/6cec6eb435d1118b3f0060b03ca329/content.htm
    and check you have define some printer for the output.

  • Error in creation of collective invoice.

    I have an requirement to create single invoice for delivered material and return material (two line item) as a common practice in BEV Industries.
    I am trying to  maintain:
    As per standard config the criteria for collective billing are, If your sales order has:
    same Payer
    same Billing Type
    same Terms of Payments
    same Billing Date
    same Incoterms
    I want to know what billing type i should maintain for return deliveries as in common practice we need to issue credit memo for return orders?
    And please let me know what customization i require more to get a single invoice as per the below structure?
    HEADER   TOTAL AMOUNT     800USD
    ITEM                MATERIAL         QUANTITY         RETURN       PRICE
    10                        1026                    20                                   1000
    20                         1027                    10                    X            - 200
                                                      TOTAL                                   800USD
    Looking for a quick reply.

    I have an requirement to create single invoice for delivered material and return material
    Sorry your above statement is not clear to me.  Do you mean to say, when you delivered the material initially, without invoicing it has been delivered against which, you got returns?  Nevertheless, you cannot mingle PGI and PGR in one invoice
    G. Lakshmipathi

  • Issue with xsd Data type mapping for collection of user defined data type

    Hi,
    I am facing a issue with wsdl for xsd mapping for collection of user defined data type.
    Here is the code snippet.
    sample.java
    @WebMethod
    public QueryPageOutput AccountQue(QueryPageInput qpInput)
    public class QueryPageInput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class QueryPageOutput implements Serializable, Cloneable
    protected Account_IO fMessage = null;
    public class Account_IO implements Serializable, Cloneable {
    protected ArrayList <AccountIC> fintObjInst = null;
    public ArrayList<AccountIC>getfintObjInst()
    return (ArrayList<AccountIC>)fintObjInst.clone();
    public void setfintObjInst(AccountIC val)
    fintObjInst = new ArrayList<AccountIC>();
    fintObjInst.add(val);
    Public class AccountIC
    protected String Name;
    protected String Desc;
    public String getName()
    return Name;
    public void setName(String name)
    Name = name;
    For the sample.java code, the wsdl generated is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions
    name="SimpleService"
    targetNamespace="http://example.org"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    >
    <wsdl:types>
    <xs:schema version="1.0" targetNamespace="http://examples.org" xmlns:ns1="http://example.org/types"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://example.org/types"/>
    <xs:element name="AccountWSService" type="ns1:accountEMRIO"/>
    </xs:schema>
    <xs:schema version="1.0" targetNamespace="http://example.org/types" xmlns:ns1="http://examples.org"
    xmlns:tns="http://example.org/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:import namespace="http://examples.org"/>
    <xs:complexType name="queryPageOutput">
    <xs:sequence>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="accountEMRIO">
    <xs:sequence>
    <xs:element name="fIntObjectFormat" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageType" type="xs:string" minOccurs="0"/>
    <xs:element name="fMessageId" type="xs:string" minOccurs="0"/>
    <xs:element name="fIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fOutputIntObjectName" type="xs:string" minOccurs="0"/>
    <xs:element name="fintObjInst" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="queryPageInput">
    <xs:sequence>
    <xs:element name="fPageSize" type="xs:string" minOccurs="0"/>
    <xs:element name="fSiebelMessage" type="tns:accountEMRIO" minOccurs="0"/>
    <xs:element name="fStartRowNum" type="xs:string" minOccurs="0"/>
    <xs:element name="fViewMode" type="xs:string" minOccurs="0"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.org"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://example.org" xmlns:ns1="http://example.org/types">
    <import namespace="http://example.org/types"/>
    <xsd:complexType name="AccountQue">
    <xsd:sequence>
    <xsd:element name="arg0" type="ns1:queryPageInput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQue" type="tns:AccountQue"/>
    <xsd:complexType name="AccountQueResponse">
    <xsd:sequence>
    <xsd:element name="return" type="ns1:queryPageOutput"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="AccountQueResponse" type="tns:AccountQueResponse"/>
    </schema>
    </wsdl:types>
    <wsdl:message name="AccountQueInput">
    <wsdl:part name="parameters" element="tns:AccountQue"/>
    </wsdl:message>
    <wsdl:message name="AccountQueOutput">
    <wsdl:part name="parameters" element="tns:AccountQueResponse"/>
    </wsdl:message>
    <wsdl:portType name="SimpleService">
    <wsdl:operation name="AccountQue">
    <wsdl:input message="tns:AccountQueInput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    <wsdl:output message="tns:AccountQueOutput" xmlns:ns1="http://www.w3.org/2006/05/addressing/wsdl"
    ns1:Action=""/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="SimpleServiceSoapHttp" type="tns:SimpleService">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="AccountQue">
    <soap:operation soapAction=""/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="SimpleService">
    <wsdl:port name="SimpleServicePort" binding="tns:SimpleServiceSoapHttp">
    <soap:address location="http://localhost:7101/WS-Project1-context-root/SimpleServicePort"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    In the above wsdl the collection of fintObjInst if of type xs:anytype. From the wsdl, I do not see the xsd mapping for AccountIC which includes Name and Desc. Due to which, when invoking the web service from a different client like c#(by creating proxy business service), I am unable to set the parameters for AccountIC. I am using JAX-WS stack and WLS 10.3. I have already looked at blog http://weblogs.java.net/blog/kohlert/archive/2006/10/jaxws_and_type.html but unable to solve this issue. However, at run time using a tool like SoapUI, when this wsdl is imported, I am able to see all the params related to AccountIC class.
    Can some one help me with this.
    Thanks,
    Sudha.

    Did you try adding the the XmlSeeAlso annotation to the webservice
    @XmlSeeAlso({<package.name>.AccountIC.class})
    This will add the schema for the data type (AccountIC) to the WSDL.
    Hope this helps.
    -Ajay

  • BPM Idoc collection without calling the mapping in BPM

    Hi Expert,
    I have an IDOC to file scenario in which source side I have to collect multiple IDOC and map it to a single file .I am achieving it through BPM . at present I am using one multimapping and calling this mapping in the BPM under transformation step its working  fine  but due to some constraint  , Now I want to achieve it using BPM but without calling the Mapping in the BPM i.e I don't want to use Transformation step in the BPM. Is it possible ????
    Regards,
    Saurabh

    Hi Saurabh,
    If that is the case it is preferable to collect the IDocs in ECC and then send them to XI at one go.
    Cheers !
    Lokesh

Maybe you are looking for

  • Help: Photoshop CS4, Opens Adobe Help Website Automatically. Stuck in a loop.

    Hello there! I am having an issue with Adobe Photoshop CS4 (part of Creative Suite Web edition).  Any action, including switching to the Photoshop windows automatically swaps out to Firefox and opens the Adobe help website. My current action was conv

  • Erase free space  in Disk  Utilities grayed out for SSD

    Is it normal that this function (erase free space) does not work for a SSD? It is grayed out on my iMac for SSD not for the 1 TB HDD. Now that I installed Lion and Trim is working (on  original Apple SSD) in my iMac I would like to erase free space.

  • Will my outlook calender ever sync to my phone?????????????????????????????

    Starting a new thread in hopes that someone has the cure. I have tried all the cures i could find in threads and still no luck. Contacts are great but no calendar. Latest move was to completely uninstall Office 2003 and install office 2007. Tomorrow,

  • Random Movie Clips loop

    Hey there. I have a question about randomizing Movie Clips: I am attaching an example where 12 movie clips will be called into stage. (movieA1, movieA2, movieA3....) I am trying to create a situation where instead of triggering "movieA1" and so on, t

  • Sparsebundle in use, error codes, Mountain Lion problems!

    Ok ,Apple has another bad experience on its list. So called" smooth upgrade" to Mountain Lion, clearly breaks automated back up on Time Machine. I have rebooted, and still no sustained back up. What a farce. Apple is becoming the old Microsoft.. upgr