JMS to WebService - how to get the response?!

Well i am receiving data from JMS-CC and sending it to WebService. But there is no response?! Do i have to use the Synch/Asynch bridge because we are on SP12?!
And if i want to get the response to SOAP-Sender-CC - how do the URL has to look like and how do i implement the URL in the sending WSDL?!
br
Message was edited by:
        Carsten Heinrich

you can try to use async-sync bridge
http://help.sap.com/saphelp_nw70/helpdata/en/45/20d251c20a0732e10000000a155369/frameset.htm
Florin

Similar Messages

  • How to get the Response Code when a URL is launched from Web Dynpro

    Hello Experts,
    I have a Web Dynpro Application in which in one of its views i have an IFrame UI element in which i will show a resource stored somewhere ..
    But before showing it i want to check if the resource actually exists. For this i have to check the HTTP Response code from Web Dynpro Application without setting it in the Iframe..
    I am using the following code to get the Response Code:
    try{
    URL url = new URL("Some Url");
    HttpURLConnection.setFollowRedirects(false);
    HttpURLConnection connection = (HttpURLConnection) url.openConnection();
    connection.connect();
    wdComponentAPI.getMessageManager().reportSuccess("Response code ="+connection.getResponseCode());
    }catch(Exception e){
    wdComponentAPI.getMessageManager().reportSuccess("Exception");
    Now the Problem is whatever response Code occurs 403 (for No Proper Authorization), 404 (for Resource not found) etc..
    i always get Response Code=  500 (which is for Internal Server Error) shown in the messgae i have printed.
    Please let me know the correct way of getting the Response Code from Web Dynpro.
    Also my resource is lying on a SAP Portal 6.4
    Best Regards
    Sundeep
    Edited by: Sundeep Sethi on Feb 18, 2008 9:07 AM
    Edited by: Sundeep Sethi on Feb 18, 2008 10:23 AM

    Hi,
      Check this code from /thread/5242768 [original link is broken] if it works.
    try{
    URL myurl = new URL("http://calendar.google.com");
    URLConnection connection = myurl.openConnection();
    if(connection instanceof HttpURLConnection) {
    HttpURLConnection httpConnection = (HttpURLConnection) connection;
    HttpURLConnection.setFollowRedirects(true);
    httpConnection.setRequestMethod("HEAD");
    httpConnection.connect();
    System.out.println("Response = "+httpConnection.getResponseCode());
    catch(Exception e) {
    // print exception
    Regards,
    Harini S

  • How to get the response of a vbscript ran from extended js?

    Hi All,
    I  want to get the result from a vbscript, how to get that in my jsx? This is what I'm doing-
    vbscript (this will return me something, i've added just a sample string)
    Wscript.Echo "Like this?"
    jsx
    var a = File("C:\\Users\\Sahil\\AppData\\Roaming\\CreativeWorx\\1.vbs");
    var b=a.execute();
    Now, variable b returns me true/false; and the output i.e. "Like this?"  is alerted! So my question is-
    1. How to get the output in a variable?
    2. How to avoid the alert
    So, I simply wish to get the output from my vbscript and then perform certain functions accordingly, alos, I dont want  this to be alerted!
    Any help will be highly appreciated!

    The capitalization is app.doScript and not app.doscript that is if you are trying to get a jsx script to run and access a string from from a vbs script.
    When defining the VBscript for multiline scripts the easiest method is to use triple quotes
    VBscript = """dim WMI:  set WMI = GetObject("winmgmts:\\.\root\cimv2")
    dim Nads: set Nads = WMI.ExecQuery("Select * from Win32_NetworkAdapter where physicaladapter=true")
    dim nad
    for each Nad in Nads
        if not isnull(Nad.MACAddress) then Wscript.Echo Nad.description, Nad.MACAddress  
    next"""
    when using the scriptArgs you can either make a loop of them and send the string value of each one something like this
    For (n = 0 .........
    myArg = "myArg" & n
    myStringToPassOver = "Shaddow Fax " & n
    app.scriptArgs.SetValue myArg, myStringToPassOver
    Next
    or probably better to make a long comma or something else separated string and pass it over after the loop
    var VBScript = """myArg = ""
    For n = 0 To 15
    myArg = myArg & "Shaddow Fax " & n & ","
    Next
    app.scriptArgs.SetValue "myResult", myArg
    app.doScript(VBScript, ScriptLanguage.visualBasic);
    var myResult = app.scriptArgs.getValue("myResult").replace(/\,$/,"").split(",");
    // if neaded use "replace" to remove final "," and "split" to convert into an array
    alert(myResult.join("\r")); // alert the array
    The above script is a jsx script that runs a vbs
    If you want a vbs script to run and access a string from from a jsx script then you would use xxx.DoScript see the sample from the manual below.
    Set myInDesign = CreateObject("InDesign.Application")
    myJavaScript = "alert(""First argument: "" + arguments[0] + ""\rSecond argument: "" +
    arguments[1]);"
    myInDesign.DoScript myJavaScript, idScriptLanguage.idJavascript, Array("Hello from
    DoScript", "Your message here.")
    myVBScript = "msgbox arguments(1), vbOKOnly, ""First argument: "" & arguments(0)"
    myInDesign.DoScript myVBScript, idScriptLanguage.idVisualBasic, Array("Hello from
    DoScript", "Your message here.")
    P.s.Please mark the question as answered, thanks

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • How to get the PO response number

    hi,
    i need to get the Purchase Order Response number for a given PO number and item.
    i have checked BBP_PD_PO_GETHISTORY FM, for few of po numbers i'm not able to find the POR number in this FM.
    can anyone suggest how to get the POresponse number.
    help me soon.
    thanks.

    hi all,
    thanks for the valuable info, now i'm able to get the POR number.
    could you please tell the DB table name, so that i can fetch directly and i can improve the performance.
    thanks,
    gupta.

  • How do I send a group text and not have everyone else get the responses

    How do I send a group text and not have everyone else get the responses?   Thx

    Whether or not everyone gets the response depends solely on the person responding. i.e. you send a group text and i am one of the reciepients. From here i have two options, reply to the group text (everyone gets my reply) or i could text just you on the side (by opeining a new window in messages with just you as the reciepient) and replying to just you. Theres nothing you can do, its up to the person replying whether or not they reply to the entire group or just you seperately.

  • How can I get the responsibility for concurrent programs

    Guys,
    How can I get the responsibility for a list of concurrent programs. Is there a query that I can run to get the results?
    Thanks in advance,

    Refer to Note: 134036.1 - WHOCANRUN.SQL - List Responsibilities That Can Run a Given Concurrent Program
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=134036.1
    From the output of the query in the note referenced above, you can run "Users of a Responsibility" concurrent program then to find out the list of users who have access to a certain responsibility.

  • Help!!! How to get the recovery time of transient response of a power supply with Labview basic package without analysis option?

    How to get the recovery time of transient response of a power supply with Labview basic package without analysis option? Does anyone have any idea or some similar function SUBVIs?
    Recovery time of transient response is defined as the time from the beginning of the transient to the voltage point on the waveform fallen into 10percent of the overshoot. Well, the waveform is something like a pulse with a soft slope.

    I recommend plotting your data on a graph on paper. Take a look at the data, and determine what is unique about the point you are looking for. Look for how you can teach your program to look for this point.
    I have written several algorithms that do similar, one in fact being for a power supply, the other being for RPM. Neither algorithm used any advanced analysis tools. They are just a matter of determining, mathematically, when you achieve what you are looking for. Just sit down with your graph (I recommend multiple copies) and draw horizontal and vertical lines that determine when you get to the point you are looking for. You are probably going to have to reverse the array and start from the end, so think in those terms.
    If you have trouble, emai
    l me a bitmap of the graph, and what you are looking for and I will try to be of further assistance. Don't do that however; until you you have given this a few tries. Your solution should be involve a lot of logic on analog levels.
    Good luck

  • How to get the XML messages from JMS Queue in BPM

    I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
    can you please send me the code to get the XML messages from the JMS Queue.
    Thank you,

    Hi,
    Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
    artifactInfoNodes as Any[]
    xmlObject as Fuego.Xml.XMLObject = XMLObject()
    load xmlObject using xmlText = message.textValue
    . . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
    Hope this helps,
    Dan

  • How to get the number and response time of HTTP request through Weblogic?

    hi,
    does anybody know how to get the HTTP request information through Weblogic server, such as the number of HTTP request in 1 min and the average response time of request in 5 mins ?
    Or is there anyway i can do it through monitoring and get these data then? If so, please help tell me.
    Thanks in advance
    BTW, we don't have the 3rd-party monitoring tool here.

    Hi,
    tables: usr02, usr41.
    data: OPCODE_MODE_COUNT(1) TYPE X VALUE 3,
          modes like sy-index,
          u_MODES LIKE MODES.
    select * from usr02.
      select * from usr41 where BNAME = usr02-bname.
        CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE_MODE_COUNT
          ID 'TID' FIELD usr41-TERMID
          ID 'MODES' FIELD MODES.
        IF SY-SUBRC = 0.
          u_MODES = u_MODES + MODES.
        ENDIF.
      endselect.
      if sy-subrc = 0.
        write:/ usr02-bname, u_MODES.
      endif.
      clear u_modes.
    endselect.

  • How to get the array of Complex when call a webserivce method it's return an array of user define data struct?

    When call a webservice opreation, it returns an array of complex type, sure, the calling is successed,  but i don't know how to get the return values,
    I have tried use Pendingcall.response & Pendingcall.getOutPutValues() in Pendingcall.onResult event function...
    Waiting....

    Flash Lite doesn't fully support webservices, so you will find it difficult to use the full api set.
    I suggest that you use SWX (swxformat.org) or simply HTTP requests for transactions.
    We have a tutorial on use with ColdFusion here:
    http://vimeo.com/6829083
    Mark

  • Adobe Creative Cloud connectivity issue on Websense run network; Failed to send the request to server to get the response - 12002

    Hi all,
    I am able to install the Windows Adobe Creative Cloud application fine on Windows 7 box but the application fails to establish a connection with Adobe server/-s.
    We use a proxy with Websense as our network security solution. Proxy configuration script is set in Internet Options. We have not tried to whitelist anything as per http://helpx.adobe.com/creative-cloud/kb/proxy-authentication-support-creative-cloud.html as the errors suggest the application does not even connect to the proxy server/Websense at all.
    Please see below snippet from that DLM.log file that contains the error messages - please have a look. Could anybody tell me what it means or advise how to resolve this please? I don't see the Adobe Creative Cloud tool to have any options where manual proxy settings can be setup to try that.
    <snip>
    11/05/14 08:50:48:184 | [INFO] | |  |  |  |  |  | 5236 | **File download complete.**
    11/05/14 08:50:52:145 | [INFO] | |  |  |  |  |  | 3732 | **File download complete.**
    11/05/14 08:51:05:327 | [INFO] | |  |  |  |  |  | 1784 | **File download complete.**
    11/05/14 08:51:06:968 | [ERROR] |  | |  |  |  |  | 3452 | The windows error code is - 12002
    11/05/14 08:51:06:968 | [ERROR] |  | |  |  |  |  | 3452 | Failed to send the request to server to get the response - 12002
    11/05/14 08:51:06:968 | [ERROR] |  | |  |  |  |  | 3452 | the download job (0) failed to execute. The job state is STOPPED_STATE
    11/05/14 08:51:06:992 | [INFO] | |  |  |  |  |  | 6844 | some intermittent error. Retrying now. Error code is 12002 and error type is -45
    11/05/14 08:51:11:514 | [INFO] | |  |  |  |  |  | 6844 | incrementing the thread. now the active thread count is 2
    11/05/14 08:51:12:519 | [INFO] | |  |  |  |  |  | 6648 | **File download complete.**
    11/05/14 08:51:16:541 | [INFO] | |  |  |  |  |  | 6844 | decrementing the thread count. now the active thread count is 1
    11/05/14 08:51:22:281 | [INFO] |  | |  |  |  |  | 3452 | resetting intermitent error 9 from to 1 to 0
    11/05/14 08:51:29:022 | [INFO] | |  |  |  |  |  | 1836 | **File download complete.**
    11/05/14 08:52:22:381 | [INFO] | |  |  |  |  |  | 7220 | incrementing the thread. now the active thread count is 2
    11/05/14 08:52:26:971 | [ERROR] |  | |  |  |  |  | 6756 | The windows error code is - 12002
    11/05/14 08:52:26:971 | [ERROR] |  | |  |  |  |  | 6756 | Failed to send the request to server to get the response - 12002
    11/05/14 08:52:26:971 | [ERROR] |  | |  |  |  |  | 6756 | the download job (5) failed to execute. The job state is STOPPED_STATE
    11/05/14 08:52:27:383 | [INFO] | |  |  |  |  |  | 7220 | some intermittent error. Retrying now. Error code is 12002 and error type is -45
    11/05/14 08:52:27:663 | [INFO] |  | |  |  |  |  | 4908 | resetting intermitent error 9 from to 1 to 0
    11/05/14 08:52:28:733 | [INFO] | |  |  |  |  |  | 6064 | **File download complete.**
    11/05/14 08:52:42:810 | [INFO] | |  |  |  |  |  | 7220 | **File download complete.**
    11/05/14 08:52:45:570 | [INFO] | |  |  |  |  |  | 3788 | **File download complete.**
    </snip>
    There is also an INFO class message that talks about resetting an ‘error 9’ from 1 to 0.

    Hi all,
    I am able to install the Windows Adobe Creative Cloud application fine on Windows 7 box but the application fails to establish a connection with Adobe server/-s.
    We use a proxy with Websense as our network security solution. Proxy configuration script is set in Internet Options. We have not tried to whitelist anything as per http://helpx.adobe.com/creative-cloud/kb/proxy-authentication-support-creative-cloud.html as the errors suggest the application does not even connect to the proxy server/Websense at all.
    Please see below snippet from that DLM.log file that contains the error messages - please have a look. Could anybody tell me what it means or advise how to resolve this please? I don't see the Adobe Creative Cloud tool to have any options where manual proxy settings can be setup to try that.
    <snip>
    11/05/14 08:50:48:184 | [INFO] | |  |  |  |  |  | 5236 | **File download complete.**
    11/05/14 08:50:52:145 | [INFO] | |  |  |  |  |  | 3732 | **File download complete.**
    11/05/14 08:51:05:327 | [INFO] | |  |  |  |  |  | 1784 | **File download complete.**
    11/05/14 08:51:06:968 | [ERROR] |  | |  |  |  |  | 3452 | The windows error code is - 12002
    11/05/14 08:51:06:968 | [ERROR] |  | |  |  |  |  | 3452 | Failed to send the request to server to get the response - 12002
    11/05/14 08:51:06:968 | [ERROR] |  | |  |  |  |  | 3452 | the download job (0) failed to execute. The job state is STOPPED_STATE
    11/05/14 08:51:06:992 | [INFO] | |  |  |  |  |  | 6844 | some intermittent error. Retrying now. Error code is 12002 and error type is -45
    11/05/14 08:51:11:514 | [INFO] | |  |  |  |  |  | 6844 | incrementing the thread. now the active thread count is 2
    11/05/14 08:51:12:519 | [INFO] | |  |  |  |  |  | 6648 | **File download complete.**
    11/05/14 08:51:16:541 | [INFO] | |  |  |  |  |  | 6844 | decrementing the thread count. now the active thread count is 1
    11/05/14 08:51:22:281 | [INFO] |  | |  |  |  |  | 3452 | resetting intermitent error 9 from to 1 to 0
    11/05/14 08:51:29:022 | [INFO] | |  |  |  |  |  | 1836 | **File download complete.**
    11/05/14 08:52:22:381 | [INFO] | |  |  |  |  |  | 7220 | incrementing the thread. now the active thread count is 2
    11/05/14 08:52:26:971 | [ERROR] |  | |  |  |  |  | 6756 | The windows error code is - 12002
    11/05/14 08:52:26:971 | [ERROR] |  | |  |  |  |  | 6756 | Failed to send the request to server to get the response - 12002
    11/05/14 08:52:26:971 | [ERROR] |  | |  |  |  |  | 6756 | the download job (5) failed to execute. The job state is STOPPED_STATE
    11/05/14 08:52:27:383 | [INFO] | |  |  |  |  |  | 7220 | some intermittent error. Retrying now. Error code is 12002 and error type is -45
    11/05/14 08:52:27:663 | [INFO] |  | |  |  |  |  | 4908 | resetting intermitent error 9 from to 1 to 0
    11/05/14 08:52:28:733 | [INFO] | |  |  |  |  |  | 6064 | **File download complete.**
    11/05/14 08:52:42:810 | [INFO] | |  |  |  |  |  | 7220 | **File download complete.**
    11/05/14 08:52:45:570 | [INFO] | |  |  |  |  |  | 3788 | **File download complete.**
    </snip>
    There is also an INFO class message that talks about resetting an ‘error 9’ from 1 to 0.

  • How to get the values of the objects inside an object??

    Hi,
    I am trying to write code to display name and memory usage of all session attributes, in a recursive way.
    I suppose reflection is needed here, but I can’t figure out how to get the values of the objects inside an object...
    private void handleIt(String attributeName, Object attributeValue) {
         boolean isPrimitiveOrNull = ((null == attributeValue) ||
              (attributeValue.getClass().isPrimitive()));                                         
         if (isPrimitiveOrNull) {
              sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "}");
         } else {
              sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "{");               
              Field[] fields = attributeValue.getClass().getDeclaredFields();
              int lim = fields.length;
              String name;
              Object value = null;
              for (int i = 0; i < lim; i++) {
                   name = fields.getName();
                   //LOOK AT THIS LINE: !!!!!!!!!!!!!!!!!!!!!!!!!!!
                   value = fields[i].get(obj); //I don´t know what 'obj' should be??
                   handleIt(name, value);
              sb.append("}");               
    Any suggestions will be greatly appreciated...

    I realized that massive int objects called MAX_VALUE, MIN_VALUE and SIZE where causing the StackOverflow, so I removed them from the analysis.
    This is the resultant code. But I think it isn’t accurate in calculating the real size of objects being got using reflexion.
    Do you or somebody have any more suggestions?
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.ObjectOutputStream;
    import java.lang.reflect.Field;
    import java.util.Enumeration;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession;
    public class SessionMeasurer extends HttpServlet {
         private static final long serialVersionUID = 1470488362727841992L;
         private StringBuilder sb = new StringBuilder();
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              performTask(request, response);
         public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              performTask(request, response);
         public void performTask(HttpServletRequest request, HttpServletResponse response) {
              HttpSession     session = request.getSession(false);     
              String attributeName = "";
              Object attributeValue = null;
              for (Enumeration<?> attributeNames = session.getAttributeNames(); attributeNames.hasMoreElements();) {
                   attributeName = (String)attributeNames.nextElement();
                   attributeValue = session.getAttribute(attributeName);
                   handleIt(attributeName, attributeValue);               
              System.out.println(sb.toString());
         private void handleIt(String attributeName, Object attributeValue) {           
              if (attributeValue != null) {          
                   boolean isPrimitive = attributeValue.getClass().isPrimitive();
                   if (isPrimitive) {
                        sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "}");
                   } else {
                        sb.append("{" + attributeName + ":" + sizeOf(attributeValue) + "{");               
                        Field[] fields = attributeValue.getClass().getDeclaredFields();
                        String name;
                        Object value = null;
                        int lim = fields.length;
                        for (int i = 0; i < lim; i++) {
                             name = fields.getName();                                                                                                         
                             if (!name.endsWith("_VALUE") && !name.equals("SIZE") && !name.equals("serialVersionUID")) {
                                  try {
                                       value = fields[i].get(attributeValue);
                                  } catch(Exception e) {
                                       //PENDIENTE: Tratamiento excepción
                                  handleIt(name, value);
                        sb.append("}");               
         private int sizeOf(Object obj) {
              //Valid only for Serializables
              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              ObjectOutputStream oos = null;     
              byte[] bytes = null;               
              try {          
                   oos = new ObjectOutputStream(baos);
                   oos.writeObject(obj);
                   bytes = baos.toByteArray();
              } catch(Exception e) {               
                   //PENDIENTE: Tratamiento excepción
              } finally {
                   if (oos != null) {
                        try {
                             oos.close();
                        } catch(Exception e) {
                             //PENDIENTE: Tratamiento excepción                         
                   if (baos != null) {
                        try {
                             baos.close();
                        } catch(Exception e) {
                             //PENDIENTE: Tratamiento excepción                         
              int size = -1;
              if (bytes != null) {
                   size = bytes.length;
              return size;          

  • How to get the selectedIndex from a combobox made by classFactory?

    Dear All,
    I am trying to get the selectedIndex or selecetedItem.banda_id when changing a combobox that is created by classFactory and it is inside a datagrid.
    The code I have is:
    MXML:
    <mx:DataGrid width="100%" height="100%" id="salas_fin_dg" editable="true">
         <mx:columns>
    <mx:DataGridColumn headerText="Titulo" dataField="titulo" editable="false" width="250"/>
    <mx:DataGridColumn headerText="Data" dataField="start_dt" editable="false"/>
    <mx:DataGridColumn headerText="Dur" dataField="duration" editable="false" width="40"/>
    <mx:DataGridColumn headerText="Banda" dataField="banda_nome" editable="true" itemEditor="{combofac}"/>
    <mx:DataGridColumn headerText="$ Ensaio" dataField="total_ensaio" editable="true" itemEditor="controls.NumericInput"/>
    <mx:DataGridColumn headerText="$ Bar" dataField="total_bar" editable="true" itemEditor="controls.NumericInput"/>
    <mx:DataGridColumn headerText="$ Loja" dataField="total_loja" editable="true" itemEditor="controls.NumericInput"/>
    <mx:DataGridColumn headerText="$ CC" dataField="total_cc" editable="true" itemEditor="controls.NumericInput"/>
    <mx:DataGridColumn headerText="$ CH" dataField="total_ch" editable="true" itemEditor="controls.NumericInput"/>
    <mx:DataGridColumn headerText="$ DI" dataField="total_di" editable="true" itemEditor="controls.NumericInput"/>
    <mx:DataGridColumn headerText="$ Pend" dataField="total_pend" editable="true" itemEditor="controls.NumericInput"/>
         </mx:columns>
    </mx:DataGrid>
    Script:
    private function getSalasFinHandler(event:ResultEvent):void
    salas_fin_lst = new ArrayCollection(event.result as Array);
    salas_fin_dg.dataProvider = salas_fin_lst;
    myservice.getBandas();
    combofac=new ClassFactory(ComboBox);
         combofac.properties={dataProvider:bandas_lst, labelField:"banda_nome", prompt:"Selecione"};
    I am using Remote Object to get the data from a DB, and it is working properly.
    As I will update the datagrid cell values, I would like to update them on the DB.
    In order to do that, I would need to access the banda_id value, that is part of the combofac dataprovider, I mean that this dataprovider has 2 columns, being banda_nome and banda_id.
    The question is how to get the banda_id value, when I change the comobobox?
    Many thanks in advance,
    Gines

    Dear harUI and kolinitcom,
    Thanks for the your prompt response and guidelines.
    I went to research a little bit more on the itemEditEnd and found a way to access the data inside the combobox.
    The code for all application goes below. If you click on the button, it will show you all the datagrid data, plus the ID of the combobox when changed.
    Thanks again,
    Gines
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
            layout="vertical"
            verticalAlign="middle"
            backgroundColor="white" initialize="init();">
            <mx:Script>
               <![CDATA[
               import mx.utils.ObjectUtil;
               import mx.controls.ComboBox;
               import mx.controls.Alert;
               import mx.events.DataGridEvent;
               import mx.events.*;
          [Bindable]
          private var combofac:ClassFactory;
      public var newVal:String;
          private function init():void
            combofac=new ClassFactory(mx.controls.ComboBox);
            combofac.properties={dataProvider:arrcombo, prompt:"Selecione", labelField:"label"};      
                public function getCellInfo(event:DataGridEvent):void {
                    var myEditor:ComboBox = ComboBox(event.currentTarget.itemEditorInstance);
                    newVal = myEditor.selectedItem.data;
    public function mostra():void
    var dados:Object = new Object;
    dados.nome = dataGrid.selectedItem.label;
    dados.score = dataGrid.selectedItem.score;
    dados.score_id = newVal;
    Alert.show(ObjectUtil.toString(dados));
           ]]>
        </mx:Script>
        <mx:TextArea id="cellInfo" width="300" height="150" />
                <mx:ArrayCollection id="arrcombo">
            <mx:source>
                <mx:Array>
                    <mx:Object label="1" data="A1"/>
                    <mx:Object label="2" data="A2"/>
                    <mx:Object label="3" data="A3"/>
                    <mx:Object label="4" data="A4"/>
                    <mx:Object label="5" data="A5"/>
                    <mx:Object label="6" data="A6"/>
                    <mx:Object label="7" data="A7"/>
                    <mx:Object label="8" data="A8"/>
                    <mx:Object label="9" data="A9"/>
                </mx:Array>
            </mx:source>
        </mx:ArrayCollection>
        <mx:ArrayCollection id="arrColl">
            <mx:source>
                <mx:Array>
                    <mx:Object label="Student A" score="8" />
                    <mx:Object label="Student B" score="4" />
                    <mx:Object label="Student C" score="7" />
                    <mx:Object label="Student D" score="8" />
                    <mx:Object label="Student E" score="2" />
                    <mx:Object label="Student F" score="6" />
                    <mx:Object label="Student G" score="7" />
                    <mx:Object label="Student H" score="7" />
                    <mx:Object label="Student I" score="9" />
                    <mx:Object label="Student J" score="8" />
                    <mx:Object label="Student K" score="4" />
                    <mx:Object label="Student L" score="7" />
                </mx:Array>
            </mx:source>
        </mx:ArrayCollection>
        <mx:DataGrid id="dataGrid"
                dataProvider="{arrColl}"
                editable="true"
                rowCount="8"
                itemEditEnd="getCellInfo(event);">
            <mx:columns>
                <mx:DataGridColumn dataField="label"
                        editable="false" />
                <mx:DataGridColumn dataField="score"
                        editable="true"
                        itemEditor="{combofac}"/>
    <mx:DataGridColumn headerText="Salvar" width="50">
    <mx:itemRenderer>
    <mx:Component>
    <mx:VBox width="100%" height="100%">
    <mx:Button label="See the values" click="outerDocument.mostra();"/>
    </mx:VBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
            </mx:columns>
        </mx:DataGrid>
    </mx:Application>

  • How to get the list of materials from Sap r/3

    Hi Experts,
    I have one doubt, here iam implementing
    HTTP TO RFC scenario.
    My doubts are------
    1. Should we create DT MT MI and all (OR) not
    2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).
    3.Or the second thing is how to get the list of materials start with some alphabate.
    Please reply me for each and every questions mentioned above. Please clarify me.
    Helpful answers wil be rewarded.
    Reagards
    khanna

    Hi Khanna,
    <i> 1. Should we create DT MT MI and all (OR) not</i>
        Yes U need to create for HTTP site...for RFC U need to import..
    <i>2.In Request DT how the message structure wil be to get the list of materials from sap r/3 system as Response(Ex: Fields in the source structure).</i>
        You create your own structres for Request and respoce.. and Map it with RFC..
    <i>3.Or the second thing is how to get the list of materials start with some alphabate.</i>
        I think it will come with acending order....
      for more help go through this link
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    regards,
    Ansar.

Maybe you are looking for

  • Error in Mapping - Transaction R3AS

    HI,   We have problems with replicate of materials. We have done for DNL_CUST_PROD0 and DNS_CUST_PROD1, but for object name MATERIAL doesn't work. The system shows the message SYSFAIL in Queue and the detail is "Error in Mapping". We have verified th

  • [PARTIALLY SOLVED] Wine 3D apps make the system randomly freezes

    Hi! Since some months, i can't play longer that one hour on games through wine: xorg locks up the system randomly: i can't switch to a console or close the game with Alt+F4. I can only move the mouse, and the sound is always running. Moreover, I can

  • Where are the moderators? [split]

    Dusty wrote:He's also basically taken over the forums here as head administrator in a system that was once governed by multiple moderators. Recent changes were made without any involvement of the other advisors. Where are these moderators you speak o

  • HT5622 This Apple ID has not yet been used in the iTunes Store

    This Apple ID has not yet been used in the iTunes Store

  • Password Work Around

    I have a Toshiba Sattelite R15, it goes to the Toshiba Splash Screen and then do a DOS Screem asking "PASSWORD=" My brother can't remember the password he set on it. HELP!