Invoke the process of implementation of the method of automatic activity

Hello

I want to call a business process of the automatic activity of another process craft deployed on the same engine and same project as well. Please provide steps, if possible for the same thing.
Thanks in advance.

Hello Ketan,

Here's how you can create an instance in a process using the logic in the activity of the automatic method. This example uses the "Fuego.Lib.ProcessInstance.create ()" method below within a process:

// "args" is an associative string array (Any[String])
argsIn as Any[String]
// this assumes that the Begin activity has two argument variables
//   named "nameArg" and "amountArg" and you're setting them
//   to the variables "name" and "amount" respectively
argsIn["someArgVarName"] = "Hello"
argsIn["someBpmObject"] = myBpmObject

// logic here to determine the name of the process to create an instance in
idOfProcess as String
idOfProcess = 
ProcessInstance.create(processId : "/" + idOfProcess, arguments : argsIn, argumentsSetName : "BeginIn") 

ProcessInstance is in the catalog inside Fuego.Lib.

The processId parameter (the variable "idOfProcess" in the logic above) is the thing that I most often live with that. This is the text that you see when you process in the project right-click browser tab-> "Properties". Look at the value in the field 'Id' and not the field 'Name' (the name without a space). Prefix with "/" as presented here and if you have deployed this using a unit of Organization (UO) then prefix this chain also.

The third parameter is almost always "BeginIn". Start of activities in a process can have several incoming argument mappings, the default value is "BeginIn". See your, double-click the process Begin activity and seek on behalf of mapping in the upper left corner of the dialog box.

"argsIn" is the set of variables of incoming arguments you want to spent in the process. A common error is to type the names of the variables argument entering without the double quotes, as follows:

. . .
// this will *NOT* work
argsIn[someArgVarName] = "Hello"
argsIn[someBpmObject] = myBpmObject
. . .

Here is the correct syntax:

. . .
// this *WILL* work
argsIn["someArgVarName"] = "Hello"
argsIn["someBpmObject"] = myBpmObject
. . .

In this example, the process has two argument variables. It doesn't matter if the incoming arguments are arguments of primitive type (e.g. String, Integer, Decimal...) or objects of BPM, it is always in the same way. In this example, there is an incoming string argument, called "someArgVarName" and an argument entering BPM object called "someBpmObject".

Hope this helps,
Dan

Tags: Fusion Middleware

