Does Complex types are supported by UTL_DBWS.

I'm calling the web service from the pl/sql program, I'm using UTL_DBWS package for my web service callout, does this package support complex types.
I'm sending 3 strings as input parms and expecting array as result.
If it supports complex types , can any one post the example.
If it does not support the complex types, what is the best way to do it?
Thanks in advance.
Gona.

Hey,
Did you manage to solve this? I have the same error; xx does not contain port, while the port seems to be the same as in the ?wsdl document..

Similar Messages

  • Whether timestamp types are supported in oracle dynamic sql?

    Oracle has two dynamic sql models. The old and the new ANSI model. I wish to know where and how the timestamp oracle data types are supported.
    I am having trouble setting the timestamp data through pro*c using old dynamic sql. I tried to set it to raw 11 bytes and use type 187 (timestamp) and it segfaults! I try now to set it to string type and oracle says invalid month! I tried even using nls_timestamp_format setting but no luck. Obviously some thing is amiss.
    Can some body help me?
    I need this info rather urgently.
    Thanks.

    Yes it is possible
    TO_DATE(:variable,'FORMAT') in dynamic SQL

  • What image types are supported in iMovie?

    I'm going on a trip with a group of youth, and I'm wanting to send video updates back to their family members during the trip. I've gotten an image to sync to my iPhone 4, and I can import it into iMovie, but while it shows the photo at the bottom, it won't actually show the image in the movie preview area?
    Importing photos that were taking on the iPhone works, as does taking a photo directly from iMovie, but I want to add some special graphics into the Movie itself.
    Is there a way to tell what formats are supported? The image was made in gimp, 700x300 @ 150dpi exported as a PNG and as a JPG, but neither of them work.

    I'm not sure if you tried this, but here it goes:
    _ Using your Mac, make a copy of your Graphic / image to your Desktop
    _ Launch "Preview" on your Mac
    _ Save the file as a JPG
    _ Quit "Preview"
    _ Copy this newly saved JPG to "iPhoto"
    _ Quit "iPhoto"
    _ Launch "iTunes"
    _ Plug your iPhone4 via USB
    _ From "iTunes", select the iPhone4 and go to the Photos Tab.
    _ Make sure the Event or Album of the Graphics/iMage you created above, is Checked
    _ Sync your iPhone
    Now from your iPhone4, verify that you can add this photo into iMovie.

  • Is complex type request supported by web service data set?

    I just installed OBIEE 11g and tried to create data models with web services. It works fine for web services that takes simple data types and returns complex data types. But if the request to the web service is a complex type, it doesn't work. On the Edit Data Set page, I selected "true" for Complex Type. After I entered WSDL url, it populated the Web Service dropdown, but not the Method dropdown. Any ideas?
    The other problem I am having with web service data set is that it seems to ignore the attributes in the xml response. Only xml element is recognized.
    e.g. in <trigger priority="0" font_size="0"/>, priority and font_size are ignored in the data set. Please advise. Thanks.

    Hi,
    In this usecase , you can DnD the <serviceOperationName>_parameters as an ADF from. Then DnD the operation as a method. The methods input arg value is automatically set to the parameterIterator.currentRow.DataProvider. This works fine.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • A Way to Tell Which rules (filter types) are supported by iTunes Match

    There are tons of posts about issues with iTunes Match smart playlists not working as expected. I am facing these issues myself--hearing the same song several days in a row even when the playlist rule says to exclude if played within 60 days.
    Anyway, I think I found a way to tell which rules Apple is intending to support. Device will output to its console the unsupported rule. One way to view the console is with iPhone Configuration Utility.
    1. Install iPhone Configuration Utility (iPCU) - https://www.apple.com/support/iphone/enterprise/
    2. Attach your iTunes Match enabled iOS device.
    3. In iPCU, select the device (under DEVICES), then pick the 'Console' tab on top.
    4. Change any smart playlist in iTunes. This seems to cause it to sync the change to iCloud immediately.
    In my case I was seeing this:
    Oct  2 14:18:03 Kris-iPhone-4S itunescloudd[6392] <Warning>: unhandled match type: unfilterable type kITDBTrackField_CloudStatus (134)
    Oct  2 14:18:03 Kris-iPhone-4S itunescloudd[6392] <Warning>: unhandled match type: unfilterable type kITDBTrackField_CloudStatus (134)
    Oct  2 14:18:05 Kris-iPhone-4S itunescloudd[6392] <Warning>: unhandled match type: unfilterable type kITDBTrackField_CloudStatus (134)
    Oct  2 14:18:05 Kris-iPhone-4S itunescloudd[6392] <Warning>: unhandled match type: unfilterable type kITDBTrackField_CloudStatus (134)
    I had two Smart Playlists using 'iCloudStatus is' rule. When I deleted one of them I got
    Oct  2 14:19:51 Kris-iPhone-4S itunescloudd[6402] <Warning>: unhandled match type: unfilterable type kITDBTrackField_CloudStatus (134)
    Oct  2 14:19:51 Kris-iPhone-4S itunescloudd[6402] <Warning>: unhandled match type: unfilterable type kITDBTrackField_CloudStatus (134)
    When I deleted the other, I didn't have any entries like this.
    (I am guessing that they are removed in pairs because I have two devices with iTunes Match? Or there is one playlist on the device and one in the cloud? Not sure, but anyway...)
    Despite this find, there are still problems. I am having issues even with playlists that didn't have this rule, so I'm not surprised.
    It seems to ignore these rules (that I care about):
    - Is Checked (completely ignores)
    - Last Played - not in the last - X (seems to sometimes work...I am hearing the same songs every day
    Also after a few songs, it seems to get stuck on one song as if Repeat 1 is being used, but it's not...several times a day.

    When I wrote this I was hoping there were only a few issues with iTunes Match, iOS 6, and Smart Playlists. I was still trying to troubleshoot them and hoped to live with the limitations.
    However, the problems are very fundamental. Basic stuff like using Last played and random as criteria are just not working. iTunes and iPhone playlists don't match at all, which is odd if all the logic is in the cloud.
    I filed 4 bugs about 3 weeks ago and none have been updated.
    Today I contacted Apple Support and after a few minutes wait, the rep acknowledged that iTunes Smart Playlists aren't really working as expected today and there is no estimated date when it will work. She was not sure if this was a new problem for iOS 6.
    We agreed that the best thing might be to request a refund. Here's how:
    http://expresslane.apple.com
    iTunes>iTunesStore>Purchases,Billing,andRedeption>"The topic is not listed", etc...
    I also mentioned that this page is misleading:
    http://www.apple.com/itunes/itunes-match/
    Will my playlists sync across devices?
    Yes. When you create, edit, or delete a playlist on your Mac, PC, iPhone, or iPad, those changes will sync across any iTunes Match-enabled device you own.
    My guess is that when the new version (major update) of iTunes is released, this stuff will be changed and supported again. The number of people using Smart Playlist on iTunes Match must not be important enough.

  • Which document types are supported?

    Hi!
    I'm trying to answer an RFI and need to specify a list of supported document types that can be indexed. The answer "more than 150 file formats..." is not good enough. There must be a list somewhere...
    Regards Mikael

    Check the Text reference manual for the complete list: http://tahiti.oracle.com/pls/db901/db901.docindex#index-TEX

  • Overlaying text -- what text types are supported?

    Trying to pull up from a Microsoft Word document and Quicktime says it doesn't support this type of file... any ideas? Is there a simpler way to overlay text onto the video? I'm trying to add lyrics.

    "Plain" text (.txt format).

  • What memory types are supported on Tecra A4

    Can anyone tell me the types of memory supported by the model Tecra A4 PTA40?
    thanks

    Tecra A4 supports 200-Pin PC2700 (333Mhz) DDR SODIMM memory modules.
    Please refer to this link:
    http://www.orcalogic.co.uk/asp/prodtype.asp?prodtype=11719&ft=m&st=3

  • BPEL PM supports Complex Type?

    In my BPEL process flow, I am trying to invoke a web service operation with Response message an array of Complex Type. When I tried to look the output of the operation from the debug mode of the BPEL Console, I got a message "Error:internal bug (#321) object:id0 not found in object store".
    The operation is defined as
    <wsdl:operation name="getEffects">
    <wsdlsoap:operation soapAction="" />
    <wsdl:input name="getEffectsRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:IBCDS" use="encoded" />
    </wsdl:input>
    <wsdl:output name="getEffectsResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:IBCDS" use="encoded" />
    </wsdl:output>
    </wsdl:operation>
    the Complex Types are defined as
    <complexType name="Effect">
    <sequence>
    <element name="ID" nillable="true" type="xsd:string" />
    <element name="classification" nillable="true" type="xsd:string" />
    <element name="coe" type="xsd:byte" />
    <element name="com" type="xsd:byte" />
    <element name="country" nillable="true" type="xsd:string" />
    <element name="dateMod" nillable="true" type="xsd:dateTime" />
    <element name="deClassDate" nillable="true" type="xsd:dateTime" />
    <element name="def" type="xsd:byte" />
    <element name="description" nillable="true" type="xsd:string" />
    <element name="det" type="xsd:byte" />
    <element name="infl" type="xsd:byte" />
    <element name="name" nillable="true" type="xsd:string" />
    <element name="reliability" type="xsd:double" />
    <element name="tra" type="xsd:byte" />
    </sequence>
    </complexType>
    <complexType name="ArrayOfEffect">
    <complexContent>
    <restriction base="soapenc:Array">
    <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:Effect[]" />
    </restriction>
    </complexContent>
    </complexType>
    and the input/output for the operation are define as
    <wsdl:message name="getEffectsRequest" />
    <wsdl:message name="getEffectsResponse">
    <wsdl:part name="getEffectsReturn" type="impl:ArrayOfEffect" />
    </wsdl:message>
    My project involves lots of Complex Type data, I like to know if the current BPEL PM support the Complex Type that I just described?

    Hi June,
    BPEL PM Supports complex type return. I am not why you see this error in debugger. can you enable the bpel domain debug (under BPEL Console-->Manage Domain-->Logging) and send us the debug log? Is it possible to send your process (including wsdl + xsd) to our support email at [email protected]?

  • Complex types arrays in webservices using custom codec

    In WLS8.1, I use the arrays serializing classes generated by the "servicegen" task,
    for the arrays of a complex type, and I register to the TypeMapping registry
    the complex type specifying as serializer/deserializer the custom codec that I
    developed. (The custom codec extends the AbstractCodec class)
    The problem occurs when I try to execute a service that has like return type an
    array of my complex type. In fact the response envelope is incorrectly built,
    containing before the tag result(that includes at his turn, the serialized array)
    once again the array serialized.
    So at the parsing time of the envelope, the following error occurs:
    … But was not able to find a Part that is registered with this Message which corresponds
    to this SOAPElement. The name of the element should be one of these[simpleTypeBDTs]
    at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:445)
    at weblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.java:74)
    at weblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.java:125)
    at weblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:513)
    at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:150)
    at weblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:125)
    at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:74)
    at weblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java:98)
    at weblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebServiceServlet.java:274)
    at weblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:393)
    at weblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServlet.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6291)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception
    during processing: javax.xml.soap.SOAPException: Found SOAPElement
    that seems to be normally because the encountered tag is not the result tag like
    expected, but the starting tag of the first element of the resulted array.
    It’s the correct way, the way I used? For my complex type is imperative to use
    a custom codec, because my complex types are the nested complex types.

    I opened a case to bea support, (case 426018 ) but I didn't obtain the solution
    till now.
    If you can access the case at the support.bea.com site, it contains a simple
    test case explaining my problem.
    regards,
    mihaela
    "manoj cheenath" <[email protected]> wrote:
    In fact the response envelope is incorrectly built,
    containing before the tag result(that includes at his turn, the serializedarray)
    once again the array serialized.I suspect this is due to a bug in 8.1 and it is fixed since. Please
    contact support for a patch.
    For my complex type is imperative to use
    a custom codec, because my complex types are the nested complex types.WLS can handle nested complex types. You need not write
    custome codec to handle this case.
    Regards,
    -manoj
    http://manojc.com
    "miki tirnacop" <[email protected]> wrote in message
    news:[email protected]...
    In WLS8.1, I use the arrays serializing classes generated by the"servicegen" task,
    for the arrays of a complex type, and I register to the TypeMappingregistry
    the complex type specifying as serializer/deserializer the custom codecthat I
    developed. (The custom codec extends the AbstractCodec class)
    The problem occurs when I try to execute a service that has like returntype an
    array of my complex type. In fact the response envelope is incorrectlybuilt,
    containing before the tag result(that includes at his turn, the serializedarray)
    once again the array serialized.
    So at the parsing time of the envelope, the following error occurs:
    . But was not able to find a Part that is registered with this Messagewhich corresponds
    to this SOAPElement. The name of the element should be one ofthese[simpleTypeBDTs]
    atweblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:445)
    atweblogic.webservice.core.handler.InvokeHandler.handleRequest(InvokeHandler.j
    ava:74)
    atweblogic.webservice.core.HandlerChainImpl.handleRequest(HandlerChainImpl.jav
    a:125)
    atweblogic.webservice.core.DefaultOperation.process(DefaultOperation.java:513)
    at weblogic.webservice.server.Dispatcher.process(Dispatcher.java:150)
    atweblogic.webservice.server.Dispatcher.doDispatch(Dispatcher.java:125)
    at weblogic.webservice.server.Dispatcher.dispatch(Dispatcher.java:74)
    atweblogic.webservice.server.WebServiceManager.dispatch(WebServiceManager.java
    :98)
    atweblogic.webservice.server.servlet.WebServiceServlet.serverSideInvoke(WebSer
    viceServlet.java:274)
    atweblogic.webservice.server.servlet.ServletBase.doPost(ServletBase.java:393)
    atweblogic.webservice.server.servlet.WebServiceServlet.doPost(WebServiceServle
    t.java:244)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1053)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :387)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :305)
    atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:6291)
    atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
    t.java:317)
    atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:97)
    java.rmi.RemoteException: SOAPFault:javax.xml.rpc.soap.SOAPFaultException: Exception
    during processing: javax.xml.soap.SOAPException: Found SOAPElement
    that seems to be normally because the encountered tag is not the resulttag like
    expected, but the starting tag of the first element of the resultedarray.
    It's the correct way, the way I used? For my complex type is imperativeto
    use
    a custom codec, because my complex types are the nested complex types.

  • Which Query features are supported

    Hello together,
    does somebody know if there is a existing list of the supported Bex Query features
    with the new BICS connectivity (Direct connect from Xcelsius 2008 to BW Queries)
    Thank you
    Best Regards
    Mike

    Hello Mike,
    There will soon be a detailed article on this, available from [https://wiki.sdn.sap.com/wiki/display/BOBJ/Xcelsius2008andSAPNetWeaverBIConnection] .
    Going through your list, here are quick comments :
    SAP Variables - Variable Type
    - Single Value
    - Multiple Single Value
    - Range Value
    All variable types are supported
    Text Variable
    - Keydate Variable
    - Currency Variable
    All of them are supported
    Query Features
    - Support for single Hierarchies
    - Support for multiple Hierarchies
    You will get prompted by a hierarchy variable but overall, hierarchy support is limited because there is no built-in tree control in Xcelsius ; there are components available from Partners though.
    - Support for Calculated Keyfigures
    - Support for Restricted Keyfigures
    Yes, supported
    - Support for Multiple Structures
    - Support for Formulas
    - Support for Selections
    need to double check the two structure use case
    - Support for Filter
    Yes, supported
    - Support for Display Attributes
    - Support for Conditions
    Yes, supported
    - Support for Exceptions
    No, not supported : BEx query is used as a data source for Xcelsius, any visualization setting (like alert colors with exception) are handled within Xcelsius. Exception Aggregations are however supported.
    - Support for Navigational Attributes
    - Support for compounded characteristics
    Yes, supported
    - Support for unbalanced Hierarchies
    - Support for ragged Hierarchies
    see comment on hierarchies above
    patrice

  • Complex type not permitted !!

    Hi,
    I have created a Data Type FileInput->Record->Row->First Name, Last Name.
    Activated this Data type FileInput.
    Now when I try to create another data type FileOutput and assign the Type as FileInput I get a message box saying "Complex type not permitted (restrictions and enhancements of complex types are not supported)".
    When I try to change the Category of FILEINPUT, I am unable to do so as it is not editable.
    Please let me know where am I going wrong.
    Apologize if this is a very silly question, bcoz I am new to XI.
    Thanks in advance.
    Regards,
    Vivek

    BTW
    assigning types to another data types
    might be used if the assigned structure is
    a smaller one let me give you an example:
    data type - <b>NameDT</b> :
    name
    secondname
    surname
    data type - <b>PersonDT</b>:
    NameDT (name, secondname, surname)
    Address
    year
    Reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/04623c4f69b712e10000000a114084/content.htm
    Regards,
    michal

  • Web service call problem with complex types input

    We are trying to call a web service and pass as parameter
    some complex types. When invoking the web service everything works
    well on flex side, but on the server side the input parameters we
    get from flex are not correct - complex type is removed and the
    elements of the complex type are sent. See the example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="ws_id" wsdl="link" useProxy="false"
    fault="wsFault(event)">
    <mx:operation id="op_id" name="op"
    result="wsResult(event)">
    <mx:request>
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    </mx:Application>
    on server side we get this:
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameters>
    Instead of :
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    Any idea how is it possible to send complex type as web
    service input from flex ?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • Does the Airport Extreme support HP cp1025?  There are two versions of the printer the cp1025 and cp1025nw.  I have the cp1025, and can't set it up. Is there a list of AE/bonjour supported printers?

    Does the Airport Extreme support HP cp1025?  There are two versions of the printer the cp1025 and cp1025nw.  I have the cp1025, and can't set it up.
    Is there a list of AE/bonjour supported printers?

    Bonjour is a transport protocol. It also provides a means of advertising a printer on a network.
    Any list that shows printers that support Bonjour is generally an indication that the printer itself supports this protocol, meaning that when it is connected to the network, you can see it in your default Add Printer browser. In the case of the Airport, it also supports the Bonjour protocol and will advertise any printer that is connected to its USB port. The printer itself does not have to support Bonjour. The Airport performs this function. And like many lists, they are not kept up to date because each vendor releases several new models every quarter or half year.
    There are definitely printers that don't work when connected to the USB port of the Airport. And this is more that the printer driver does not support this type of connection, mainly due to the port not supporting bidirectional communications which some printer drivers require. The Canon UFR2 and CAPT drivers are a good example of this limitation. But this is only the Mac drivers. The Windows equivalent drivers work fine when the printer is connected to the USB port.
    So with you having an issue with the Windows drivers then I don't think it is a case of them not supporting Bonjour but more to do with some other component not functioning when the printer is shared by the Airport. The error message appears to have more to do with local user rights which is probably driver related. I've seen some printers that you cannot use the Windows Add Printer wizard to add them. Instead you have to use the vendors utility because of some proprietary protocol being used. Maybe this is one of those?
    Now that you seen how it should work based on when you used the C3188, if you still get that error message at point 6 of adding the C1025 then it would suggest a driver compatibility issue with the Airport - which is not necessarily a Bonjour compatibility issue. So unless there was another model of HP printer driver that you could use to this C1025 and that was also compatible with the USB port of the Airport Extreme, then I would suggest your best action is to replace the printer with a model that does work. Maybe even one that has builtin wireless so you don't have to use the USB port of the Airport.

  • Does the advanced queue support setting the pay load type as array/table?

    Does the advanced queue support setting the pay load type as array/table?
    if yes, how to write the enqueue script, I tried to write the following the script to enqueue, but failed, pls help to review it . Thanks...
    ------Create payload type
    create or replace TYPE "SIMPLEARRAY" AS VARRAY(99) OF VARCHAR(20);
    ------Create queue table
    BEGIN DBMS_AQADM.CREATE_QUEUE_TABLE(
    Queue_table => 'LUWEIQIN.SIMPLEQUEUE',
    Queue_payload_type => 'LUWEIQIN.SIMPLEARRAY',
    storage_clause => 'PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 TABLESPACE USERS',
    Sort_list => 'ENQ_TIME',
    Compatible => '8.1.3');
    END;
    ------Create queue
    BEGIN DBMS_AQADM.CREATE_QUEUE(
    Queue_name => 'LUWEIQIN.SIMPLEQUEUE',
    Queue_table => 'LUWEIQIN.SIMPLEQUEUE',
    Queue_type => 0,
    Max_retries => 5,
    Retry_delay => 0,
    dependency_tracking => FALSE);
    END;
    -------Start queue
    BEGIN
    dbms_aqadm.start_queue(queue_name => 'LUWEIQIN.SIMPLEQUEUE', dequeue => TRUE, enqueue => TRUE);
    END;
    -------Enqueue
    DECLARE
    v_enqueueoptions dbms_aq.enqueue_options_t;
    v_messageproperties dbms_aq.message_properties_t;
    p_queue_name VARCHAR2(40);
    Priority INTEGER;
    Delay INTEGER;
    Expiration INTEGER;
    Correlation VARCHAR2(100);
    Recipientlist dbms_aq.aq$_recipient_list_t;
    Exceptionqueue VARCHAR2(100);
    p_queue_name VARCHAR2(40);
    p_msg VARCHAR2(40);
    p_payload LUWEIQIN.SIMPLEARRAY;
    BEGIN
    p_payload(1) := 'aa';
    p_payload(2) := 'bb';
    SYS.DBMS_AQ.ENQUEUE(queue_name => 'LUWEIQIN.SIMPLEQUEUE',enqueue_options => v_enqueueoptions, message_properties => v_messageproperties, msgid => p_msg, payload => p_payload);
    END;
    ------Get error
    Error starting at line 1 in command:
    DECLARE
    v_enqueueoptions dbms_aq.enqueue_options_t;
    v_messageproperties dbms_aq.message_properties_t;
    p_queue_name VARCHAR2(40);
    Priority INTEGER;
    Delay INTEGER;
    Expiration INTEGER;
    Correlation VARCHAR2(100);
    Recipientlist dbms_aq.aq$_recipient_list_t;
    Exceptionqueue VARCHAR2(100);
    p_queue_name VARCHAR2(40);
    p_msg VARCHAR2(40);
    p_payload LUWEIQIN.SIMPLEARRAY;
    BEGIN
    p_payload(1) := 'aa';
    p_payload(2) := 'bb';
    SYS.DBMS_AQ.ENQUEUE(queue_name => 'LUWEIQIN.SIMPLEQUEUE',enqueue_options => v_enqueueoptions, message_properties => v_messageproperties, msgid => p_msg, payload => p_payload);
    END;
    Error report:
    ORA-06550: line 17, column 3:
    PLS-00306: wrong number or types of arguments in call to 'ENQUEUE'
    ORA-06550: line 17, column 3:
    PL/SQL: Statement ignored
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause: Usually a PL/SQL compilation error.
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    but when I use the following script to enqueue get error. Pls help to review. Thanks...
    DECLARE
    v_enqueueoptions dbms_aq.enqueue_options_t;
    v_messageproperties dbms_aq.message_properties_t;
    p_queue_name VARCHAR2(40);
    Priority INTEGER;
    Delay INTEGER;
    Expiration INTEGER;
    Correlation VARCHAR2(100);
    Recipientlist dbms_aq.aq$_recipient_list_t;
    Exceptionqueue VARCHAR2(100);
    p_queue_name VARCHAR2(40);
    p_msg VARCHAR2(40);
    p_payload LUWEIQIN.SIMPLEARRAY;
    BEGIN
    p_payload(1) := 'aa';
    p_payload(2) := 'bb';
    SYS.DBMS_AQ.ENQUEUE(queue_name => 'LUWEIQIN.SIMPLEQUEUE',enqueue_options => v_enqueueoptions, message_properties => v_messageproperties, msgid => p_msg, payload => p_payload);
    END;
    ------Get error
    Error starting at line 1 in command:
    DECLARE
    v_enqueueoptions dbms_aq.enqueue_options_t;
    v_messageproperties dbms_aq.message_properties_t;
    p_queue_name VARCHAR2(40);
    Priority INTEGER;
    Delay INTEGER;
    Expiration INTEGER;
    Correlation VARCHAR2(100);
    Recipientlist dbms_aq.aq$_recipient_list_t;
    Exceptionqueue VARCHAR2(100);
    p_queue_name VARCHAR2(40);
    p_msg VARCHAR2(40);
    p_payload LUWEIQIN.SIMPLEARRAY;
    BEGIN
    p_payload(1) := 'aa';
    p_payload(2) := 'bb';
    SYS.DBMS_AQ.ENQUEUE(queue_name => 'LUWEIQIN.SIMPLEQUEUE',enqueue_options => v_enqueueoptions, message_properties => v_messageproperties, msgid => p_msg, payload => p_payload);
    END;
    Error report:
    ORA-06550: line 17, column 3:
    PLS-00306: wrong number or types of arguments in call to 'ENQUEUE'
    ORA-06550: line 17, column 3:
    PL/SQL: Statement ignored
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause: Usually a PL/SQL compilation error.
    *Action:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for