ADF-BC not shown as fact type when decision service invoked as webservice

Hello,
I'm new to OBR.
I have included 2 adf-bc fact types in my project (EmployeeView & Department View)
Once the rule is created i get the error stating.
RUL-05162 : The rule set "Ruleset1" requires fact type "EmployeeView", but this type is not part of the input.
RUL:05164: The fact type "EmployeeView" is referenced, but is not asserted not input.
So when i try including as input in the decision service, which is invoked as the webservice, the 'EmployeeView" is not shown in "FactType" drop down. When I uncheck "Will be invoked as webservice" checkbox, the EmployeeView is shown in the "Fact type" drop down in the 'Edit decision function' window.
How to include the ADF-BC fact type, given the decision service is invoked as webservice and xml schema is given as input.
Thanks in advance.

you have to introduce a complexType in the xsd.. like
<xs:element name="name">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="attributeId" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>
<xs:element name="description">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="attributeId" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>refer this for more info
http://www.w3schools.com/schema/

Similar Messages

  • Not able to deploy HumanTask and Decision service using ant file

    Hi all,
    I am using ant file to complile and deploy a bpel process. Currently i am able to compile the bpel process and deploy it. But when it come to deploying humantask and decesion services I am getting a message.
    [deployDecisionServices] There are no decision services to deploy
    [deployTaskForm] There are no forms to deploy
    Kindly guide me out of this issue
    below is my ant file
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="bpel.deploy" default="AuthorizeCreditRequestApproval" basedir=".">
    <property name="process.dir" value="..\SVNCopy\Code}"/>
    <!-- Set BPEL process names -->
    <xmlproperty file="${process.dir}\AuthorizeCreditAS\bpel\bpel.xml"/>
    <property environment="env"/>
    <!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
    <condition property="bpel.home" value="${env.BPEL_HOME}">
    <available file="ant-orabpel.xml"/>
    </condition>
    <!-- If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
    <property name="bpel.home" value="${oracle.home}/integration/bpel"/>
    <!-- First override from build.properties in process.dir, if available -->
    <property file="build.properties"/>
    <!-- import custom ant tasks for the BPEL PM -->
    <import file="ant-orabpel.xml"/>
    <!-- Use deployment related default properties -->
    <property file="ant-orabpel.properties"/>
    <target name="AuthorizeCreditRequestApproval" depends="CheckCustomerMarketSegment">
    <echo>
    | Deploying workflow form for AuthorizeCredit on ${j2ee.hostname}, port ${http.port}
    </echo>
    <deployTaskForm
    platform="${platform}" dir="../SVNCopy/Code/ManageCustomerCreditEligibility/AuthorizeCreditBS/public_html"
    domain="${domain}" process= "AuthorizeCreditBS" rev="${rev}"
    user="${admin.user}" password="${admin.password}"
    hostname="${j2ee.hostname}" cluster="${cluster}"
    rmiport="${rmi.port}" opmnrequestport="${opmn.requestport}"
    oc4jinstancename="${oc4jinstancename}"
    asinstancename="${asinstancename}" verbose="${verbose}"
    />
    </target>
    <target name="CheckCustomerMarketSegment" depends="compileAuthorizeCredit">
    <echo>
    | Deploying decision services for AuthorizeCredit on ${j2ee.hostname}, port ${http.port}
    </echo>
    <deployDecisionServices
    platform="${platform}" dir="../SVNCopy/Code/AuthorizeCredit/decisionservices"
    domain="${domain}" process="AuthorizeCredit" rev="${rev}"
    user="${admin.user}" password="${admin.password}"
    hostname="${j2ee.hostname}" httpport="${http.port}"
         cluster="${cluster}" rmiport="${rmi.port}"
    opmnrequestport="${opmn.requestport}" oc4jinstancename="${oc4jinstancename}"
    asinstancename="${asinstancename}" verbose="${verbose}"
    />
    </target>
    <target name="compileAuthorizeCredit" depends="checkout">
    <echo> --- | Compiling bpel process AuthorizeCreditBS| ---
    </echo>
    <bpelc input="../SVNCopy/Code/AuthorizeCredit/bpel/bpel.xml"
    out="../SVNCopy/Code/AuthorizeCredit/output" rev="${rev}"
    home="${bpel.home}"/>
    <echo> --- | AuthorizeCredit Compiled Successfully, revision ${rev}| ---
    </echo>
    </target>
    </project>
    Edited by: Arun Vikram on Mar 4, 2010 10:45 PM

    Is there any workflow or decision service in ur bpel???
    if present,...the ant is not getting ../SVNCopy/Code/AuthorizeCredit/decisionservices and ../SVNCopy/Code/ManageCustomerCreditEligibility/AuthorizeCreditBS/public_html folders.
    Edited by: krish.chaitnya on Mar 4, 2010 11:20 PM

  • Soap layer error when trying to invoke a webservice.

    Hi,
    I am new to Weblogic.
    I have an issue while invoking the webservice of a webmethods application.
    I am invoking that webservice using rpc call (call.invoke() method of javax.xml.rpc api).
    Please find error description occured in the Server logs of weblogic server.
    Exception while invoking the service call Message is :failed to invoke operation '__incidentReqInput' due to an error in the soap layer(SAAJ);
    nested exception is: Message[Found SOAPElement
    [<m:payload  xmlns:m="http://www.abc.com/gs/solutions/message"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:nil="true">
    </m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
    e name of the element should be one of these[__bea_noname_result]]StackTrace[
    javax.xml.soap.SOAPException: Found SOAPElement [<m:payload xmlns:m="http://www.abc.com/gs/solutions/message"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:nil="true">
    </m:payload>]. But was not able to find a Part that is registered with this Message which corresponds to this SOAPElement. Th
    e name of the element should be one of these[__bea_noname_result]
    at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage.java:478)
    at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:325)
    at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:144)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:457)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:443)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:566)
    at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:419)
    at com.gs.customerbonding.hub.httpHandler.WSResponseSenderImpl.sendResponse(WSResponseSenderImpl.jcs:370)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:371)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
    at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
    at com.bea.wlw.runtime.jcs.container.JcsProxy.invoke(JcsProxy.java:381)
    at $Proxy106.sendResponse(Unknown Source)
    Any help is highly appreciated.
    Regards
    Nag

    I am not using any wsdl file. I'm trying to invoke a webservice that is at client's end (using RPC call). Mine is a generic server program. When i'm calling other clients using the same method, im not facing any issues. Only for 1 particular end-point i'm getting the above exception. Any suggestions?

  • Cyrillic Characters not shown in pdf file when xsl is parsed part 2:

    I am using Fop to create a pdf file from an XSL file, an XML file and a ApplicationResources.properties file.
    The XML file is populated by a Java class, where the information is taken from a Russian Database. This XML file is them used to populate the XSL file.
    The ApplicationResources.properties file, is in windows 1251 format, as we converted it using NativeToAscii converter.
    I downloaded a cyrillic ttf file, and created a metrics file, according to the Fop website. And I had Russian appearing on my PDF from the database (not ApplicationResources.properties file though). However, the information which we were retrieving from the database would not display on the jsp pages which are part of the same application.
    To fix this, we changed our database driver from a ODBC-JDBC driver, to an oracle thin type 4 driver.
    Since this happened, my cyrillic characters no longer appear on my PDF file.
    I know that the information from the database comes back in windows 1251 format, so I tried to put the
    <?xml version="1.0" encoding="windows-1251"?>
    and
    <?xml version="1.0" encoding="Cp1251"?>
    but when I do this, I get the following error in my log file:
    L2|14:14:58:433|ExecuteThread-9|PDFService.generatePDF: class com.petrotechnics.skyobma.service.SkyobmaServiceException Exception :javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: The encoding "Cp1251" is not supported.
    or the windows-1251 is not supported.
    I do not know what to do at all, I am really struggling and was wondering if anyone had any idea about where I can go from here, or even if someone can just tell me I am fighting a loosing battle I would be happy.
    Yours Truly Hopefully,
    Gillian Daniel

    either you configure FOP to use a SAX Parser that supports Cp1251 or you encode your XML data to UTF-8.
    we flawlessly generate Greek PDF documents out of data selected from Oracle 8.1 by using UTF-8.

  • I have a generation 5 Nano iPod. I have created Genius playlists  and want to sync them to my iPod. How do I do this, as they are not shown in my library when syncing my music.

    I have a generation 5 Nano iPod. I have created suggested playlists from the iTunes store using Genius. I want to move these playlists into the playlists in my library so they can be synced to my iPod. I don't seem to be able to do this, and can only listen to these Genius playlists on my computer. How do I transfer these?

    On a 5th gen nano, you can actually create and listen to Genuis playlists on the iPod.
    You can also set up automatic syncing to include Genius Playlists. 
    In iTunes, if the iTunes sidebar (along left side of window) is hidden, from the menu bar, under View, select Show Sidebar.  In the sidebar, the Genuis playlists that you create are shown under GENIUS (not PLAYLISTS).
    If you use automatic syncing, you set up the iPod's Music screen in iTunes (where the Sync Music checkbox is located).  Genius playlists are shown on the iPod's Music screen, under Playlists, where you can select (checkmark) them as items to be synced to the iPod and maintained by iTunes.
    If you use the manual method (with the Manually manage music and videos setting), there is no way to include the actual Genius playlists.  However, you can create a new playlist manually on the iPod using iTunes.  Then, drag the songs from a Genius playlist to that playlist on the iPod.

  • Web site has A with symbol over it, but this is not shown in iWeb only when published

    iting the website of Robert T Mallory, DMD, a family dental practice in Helena, Alabama. 
    It is our mission to provide our patients with the most personal care at the
    highest quality possible.  We will strive to educate, motivate, and treat
    our patients in a manner that leads to excellent dental health.
    Our Office Hours are Monday-Thursday from 8:00-5:00
                                                                  
    Â
    The A in this website does not show up in iweb only after publishing, how do I take it out?

    Roger Wilmut1 wrote:
    If the server was sending UTF-8 what would this character appear as?
    You can see this for yourself by going to View > Text Encoding in your browser and setting it to UTF-8.  The characters will disappear.  They normally represent non-break spaces.   When the page is sent (or read) in Latin-1 encoding instead of UTF-8, they appear as Latin characters instead of empty space.
    The different results of PageSpinner are probably because it is using some other encoding like MacRoman.
    If you plug the url into this site it shows the encoding being sent by the server.
    http://web-sniffer.net

  • Cyrillic Characters not shown in pdf file when xsl is parsed

    Part of the application we have created allows the user to view PDF pages, so they are more suitable for printing.
    We create xsl files which eventually get transformed into the PDF format.
    We use the javax.xml.Transform.Transformer to transform the xsl file and xml.
    We use the org.exolab.castor.xml.Marshallerto general the xml.
    We use Apache Fop to turn the XML into the PDF format.
    Before it was working fine, we get some text from a resource file, which we call in the xsl. But now we want to do this in Russian. When we read the same resource file in the xsl, but with the cyrillic characters in it, the pdf view is just question marks, and other characters. Nothing russian.
    Does anyone know where I could start looking to find out what is wrong?

    just generate the font metrics files for the fonts you intend to use, as explained on FOP web site, then you will get the Cyrillic chars.

  • ADF popup not shown from BPM

    Hi,
    I'm working on a project that requires me to integrate a custom designed ADF task flow into a BPM user task. Unit testing of the task flow was working fine, but upon integrating this task flow with the BPM process, it seems that none of the popup components are working.
    Could anybody please help me out?
    Debojit

    ... JDeveloper version? Have you tried a recent build?
    Frank

  • Service PO is not picking the condition type defined for services

    Hi Friends,
    I am trying to create a PO for services.. but in conditions tab..the system is picking standard PO pricing procedure. It is not picking the service Pricing procedure MS0000. request your help in understanding the issue.
    Also the PO is picking the Standard PO release strategy, but not the release startegy define for service..
    thank you.
    Kireeti

    Hi Kireeti,
    Your condition schemes for services probably have been modified. Please check
    schemes MS0000 and MS0001 in your customizing. For a correct price
    determination it is important that for example condition type PRS
    is in the first position, further the settings for the flag
    'Condition determined manually' should'nt be altered.
    Actually the standard schema looks like:
    4 0 PRS Total Price                       X 5
    5 1 PRS0 General Price Compon             X
    5 3 PRS1 Percentage of Wage               X
    5 5 PRS2 Overheads                        X
    5 7 PRS3 Misc Price Component             X
    13 0 KR01 Header Discount                 X
    14 0 KZ01 Header Surcharge                X
    Could you please change your schema and retest?.
    Best Regards,
    Arminda Jack

  • "Service does not exist" Errors in CATS when entering Service PO

    Hi Experts,
    I'm currently working on the integration of CATS with MM-SRV. When I enter a timesheet with reference to a PO (containing items with service masters) in CATSXT, I receive an error message stating "Service does not exist".
    I've found OSS note [653209|https://websmp130.sap-ag.de/sap/bc/bsp/spn/sapnotes/index2.htm?numm=653209], which states that the service must be entered manually at the timesheet entry.
    However I'm unable to find a "service" field anywhere in the CATSXT screen, or in the IMG activity "Cross Application Components -> Time sheet -> Settings for All User Interfaces -> Time Recording -> Choose Fields"
    Has anyone encountered this issue before? How is it resolved?
    Thanks in advance for the help,
    Mark

    Hello experts,
    I am facing the same problem as Mark, and I can't find a "service" filed anywhere in CAT2 or IMG.
    Mark, could you solve your problem? If so, could you explain me how you did?
    Or did anyone else solve this problem?
    I thought of using a user-exit in order to bring the service number in a user defined field. Is there a standard user-exit that can do so?
    Thanks in advance.
    Fabien

  • Changes on asset not seen when web service invoked.

    Hi guys,
    I've edited an asset and have it checked-in, and application deployed. Through the Designer's preview, the changes are seen. However once we call the webservice to render this form in our browser, it keeps retrieving the old unedited asset.
    We've tried lots of different ways to solve it:
    - Verified that URL of webservice is correct
    - Restarted the JBoss
    - Restarted its service through the LC Consolve
    - Redeploying the application
    - Create an LCA for this app, and uploading it
    - Restarted the physical server
    However, none of these seemed to work.
    Would appreciate if anyone could help on this.
    Thanks,
    Bern

    Likely to be caching problems.
    Clear Caching in adminui -> Services -> Forms ES.
    Hope that helps.
    Nith

  • Business Rules Error when Decision Function surfaced as WebService in BPM

    To use a BusinessRule as from a Business Rules activity,it needs to be surfaced as a WebService.
    I've run into an issue where as soon as I check that box and save, the BusinessRule in question goes into a error mode when viewed from the BPM Project Manager (which is why this question is posted here).
    The scenario is this:
    My types are defiend in XSD. There is a SimpleType - FooStepTypeType - which is a retricted xs:string, the common way top create an enumeration. I import this as an XML fact, it creates a Enum bucketset, which is perfect. I create a decision function - DecisionFunction1 - which has an input parameter of this type and a boolean output. I set up a simple decision table to use the input and assert the output. The editor is happy.
    At this point, I can't use the DF in my process, as it's not exposed a service, and won't be selectable via the the Properties/Implementation of a Business Rules activity.
    A soon as I mark the DF as a WebService and save it, an the rule disappears from the Rules section of the Business Catalog and reappears at the root of the catalog in error. In some cases it can't be edited.
    Hovering over the error file produced this error message:
    The argument ‘step’ of decision function ‘DecisionFunction1’ could not build because of ‘BPM-71517: Unable to identify the parameter QName. Cause: ‘FooStepTypeType. Action: Make sure that the decision function parameter is of XML type and exactly one XML Schema Element exists that represents the parameter’.
    My XSD previously did not contain a freestanding element of this type, but had elements defined in another complex type of this type. Adding a freestanding element didn't change anything. In fact it seems that elements are not avaialble to be imported as XMLFacts, only types.
    At this point, if the Rules editor is still open, the DF can be "unserviced" and after saving may be recoverable with a JDev restart. If not, manually removing the DF from the .rules xml file can help recover the file so that it can be edited again.
    SO: THE QUESTIONS.
    Why can't I use a simpleType as an input parameter for a DF exposed as a WebService? What is BPM-71517 asking me to do exactly? I can't find any references to it via searching. Why does eveything seem fine until I expose it?
    Addendum - using JDev 11.1.1.4.0 with BPM tools 11.1.1.4.0.5682
    Addendum2 - upgraded to 11.1.1.5.0 and the problem is still there.....
    TIA,
    Bill
    Edited by: wylderbeast on May 20, 2011 9:38 AM
    Edited by: wylderbeast on May 20, 2011 10:09 AM
    Edited by: wylderbeast on May 31, 2011 3:22 PM

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • SOAP error when trying to invoke an WebService

    Hello.
    I have an ejb 3.0 as a WebService. I deployed it on Jboss 4.05GA, all ok.
    But when i try to call the service from an application it does't work.
    XML reader error: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
    Message: Premature end of file.
    at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:249)
    [b]
    and in Jboss i have:
    16:43:50,835 ERROR [StandardEndpointServlet] Error processing web service request
    javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: setProperty must be overridden by all subclasses of SOAPMessage
    at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:194)
    here is the source of my application:
    public class Down {
    @WebServiceRef(wsdlLocation="http://localhost.localdomain:8080/EJBModule1/NewWebService?WSDL")
    static public App.NewWebServiceService service;
    /** Creates a new instance of Down */
    public Down() {
    try {
    App.NewWebService we=new NewWebServiceService().getNewWebServicePort();
    //if (service == null) System.err.println("service e null");
    //else we = service.getNewWebServicePort();
    if (we != null) System.out.println(we.add(2,3));
    else System.out.println("E null!!");
    } catch (Exception ex) {ex.printStackTrace();}
    public static void main(String[] args) {
    Down dd = new Down();
    If I use the @WebServiceRef, service is null and i can't do anything. NewWebServiceService is generated (I used a new WebService/Web Service Client) and it added it as a WebServiceReference in NetBeans). Thanks a lot!

    Hi!
    This error occurs if you run jboss on SDK 1.6. Using JDK 1.5, it works fine. See http://www.jboss.org/?module=bb&op=viewtopic&p=4020868 for more information concerning this bug.
    Best regards,
    Thilo

  • OSB - Response timer when business service call external webservice slowly.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

  • Material is not shown in MD04.

    Hi Friends,
    We have created a Sales order for some materials. All the materials are subjected to MRP.  In mateial master  We maintian all Except MRP group. Also we maintain the Requirement type etc with respect to the Mateial Type in configuration.  In our case when we created the Sales order some of material are picking the requirement and same was shown in MD04 also in availbility check we can able to check the reqirement  but some of the msaterials no requirement generated in availibility and not shown in MD04.  All the materails are belongs to material Type FERT. Let me know some materials are not Picking the requirement and not shown in MD04.
    When we maintain the MRP Group  the materials were picking the requirement in availbility and alos shown in MD04.
    Will anone explain the difference between the both setup like Picking requirement with respect to Material Type and Picking Requirement with respective to MRP group etc. aslo  when and where we can user those things
    Regards
    Palani

    Requirements of sales orders are transferred to MD04 based on the item category.
    In SPRO/IMG:
    Sales and Distribution --> Basic Functions --> Availability Check and Transfer of Requirements --> Determination of Requirement Types Using Transaction
    In here, you set a requirement type for each item category.  Without a setting here, the requirements do not display in MD04.
    Hope this helps.
    Gina

Maybe you are looking for