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.

Similar Messages

  • What will be data type for the newly created Service Interface def.?

    hi @,
    I am using new Service interface for the start event with objective that any outside application will be able to trigger the BPM. I have created the same SI and its operation and Input params. Now when the request comes there is an exclusive choice gateway which based upon the input fields decide which path to take into consideration. Now I need to map the SI input to the Data object but which data type I need to use ideally it should be the data type defined in the Service Interface should be used but I am not able to locate the same in the data type folder .
    How can I map the input service interface data type to the Data object so that it is available in the next BPM steps?
    Thanks,

    Hi,
    Typically the used types in a new service interface are anonymous. Try making the used complex type a global one (Right-Click onto it -> Refactor -> Make Anonymous Type Global).
    Afterwards you could use the speed button around your your 'start event' and create a new 'data object' from there. Now the IDE automatically assigns the type of the service interface to your 'data object' and  performs the standard mapping between the 'start event' and the 'data object' in addition.
    Please also have a look at the documentation for further information:
    Accelerated Modeling with Speed Buttons
    http://help.sap.com/saphelp_nwce711/helpdata/en/16/52f063cac643d2917347aab86930ef/frameset.htm
    There is also an interesting blog entry dealing with data objects and their reuse:
    How to avoid modeling errors in Netweaver BPM? Part 3: Data flow in style
    /people/soeren.balko/blog/2009/02/03/how-to-avoid-modeling-errors-in-netweaver-bpm-part-3-data-flow-in-style
    Hope that helps,
    Martin

  • MS Word Web Service Interface: bad format of date and currency fields

    Hi,
    I am using MS Word Web Service interface to create contract documents. However, my date and currency fields show in a strange format. Date is in"YYYY-MM-DD" format, while currencies always have "." as decimal separator (probably technical values). My user settings are "DD.MM.YYYY" for dates and "n.nnn,dd" for decimal numbers.
    My workaround is to create a Z structure for WS interface with char fields and then do conversion through CRM_WST_RT_BADI->OUTBOUND_PROCESSING method. This works, but requires a lot of custom development.
    Is there a way to "tell" the interface to use correct formats in MS Word without doing it all manually through custom fields?
    Thanks!
    KR,
    Igor

    Oh, indeed!
    We might be closer than you think - I live close to Croatian-Slovenian border so we might pop out for a drink! But we can discuss this out of forum... 
    Now work again:
    Is there any documentation on possible formatting keywords? I suppose it's possible to set up decimal places, custom date formats etc.
    Cheers,
    Igor

  • 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

  • Problem importing two service interfaces using the same data types

    Hi,
    I've been playing around with BPM for a while. Now I wanted to add a custom service interface to my starting event. I created the interface in ESR of CE 7.11. After importing I get this error message and I can't use the interface:
    Cannot change XsdSimpleTypeDefinition AcademicTitleCodeContent by importing the document http://sap.com/xi/APPL/SE/Global::src/wsdl/TestInterface.wsdl, because it is already defined in the document http://sap.com/xi/APPL/SE/Global::src/wsdl/rootwsdl_CustomerERPByIDQueryResponse_InService.wsdl in this project. Importing into another project might be possible.
    Of course the problem is clear, but how can I achieve importing two service interfaces that use the same data type without changing the xsd source?
    Thanks in advance,
    Mane

    Sorry for the late answer, but I am really busy at the moment.
    Unfortunately I can't the Interface and data types are already changed.
    But this happened various times. Each time I already had imported a SAP Enterprise Service into NW BPM that contains a bunch of inline data types. While creating my own interface I referenced one of those data types that are stored in a SAP namespace. After import the error message appeared.
    In the wsdl of the created interface there is a import statement for the namespace where the referenced data types origin from. Additionally there is a namespace definition xmlns:p1="SAPnamespace". In the element the type is "p1:ReferencedType". Could this maybe cause the error, because one time it is with this leading p1 in my created wsdl and once without in the SAP Service wsdl?
    Thanks and I am looking forward to next EhP of NW BPM,
    Mane

  • '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

  • Service Interface: How to create an SDO graph with tow Objects

    Hi,
    I want to create a Web service interface on top of my application module. Using the Service Interface I select the app mod, service methods and view objects from the data model. My data model consists of a master detail relationship. The Web service should provide an interface that uses a master and its details as parameters in an operation.
    For example a customer and his credit cards. A GET-Operation should return a data structure that groups all objects.
    I do not know how I can configure such a web service.
    How can I achieve such a web service?
    Do I have to code a service method and what is the return type of the method?
    Can I work with existing VOs?
    Do I need 'special' preconditions like a composition between master and detail?
    Any idea?
    Thanks,
    Markus

    Hi Scott
    Bad news. I read several time this thread, but I have not found error in my program ... .
    And I can not see what are really doing APIs of APEX.
    Time is going - so we have make a decision now.
    Probably (as I have no more answers at this forum) - we can not use APEX (as nobody using APEX sessions as I asked),
    as we can not manage its sessions programmatically (too risky).
    Thanks for your answer.
    Andres

  • Service manager console can't connect to Service manager data warehouse SQL reporting services

    When I start Service manager console, it gives this kind of error:
    The Service Manager data warehouse SQL Reporting Services server is currently unavailable. You will be unable to execute reports until this server is available. Please contact your system administrator. After the server becomes available please close your
    console and re-open to view reports.
    Also in EventViewer says:
    cannot connect to SQL Reporting Services Server. Message= An unexpected error occured while connecting to SQL Reporting Services server: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at Microsoft.EnterpriseManagement.Reporting.ReportingService.ReportingService2005.FindItems(String Folder, BooleanOperatorEnum BooleanOperator, SearchCondition[] Conditions)
    at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.FindItems(String searchPath, IList`1 criteria, Boolean And)
    at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.FindItems(String itemPath)
    at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.FindItem(String itemPath, ItemTypeEnum[] desiredTypes)
    at Microsoft.EnterpriseManagement.Reporting.EnterpriseReporting.GetFolder(String path)
    at Microsoft.EnterpriseManagement.Reporting.EnterpriseReportingGroup.Initialize()
    at Microsoft.EnterpriseManagement.Reporting.ServiceManagerReportingGroup..ctor(DataWarehouseManagementGroup managementGroup, String reportingServerURL, String reportsFolderPath, NetworkCredential credentials)
    at Microsoft.EnterpriseManagement.Reporting.ServiceManagerReportingGroup..ctor(DataWarehouseManagementGroup managementGroup, String reportingServerURL, String reportsFolderPath)
    at Microsoft.EnterpriseManagement.UI.SdkDataAccess.ManagementGroupServerSession.TryConnectToReportingManagementGroup() Remediation = Please contact your Administrator.
    We have a four server set-up where SCSM, SCDW, and sqls for both are on different servers. Also I have red that this could be a SPN problem, but this has  been worked on last week without the SPNs.

    On the computer you get the "SQL Reporting Services server is currently unavailable" message please open the Internet Explorer and try to connect to the URL <a href="http:///reports">http://<NameOfReportingServer>/reports
    This should open the reporting website in IE. If this isn't working you should check the proxy settings in IE. If the URL doesn't work in IE it won't work in the SCSM console as well (and vice versa).
    Andreas Baumgarten | H&D International Group
    Actually I can't access to the reporting website. It asks me credentials 3 times and then return a blank page. Also error message comes to the EventViewer System log with id 4 and source Security-Kerberos.
    The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server "accountname".
    The target name used was HTTP/"reporting services fqn". This indicates that the target server failed to decrypt the ticket provided by the client.
    This can occur when the target server principal name (SPN) is registered on an account other than the account the target service is using.
    Ensure that the target SPN is only registered on the account used by the server.
    This error can also happen if the target service account password is different than what is configured on the Kerberos Key Distribution Center for that target service.
    Ensure that the service on the server and the KDC are both configured to use the same password.
    If the server name is not fully qualified, and the target domain (domain.com) is different from the client domain (domain.com), check if there are identically named server accounts in these two domains,
    or use the fully-qualified name to identify the server.
    I can access the website directly from the server which hosts Reporting Services.
    Also I query "setspn -Q HTTP/"reporting services fqn" whit result NO SUCH SPN FOUND.

  • Can "SPML Web Service Complex Data Type field" take multiple values ?

    In Generic Technology Connector's -SPML design parameters section, Can we give multiple values in SPML Web Service Complex Data Type field?
    If not, how can i call methods directly instead of calling them through a values of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type?
    I need 'SPML Web Service Complex Data Type' to hold multiple values.And based on the request it has to initiate appropriate method of action.
    Presently i have three methods add,modify and delete which i am calling through a single value of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type.
    I want to replace this single value with multiple menthods , so that a direct interaction between the method,OIM and target can be established.
    Edited by: 821054 on 16/02/2011 04:23

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • 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

  • How to add User defined return type in service interface of AppModule

    HI All,
    I am creating service interface using AppModule. Added custom method with Java primitives and working fine. Now i want to added custom method with return type is EMP object means user defined object. How can i do so?
    Thanks in advance.

    I looked it up in the mean time ...
    The docs state that you only can use simple data type or java.util.list or AttributeList (which is a wrapper for any viewRow). So I guess you have to somehow flatten your complex data type or create a custom VO which holds it.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/bcextservices.htm#CJAEHFJD
    Scroll down to 11.2.3
    Timo

  • A problem with initiating a BPEL process through its web service interface

    hi,
    i am trying to initiate the helloWorld BPEL process through its web service interface. i use a proxy class that i wrote and i use it from J#.net.
    this is the relevant code part:
    hello.HelloWorldBinding wsProxy = new hello.HelloWorldBinding();
    wsProxy.initiate("Hello");
    and the server shows the following message:
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.
    engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Cannot
    decode properties.
    The process domain was unable to decode the properties for message guid 10, whic
    h are stored in column String index out of range: 3094; the exception reported i
    s: {2}.
    sql statement: SELECT conv_id, message_guid, domain_ref, process_id, revision_ta
    g, operation_name, receive_date, state, priority, properties FROM invoke_message
    WHERE message_guid = ?
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:152)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseSche
    duledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java
    :86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDriven
    BeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome
    .java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:
    928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2006-05-10 21:21:15,171> <ERROR> <default.collaxa.cube.engine.data> <BaseDeliveryPersistenceAdaptor::loadInvokeMetaDa
    java.lang.StringIndexOutOfBoundsException: String index out of range: 3094
    at java.lang.String.substring(String.java:1441)
    at com.collaxa.common.util.LVDecoder.decodeElement(LVDecoder.java:152)
    at com.collaxa.common.util.LVDecoder.decodeToMap(LVDecoder.java:45)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvokeMetaData(BaseDeliveryPersi
    r.java:2186)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadInvoke(BaseDeliveryPersistence
    :2112)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvoke(BaseDeliveryPersistenceAd
    079)
    at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadInvoke(DeliveryPersistenceMgr.java:357)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:465)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
    at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBe
    java:1796)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHa
    7)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    what is the problem? how come i can't initiate the process?
    i will be happy if i could get help..
    thanks in advance

    can you initate the process from the bpel console successfully?
    if so can you use obtunnel from the installation to trace the soap message (that goes over the wire), my best guess in this case is a problem with a header (holding the wsa information) ..
    after starting obtunnel it will liesten to a custom port, and will forward the request to the engine, so you need to point your client to this new port..
    hth clemens

  • Service Interfaces for Credit Management using WS-RM

    Hi,
    We are implementing FSCM Credit Management on EHP 5 without using PI. For this we are WS-RM and have configured following service interfaces:
    CreditCommitmentNotification_In
    CreditCommitmentNotification_Out
    CreditWorthinessQuery_In
    CreditWorthinessQuery_Out
    However, when we create sales order, credit check is not being perfomed. Do we need any other service interface for implementing Credit Management?

    Hello,
    I am using ECC 6 ehp 5 Which Enables you to Implement FSCM services via WS-RM (Web Service Reliable Messaging) instead of having to use Previously PI.
    I require to implement the scenario is:
    Credit Management (FSCM) and Integration with FICA without requiring PI.
    I think I have covered all the technical configuration, but do not know how to test credit management and integration with FI-CA, appreciate if you can do to get a guide.
    As indicated by the WSRM configuration guide, run the report SRT_ADMIN_CHECK and the result is:
    Cross-checking system settings
    bgRFC destination is Operational
    bgRFC destination is registered supervisor
    WSRM event handler is activated
    Task is active watcher
    Data collector for monitoring is not activated
    ICF All nodes are active for SOAP Runtime
    Ending cross-check of system settings
    thank you for your help.
    Regards.

  • 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

  • Web service interfaces for monitoring Hosts and instances with SAPHostControl, saphostexec and sapstartsrv

    Hi All,
    I need to develop a monitoring application for SAP system which will monitor both Host systems and instances.
    For this I need to collect Host data as well as instance data. In the below links I could find the SAP netweaver
    monitoring agents
    Monitoring Hosts with SAPHostControl and saphostexec - Infrastructure of the SAP NetWeaver Management Agents - SAP Libra…
    Central Monitoring with SAP NetWeaver Management Agents - Infrastructure of the SAP NetWeaver Management Agents - SAP Li…
    Administration/Monitoring of SAP Components with sapstartsrv - Infrastructure of the SAP NetWeaver Management Agents - S…
    These links tell that CCMS agent is replaced by these agents from SAP Netweaver 7.0 Eph 2.
    I found below doc which explains "How to use the SAPControl Web Service Interfaces" exposed by "sapstartsrv" to execute instance specific tasks,
    But it does not tells any methods/APIs/webservice interfaces specific to Host system or get OS data using "saposcol".
    SAP Control WebService
    Similar to this, Is there any API/webservice to retrieve the OS and Host related data??.
    Also, Is there any other doc for SAPHostControl or saphostexec similar to sapstartsrv ??
    Thanks,
    Swapnil

    Hi Swapnil,
    I too wanted this info and came across these.
    Take a look at these urls :-
    http://localhost:1128/SAPHostControl/?wsdl
    http://localhost:1128/SAPOscol/?wsdl
    grep saphost /etc/services
    saphostctrl     1128/tcp        # SAPHostControl over SOAP/HTTP
    saphostctrls    1129/tcp        # SAPHostControl over SOAP/HTTPS
    Hope this helps.
    Cheers
    Craig

Maybe you are looking for

  • Mac Mini and VNC

    Hi all, I've got one Mac Mini G4 and one Mac Pro. I'm using Mini as a print server for my 3 printers, Pro is wired to the network, Mini is Airport connected. It works well. I also want to get access to Mini through Pro with OSXvnc server, Mini is hea

  • Unknown xml tag extraction

    I have an XML document with the following structure: <foo>      <foo id="F1">television</foo>      <foo id="F2">car</foo> </foo> foo id can be none or up to 99. So I want to extract the tag "F1", "F2", etc. and its content when it shows up in a docum

  • Infoarea missing in query designer

    Hi All, We are using BI 7 analysis authourization, we had a request for one user to add one ods access, we have granted access to the user to ODS via RSA1. But issue is we are not able to see the infoarea and ods in query designer. Is we need any aut

  • Line in the gutter

         I have worked with Indesign for several years, and have several times needed to have the program put a line in the gutter between two columns of text which stops when the text assigned to that style stops.      This seems to be an easy thing put

  • C3-01 game not starting

    There is this game "Picture Puzzle" installed by default on the phone. I opened it and played it only once. i didnt change any setting as far as i remember. But i'm unable to play it again. When i click it, it just shows a blank screen. i have to pre