Similar Questions

  • Invoke the app e-mail activity

    I use the PlayBook Simulator to test my android app. I can't test capacity sending html email. I use following code to send an email in current android app.

    Intent intent = new Intent (android.content.Intent.ACTION_SEND);
    intent.setType("text/html");
    context.startActivity (Intent.createChooser (intent,
    getEmailChooserTitle()));

    This code works fine on android devices (present a list of applications that can send an email, and when you select a watch application compose e-mail, etc), but when this test on Simulator PlayBook, he does not display any app list or compose e-mail screen.

    Is there another way suggested to send e-mails via PlayBook?

    Thank you.

    Hello

    Unfortunately there is no support to compose and send the email from the Android Runtime for BlackBerry PlayBook. BlackBerry 10, we support the possibility of invoking the native email make up the card, which allows the support you're looking for.

    See you soon,.

  • Invoking the CreateInsert of a managed bean

    Hi all

    I'm trying to call a CreateInsert operation on a view of a method object in a managed bean. The method is assigned as the actionListener for a toolbar button. For this, I modified the file xxxPageDef.xml with the wizard, who introduced something like this:

    & lt; action = "CommercialReferenceVO1Iterator" id = "CreateInsertPepe" IterBinding
    InstanceName = "DesignRequestAMDataControl.CommercialReferenceVO1"
    DataControl = "DesignRequestAMDataControl" RequiresUpdateModel = "true".
    Action = "createInsertRow" / & gt;
    & lt; / code & gt;

    I invoke the method using the EL from Steve Muench class as follows:

    EL.invokeMethod ("#bindings. CreateInsertPepe.execute', null (class), null);

    I do something appropriate? Because the truth is, it does not work :)

    What I really need, is create and insert a new row into an object of the detail view, and then change the tab currently selected programmatically to display the edit page for the new line.

    I hope that my question is at least some logic...

    Thank you!

    Juan Manuel

    Try this code in your method of action/actionListener managed bean:

    OperationBinding createInsertOp = (OperationBinding)getBindings().get("CreateInsertPepe");
    createInsertOp.execute();
    

    The code only inserts the line. Programatically displaying the edit page for the new line it is something else. If my suggestion is to execute the code inserts really the only line. If its ok, then just add the code that automatiaclly displays the edit page. In this way we can isolate the problem.

    Make sure the CommercialReferenceVO1Iterator is in the iterator header for the CreateInsert to work on a ViewObject detail.

    Another thing is that in your pagedef, I noticed the action links, the 'Action' attribute has the value "createInsertRow". You use charger 11 g? I don't know if its new in 11g but I use ADF 10 g and the attributes of 'Action' have numeric values, where a CreateInsert operation would have an Action = "40".

    Best regards

    Anton

  • Guard application launch at the start of the appliance, also need advice for the implementation of network methods

    Hi all

    I'm new to the development of Blackberry and I'm writing a relatively simple application to run on 7.1.

    So far the development was interesting, I managed to create my user interface using resources online (mainly this forum), but today I tried to implement some of the network classes that I need and now I just met constant problems.

    I use Eclipse SDK 3.7.2 (the one that comes with the plugin RIM)

    First question:

    I'm not sure what I changed, but today I noticed that whenever I start the Simulator (by sim 9360) my application is started during the initial startup process. I don't think he did this before, but to be honest, I wasn't paying much attention. I think it starts at the start of the device is because I put a breakpoint in the constructor for my class from the main screen, which is hit before the Simulator happens even to the point where it is ready for user interaction. In addition, once it is ready, if I press the BB button, I see my registered application.

    I don't have it set to automatic start in .xml descriptior enforcement.

    I started this application on the HelloBlackBerry sample, here is my main method for the entry of the application:

    public static void main( String[] args ) {
            appSettings = AppSettings.fetch();
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            HelloBlackBerry theApp = new HelloBlackBerry();
            theApp.enterEventDispatcher();
            //openConnection();
    
        }
    
    
    

    As far as I know, this is the only entry point for the application.

    More code

        public HelloBlackBerry() {
            // Push a screen onto the UI stack for rendering.
            mainScreen = new ScreenHelloBlackBerry();
            pushScreen( mainScreen );
        }
    

    Here is the method of. my class AppSettings fetch()

        // Retrieves a copy of the effective properties set from storage.
        public static AppSettings fetch()
        {
            AppSettings savedSettings = (AppSettings) _store.getContents();
            return new AppSettings(savedSettings);
        }
    

    Some of this code that I wrote myself, the persistence store cause the launch of my car?

    I tried to reset the Simulator to the factory settings, no change.

    All applications initialized during the startup of the device and then closed shortly after?

    Part 2: Need advice for the implementation of functions of network in the application

    I need to implement some methods that will retrieve data from a web service, and I also need to send data to this service. What I've read, the ConnectionFactory is the way to go. I want my application to make a request when the application is open and can check on a set interval. I didn't know exactly how to go about adding another thread for networking, I understand that network connections should not be created on the thread main event, so I tried to do this:

    The constructor of my class that implements screen (ScreenHelloBlackBerry), I use the following to create a modal dialog box to prompt the user for a username, I also try networking wire in the same segment of spawning:

            public ScreenHelloBlackBerry(){...initialize fields and managers, add it all together...then near the end
    
    //This will open the confirm dialog when the application is launched
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                  public void run() {
                      openConfirmDialog();
                    //start connection - Possibly broken
                      ConnectionThread ct = new ConnectionThread();
                      ct.start();
                  }
            });
    

    I don't know if it's somehow OK to do, but it seems to work for what I need. I want a user who launches the application at the prompt, and if a user switch applications, when they come back they wondered again (unless they close the app and reopen it).

    Here is my ConnectionThread:

    public class ConnectionThread extends Thread
    {
    
        public void run()
        {
    
              ConnectionFactory connFact = new ConnectionFactory();
              ConnectionDescriptor connDesc;
              connDesc = connFact.getConnection("http://www.google.com");
              if (connDesc != null)
              {
                  HttpConnection httpConn;
                  httpConn = (HttpConnection)connDesc.getConnection();
                  try
                  {
                      final int iResponseCode = httpConn.getResponseCode();
                      UiApplication.getUiApplication().invokeLater(new Runnable()
                      {
                          public void run()
                          {
                              Dialog.alert("Response code: " +
                                            Integer.toString(iResponseCode));
    
                          }
                       });
                      httpConn.close();
    
                   }
                   catch (IOException e)
                   {
                     System.err.println("Caught IOException: "
                          + e.getMessage());
                   }
              }
        }
    }
    

    At the moment it has basically unmodified code from a sample that I found, I'll be retooling to meet my needs whenever I can make it work. I HAD this work to the point where, after the closed user confirm this dialog, a few moments later a an alert dialog appears with the 302 response code. I don't know what changed, but now it doesn't work at all, and if I try to scroll with the debugger, I can't past the httpCon.getResponseCode (). I've seen some mistakes earlier on "no record of service was set up", and I also had once a timeout exception.

    I'm sure I'm doing this wrong, but at the same time as I said WAS working, and now it is not. If someone has done this far, thank you very much for your time and advice are much appreciated.

    Also, should I try to start the thread of the network of the UIApplication class instead of the screen? There is currently very little happening in the class that extends UIApplication, do I spend most of my business logic out of the class of the screen and in the UIApplication class?

    Thanks in advance!

    Hi all

    Just to conclude this topic for those who are interested, I found an excellent guide to the implementation of networks in applications of BB, click here for a link.

    About my application being started at the start of the simulator of the device, I found that on a device real this behavior is not complied with, and in addition, the behaviour seems to have stopped after uninstallation and reinstallation of my Simulator.

    See you soon,.

  • Invoke the task from another process definition - is this possible

    Is it possible to invoke the task from another process definition?
    PD1 has task1
    PD2 has task2
    Call PD1.task1 from PD2.task2

    If possible, then what method API should I use.
    Thank you!

    Can you give me the right answer on this post :)

    -Kevin

  • I need to know the process to implement encryption for Windows 8, on a HP Pavilion

    Original title:

    Encryption

    There is a choice in my control panel to set up encryption, but I have to go through the TPM module to be able to put in place, and my PC is not safe and has never been, I need to know the process to implement encryption for Windows 8, on a HP Pavilion

    Hello

    Protect your files with the encryption device
    http://Windows.Microsoft.com/en-us/Windows-8/using-device-encryption

    Protect your files using BitLocker Drive encryption
    http://Windows.Microsoft.com/en-us/Windows/protect-files-BitLocker-Drive-Encryption#1TC=Windows-8

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Question about the process() in Lession 1-2 method

    Lesson 1-2 contains the statement "String r = process (list, (x, y)-> x.length () - y.length ())", that I do not understand and cannot parse, even if I am a little familiar with lambda expressions. "  The method takes a list of String and a comparator, but the result is assigned to a unique string.  What result returned by this method?

    Looks like you are looking to slide 4 lesson 1-2.

    The example here does not say what the process() method, but one can imagine that she's going through all the items in the list and chooses the one that is the largest according to the provided comparer. This is similar to the Collections.max (Collection, comparator) method. Who is?

    Furthermore, there is a small error in the declaration of the process() method which could give a little trouble. The statement must have a parameter of type:

    static T process(List l, Comparator c)

    If you have problems, the analysis of the code, the line in the example is

    String r = process(list, (x, y) -> x.length() - y.length())

    In this case, the reference parameter is the lambda expression

    (x, y) -> x.length() - y.length()

    This has two parameters which, in this context, must be of type String. The Agency calculates the difference between the lengths, which is an int. Thus, the lambda takes two strings and returns an int. This corresponds to the comparator interface compare() method.

  • The implementation of the method of Frank Nimphius's to insert a line at the end of a table?

    Mr President.

    The implementation of the method of Frank Nimphius's to insert a line at the end of a table?

    https://blogs.Oracle.com/jdevotnharvest/entry/how_to_add_new_adf

    I put this method is my CustomerViewRowImpl class

    Like this

    public String onRowCreate() {
     BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
     //access the name of the iterator the table is bound to. Its "allDepartmentsIterator"
     //in this sample
     DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("allDepartmentsIterator");
     //access the underlying RowSetIterator
     RowSetIterator rsi = dciter.getRowSetIterator();
     //get handle to the last row
     Row lastRow = rsi.last();
     //obtain the index of the last row
     int lastRowIndex = rsi.getRangeIndexOf(lastRow);
     //create a new row
     Row newRow = rsi.createRow();
     //initialize the row
     newRow.setNewRowState(Row.STATUS_INITIALIZED);
     //add row to last index + 1 so it becomes last in the range set
     rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow); 
     //make row the current row so it is displayed correctly
     rsi.setCurrentRow(newRow);                          
     return null;
    }  
    

    My iterator name is CustomerView1Iterator

    What to write get the method at line 5 above

     DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("allDepartmentsIterator");
    

    Concerning

    Hello world

    I put my name to vo iterator CustomerView1Iterator instead of allDepartmentsIterator.

    And it works quite well

    Concerning

  • Deliver to invoke the Enterprise WSDL BPEL process

    Hello
    I am currently an Enterprise WSDL of BPEL. And the same error every time.
    «Can't access the following endpoint: https://test.salesforce.com/services...» »

    While I am able to call the methods within the WSDL for soapUI. I know that's not the normal WSDL we use... this WSDL does not get them.

    Any help will be much appreciated...

    Kind regards
    En

    I was able to get this working using 11.1.1.3. Basically, you need to create a key file using the keytool utility that comes with the JDK. You can get the https://login.salesforce.com via your browser x.509 certificate. Just go to the website and view the certificate of the site with Firefox do you by double clicking on the padlock in the lower right of the browser. Save cert and create the keystore as follows

    keytool - importcert-alias login.salesforce.com - login.salesforce.com.pem - file mySSLidentities-keystore

    Once you have done this, you set the - your_truststore_location to JAVA_OPTIONS = Djavax.net.ssl.trustStore in your setDomainEnv.bat or setDomainEnv.sh file. Once this is done, you and restart the server, SOA, you should be ok.
    See section 6.2 of the Administrator's Guide Oracle® Fusion Middleware Oracle SOA Suite and Oracle Business Process Management Suite
    11g Release 1 (11.1.1)
    Part number E10226-04

    You will also need the certificate for the URL you get in return through the sfdc connect call. Use the same procedure as above. Do I have to understand now is how to define endpoint dynamically to salesforce.com web service calls after the connect call.

  • Problem by invoking the process task on the update in the form of process field

    Hello world

    I extended LDAP ICF connector...
    I created the domain name like AccountOwner < search >
    I try to AccountOwner update creation process, but is not triggering the process task when the accountOwner field is changed
    This case invoking the task in process of update UD_LDAP_USR if any field changes in form
    Anyone has an idea on the problem of higher level
    Can give you some ideas why this was not the exception


    Kind regards

    Nana Gorrepati

    Published by: nanga Cormier on March 1, 2013 12:20

    You get only one or the other in this task you mention. If your process definition contains "Update UD_LDAP_USR" as a name for the task, it will still work to update any field. If you want tasks to run individually on a change, rename this task as "TEMP UD_LDAP_USR updated" so it does not fire.

    -Kevin

  • Invoke the "return of workflow" to a Java method

    Hi, I have the following problem:

    I have a link that calls a taskFlow call. This workflow has a Java method as a default activity. In this Java method, I make little validation and if the validation fails, I want to return to the original page.

    Can I do this if I use:

    ExternalContext ectx is FacesContext.getCurrentInstance () .getExternalContext ();.

    HttpServletResponse response = (HttpServletResponse) ectx.getResponse ();

    String url = ectx.getRequestContextPath () + "page." 

    response.sendRedirect (url);

    But this way, I lose the context and I can't show a message in the FacesContext like this:

    FacesContext context = FacesContext.getCurrentInstance ();

    FacesMessage msg is new FacesMessage (FacesMessage.SEVERITY_FATAL, "Information", "message");.

    context.addMessage (null, msg);

    I want to know if I can call it the 'task flow back' this method of java (or any other form of redirecting to the page) so that I can keep the context and display the message correctly.

    I use JDeveloper 11.1.2.3.0.

    I appreciate if anyone can help. Thank you.

    You can add a default activity navigation case to the stream return axtivity task. Then, you set the action of the method to the results chain and return the name of navigation to the workflow of return if your validation fails, otherwise, you return the case of normal navigation.

    Timo

  • Problem with invoking the Application Messages

    Hello

    I'm testing an application that adds an element of application menu in the list of messages and when clicked, displays just the old content and beneficiaries on the screen 'Compose Email'.

    That's what I did.

    public Object run(Object in_objContext)
    {
       if(in_objContext instanceof Message)
       {
        Message msgOrig = (Message)in_objContext;
        try
        {
            Message msgNew = msgOrig.reply(true,true);
    
            Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES,
                new MessageArguments(msgNew));
    
        }catch(Exception e){}
       }
       return null;
    }
    

    The problem is, there is no "Send" command in the context menu.

    Can someone help me?

    I can confirm that, but you're probably referring to my post on the other forum anyway.

    What you will find (if the memories are good) is that a message created with the Message.reply () function object doesn't have a 'Send' menu item when the envoys to the Messages app.

    However, I think you will find that the method of 'memory' works.

    What we ended up doing are creating our own processing of the Message object to generate a response object.

  • Several call to the method of painting

    Ask for help on one of the most common problems in the development of BB UiApp. My method of painting is called more that I can think of logicall. Ask for help to understand why its happening

    Looks like my request

    CFL extends ListField implements {ListFieldCallback}

    }

       public int moveFocus(int amount, int status, int time){        invalidate();     return super.moveFocus(amount, status, time);    }    //Invoked when this field receives the focus.    public void onFocus(int direction){        _HASFOCUS = true;        super.onFocus(direction);    }    //Invoked when a field loses the focus.    public void onUnfocus(){        _HASFOCUS = false;        super.onUnfocus();        invalidate();    }    //Handles trackball movement on all directions    public boolean navigationMovement(int dx, int dy, int status, int time){               if (dy == 0 && dx <= -1){                /*do something*/           this.invalidate();        }else if (dy == 0 && dx >= 1){                /*do something*/           this.invalidate();        }        super.navigationMovement(dx, dy, status, time);        return false;    }    public void drawFocus(){
    
        }public void paint(){  /*paint the list row and the highlight manually*/} public void drawListRow(ListField listField, Graphics graphics, int index, int y, int width) {        // TODO Auto-generated method stub    } //Not yet implemented public Object get(ListField listField, int index) {       // TODO Auto-generated method stub        return null;  } //Returns the preferred width for the control public int getPreferredWidth(ListField listField) {       // TODO Auto-generated method stub        return this.getWidth();   } //What is this one? Looks like search public int indexOfList(ListField listField, String prefix, int start) {       // TODO Auto-generated method stub        return 0; }
    

    I created the ParentScreen stretching from the main screen with a verticalfieldmanager and custom list field inserted into it with 2 other controls.

    Now when I run the app and I move the focus to the top or to the bottom of the painting, the method is called 4 times. I expect the paint method to get called time or max 2 times. , but the paint method is called 4times.

    Here is the stack trace. I am trying to understand why this is happening from the stack trace, but can not understand. Can someone explain to me. Here is the stacktrace for all 4 calls to the methods of painting. Can someone explain?

    Stack trace for 1st call to paint method-----------------------------------------CFL:paintCFL(Field):paintSelfParentScreen:doRemoveFocusParentScreen:doFocusMoveParentScreen:navigationMovementParentScreen:dispatchNavigationEventUiEnginerImpl:processMessage
    
    Stack trace for 2nd call to paint method-----------------------------------------CFL:paintCFL(Field):drawHighlightRegionCFL(Field):drawFocusCFL(LisField):drawFocusParentScreen(Screen):doAddFocusParentScreen(Screen):doFocusMoveParentScreen(Screen):navigationMovementParentScreen(Screen):dispatchNavigationEventUiEnginerImpl:processMessage
    
    Stack trace for 3rd call to paint method-----------------------------------------CFL:paintCFL(Field):paintSelfVerticalFieldManager(Manager):paintChildVerticalFieldManager:subpaintVerticalFieldManager(Manager):paintVerticalFieldManager(Field):paintSelfVerticalFieldManager(Manager):paintSelfVerticalFieldManager(Manager):paintChild
    
    Stack trace for 4th call to paint method-----------------------------------------CFL:paintCFL(Field):drawHighlightRegionCFL(Field):drawFocusCFL(ListField):drawFocusCFL(Field)paintSelfVerticalFieldManager(manager):paintChild
    

    As far as I know, invalidate will get infrastructure to call paint twice, once to paint blurred and new areas to paint the update.  Why don't you try disconnected from the moveFocus() to see what changes this causes?

    About drawFocus, you have not overridden the drawFocus at all routine, because his signature looks like this:

    protected void drawFocus (graphics graphics, boolean on)

    You have substituted him:

    Public Sub drawFocus()

  • Performance issue with the method extract in 11g

    I am new to Oracle XML DB. I'm having a problem with an example simple Java application designed to test the response time. I can't find an answer to this question.

    It takes about 1/2 second, whenever my Java client makes a call to the method "extract" of XMLType. Extract is called 3 times for each row returned in a result set. It takes 1 1/2 seconds to process 1 line. With a result set of 55 lines, it takes about 1 1/2 minutes to process the entire result set.

    It seems to me that an appeal must be get done to retrieve the data from the server to each snippet of time is called. This performance is unacceptable and will not evolve. This seems to be a lazy loading problem that could be treated with the configuration; but I still need to find something specific documented.

    Is there something that can be done to solve this problem or is it typical performance?

    I use a binary XML storage. I created a XMLIndex; but it made no difference. Does not seem like an indication that much of a difference, since the problem occurs when you access XML different values in the same line...

    The extract method is implemented in the classes of the JAVA API provided by the Oracle client installation.

    Just to clarify things, this forum is related to a feature in the Oracle database. The API you mentioned and you use are provided by another group within Oracle (I think). In addition, the used API .extract does its job fully without communicating with the DB. You can check this to hard code in an XML response and disconnect your computer from the network before you run the logic of analysis and it would continue to operate.

    The fact that this method is removed must have something to do with its inefficiency

    The disapproval that I mentioned is only in what regards the SQL in the Oracle DB. As noted above, the used API lives under a different set of rules, so I can't speak to that. There is probably a forum for the API, but I haven't been looking.

    Back on topic, a possible rewrite for your SQL statement is (untested)

    select aex.APPLICATION_NAME, aex.VERSION, aex.EVENT_TYPE, xt.sendingSite, xt.receivingSite, xt.eventID
      from AUDITED_EVENT_XML aex,
           XMLTable('/*/MSH'
                    PASSING aex.xml_event_content
                    COLUMNS
                    sendingSite   VARCHAR2(20)  PATH 'MSH.4/HD.2',
                    receivingSite VARCHAR2(20)  PATH 'MSH.6/HD.2',
                    eventID       VARCHAR2(20)  PATH 'MSH.10'
     where EVENT_TYPE = ?
    

    If you have problems with this, just after a small sample XML and someone can twist where I was wrong.

  • Data custom provider to invoke the Web Service

    Hello!

    When an order is created in OSM we invoke a Web service from the drive section rule of data via a data Instance in the component of the system of recognition of orders. In this way, we could produce a plan of orchestration that evaluates the information returned by the Web service.

    So we did research on data providers in the developer's Guide that says "a data custom provider when the provider is a class is part of the Design Studio project developed as part of a solution. It must implement the provider com.mslv class. oms.view.rule.ExternalInstanceAdapter interface.

    in the javadocs that we refer to the Interface ExternalInstanceAdapter, we find the details of the method:
    org. W3C. DOM. Element retrieveInstance(ViewRuleContext context, < java.lang.String, java.lang.Object > java.util.Map parameters)

    The developer's Guide also found that compiled class adapter must be added "the file in archive customization.jar oms.ear application" because it is necessary to decompress the osm.ear

    In this search for information I have do to reach my cartridges PIP research objective more precisely the 'CommunicationsSalesOrderFulfillmentPIP' project and found there a Custom Data provider exactly like 'OsmWebServiceAdapter' required and class of supplier was "com.mslv. oms.view.rule.adapter.OsmWebServiceAdapter "which is not found in the project, so I guess it should already be part of the file oms.ear.

    If anyone could tell me where to find the class that implements the data provider, I would be grateful if you could help me, because I have concerns on how to implement the method that I outlined in the javadocs and make the call to a web service.

    Thanks in advance.

    AndresG.

    Hi Andres;

    In your example, the $reuso contains the response to the web service operation, you call. $reuso will be the element to response document root (for example, the item: soap envelope). Yes, $reuso / soap: Body will be the body, etc. Note that you declare all your namespaces in xquery, you need to reference to navigate in your response to your element of document. Note that the element don't have a namespace, so this will make it a little more difficult navigation - better if possible to ensure that this item also has a name space as well.

    As for the source of your error, I suspect it's because you're trying to put all the contents of the soap envelope: in the ReusoInfraestructura element. Unless ReusoInfraestructura is a type of OSM XML component, OSM validation will fail because it does not meet the requirements of this type (only XML elements may themselves contain elements). Is there more information in the about the error stack trace?

    Brian.

Maybe you are looking for