JDeveloper 11.1.1.1.0:  AM Service Interface Problems

Hi,
I am using Jdev 11.1.1.1.0 and Business Components, Application Module, Service Interface.
I want to publish a custom method of my application module wich expectes some parameters and returns a List<ViewObject> using an Applcation Module Service.
I tested the 'Application Module' and the 'Application Module Service' in the 'HTTP Analyser' and 'Embedded Web Logic Server' and it works fine.
But now I am facing some problems.
Problem 1:
When starting "Test Web Service" I get the Error Message: Unable to Invoke Tester - The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read.
Clicking the Target URL in the DefaultServer:log leads me to the HTTP Analyser and I am able to test my AMService. It works fine.
What's the reason for the Error message and has this something to do with my next problem?
Problem 2:
Copying the URL into the browser (IE7, Mozillla Firefax 3.0) shows the ... AM Servcie endpoint, but the requested parameter area is missing when the browsers language is set to German. With browser language set to english the paramters are displayed and the service can be invoked.
What can I do, to be independent from the Language settings of the browser?
Please help
Thank you
Anita

Dear,
found the solution (after trying last 1-2 days ...).
I was already using java 1.7 update 7.
I had to start java settings and to deselect Java 1.7.0_07.
Instead I selected latest Java version from Apple: 1.6.0_35-b10-428.
With these settings the installer finishes without crash.
Kind regards
Lorenz
Edited by: Lorenz on Oct 4, 2012 1:47 PM

Similar Messages

  • 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

  • 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 for the Business Objects

    Hello everyone. I'm developing a Web Service using the service interface that provide JDeveloper for their Business Objects. I have a relationship between two EO as described below:
    EntityA 1 ...... * EntityB and it is a composition relation.
    Each ID in the entities are sequencial. There is no problem for create EntityA and EntityB at the same time. My probelm is that if I want to create only EntityB. I can't use the default method provided by the AppModule, neither make a custom method like:
    public boolean createEntityB(EntityBRowImpl mayEntityB){
    //Sample code.
    }because always a new row is created, and as EntiyB is a child of EntiyA, require the father's id and of curse an error ocurr. Also, can't let someone write the ID in the foreing key of the EntiyB.
    How can I solve this please?
    Thanks in advance. Any suggestions are very wellcome.
    PS: I'm using JDeveloper 11.1.1.5

    The error you're hitting is presumably JBO-25030.
    Look to the "merge" command. In the parent you specify just the key of the preexisting parent record, and then in the child you specify your new child record.
    CM.

  • EJB Web Service Interface parameters name changed

    Hi, all,
    I create a simple Session EJB 3.0 with Web Service interface in Jdeveloper 10.1.3.4. and I deployed it into the embedded OC4J server.
    The question is I found that the web service operator parameters is changed to "String_1" (actually the parameter in EJB method is String ss). And I found the WSDL file is also String_1.
    How to create the real parameter name in WSDL from EJB Web Service interface? Any help on that?
    Best Regards,
    Bill

    if you do a lookup for the name "java:comp/env/ejb/queryProc" in the servlet, the deployment descriptor of your web-archive must contain an ejb-reference with the ref-name 'ejb/queryProc'.

  • 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

  • Creating ADFBC Service Interface WSDL from a standard WSDL

    Hi,
    I have a generic WSDL implemented in a SOA Suite layer. I want it to be consumed by my ADF layer without using proxy or stub classes. I was wondering, are there any best practices for doing this? I understand that I need to create the SDO's and the Service interface XSD. Apart from this, are there any specifics I need to take care of?
    I was thinking to do a simple XSL transformation between the actual business objects in the service layer create SDOs.
    Thanks,
    Ansuman

    If what you have is a WSDL and you want to consume it as a business service in ADF, then you can just use the Web Service Data Control.
    Demo:
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/CreatingCompositeUIs/CreatingCompositeUIsAudio.html
    Tutorial:
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html#t6
    Another example:
    http://blogs.oracle.com/shay/2010/05/updateinsert_with_adf_web_serv.html

  • Creating Service Interface - what is Process and ProcessChangeSummary?

    In the Service View Instances, we see the expected Create, Update, Delete, Merge, GetByKey and Find but where is Process and ProcessChangeSummary described?
    Thanks

    Sure -
    Using JDeveloper 11g TP3, I have created a data service following Steve Muench's article at http://www.oracle.com/technology/oramag/oracle/08-jan/o18frame.html.
    I create the service interface for the data service enabling these operations: Create, Update, Delete, Merge, GetByKey and Find. However, there are two additional operations that Muench does not mention: Process and ProcessChangeSummary. These are the operations that I am asking about and have not been successful finding any documentation at all.
    Thanks

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

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

  • PI 7.1 "stateless" service interfaces prerequisites and limitations

    are there  any prerequisites and limitations for "stateless" Service interfaces.
    We are directly implementing PI 7.1, (i.e not upgrading form 7.0 or 3.0).
    so for all our service interfaces, shall we safely use tne interface pattern "statelss" instead of "Stateless(xi 3.0 compatible)".
    if use the "stateless", are there any addition prerequisites or constraints/limitations.
    can we use abap proxies, java proxies, providing webservices via xi, and consuming other webserivces in xi, all adapters, asynch, synch scenarios with "stateless" interface patterns.
    In short, are there any things that can be done using "Stateless(xi 3.0 compatible)" and cannot be done using  "stateless" interface
    are there any specific requirements for using "Stateless(xi 3.0 compatible)" even in newly implemented PI 7.1
    thanks in advance,
    Madhu.

    When it is an upgrade from 7.0 to 7.1 the default Interface pattern is Stateless (XI 30 Compatible)
    Using Stateless Interface Patterns wont cause any harm/ restriction on any of the development.
    The only twist will be in the way a condition is specified in the Receiver Determination.
    For any Interface pattern (other than Stateless(XI30 Compatible)) you wont be able to see the message structure in the Condition Editor of Receiver Determination. All other functionality (Async, Sync, Proxy) will be available.
    In such a case Condition should be specified as shown in this blog: /people/abhishek.salvi/blog/2009/07/15/sap-pi71-receiver-determination-xpath-and-you
    Regards,
    Abhishek.

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

  • I updated to ios 5.1.1 and added icloud services. the problem is now whenever i connect my iphone to my PC, itunes does not recognize my phone. i need it to but it just does not connect..

    i updated to ios 5.1.1 and added icloud services. the problem is now whenever i connect my iphone to my PC, itunes does not recognize my phone. i need it to but it just does not connect..

    Try the standard fixes to rule out a software problem:
    - Reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.
    If you still have the problem that points to a hardware problem. Yu can make an appointment at the the Genius Bar of an Apple store or try:
    fix for Home button

  • 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

Maybe you are looking for