Web Logic Optimize the User-defined typed values

I'm using Together Soft 6.0.1 and Web Logic 7.0 as apps. server. I'm writing
the web service using the user defined type as input parameter and return status.
I'm experience the following probem
1. On the web service, the return status is an array user-defined data type.
Some of the data has the same values.
2. When I looked at the SOAP/XML message as the returned status, the fields/tags
that have the same data got mapped to a href=#ID_x and on the bottom of the SOAP/XML
message the ID_x is mapped to the correct data value.
3. However, when the SOAP/XML message is mapped to the client's object, the data
did not get mapped correctly to the object's attribute. The attributes, that
got mapped to href=#ID_x, are set to empty value.
I wrote the serialize/deserialize code for the User-Defined type, and that works
ok. However, when I return an array of User-Defined type, and only have the serialize/deserialize
code for the User-Defined type but no code for the array, it throws an exception
(Array out of bound).
It looks like Weblogic creates a reference table appended to the message with
duplicate values indexed. Is it some kind of performance option you can turn
off?
Or is there some interface to retrieve the references?
Or is there a work around or a fix to this problem?
Or do I have to write the serialize/deserialize codes for the user-defined type
and array of user-defined type?
Thanks for your help,
Michelle

Scott,
Thanks for your response.
So you're saying the href "optimization" is a feature of soap encoding. Is it
the Web Logic implementation of soap encoding optimize the values?
If we write xxxCodec.java for the array of user-defined type, will it work?
If it does, could you send me sample code? The example in the document is for
a single class. The array seems to be more complicated.
Thanks for your help,
Michelle
[email protected] (Scott Ziegler) wrote:
I would suggest using a document-literal style webservice. The
literal part avoids soap encoding which is responsible for the href
"optimization".
--Scott
In article <[email protected]>,
Michelle Hoang <[email protected]> wrote:
I'm using Together Soft 6.0.1 and Web Logic 7.0 as apps. server.
I'm writing the web service using the user defined type as input
parameter and return status. I'm experience the following probem
1. On the web service, the return status is an array user-defined
data type. Some of the data has the same values.
2. When I looked at the SOAP/XML message as the returned status, the
fields/tags that have the same data got mapped to a href=#ID_x and on
the bottom of the SOAP/XML message the ID_x is mapped to the correct
data value.
3. However, when the SOAP/XML message is mapped to the client's
object, the data did not get mapped correctly to the object's
attribute. The attributes, that got mapped to href=#ID_x, are set to
empty value.
I wrote the serialize/deserialize code for the User-Defined type, and
that works ok. However, when I return an array of User-Defined type,
and only have the serialize/deserialize code for the User-Defined
type but no code for the array, it throws an exception (Array out of
bound).
It looks like Weblogic creates a reference table appended to the
message with duplicate values indexed. Is it some kind of
performance option you can turn off? Or is there some interface to
retrieve the references? Or is there a work around or a fix to this
problem? Or do I have to write the serialize/deserialize codes for
the user-defined type and array of user-defined type?
Thanks for your help,
Michelle

