Error using JAX-WS to consume a WS that has more than one parameter

I am trying to create a web service proxy in JDeveloper using JAX-WS for an OAM web service from a WSDL (identity/oblix/WebServices/CompositeWebServices/WSDL/um_view_interface.wsdl). I received the following error when I try to run the proxy:
Exception in thread "main" com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: SEI test.profile.OblixIDXMLPortType has method oblixIDXMLUmView annotated as BARE but it has more than one parameter bound to body. This is invalid. Please annotate the method with annotation: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
at com.sun.xml.ws.model.RuntimeModeler.validateDocBare(RuntimeModeler.java:1267)
at com.sun.xml.ws.model.RuntimeModeler.processDocBareMethod(RuntimeModeler.java:1256)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:628)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:416)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:267)
at com.sun.xml.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:715)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.buildRuntimeModel(WLSProvider.java:427)
at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:703)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:347)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:409)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:330)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:312)
at javax.xml.ws.Service.getPort(Service.java:92)
at test.profile.OblixIDXMLService.getOblixIDXMLPort(OblixIDXMLService.java:79)
at test.profile.OblixIDXMLPortClient.main(OblixIDXMLPortClient.java:23)
Process exited with exit code 1.
It seems like the OAM web service (um_view_interface.wsdl) is not WS-I BP 1.1 compliant. It expects two elements under the body. WS-I BP 1.1 specifies that there should be only one child in the body of the element.
The expected request body would look like this, there are two elements under the body:
<soapenv:Body>
<authentication xmlns="http://www.oblix.com/">
<login>loginname</login>
<password>pass</password>
<domain>dc=test,dc=org</domain>
</authentication>
<request application="userservcenter" function="view" mode="dataonly" version="NPWSDL1.0" xmlns="http://www.oblix.com/OblixXMLLocalSchema">
<params xmlns="">
<ns1:uid xmlns:ns1="http://www.oblix.com/">cn=tester,cn=Users,dc=test,dc=org</ns1:uid>
</params>
</request>
</soapenv:Body>
Has anyone encountered the similar problem? Is there a solution to this problem?
Your help is appreciated!

Can u pls share ur solution if u have found a way 2 create a web service with 2 ports.I have not yet found a solution so far and nobody reacted to all my posts in the different fourms. It seems nobody is implementing web services with two ports using the EJB annotations technology.

