RuleSet returns the same xml string what I send from webdynpro project

Hello,
I made an webdynpro application which invokes the RuleSet in BRM project by calling invoke rulset method with 4 parameters e.g. Project name, ruleset name, xmlstring, and rule engine.
I guess in project name, and ruelset there is no problem.
xmlString made dynamically picking values from webdynpro UI elements. which is
[<tns:Insurance xmlns:tns="http://www.example.org/Insurance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/Insurance BasePremiumCalculation.xsd ">
   <tns:Make>Audi</tns:Make>
   <tns:Model>1</tns:Model>
   <tns:TypeClass>19</tns:TypeClass>
   <tns:AreaCode>R9</tns:AreaCode>
   <tns:BasePremium></tns:BasePremium>
</tns:Insurance>
I need to get the premium by giving first 4 element of the above xml string.
After calling the invokeRuleSet method returns the same xmlString as an output.
Can any body help me??
Regards,
Naeem

Hello!
Can you tell me how you solved this problem? I have the same problem and i have no idea how to solve it.
Thanks,
Szilamer

Similar Messages

  • GUID generation issue, SYSUUID always returns the same value.

    Hi,
    I'm using "SELECT SYSUUID FROM DUMMY" to get a guid value but it always return the same value.
    What should I do to get a unique value each time I execute the query above.
    Thanks.

    I thought I had the same problem and I found that if you generate multiple UUID's in the same SQL, it they will be the same.  If you make multiple calls, you should get multiple UUID's. 
    Try this:
    SELECT SYSUUID as UUID1 FROM DUMMY;
    SELECT SYSUUID as UUID2 FROM DUMMY;
    I get the following results:
    UUID1 = 538632FD7EA20426E10000000A3F10A9
    UUID2 = 538632FE7EA20426E10000000A3F10A9
    Notice that the strings look almost identical, but the 8th character on UUID1 is a D and the 8th on UUID2 is a E.
    Jim

  • Two classes have the same XML type name??? Please, help...

    Hello!
    I have a simple web service class. I generated the ws server-side classes using wsgen.
    I created a jar file from the generated code.
    Then :
    Endpoint endPoint = Endpoint.create(
    new WebServicesUnitImpl()
    String wsFinalName = "http://localhost:9999/akarmi";
    endPoint.publish( wsFinalName );
    The web service started fine.
    Then called wsimport, and the generated classes have been placed into a jar file.
    Then called the code like this:
    WebServicesUnitImplService service = new WebServicesUnitImplService();
    WebServicesUnitImpl unit = service.getWebServicesUnitImplPort();
    unit.serviceXXX();
    but the code doesn't work at all, resulting this error message:
    Two classes have the same XML type name "{http://ws.components.core.ilogique.vii.com/}getMessages". Use @XmlType.name and @XmlType.namespace to assign different names to them.
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
              at public com.vii.ilogique.core.components.ws.GetMessages com.vii.ilogique.core.components.ws.ObjectFactory.createGetMessages()
              at com.vii.ilogique.core.components.ws.ObjectFactory
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
    I have this error report on all generated class file! How can i fix this?
    What is the main problem? The SE usage? I copied the lates jax-ws jars into endorsed lib resulting the same.
    Any help is appreciate.

    Hello!
    I have a simple web service class. I generated the ws server-side classes using wsgen.
    I created a jar file from the generated code.
    Then :
    Endpoint endPoint = Endpoint.create(
    new WebServicesUnitImpl()
    String wsFinalName = "http://localhost:9999/akarmi";
    endPoint.publish( wsFinalName );
    The web service started fine.
    Then called wsimport, and the generated classes have been placed into a jar file.
    Then called the code like this:
    WebServicesUnitImplService service = new WebServicesUnitImplService();
    WebServicesUnitImpl unit = service.getWebServicesUnitImplPort();
    unit.serviceXXX();
    but the code doesn't work at all, resulting this error message:
    Two classes have the same XML type name "{http://ws.components.core.ilogique.vii.com/}getMessages". Use @XmlType.name and @XmlType.namespace to assign different names to them.
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
              at public com.vii.ilogique.core.components.ws.GetMessages com.vii.ilogique.core.components.ws.ObjectFactory.createGetMessages()
              at com.vii.ilogique.core.components.ws.ObjectFactory
         this problem is related to the following location:
              at com.vii.ilogique.core.components.ws.GetMessages
    I have this error report on all generated class file! How can i fix this?
    What is the main problem? The SE usage? I copied the lates jax-ws jars into endorsed lib resulting the same.
    Any help is appreciate.

  • Context.lookup in a Servlet always returns the same Stateful Session Bean

    Hi,
    I am working on an application in which a Servlet should obtain one StateFul Session Bean per client. I read in EJB 3.0 in Action that to do so I should use a jndi lookup and save the result of the lookup in an HttpSession. This works fine for me when I have a single client.
    My issue is that when I have several clients, context.lookup returns the same SFSB for each client. This means that I end up having a single SFSB for the whole application. I've been browsing the web for a while now trying to find a solution but haven't had any luck yet.
    The code I use to obtain and save the SFSB is the following:
    HttpSession session = request.getSession(true);
    DFMServiceRemote service = (DFMServiceRemote) session.getAttribute("DFMService");
    if (null == service)
         service = (DFMServiceRemote) new InitialContext().lookup("DFMService");
         session.setAttribute("DFMService", service);
    }Using different browser, I end up with different HttpSession but a single SFSB. The only workaround I found is to create the context with environment variables or properties. It then returns different SFSBs for different HttpSession. The workaround code is as below:
    Hashtable<String, String> env = new Hashtable<String, String>();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "oc4jadmin");
    env.put(Context.SECURITY_CREDENTIALS, "welcome");
    env.put(Context.PROVIDER_URL, "ormi://localhost:23791/DriverFatigue");
    service = (DFMServiceRemote) new InitialContext(env).lookup("DFMService");My question is the following. How can I get a different instance of an SFSB every time I execute context.lookup without specifying properties.
    Thanks in advance for any help,
    Matthieu Siggen

    I just did something similar in another project using JBoss instead of oc4j and didn't have any problem. I expect I missed a configuration file in oc4j or there is a conflict somewhere.

  • Getting the JAXB exception like "Two classes have the same XML type name-"

    Getting the JAXB exception like "Two classes have the same XML type name...",
    Here is the exception details:
    Exception in thread "main" com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions Two classes have the same XML type name "city". Use @XmlType.name and @XmlType.namespace to assign different names to them. this problem is related to the following location: at com.model.City at public com.model.City com.model.Address.getCurrentCity() at com.model.Address this problem is related to the following location: at com.common.City at public com.common.City com.model.Address.getPreviousCity() at com.model.Address
    at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.xml.bind.ContextFinder.newInstance(Unknown Source) at javax.xml.bind.ContextFinder.find(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at com.PojoToXSD.main(PojoToXSD.java:17)
    I took the example like:
    package com.model; ---->this package contains 'Address' class and 'City' class
    public class Address {
    private String areaName; private City currentCity; private com.common.City previousCity;
    package com.model;
    public class City {
    private String cityName;
    Another city class in "com.common" package.
    package com.common;
    public class City {
    private String pinCode;
    We need to create XSDs and needs to do the Marshalling and unmarshalling with the existing code in our project(like as above example code), code does not have any annotations like "@XmlRootElement/@XmlType" and we can not able to change the source code.
    I would like to know is there any solution to fix the above issue or any other ways to create XSDs and marshaling/unmarshalling(like MOXy..etc)?
    It would be great if i can get the solution from any one....May thanks in advance.
    Thanks,
    Satya.

    Getting the JAXB exception like "Two classes have the same XML type name...",
    Here is the exception details:
    Exception in thread "main" com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions Two classes have the same XML type name "city". Use @XmlType.name and @XmlType.namespace to assign different names to them. this problem is related to the following location: at com.model.City at public com.model.City com.model.Address.getCurrentCity() at com.model.Address this problem is related to the following location: at com.common.City at public com.common.City com.model.Address.getPreviousCity() at com.model.Address
    at com.sun.xml.internal.bind.v2.runtime.IllegalAnnotationsException$Builder.check(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.(Unknown Source) at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at javax.xml.bind.ContextFinder.newInstance(Unknown Source) at javax.xml.bind.ContextFinder.find(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at javax.xml.bind.JAXBContext.newInstance(Unknown Source) at com.PojoToXSD.main(PojoToXSD.java:17)
    I took the example like:
    package com.model; ---->this package contains 'Address' class and 'City' class
    public class Address {
    private String areaName; private City currentCity; private com.common.City previousCity;
    package com.model;
    public class City {
    private String cityName;
    Another city class in "com.common" package.
    package com.common;
    public class City {
    private String pinCode;
    We need to create XSDs and needs to do the Marshalling and unmarshalling with the existing code in our project(like as above example code), code does not have any annotations like "@XmlRootElement/@XmlType" and we can not able to change the source code.
    I would like to know is there any solution to fix the above issue or any other ways to create XSDs and marshaling/unmarshalling(like MOXy..etc)?
    It would be great if i can get the solution from any one....May thanks in advance.
    Thanks,
    Satya.

  • HT1926 "Registry settings usef my ITune drivers for importing and burning CDs and DVDs are missing." I have reinstalled Itunes and still get the same message.  What should I do.  bkgee

    "Registry settings used by ITune drivers for importing and burning CDs and DVDs are missing."  I have reinstalled ITunes but still get the same message.  What should I do?  bkgee

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • My Iphone will not let me download apps because it says my apple id is disabled, I have changed my password four times and it still is saying the same thing. What do I do now?

    My Iphone will not let me download apps because it says my apple id is disabled, I have changed my password four times and it still is saying the same thing. What do I do now?

    Contact iTunes to re-enable your account at expresslane.apple.com
    You can reach them by chat or email.

  • HT201365 I just I just updated to iOS 7 and now my calendars are not keeping the information on the days that should be marked.  The info is there in my iCloud on my computer, just not on the iPhone.  Has anyone had the same problem and what can I do abou

    I just update to iOS 7 on my iPhone 4s. The calendars on my iPhone are not keeping the information on the days that should be marked.  The info is there in my iCloud on my computer, just not on my phone.   Has anyone else had the same problem and what can I do about it?  Is it at bug in the iOS 7 update?

    What do you mean by "on the days that should be marked"?  Are you calendar events displayed on the wrong days?

  • I have recently upgraded to OSX 10.8.2 and now find that I cannot operate my scanner, an hp psc 1310 series printer/scanner. I get a message saying that Power PC is no longer supported. I am still able to print on the same device. What should I do?

    I have recently upgraded to OSX 10.8.2 and now find that I cannot operate my scanner, an hp psc 1310 series printer/scanner. I get a message saying that Power PC is no longer supported. I am still able to print on the same device. What should I do?

    Hi,
    PSC 1315 no longer supported for scanning since Mac OS X v10.5 or while using any newer OS, there is no scan software provided by either HP or Apple (Image Capture)
    You may find this information stated below for Leopard, the same apply for any newer OS version:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01234231&cc=us&dlc=en&lc=en &os=219&product=374568&sw_lang=
    Image capture will not recognize your device as well, only print is supported as you may find listed for teh PSC 1310 Series below:
    http://support.apple.com/kb/HT3669#HP
    Although there is no official scanning support for your device you may still try the 3rd party VueScan software which list your scanner as supported and compatible with Mountain Lion:
    http://www.hamrick.com/vuescan/hp_psc_1310.html
    Shlomi

  • "your Apple ID has been disabled" Ihave rest password 4 times today, still getting the same message. What to do?

    "your Apple ID has been disabled" Ihave rest password 4 times today, still getting the same message. What to do?

    Contact itunes support

  • If i have an iPhone and an iPad on the same apple id, what do i do to NOT have my iPad get the imessages for my phone?

    If i have an iPhone and an iPad on the same apple id, what do i do to NOT have my iPad get the imessages for my phone?

    On the iPad:
    Settings > Messages > Send & Receive > Uncheck your phone number from both sections
    To turn it off completely:
    Settings > Messages > turn off iMessage

  • Can you put two iTunes libraries on the same computer? what is the best way?

    Is it possible to put two iTunes libraries on the same computer?  What is the best way to do it so the two libraries are not connected?

    MSGTN wrote:
    Is it possible to put two iTunes libraries on the same computer?
    yes.
    What is the best way to do it so the two libraries are not connected?
    give them distinct names. launch iTunes while holding the option (⌥) key, click on choose library when prompted, and select the iTunes folder of the desired library.
    FWIW, there are 3rd party apps that help with managing multiple libraries, notably:
    PowerTunes
    iTunes Library Manager

  • My ipad mini is not connecting to the wifi network. I have the correct network and password chosen, but the message I get is that "unable to join". I have reset my ipad and it still says the same thing.  What can I do about this.

    My ipad mini is not connecting to the wifi network. I have the correct network and password chosen, but the message I get is that "unable to join". I have reset my ipad and it still says the same thing.  What can I do about this?

    Hey Dr kris,
    Thanks for the question, and welcome to Apple Support Communities.
    I understand that you are having issues connecting to Wi-Fi networks with your iPad mini. The following troubleshooting assistant may lead to a resolution:
    Apple - Support - iPhone - Join a network Assistant
    http://www.apple.com/support/iphone/assistant/wifi/
    For more in-depth troubleshooting, refer to the following article (refer to the "Unable to connect to a Wi-Fi network):
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/TS1398
    Thanks,
    Matt M.

  • It keeps giving me an error message when I go to download my purchases. I follow the directions and it just keeps giving me the same error. What do i do to get the songs

    It keeps giving me an error message when I go to download my purchases. I follow the directions and it just keeps giving me the same error. What do i do to get the songs?
    It just keeps telling me they were inturupted but i didnt so anything. I want the songs I paid for.

    Yes its been cleaned out, i have tried many different things to try an fix it but still nothing. i just can't understand how it can be working perfect 1 minute then not working the next minute.  seems to be a common problem with no real solution.

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

Maybe you are looking for