ADF BC Service interface components Production redeployment?

Hi,
Do ADF BC service interfaces support the weblogic server feature of production redeployment or side-by-side deployment? The use case is i deploy version 1.0 of my ADF BC webservice. After some changes I deploy version 2.0 of the same service. All clients currently connected to version 1.0 should continue using the same without any interruptions. All new clients should be redirected to version 2.0. After all clients of version 1.0 disconnect, version 1.0 of the service should be retired.
regards,
Satyajith

Hi,
isn't this a matter of deploying the EAR file and versioning it in WLS ? I am not familiar with this re-deployment option in WLS, but I don't think its the EAR file that should have this information.
Frank

Similar Messages

  • Create Complex Web Service using ADF BC Service Interface

    Hi,
    We have a requirement to create a number of web services with complex data types. The data types model a logical database entity and therefore contain multiple "rows" of data.
    In the most simple example, we have an entity Person and Person Address where 1 person and have multiple person addresses. We need to create a web service that encapsulates these entities and the relationship. For example the web service payload would contain:
    +<Person>+
    --<firstname/>
    --<lastname/>
    --<dob/>
    --<sx/>
    --<address>
    ----<line1/>
    ----<line2/>
    ----<postcode/>
    ----<country/>
    --</address>
    +</person>+
    We have created ADF BC components for each entity and the relationships. Now we are attempting to use the ADF BC Service Interface functionality to expose web service methods that would create and update the underlying VO/EO/Database tables with one call (i.e. create a record in table Person and one in Person Address).
    Creating a service interface for each entity VO works fine but we require a complex service encapsulating the logical entity of Person.
    Does anyone know if this is possible with ADF BC Service functionality? Or should we be looking for alternative method of generating these web services?
    Any advice greatly appreciated.
    Edited by: Jon on Feb 3, 2012 2:50 PM

    Hi,
    Did you go through following links
    http://blogs.oracle.com/middleware/entry/calling_web_services_using_adf_11g
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html

  • 'owspe:PolicyAccess' error while invoking ADF BC Service Interface

    Hi,
       I have deployed a custom ADF BC Service Interface application to a standalone weblogic server. On invoking the service interface i get the following error in response.
    <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
      <env:Fault
        xmlns:owspe="http://schemas.oracle.com/ws/policy-enforcement-2007-06">
       <faultcode>owspe:PolicyAccess</faultcode>
       <faultstring>PolicySet Invalid: WSM-02557 oracle.wsm.policymanager.accessor.BeanAccessor The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "&(@appliesTo~="WS-Service()")(policysets:global/%)" is queued for later retrieval. </faultstring>
       <faultactor/>
      </env:Fault>
    </env:Body>
    </env:Envelope>
    I have deployed the same .ear file to my local weblogic server and got no error while invoking the WS.
    Please suggest if any configuration needs to be done at weblogic server or to the ADF application.
    Regards,
    Himanshu

    Hi Timo,
               No Luck.. Still getting same error. My ADF BC Custom Service Interface deployed on integrated weblogic server works fine.When i deploy the same EAR to Standalone weblogic server then i'm getting following error on invoking WS method.
    <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
      <env:Fault
        xmlns:owspe="http://schemas.oracle.com/ws/policy-enforcement-2007-06">
       <faultcode>owspe:PolicyAccess</faultcode>
       <faultstring>PolicySet Invalid: WSM-02557 oracle.wsm.policymanager.accessor.BeanAccessor The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "&(@appliesTo~="WS-Service()")(policysets:global/%)" is queued for later retrieval. WSM-02557 oracle.wsm.policymanager.accessor.BeanAccessor The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "/policies/oracle/wss_http_token_service_policy" is queued for later retrieval. </faultstring>
       <faultactor/>
      </env:Fault>
    </env:Body>
    </env:Envelope>
    Could it be related to some Security: Roles or policies ?
    Regards,
    Himanshu

  • ADF Service Interface: two-phase commit issue for multiple data sources

    In FusionApps, For a service interface we had to use two DataSource resources (in the ejb-jar.xml),
    one is ApplicationServiceDBDS for SI and the other one is ApplicationDBDS(I don’t know the exact reason why this is needed, but when running the webservice, Framework was throwing an error asking for this) After adding these two, now(while running the webservice) we’re caught up with an error saying that unable to participate in two phase commit. I think this is because we added two dataSources, if we just use one dataSource everything is working fine.
    Error message from app server:
    "JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source=ApplicationDB"
    we have made the changes to ApplicationDB as said in the error message, but then the server is failing to start because of this.

    Hi,
    this is what the doc says - though not about two phase commit but transaction sharing:
    "At runtime, the calling client and the ADF service may or may not participate in the same transaction, depending on the protocol used to invoke the service (either SOAP or RMI). Only the RMI protocol and a Java Transaction API (JTA) managed transaction support the option to call the service in the same transaction as the calling client."
    When your application accesses a remote ADF Business Components service, each remote call is stateless, and the remote service will not participate in the same transaction as the business component that uses a service-enabled application module's service interface.
    In the majority of the cases, calls to remote services will be informational in nature and will not make changes to remote objects. However, if you must use a remote service to make changes, then keep these points in mind:
    An exception thrown by the remote service will cause the local transaction to fail.
    If you successfully call a remote service that results in modifying data, and then subsequently your local transaction fails for any reason, then it is the responsibility of your error handling code to perform a compensating transaction against the remote service to "undo" the previous change made."
    http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcextservices.htm
    Frank

  • Oracle ADF Business Service Layer Technologies

    Hello,
    We are building an online shopping mall/site that is expected to receive order volume of 50-60 thousand orders per week. So obviously, data traffic generated by the site will be pretty heavy. The technology set we are supposed to use is Jdeveloper 10g with ADF. Currently ADF business service layer offers following set of technologies. The question is which of following technologies meets these four criterias the BEST? (1) Security, 2)24x7 Reliability and Maintenace overheads (3)Speed /Performance of the server response to client requests (4) integration with Oracle database.
    Please advise. Any technet/metalink oracle document that compares these various business layer technology would be great indeed.
    Business service technologies that I am talking about is mentioned below
    Enterprise JavaBeans (EJB) Session Beans
    Since most J2EE applications require transactional services, EJB session beans are a logical choice because they offer declarative transaction control. Behind the EJB session bean facade for your business service, you use plain old Java objects (POJOs) or EJB entity beans to represent your business domain objects. JDeveloper offers integrated support for creating EJB session beans, generating initial session facade implementations, and creating either Java classes or entity beans. You can also use Oracle TopLink in JDeveloper to configure the object/relational mapping of these classes.
    JavaBeans
    You can easily work with any Java-based service classes as well, including the ability to leverage Oracle TopLink mapping if needed.
    Web Services
    When the services your application requires expose standard web services interfaces, just supply Oracle ADF with the URL to the relevant Web Services Description Language (WSDL) for the service endpoints and begin building user interfaces that interact with them and present their results.
    XML
    If your application needs to interact with XML or comma-separated values (CSV) data that is not exposed as a web service, this is easy to accomplish, too. Just supply the provider URL and optional parameters and you can begin to work with the data.
    ADF Business Components.
    These service classes are a feature of the ADF Business Components module, and expose an updateable dataset of SQL query results with automatic business rules enforcement.
    Thanks
    Ruchir

    So the quote says "technologies Oracle recommends to J2EE developers" which is correct - if you are an experience Java EE developer the TopLink/JPA/EJB stack should be your choice however if you are coming from a 4GL/Enterprise developer background then the recommendation is here:
    http://download.oracle.com/docs/html/B25947_01/intro002.htm#sthref21
    For enterprise 4GL developers building new web applications, Oracle recommends using JavaServer Faces for the view and controller layers, and ADF Business Components for the business service implementation. This combination offers you the same productive J2EE technology stack that over 4000 of Oracle's own enterprise 4GL developers use every day to build the Oracle E-Business Suite. Since its initial release in 1999, several thousand external customers and partners have built and deployed successful Oracle ADF-based applications as well. Both now and in the future, Oracle and others are betting their business on Oracle ADF with ADF Business Components.
    And yes ADF BC can be exposed as EJB - but this is usually only used for remote deployment of ADF BC when they are on another server than the UI code - for example when using Swing.

  • Error in assining MT to service interface

    Hi PI 7.1 experts,
    i am working on PI 7.1, i have SLD components like this
    Product:                     XYZ
    SWCV                       XYZ       version 1.0
    Product:                     ABC_CANONIC
    SWCV                       ABC_CANONIC      version 1.0
    now i have created some data type and message type in SWCV  ABC_CANONIC   which i want to be reusable
    now i am creating one service interface in  SWCV        XYZ  and assigning message type from SWCV  ABC_CANONIC
    but its giving me error with error text "SINGLE_SWCV_MSG"
    can anybody help me in this regard?
    whats should be the SW compnent strategy?
    Thanks
    sandeep sharma

    The strategy should be that before starting with the IR imports of SWC from SLD, you must decide upon which objects of one SWC could be dependent upon the others. Once done, then you have to define this dependency in SLD itself. After this, the SWCs should be imported in IR and you should proceed with the developments.
    Regards,
    Prateek

  • CreditWorthinessQuery_out service interface is not available

    Hello All,
    We are trying to connect SAP SD with SAP FSCM.
    Whenever we are trying to create Sales order, it giving error. Actually at this point system is trying to check customers credit worthiness.
    In sap system , sxmb_moni shows message into error as receiver is not found.
    This is the namespace and service interface.
    "http://sap.com/xi/PI/FIN/Operational/Global"  and  service interface "CreditWorthinessQuery_out"
    In PI7.1 ESR  FINBASIS_604 content is imported. I don't see above namspace and service interface  in given software component.
    Please let me know which software component need to be imported in ESR?.
    thanks,
    Sharada

    Thanks UDO,
    We need to integrate SAP SD with SAP FSCM.
    As per your suggestion, I have imported  following  xi contents in ESR,
    1.
         FINBASIS 603  as  SAP FSCM version is as given
         FINBASIS     603     0004     SAPK-60304INFINBASIS     FINBASIS 603     Component Supp. Pkg.
    2.SAP APPL 603 as logistics and Accounting patch level is as
       SAP_APPL     603     0004     SAPKH60304     Logistics and Accounting     APPL Support Package
    I have created a business system and have software product SAP ECC6.0 and SAP FSCM6.0.
    I cannot use interfaces from above software components as SAP ECC6.0 adds software component SAP APPL6.0  to that business system and  SAP FSCM6.0 adds software component to that business system.
    Latest version of software product of ECC available in SLD is  SAP ECC6.0
    Latest version of software product of SAP FSCM  available in SLD is  SAP FSCM6.0
    I want to add software components SAP APPL 603 and FINBASIS 603 to my business system. In this case which software product can be added to technical system?.
    Do I have to imprt latest CIM component in SLD?
    thanks,
    Sharada

  • How to create entity object (Business Component) using service interface

    Hi,
    I have tried to create one entity object (ADF Business Component) in JDeveloper 11g using service interface option instead of database schema but getting Failed to read service WSDL URL: http://....?wsdl message.
    I have tried with axis default service Admin & Version wsdl and got same error message.
    Regards,
    Devang

    Hi,
    +"Oracle ADF Business Components application modules offer built-in support for web services and for publishing rows of view object data as service data objects (SDOs). This means that you can use an application module both as a local component and as a remotely accessible service, thereby using the same component to support interactive web user interfaces and web service clients. Entity objects that you create in your local Business Components project can utilize SDOs that the service-enabled application module exposes on its service interface."+
    This means that you don't use Axis services but ADF Business Components Services. I am not sure this functionality made it in Boxer, but surely will in the next
    Frank

  • Regarding creation of  service interface in PI7.0

    Hi friends,
    If i try to create a service interface in PI7.10 it shhows error like
    <b>You cannot create new objects in component CCBPM, 1.0 of sap.com because no original language is defined for the components</b>
    how can i solve this issue,plz help me out regarding this.
    Thanks & Regards,
    saran
    Message was edited by:
            Srinivasa D Rao

    Hi...
    Tools------> Personal settings.
    Set the logon and original language to English and try...
    I hope it will work...
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • Service interface not listed in business system in ID.

    Hi Experts,
    In my QA system service interfaces are not listed in business system in ID, i have added product and SWCV in SLD and i am still unable to see the service interfaces of SWCV that i have added. i have done SLD and CPA cache refresh, restarted the QA system but still unable to resolve the issue.
    Please suggest how to resolve this issue.

    Hi Venu,
    i have done SLD and CPA cache refresh, restarted the QA system but still unable to resolve the issue.
    Try if "Compare from SLD" works? This can be accessed by going to ID -> double-click business system -> communication component -> adapter specific identifiers
    Regards,
    Mark

  • Failure in SDOSerializer.deserialize - Invoking AMImpl's Service Interface

    Hi,
    I have a typical Issue while invoking a Service Interface creation using ADF BC.
    Steps done:
    1. I generated the service interface using AMImpl.
    2. Modified the WSDL to include soap headers.
    <wsdl:input>
    <soap:body use="literal"/>
    *<soap:header message="tns:getTransactionHeader"*
    part="transaction" use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    *<soap:header message="tns:getTransactionHeader"*
    part="transaction" use="literal"/>
    </wsdl:output>
    3. Modified the Service classes (Service.java and ServiceImpl.java) to include the holders for the soap headers.
    Now the method looks like this in the Service.java class:
    List<SellingDayCalendar> getXYZ(@WebParam(mode = WebParam.Mode.IN,
    name="unitName")
    String unitName, @WebParam(mode = WebParam.Mode.IN, name="salesDate")
    Timestamp salesDate, *@WebParam(name = "transactionHeaderType", mode = WebParam.Mode.INOUT,*
    targetNamespace =
    *"/com/gm/vstar/model/core/common/",*
    header = true, partName = "transaction")
    Holder<TransactionHeaderType> transaction
    ) throws ServiceException;
    4. I have created the POJO class called TransactionHeaderType.java which implements Serializable interface.
    While I run the service by including headers or try to invoke the proxy from my JSF page, I get the following exception:
    Target URL -- http://localhost:7101/MyServicesApplication-MyServicesModel-context-root/MyService
    <ServerMessages> <severeMessage> oracle.webservices.provider.ProviderException: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: Failure in SDOSerializer.deserialize.
         at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:494)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1081)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:232)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:192)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.jbo.server.svc.ServiceContextFilter.doFilter(ServiceContextFilter.java:78)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: Failure in SDOSerializer.deserialize.
         at oracle.j2ee.ws.common.databinding.runtime.sdo.SDOSerializer.deserialize(SDOSerializer.java:383)
         at oracle.j2ee.ws.common.jaxws.runtime.SoapInvocationSerializer.deserialize(SoapInvocationSerializer.java:298)
         at oracle.j2ee.ws.server.jaxws.SoapEndpointSerializer.deserializeRequest(SoapEndpointSerializer.java:86)
         at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:320)
         at oracle.j2ee.ws.server.jaxws.ServiceEndpointRuntime.processMessage(ServiceEndpointRuntime.java:196)
         at oracle.j2ee.ws.server.jaxws.JAXWSRuntimeDelegate.processMessage(JAXWSRuntimeDelegate.java:479)
         ... 34 more
    Caused by: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: Deserialization failure. Invalid data type: com.gm.vstar.model.core.common.TransactionHeaderType
         at oracle.j2ee.ws.common.databinding.runtime.sdo.SDOSerializer.deserializePrimitives(SDOSerializer.java:520)
         at oracle.j2ee.ws.common.databinding.runtime.sdo.SDOSerializer.deserializePart(SDOSerializer.java:470)
         at oracle.j2ee.ws.common.databinding.runtime.sdo.SDOSerializer.deserializeNewPart(SDOSerializer.java:432)
         at oracle.j2ee.ws.common.databinding.runtime.sdo.SDOSerializer.deserialize(SDOSerializer.java:362)
         ... 39 more
    <ServerMessages> <severeMsgServletException> An error occurred for port: {com/gm/vstar/model/utility/service/applicationmodule/common/}MyServiceSoapHttpPort: oracle.webservices.provider.ProviderException: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: Failure in SDOSerializer.deserialize..
    Any solutions would be appreciated.
    Thanks,
    Ajith

    Hi,
    its JDeveloper and ADF on this forum. For EM related questions, you should try the EM forum
    Frank

  • Service Interface Date Query

    Hi -
    I am having trouble selecting records through a view object's service interface based upon specifying a date+time in the query.
    I have a legacy table that has, among other fields, a DATE field. I create a view object on the table with a query (no entity object) and generate a service interface for the view. The web service interface works great for selecting on the non-date fields, e.g.:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="/rt/model/common/types/">
    <ns1:findContact>
    <ns1:findCriteria xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
    <ns2:filter>
    <ns2:group>
    <ns2:item>
    <ns2:attribute>ContactName</ns2:attribute>
    <ns2:operator>=</ns2:operator>
    <ns2:value>bobishisname</ns2:value>
    </ns2:item>
    </ns2:group>
    </ns2:filter>
    <ns2:findAttribute>ContactTime</ns2:findAttribute>
    </ns1:findCriteria>
    </ns1:findContact>
    </soap:Body>
    </soap:Envelope>
    successfully returns the response data:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/>
    <env:Body>
    <ns0:findLastCustomerContactResponse xmlns:ns0="/rt/model/common/types/">
    <ns2:result xmlns:ns2="/rt/model/common/types/" xmlns:ns1="/rt/model/common/"
    xmlns:ns0="http://xmlns.oracle.com/adf/svc/types/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns1:ContactSDO">
    <ns1:ContactTime>2012-02-14T14:59:02.0-08:00</ns1:ContactTime>
    </ns2:result>
    </ns0:findContactResponse>
    </env:Body>
    </env:Envelope>
    However, when I add the item to restrict the ContactTime, the time component is dropped, and only the date is used in the filter.
    For example, this request payload does not return a result (ContactTime greater than 12pm on 2012-02-14):
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="/rt/model/common/types/">
    <ns1:findContact>
    <ns1:findCriteria xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
    <ns2:filter>
    <ns2:group>
    <ns2:item>
    <ns2:attribute>ContactTime</ns2:attribute>
    <ns2:operator>></ns2:operator>
    <ns2:value>2012-02-14T12:00:00.0-08:00</ns2:value>
    </ns2:item>
    </ns2:group>
    </ns2:filter>
    <ns2:findAttribute>ContactName</ns2:findAttribute>
    </ns1:findCriteria>
    </ns1:findContact>
    </soap:Body>
    </soap:Envelope>
    However, this request payload (ContactTime greater than 2012-02-13) does:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body xmlns:ns1="/rt/model/common/types/">
    <ns1:findContact>
    <ns1:findCriteria xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
    <ns2:filter>
    <ns2:group>
    <ns2:item>
    <ns2:attribute>ContactTime</ns2:attribute>
    <ns2:operator>></ns2:operator>
    <ns2:value>2012-02-13T12:00:00.0-08:00</ns2:value>
    </ns2:item>
    </ns2:group>
    </ns2:filter>
    <ns2:findAttribute>ContactName</ns2:findAttribute>
    </ns1:findCriteria>
    </ns1:findContact>
    </soap:Body>
    </soap:Envelope>
    returns the record:
    <ns1:ContactName>bobishisname</ns1:ContactName>
    In the view object, I can set the attribute type on the ContactTime field to Timestamp, but it does not affect the behavior. I cannot modify the underlying table to change from DATE to TIMESTAMP.
    How do I set up the view object so that the service interface correctly passes the time component to the database and execute the query correctly?

    The select query is for fetching entry sheet number is:
    select ebeln belnr bwart bewtp menge xblnr lfbnr mwskz shkzg srvpos packno from ekbe
            into corresponding fields of table it_ekbe
              for all entries in it_ekko
                where belnr in s_belnr
                  and lfbnr in s_lfbnr
                  and ebeln = it_ekko-ebeln
                  and bwart = '101'
                  and bewtp eq 'E'.      "for service acceptance no. (GR no.)
    Here I have taken lfbnr as entry sheet number.

  • How to pass parameters to childFindCriteria in BC4J Service Interface

    Hi,
    I'm using two master/child VOs ( say DeptVO and EmpVO) joined using a view link. Also each has it's own ViewCriterias defined on deptName and empJob
    DataModel in AM
    =======
    DeptVO
    ..-EmpDeptVL
    ....-EmpVO
    DeptVO
    =====
    bindVariable
    ..pDeptName (String)
    DeptViewCriteria
    ..DepartmentName = :pDeptName
    EmpVO
    =====
    bindVariable
    ..pEmpJob (String)
    EmpViewCriteria
    ..JobId = :pEmpJob
    I've exposed the only DeptViewCriteria in Service Interface of the AM.
    After I deploy and test the webservice using HttpAnalyser, I could see the SOAP request in this format
    <env:Envelope
    .xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    .xmlns:ns1="/psft/hr/model/bc4j/am/common/types/"
    .xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/">
    ...<env:Header/>
    ...<env:Body>
    ......<ns1:findByDeptViewCriteria>
    .........<ns1:findCriteria>
    ............<ns2:fetchStart>1</ns2:fetchStart>
    ............<ns2:fetchSize>10</ns2:fetchSize>
    ............<ns2:excludeAttribute>false</ns2:excludeAttribute>
    ............<ns2:childFindCriteria>
    ...............<ns2:fetchStart>1</ns2:fetchStart>
    ...............<ns2:fetchSize>10</ns2:fetchSize>
    ...............<ns2:excludeAttribute>false</ns2:excludeAttribute>
    ...............<ns2:childAttrName>JobId</ns2:childAttrName>
    ............</ns2:childFindCriteria>
    .........</ns1:findCriteria>
    .........<ns1:pDeptName>Operations</ns1:pAcadCareer>
    .........<ns1:findControl>
    ............<ns2:retrieveAllTranslations>true</ns2:retrieveAllTranslations>
    .........</ns1:findControl>
    ......</ns1:findByEnrCourseRVOCriteria>
    ...</env:Body>
    </env:Envelope>
    It has a field for pDeptName only.. How can I also invoke the child view criteria here and pass pEmpJob ?
    My Requirement is to get an XML tree with deptVO ->* empVO, and matching both the ViewCriteria.
    Please let me know how to achieve this.
    Thanks in advance,
    harikiran

    created a variable "Index" of type "string" and incrementiing its value inside the loop..
    passed the Index value as source to the xsl and used it..
    this is the smaple xsl...
    <IATA_Invoice_Standard:InvoiceTransmission>
    <IATA_Invoice_Standard:Invoice>
    <IATA_Invoice_Standard:InvoiceHeader>
    <IATA_Invoice_Standard:InvoiceNumber>
    <xsl:value-of select="IATA_Invoice_Standard:InvoiceTransmission/IATA_Invoice_Standard:Invoice[number($params/ns1:parameters/ns1:Index)]/IATA_Invoice_Standard:InvoiceHeader/IATA_Invoice_Standard:InvoiceNumber"/>
    </IATA_Invoice_Standard:InvoiceNumber>
    </IATA_Invoice_Standard:InvoiceHeader>
    </IATA_Invoice_Standard:Invoice>
    </IATA_Invoice_Standard:InvoiceTransmission>
    Edited by: 870953 on Jul 28, 2011 10:29 PM

  • Oracle ADF web services data control reconfiguration problem....

    We fallow instruction below
    http://www.oracle.com/technology/products/jdev/viewlets/1013/bpelfromadf_viewlet_swf.html
    That was our test environment.
    we need to change web service url according to our production environment.
    But we can't find ADF web services data control configuration pages.
    do we need to manually change XML file.
    Thanks..

    sorry. I miss the structure windows..
    I see the menu.
    in my opinion this setting need to be done on the item.
    Also We can't refresh Web servise parameter list from there.
    is tehre any where to refresh parameter list.

  • Creating Entity Object from Service Interface - JDeveloper version 11.1.1.3

    In our project, we don't intend to have any JDBC connection to a database and want to create all my entity objects using SDO web services deployed in a remote server. I could create an entity object based on a SDO web service deployed in the standalone WL server successfully. But at the time of Development,when I select ADF Business Component --> Entity Object, it always takes to a screen that prompts for a JDBC connection, if you have no connection defined in the project yet. To bypass this, I need to create a valid connection to a local DB and then I can go the next page that prompts me to to choose service interface and asks for a WSDL URL. How do I get around creating a JDBC connection and create a service interface based data source directly?
    To get around this issue, I created a connection to a local DB by providing a wrong password to make sure that we don't need a valid db connection. The application module (Business Component Browser) works fine when the DB connection is broken. But when I create a JSF page and put the data control there, if we don't have the DB connection established it gives error during deployment.I tried deleting the unused connection, but that gives a lot of errors during deployment. My question is;
    1. How can I create a service interface based data source by-passing the requirement for a connection?
    2. If that's not possible - how can I cleanly delete the JDBC connection and all it's dependencies, so that, it deploys and runs without error

    Frank,
    Thanks for your response.
    I have made some progress in last two days and solved some of the original issues. I deleted the fake JDBC connection from connection.xml that I had to use to go to the second screen that lets me select the WSDL for the service interface. After that, I checked off the "Auto Generate and Synchronize ..." option from Application --> Application Properties --> Deployment. (thanks to Steve Muench's blog post on this subject). After that, I could deploy the JSF page and the page shows up with no problem.
    However, when I try to run the App Module that was created from the WSDL (service interface), it brings up a pop-up with heading "Password Required" that says "Enter the password for" and asks for a user name and password (not sure what they are as they take any value and takes me to the next screen). After that, I can open the View and navigate through it. When i change some data and try to commit - it makes the change to the data and stores in the DB but gives an error saying "(oracle.jbo.NotConnectedException) JBO-25200: Application module is not connected to a database."
    Also, the data control created from the service interface had operations called Commit and Rollback. I used the Commit on JSF page and that does the exact same thing too. Any idea?
    Also - when we consume a SDO WSDL to create the entity object - how can we access the SOAP Request and Response objects? We have to implement WS-Security by instrumenting the SOAP header and need to get a handle on that. Is there a mechanism similar to JAX-WS handler framework for SDO?
    R,
    Chandan

Maybe you are looking for

  • System crash after 10.8.4 update

    Hi all, i am using a Mac Mini (mid 2011) with mountain lion. i am having problem with it after the recent 10.8.4 update and now i am pretty much stuck and cant even log in. 1. the 10.8.4 update i have a mac air as well and i did update for both using

  • How to Deactivate 'Save  Parked Document' in MIR7

    Hi..Friends, In Transaction Code MIR7, how to Deactivate Main Menu -> Invoice Document ->'Save  Parked Document' . Thanks in Advance, N.G. Mahender.

  • Oracle 10 g Datbase export problem using Data Pump

    I am using Oralce 10 g on SOlaris 10 OS.I installed Oracle 10 G on Soalris suucessfully (without ASM).But when I tried to take the export using OEM faclity i.e: OEM>Maintennace>High Avaiablity >Data Movement >Export to Export File At last screen we g

  • Peformace issue

    Hello Friends,       I have doubt in implementing a pgm, it goes like this,, i need to selecta a main materials which was created today and then i need to create a sub-material which has the same plant, sales org,Dist.ch.And some modifications should

  • What are the premier file types

    I see a lot of rendered file types in my disk directory after several editing sessions. I also see several types of files like pek, cfa, xmp. Is there somewhere that I can find the file types? I'm trying to clean up my directories but am concerned ab