Similar Messages

  • User defined field values doesnot show up in summary tab

    Hi,
    I have created my own stylesheet to display some of my user defined field values (associated with organization address book entry type) in the summary tab of the addressbook entry. But Groupwise 8.0 client FAILS to display any of the user defined field values in the summary tab FOR ONLY ORGANIZATION ADDRESSBOOK ENTRY types. NOTE: These organization addressbook entries are created using the C++ Groupwise object API. But the Advanced tab of these organization addressbook entry shows those user defined fields with values in it.
    Also Groupwise 8.0 Client is able to display the user defined field values in the summary tab for the PERSON ADDRESSBOOK ENTRY types, that are created using the Groupwise Object API. Also when I create a Organization addressbook entry using the Groupwise Client (NEW ORGANIZATION) and fill in the user defined field values using the Advanced tab or that addressbook entry, the summary tab displays those user defined field values.
    So there could be some problem in setting the user defined field value for the Organization address book entry using the Object API or it could be Groupwise 8.0 Client issue in displaying the user defined field values ONLY FOR ORGANIZATION ADDRESS BOOK ENTRY, WHICH ARE CREATED USING THE OBJECT API. I also tried to see the underlying XML data in the summary tab and that XML data is missing the USERDEFINEDFIELDS and CATEGORIES tag for the organization address book entry.
    I would like to know, if there is any need for special handling only for Organization addressbook entry in Groupwise 8.0 API. Any thoughts or help is really appreciated.

    Hi,
    Does anyone have an idea?? Think I have the same issue. Except, when I log in the client (ver. 802) then all the info is displayed. But when the user logs in on the same client and the same pc, he sees the xml info except the office address.
    Any help is greatly appreciated!
    Grtz,
    Joost Brenters

  • User defined field values

    Hi,
    i Created an add-on on VB.net code.I have an user defined field.when i try to COPY TO Return or A/R Invoice the user defined field value is not pushing into the field.
    could you help me .
    Thanks
    Ravi

    Hi Ravi
    if it is a document header  level
    oForm = SBO_Application.Forms.ActiveForm
                oItem = oForm.Items.Item("uf_id")
                oEdit = oItem.Specific
                oEdit.Value = "value"
           OR
    it is a document row level
    oForm = SBO_Application.Forms.ActiveForm
            oItem = oForm.Items.Item("38")
            POMat = oItem.Specific
    POMat.Columns.Item("UF_id").Cells.Item(i).Specific.value ="value"
    try this it will workout
    vijju

  • Get Error while update the User defined row table through DSK Code

    Hi experts,
    I have got an error while updating the user row defined table.
    Error is - "Invalid row"
    I have created one master table "@CBF_FARM " and Child table "@CBF_FAR1"
    First i inserted 5 record in the child table so in my my child table there are 5 Line id (1,2,3,4,5 one for each row).
    after that i delete 2 rows (3rd & 4th row) from child table now in my child table there are 3 rows( Line id 1, 2, 5). Please See attachment.
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    Following Code used for updating the user defined child table.
      SAPbobsCOM.GeneralService oGeneralService1 = null;
                                    SAPbobsCOM.GeneralData oGeneralData1 = null;
                                    SAPbobsCOM.GeneralDataParams oGeneralParams1 = null;
                                    SAPbobsCOM.CompanyService sCmp1 = null;
                                    SAPbobsCOM.GeneralData oChild1 = null;
                                    SAPbobsCOM.GeneralDataCollection oChildren1 = null;
                                    sCmp1 = clsAddOn.LDNA_Company.GetCompanyService();
                                    oGeneralService1 = sCmp1.GetGeneralService("CBF_FARM");
                                    // Get UDO record
                                    oGeneralParams1 = ((SAPbobsCOM.GeneralDataParams)(oGeneralService1.GetDataInterface(SAPbobsCOM.GeneralServiceDataInterfaces.gsGeneralDataParams)));
                                    oGeneralParams1.SetProperty("Code", oForm.Items.Item("edtFarmCd").Specific.Value);
                                    oGeneralData1 = oGeneralService1.GetByParams(oGeneralParams1);
                                    // Add lines on UDO Child Table
                                    oChildren1 = oGeneralData1.Child("CBF_FAR1");
                                    // Create data for rows in the child table
                                    SAPbouiCOM.Item oItem = oForm.Items.Item("cmbShed");
                                    oCombo = oItem.Specific;
                                    string ShedCode = oCombo.Selected.Value;
                                    ldna_Rec = clsAddOn.LDNA_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                                    string strQuery1 = "select LineId from [@CBF_FAR1] where U_ShedCd = " + ShedCode;
                                    ldna_Rec.DoQuery(strQuery1);
                                    oChild1 = oChildren1.Item(ldna_Rec.Fields.Item("LineId").Value - 1);
                                    oChild1.SetProperty("U_Status", "Ready For Schedule");
                                    //Update the UDO Record
                                    oGeneralService1.Update(oGeneralData1);
    Please Help me it is an urgent requirement,
    -Regards
    Vikas

    hi.
    Error is - "Invalid row"
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    As per my knowledge
    What i understood is you have 5 lines and you are going to be update 5th line
    am i correct..
    while u are updating the line in child table
    you have to consider like this..
    line number         u have to update like
    1                                        0
    2                                        1
    3                                        2
    4                                        3
    5                                        4
    which means in child table treat
    line 1  as 0
    line 2 as  1
    line 5 as 4
    If you want to update the line 5 u have to mention 4 th line

  • Accessing container element in the User Defined Function

    Hi All,
    I am accessing a container element in the user defined function.
    But it is not working. Actually i want to split a message(1800 records) into a batch of 200.
    But it goes in a infinite loop.
    Please can you tell me where i am wrong.
    Smita
    The code is :
    public void SplitMsg(String[] a,ResultList result,Container container){
    Object container1;
    String counter;
    int i,j=0;
    container1 = container.getParameter("value");
    if( container1 == null){
    counter  =  "0";
    else {     
         counter = container.toString();
         j = Integer.valueOf(counter).intValue();
    for ( i = j ; i <= j + 199 ; i++){
         if ( i  >= a.length){
              container.setParameter("value","9999999");
              break;
         result.addValue(a<i>);
         j += 200;
         counter = Integer.toString(j);
         container.setParameter("value", counter);

    Here is another way to accomplish what you wanted.
    For the target mapping, use this sequence for mapping
    Source element -> removeContext -> Your User-defined Function -> Target Element
    When defining User-Defined Function, select "Cache Queue" option.
    Since you are using removeContext before calling the UserDefined function, your input to the user defined function will be a String array without ResultList.CC.
    Now manipulate the array the way you want it, and build the ResultList result.
    After every 200 records, use method
    void addContextChange().
    This will insert the ResultList.CC at the appropriate places.
    Use Display Queue in the Mapping Editor to see the debug values.

  • Reg: Configuring the User-Defined Message Search

    Hi Experts !
    I am getting an error while configuring the user defined message search.
    Followed all the step mentioned in the sap help documentation.
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c85598f63335bfe10000000a42189d/frameset.htm
    The last step, where we need to enter  URL for WSDL Access i am getting the following error:
    Error in WSDL access: Exception occurred in communication framework:
    Error in HTTP Framework:404Not Found
    http://<Host>/<Port>/MessageSearch/MessageSearchImplBean
    You should enter the host name and the HTTP port for the Advanced Adapter Engine
    i didnt get the meaning of above sentence : Is it different from what we use in the URL to access ESR and ID.
    Is there any other steps to make   MessageSearch/MessageSearchImplBean available
    Regards,
    Srinivas
    Edited by: Srinivas on Oct 1, 2010 7:48 PM

    Hi José Omar,
    thanks for the reply...
    I tried manual configuration but with no luck..opened a similar forum thread
    I have applied the sap note suggested  ,thinking that the error is due
    to any source code.
    The data synchronization is happening properly , but when i use test extractor button it throws the above mentioned error.
    In the system details  in have given the port number as 50700(which is visible in the link when we open integration builder page) and ESR client as 001.
    could you please let me know if the exact values to be filled in transport setting.i just entered the port and client , other things
    as default.
    Regards,
    Srinivas

  • Lite Optimization - As User defined Variant

    Team,
    I have the following question.
    I have two BPC planning cubes,Say Cube 1 ,Cube 2 and for Cube 1 Lite optimization Automation,I have used /CPMB/LITE_OPTIMIZATION variant in Process chain as per requirement (like till 3 days ago) but in case of Cube 2 I need to change scenario like till 0 days ago and leave 3 requests
    For Cube 2 Scenario , I cant give  /CPMB/LITE_OPTIMIZATION variant in Process chain as it is already used in scenario 1 ,So I tried creating user defined variant for lite optimization for that specific cube 2,but I am having trouble in giving  required tasks in Advanced data manager package settings for the user defined task
    Could you help me out here

    Hello Ravi
    You need to look into running the program UJD_TEST_PACKAGE in your process chain and then use a variant for that.  The variant will allow you to select the model, run package and variants you require.
    Hope this helps.
    Ian

  • Removing the user define comments while trying to write to the property fil

    Hi All,
    While using new Properies().setPropety(). It is removing the user define comments from property file.
    Could you please explain me why it is happening and how can I restrict it
    Thanks & Regards
    Edited by: Rakesh83 on Feb 20, 2008 4:33 AM

    Rakesh83 wrote:
    Could you please provde me sample code for this?
    #! /usr/bin/groovy
    xml = '''
    <config>
        <property name="foo" value="bar" comment="blah, blah, blah" />
        <property name="baz" value="qux" comment="doodle doodle dee" />
    </config>
    def config = new XmlParser().parse(new StringReader(xml))
    def property = config.property.find { it.'@name' =~ 'baz' }
    assert 'doodle doodle dee' == property.@comment
    property.@value = 'snorp'
    assert 'doodle doodle dee' == property.@comment // comments preserved!
    // write xml as needed~

  • Loading the user defined class file

    Hai,
    Is there any way to load the user defined class at the time of starting my Jakarta Tomcat server.
    Regards
    ackumar

    Hi!!
    Hope, <load-on-startup> tag of web.xml helps in
    s in this regard.I think this tag is to load servlet. I am talking about loading a user defined class file for example xyz.class which is no a servlet just a class file.
    Regards
    ackumar

  • How to get the tag of the User Defined Variables using the Get Tag method%3F

    For the cRIO modules under a cRIO Chasis, a tag value can be obtained using the Get Tag method with crio.Type to the TagName input of the method. When it comes to the User Defined Variables, what should be fed to the TagName input?

    For the cRIO modules under a cRIO Chasis, a tag value can be obtained using the Get Tag method with crio.Type to the TagName input of the method. When it comes to the User Defined Variables, what should be fed to the TagName input?

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • How to show an error if the user enters a value which is not in the dropdown of a form

    Hi All,
    I have attached the screenshot below and if we look at the field for claimnumber we have a dropdown which can help the users pick the available claimnumbers, but if someone accidentally types in a claimnumber that is not in the system( which doesnt show
    up in the dropdown) the form is accepting that claimnumbers too, but i want to have a error or warning window popup saying that this claimnumber is not valid or something.
    Can someone please help me with this?
    Thanks.

    Open the form in design view.
    Select the Combo Box.
    Set its Limit to List property to Yes.
    If the user types a value that does not occur in the list, Access will display a standard error message:
    If you want to display a custom message, you can write code in the On Not in List
    event of the combo box:
    Private Sub ClaimNumber_NotInList(NewData As String, Response As Integer)
    ' Undo the incorrect item
    Me.ClaimNumber.Undo
    ' Display a custom error message
    MsgBox "Please select a claim number from the list!", vbExclamation
    ' Tell Access not to display the built-in message
    Response = acDataErrContinue
    End Sub
    where ClaimNumber is the name of the combo box.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to bind the user-defined watch to a specific server so that server's Health would show green ball and is linked to Monitoring watch?

    Hi,
    I create a user defined watch for BI4.1 ExplorerExplorationServer server in CMC -> Monitoring.
    Caution:
    node.ExplorerExplorationServer$'Server Running State'==1 ||
    node.ExplorerExplorationServer$'Server Running State'==2 ||
    node.ExplorerExplorationServer$'Server Running State'==4 ||
    node.ExplorerExplorationServer$'Server Running State'==6 ||
    node.ExplorerExplorationServer$'Server Running State'==7 ||
    node.ExplorerExplorationServer$'Health State'==1
    Danger:
    node.ExplorerExplorationServer$'Server Running State'==0 ||
    node.ExplorerExplorationServer$'Server Running State'==5 ||
    node.ExplorerExplorationServer$'Health State'==0
    However, in CMC -> Servers -> Explorer Services, the ExplorerExplorationServer shows "Information is not available" blue ball in Health.
    How do I bind the user-defined watch to a specific server so that server's Health would show green ball and is linked to Monitoring watch?
    Regards,
    Jin-Chong

    Hello JinChong,
    We had created User-defined Explorer watches on our environments and have run into issues.
    Have received many false alerts even though Explorer servers are running fine.
    After creating an AGS case it was informed to us that Explorer does not have monitoring capabilities.
    AGS is checking with solution architect of Explorer application about when the monitoring watches for explorer would be included.
    Regards,
    Rohit

  • Dose oracle.sql.ArrayDescriptor support the user defined type in package?

    Hi folks:
    I get a obstacle in calling stored procedure by using JDBC driver (ojdbc14.jar).
    I have the following code:
    create or replace package xxx AS
    type var_table is table of varchar2(50);
    procedure(parameter in var_table);
    end xxx;
    When I use the jdbc driver try to create a type for
    oracle.sql.ArrayDescriptor arrayDes = oracle.sql.ArrayDescriptor.createDescriptor( "var_table ",connection);
    The SQLException is thrown out like those:
    Invalid name pattern:user_schema. var_table
    So, my question is : Dose oracle.sql.ArrayDescriptor not support the user defined type in package? And I also tried to define such type by using sql "create xxxx" outside of package, then there is no SQLException.
    Hopefully for your response and suggestion.Thanks...

    To my knowledge, the Oracle JDBC driver does not support using the ArrayDescriptor for array data types (varray or nested table) that are defined inside of a package. The same is true for StructDescriptor as well. If you want to use array and object data types, you must define them outside of a package. Then you'll be able to use the descriptors in your JDBC programs.

  • How to raise the user defined Exceptions in XI ?

    Hi All
        I am learning XI ...i want know how to set up the user defined Exceptions
        in XI?
        Where and What are the settings need to be done ?
        Same time where can check the LOG file ? to see all the server information ?
    Welcome to your answers
    Regards
    Rakesh

    Rakesh,
    Check this weblogs which will guide you:
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/stefan.grube/blog/2005/12/30/test-user-defined-functions-for-the-xi-graphical-mapping-tool-in-developer-studio
    Also check this thread:
    Mapping test throughs exception for UDF that does'nt exist anymore
    ---Satish

Maybe you are looking for

  • Firefox doesn't recognize some links on a home utility website

    I logged on to my gas utility provider. There is a link that asks you to choose the region where you are receiving the service. The link opens up a pop-up which offers you links to all the available regions. When I click on my link, nothing happens,

  • Hp printer software update 3.0, now unable to print from preview

    I have a mid 2007 iMac with a 2.4 Ghz Intel Core 2 Duo running OS 10.9.5 Build 13F34. I updated the HP Printer Software Update Version 3.0 on Oct 9, 2014. I have a HP Laserjet 3050 All in One printer that has worked flawlessly. Now when I try to prin

  • Do i need phantom power for a condenser mic to use with garageband?

    i have learned condenser mics need phantom power. if i would hook up a MXL 900 series condenser to my MacBook via an XLR to 1/8" cable, would it work? does garageband have some sort of amplification plug-in? or would i need some sort of mixer or oteh

  • Running Itunes library on a new computer off of an external hard drive

    Hello, I've recently purchased a Macbook and an external hard drive. I transferred all my files from my old Mac onto my external and would like to try to run my itunes library from there through my new laptop as opposed to putting all the files onto

  • The EJB bondmgr has not been tested succesfully

    Hi THere, After deployed an EJB jar file, I am using Testing tab from the console, getting the msg "The EJB bondmgr has not been tested succesfully". Can any one tell me what is the problem?? Thanks, Vinnie Here is the ejb-jar.xml and weblogic-ejb-ja