Similar Messages

  • Use of layout when more than one parameter - Error Missing Parameter Values

    Hi,
    Is it possible to use a crystal report which has more than one parameter as the layout for the bill of materials report.
    I have 3 parameters
           1. DocKey@       The Bill of Materials to be printed
           2. Number of levels to be printed
           3. type of levels to print.
    When I try to print it gives me the error Missing Parameter Values.
    I have tried changing the DocKey@ to CodeKey@ but the same error.
    Does anyone now where to find a list of these tokens?
    Thanks
    Chris

    I looked at the crystal report conversion to try to find what parameters it used and found none.
    I have managed to create and use a crystal report to replace the production order using DocKey@ as the parameter.  This works within SAP.  However I have converted the system production order to crystal reports and from the converted report I cannot see any parameters at all.
    How and where can you find out what paramters you need to use to replace any PLD report?  Several reports have multiple selection criteria before the report prints.  How can you find out what their tokens are called?  I am starting to pull my hair out.  I am getting great help from this forum, but do you know any documentation which actually explains this area.
    Thanks
    Chris

  • An operation has more than one setup activity-error message

    Hi All,
    I have a queue which is failing and giving error message "An operation has more than one setup activity".
    I have  debugged it but of no use.
    In SAP R3 planned order data is created and is being sent to APO system through a CIF interface in queue.
    In APO system,planned order data is integrated to process order,during this they are getting the subject mentioned error.
    Kindly help me how to rectify this error.
    Please help...Thanks in advance.

    Hi,
    Back again...hopefully below should solve your issue.
    Check if any of the co-product (of the main assembly) has GR processing time. Are there any phantom component in the BOM, if yes, please check the co-products in phantom assembly as well.
    Any co-products /phantom assembly should be assigned to APO related Produce phase.
    Otherwise, you can remove the GR processing time for co-products (make it zero) and sync the master data and then try.
    This should solve the issue.
    Let know if this helps.
    Regards,
    NR

  • How to pass more than one parameter using common...

    Hi,
    I am using ODP.NET with my 2005 VB
    I want to create function from where I can pass more than one parameter to execute SP, or query just like i created for SQL SERVER as below
    Public shared Function CreateParameter(ByVal paramname As String, ByVal paramvalue As Object) As DbParameter
    Dim param As DbParameter
    param = New SqlParameter
    param.ParameterName = paramname
    param.Value = paramvalue
    Return param
    End Function
    Public Shared Function ExecuteQuery(ByVal sql As String, ByVal commtype As CommandType, ByVal ParamArray parameter As DbParameter())
    Dim cmd As DbCommand = New SqlCommand()
    cmd.Connection = OpenConnection()
    cmd.CommandType = commtype
    cmd.CommandText = sql
    cmd.Parameters.AddRange(parameter)
    Dim RetVal As Integer = cmd.ExecuteNonQuery()
    Return RetVal
    End Function
    specially part is in bold to be converted
    I tried like but oracleCommand.parameters doesnt support AddRange
    please help me out
    Regards

    Hello,
    I used the following way:
    pCommand.CommandText = "Update " + sDataTable + " set "
    + sColumnName + " = :1 ";
    pCommand.Parameters.Add("ValueToDb",
    this.DefaultDbType,
    this.m_Value,
    System.Data.ParameterDirection.Input);
    Of course, you can add :2,... to your command text, too.
    The way back is:
    sEndOfTheClause += " RETURNING " + sDataTable + "." + sColName + " INTO :iNewValue";
    pCommand.CommandText = ... + sEndOfTheClause;
    pCommand.Parameters.Add("iNewValue", this.DefaultDbType,
    ParameterDirection.Output);
    bool bReturn = (pCommand.ExecuteNonQuery() != 0);
    if ((bReturn == true) && (pCommand.Parameters.Count > 0))
    this.Value = DataService.Convert<DATA_TYPE>(pCommand.Parameters[0].Value);
    ....

  • How to choose which one to use when using handoff if one has more than one phone with different network

    I am using 2 iPhone with 2 different network. How to choose which phone to use when making a call.

    Are you confirming your POP account is selected as the sending email account before the message is sent?
    And regardless if the email is a new email or is replying to or forwarding an email received by the POP account and cofirming the POP acconut is selected as the sending email account, the message is sent by the Gmail account?
    All message sent by the POP account are sent by the Gmail account?
    If so, delete the Gmail account from your iPad and test if a message sent with your POP account which will be the only email account available with the iPad's Mail app is recieved from your POP account/address.
    If not, something else is wrong or on play that has nothing to do with the iPad.

  • How to show all data when using more than one parameter?

    Hi All,
    I used a query like this to show the data in a report:
    select col1, col2 // col1 and col2 are columns of tabale tab1
    from tab1
    where
    tab1.col1 =
    (case when :P_COL1 IS NOT NULL then // :P_COL1 IS A USER PARAMETER TO EQUAL COL1
    :P_COL1 ELSE tab1.col1
    end)
    AND TAB1.COL3 =
    (case when :P_COL3 IS NOT NULL then // :P_COL3 IS A USER PARAMETER TO EQUAL COL3
    :P_COL3 ELSE tab1.col3
    end)
    The problem is when I run the report with paramters values or not, It shows the data which is not null for both col1 and col3.
    That is when the value of col1 or col3 is null the report would not return that record!
    I want the report to show all data not only values which is not null!
    How to do this?

    Rainer,
    That where clause will fail when col1 in the table is null and the parameter has the dummy value. Consider the following:
    variable p_col1 varchar2
    exec :p_col1 := 'yourdummyvalue';
    select
    from
         select 'yourdummyvalue' col1 from dual
         union all
         select 'other' from dual
         union all
         select null from dual
         union all
         select 'X' from dual
    ) tab1
    where nvl(tab1.col1,'yourdummyvalue') = nvl(nvl(:p_col1,tab1.col1),'yourdummyvalue')In this case, the query returns the row with null and the row with 'yourdummyvalue', where only the row with 'yourdummyvalue' should be returned.
    You must do something like this:
    where ( :p_col1 is null or ( :p_col1 = tab1.col1 ) )That one is the simplest and does not need a dummy value. Here are some other more complicated examples:
    where nvl( :p_col1, 'yourdummyvalue' ) = decode( :p_col1, null, 'yourdummyvalue', tab1.col1 )or this:
    where nvl( :p_col1, 'yourdummyvalue' ) = nvl2( :p_col1, tab1.col1, 'yourdummyvalue' )In the last 2 cases, it will not matter if the dummy value exists in the data, but they are unnecessarily complex.
    Kurz

  • How to Import Excel 2007 worksheet that has more than 255 columns into SQL Server 2008 table using SSIS 2008.

    I am using Excel source which uses Microsoft ACE 12.0 OLE DB provider, this only allows the first 255 columns to be imported and not the rest.
    I need to export all the columns into the table .
    Any pointers to this is greatly appreciated

    If you can use third-party solutions, check the commercial COZYROC Excel adapters:
    Excel Connection Plus Manager
    Excel Source Plus
    Excel Destination Plus
    Excel Task
    The enhanced components can be used both under 32bit and 64bit modes and doesn't exhibit the 255 columns limitation.
    SSIS Tasks Components Scripts Services | http://www.cozyroc.com/

  • Using "Next style" with the same paragraph style for more than one paragraph

    Hi.
    I have been using paragraph styles with the "next style" option, it's a huge help. But I need a bit more. So I have the following paragraph structure: ABCCCABCCCAB...
    I defined paragraph styles for each kind of paragraph, then in paragraph style A, I added paragraph style B as the next style, and so on. However, when I get to paragraph style C I reach a dilemma. Should I define the next style as the same, or define three paragraph C styles (C1, C2 and C3), link them to each other with next style, and then loop the C3 style into the A style again?
    My hope is that there is a way, something like the nested style options, that allows me to define that style C should be used for 3 paragraphs and then the next style becomes style A again.
    Thanks.

    You just need two styles, almost identical, you can duplicate one.  The only
    difference is one has the next paragraph c and one has the next paragraph
    a.  After that I don't see the problem.

  • Can I use Adobe Premiere and Photoshop (with cloud license) on more thn one computer.

    Can I use Adobe Premiere and Photoshop (with cloud license) on more than one computer? WHen on the oroad I would like to use it n my laptop, while I installed on the desktop.

    Hi Kasiah,
    As per the EULA accepted while you launch Adobe applications you can download & install on 2 systems but can use on one at the same time.
    Source:http://www.adobe.com/in/products/creativecloud/faq.html
    Let me know if you have any questions on this.
    Cheers~!
    -Mandhir

  • Problem with closing other firefox windows when window in use has more than 1 tab open

    If I have multiple firefox windows open, and the one that I am using has more than one tab open, when I try to close one of the windows that I am not using by hovering over the firefox icon on the taskbar, then clicking the cross on the other windows, a message appears asking me if I want to close a window with more than one tab open. This means that firefox is trying to close the window that I'm using, not the one I'm trying to close. Please note this only happens when I hover over the icon on the taskbar then click the cross for the window I want to close. If I open the window properly, then click the cross on the window itself, it works fine.
    Just wanted to know if anyone else has this problem, and if they do, then mozilla should probably fix it in their next update, it's getting really annoying now

    I can't find a bug on file for this on https://bugzilla.mozilla.org/ (although there are many taskbar-related issues under review).
    (1) Just to confirm, do you both have "Show tab previews in the Windows taskbar" turned off here:
    orange Firefox button (or Tools menu) > Options > Tabs
    (2) Have you tried disabling Firefox use of hardware graphics acceleration?
    You usually need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    orange Firefox button (or Tools menu) > Options > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    If you restart Firefox, do you notice any changes?

  • Error using pretrigger when capturing more than one channel

    I am having problems acquiring data with pretrigger samples when capturing more than one channel, using NI-PXI-6071E hardware and Labview's Analog Input VIs (Legacy NI-DAQ).
    My goal is to trigger on one signal, while capturing another. Unfortunately, I cannot use the PFI0 for external triggering, as our cables/hardware have already been built, so I must use an analog input channel as the trigger. I understand that to do so I must capture both channels, and the channel that I wish to trigger off of must be the first channel in the list.
    If I trigger and capture on the same channel (tried 1-4) then it
    works great, regardless of the number of pre-trigger samples set. If I
    capture more than one channel (passing the trigger channel first), with no pretrigger samples set, then triggering and capturing both work fine. However, if I do the same with the pretrigger sample > 0 I get the following error:
    Error -10621 occurred at AI Control. Possible reason(s):
    NI-DAQ LV: The specified trigger signal cannot be assigned to the trigger resource.  
    I don't se any such limitation explained in the user manual, and searching the forum, I have found a few other people that had the
    same
    problem
    but they did not have solutions. Any ideas?
    Solved!
    Go to Solution.

    I'm sorry for double-posting this. I was trying to post it in the DAQ board and it kept ending up on the LabView board.
    If moderators have the ability to delete this thread you are welcome to do so.

  • Rendering Error when using more than one DataSheetView on a Enterprise Wiki-Page

    Hi Experts,
    how to reproduce:
    Add two Custom Lists with some Fields (Add Lookup-Columns to both Lists).
    Add a DataSheetView to each List and mark it as Default-View
    Create a Enterprise Wiki-Page
    Add a WebPart (Custom-List-1)
    You will see the Content from List 1 as DataSheet-View (because it is the Default-View)
    Add another WebPart below the previous added WebPart (Custom-List-2)
    You will see the Content from List 2 as DataSheet-View (because it is the Default-View)
    Notice that the First DataSheet has faulty Rendering. The Lookup-Columns having more than one 'Arror-Down' Image and it is even on the left. If you click into different Column, different row you get the same.
    I can reproduce this behaviour anytime.
    Environment: SharePoint 2013 Enterprise, IE10
    If you use Development-Tools to identify first datarow of first DataSheet you can see that it has to do something with the related <Input>-Tags:
    <div class="combobox-placeholder" id="jsgrid_combobox" style="left: 27px; top: 32px; width: 117px; height: 29px; border-top-color: currentColor; border-right-color: currentColor; border-bottom-color: currentColor; border-left-color:
    currentColor; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; visibility: inherit; ; direction: ltr; min-width:
    117px; background-color: transparent;">
    <input class="cb-textbox " style="width: 156px; height: 25px;" dir="ltr" type="text"/><input tabindex="-1" title="Dropdown" class="combobox-img" style="height: 29px;"
    dir="ltr" type="button" value="▼"/><input class="cb-textbox " style="width: 84px; height: 25px;" dir="ltr" type="text"/><input tabindex="-1" title="Dropdown"
    class="combobox-img" style="height: 29px;" dir="ltr" type="button" value="▼"/>
    Please have a look into it. Current Workaround for me is to have a Default-ListView in first WebPart. But then Customer has to click the Edit-Button to Change the Item in the releated EditForm. This is a Show-Stopper here!
    With Best Regards,
    Ronny

    Hi Ronny,
    According to your description, the lookup column would render incorrectly when adding more than one datasheet view in the Enterprise Wiki page.
    I tested the same scenario per your post, and I got the same results as you got.
    We will help to submit the issue to proper pipeline for you.
    Again, thank you for your report which will definitely make SharePoint a better products. There might be some time delay. 
    Appreciate your time and patience.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How can I use more than one Data Provider in my web Apps

    I am trying to use two different data provider in my web apps to run two different queries from the same table ,the data provider A is working correctly but when I attempt to run data provider B ,It display an error page ,here is the error message : Exception Details :javax.servlet.ServletEx ception
    java.lang.RuntimeException: java.sql.SQLException : Cannot connect .Both dataSourceName and url properties are null.

    Hi,
    You can use more than one data provider in your application. However if you have defined a dataprovider for a particular table already, and wish to bind a component, select the component and use its context menu to Bind to Data...

  • Error while running spatial queries on a table with more than one geometry.

    Hello,
    I'm using GeoServer with Oracle Spatial database, and this is a second time I run into some problems because we use tables with more than one geometry.
    When GeoServer renders objects with more than one geometry on the map, it creates a query where it asks for objects which one of the two geometries interacts with the query window. This type of query always fails with "End of TNS data channel" error.
    We are running Oracle Standard 11.1.0.7.0.
    Here is a small script to demonstrate the error. Could anyone confirm that they also have this type of error? Or suggest a fix?
    What this script does:
    1. Create table object1 with two geometry columns, geom1, geom2.
    2. Create metadata (projected coordinate system).
    3. Insert a row.
    4. Create spacial indices on both columns.
    5. Run a SDO_RELATE query on one column. Everything is fine.
    6. Run a SDO_RELATE query on both columns. ERROR: "End of TNS data channel"
    7. Clean.
    CREATE TABLE object1
    id NUMBER PRIMARY KEY,
    geom1 SDO_GEOMETRY,
    geom2 SDO_GEOMETRY
    INSERT INTO user_sdo_geom_metadata (table_name, column_name, srid, diminfo)
    VALUES
    'OBJECT1',
    'GEOM1',
    2180,
    SDO_DIM_ARRAY
    SDO_DIM_ELEMENT('X', 400000, 700000, 0.05),
    SDO_DIM_ELEMENT('Y', 300000, 600000, 0.05)
    INSERT INTO user_sdo_geom_metadata (table_name, column_name, srid, diminfo)
    VALUES
    'OBJECT1',
    'GEOM2',
    2180,
    SDO_DIM_ARRAY
    SDO_DIM_ELEMENT('X', 400000, 700000, 0.05),
    SDO_DIM_ELEMENT('Y', 300000, 600000, 0.05)
    INSERT INTO object1 VALUES(1, SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(550000, 450000, NULL), NULL, NULL));
    CREATE INDEX object1_geom1_sidx ON object1(geom1) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    CREATE INDEX object1_geom2_sidx ON object1(geom2) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
    SELECT *
    FROM object1
    WHERE
    SDO_RELATE("GEOM1", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE';
    SELECT *
    FROM object1
    WHERE
    SDO_RELATE("GEOM1", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE' OR
    SDO_RELATE("GEOM2", SDO_GEOMETRY(2001, 2180, SDO_POINT_TYPE(500000, 400000, NULL), NULL, NULL), 'MASK=ANYINTERACT') = 'TRUE';
    DELETE FROM user_sdo_geom_metadata WHERE table_name = 'OBJECT1';
    DROP INDEX object1_geom1_sidx;
    DROP INDEX object1_geom2_sidx;
    DROP TABLE object1;
    Thanks for help.

    This error appears in GeoServer and SQLPLUS.
    I have set up a completly new database installation to test this error and everything works fine. I tried it again on the previous database but I still get the same error. I also tried to restart the database, but with no luck, the error is still there. I geuss something is wrong with the database installation.
    Anyone knows what could cause an error like this "End of TNS data channel"?

  • Using Adobe apps on more than one account?

    Is there a fix forthcoming for the problem running CS4 on Leopard, where you can't use Adobe apps on more than one user account at a time (via fast user switching?) When I switch over to my 2nd account, I get some sort of "licensing error" dialog unless I quit all Adobe apps in my first account, which is incredibly annoying.
    Thanks.

    Greg,
    Adobe's single-user licensing allows for your installation and
    non-simultaneous use on two computers. And the software may think that two different users are trying to use the software simultaneously. You might try contacting Adobe tech support and ask.
    Neil

Maybe you are looking for