Generate Entity Service from External Service / Web Service (CAF)

Hi,
is it possible to generate an Entity Service from an External Service in the CAF-IDE? Or do I need to create each attribute manually which the External Service provides?
(in worst case by using an api?)
regards
Christian

Hi,
Unfortunately there is no possibility to create Entity Service based on another service. You have to do this manually for each attribute and method. Sorry ...
Regards,
  Jan

Similar Messages

  • Generate XML file from RFC using Web Services

    Hi,
      I am trying to save an RFC enabled Function Module output to an XML file using ABAP web services.
    I could able to create Web Service and release it using WSCONFIG/WSADMIN. I can actually get the output in XML file when i launch the web service home page. But I need this to be done in the ABAP program itself. So If i run the RFC I could able to create,release web service and capture the Generated XML file by SOAP runtime.
    Any FM available?
    Thanks,
    Ram Sanjeev

    which version of WAS you are on .
    if you are on WAS6.40 check the following weblog on how to consume webservice using the wsdl file.
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    lower version of WAS use class cl_http_client.
    if this case you have to manually build the soap message.
    /people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap
    Regards
    Raja

  • Create an SAP Web Service Consumer (calling External Sharepoint Web Service from ABAP)

    hi all,
    i am trying to
    Create an SAP Web Service Consumer (calling sharepoint Web Service from ABAP) using blog given on following link
    Create an SAP Web Service Consumer (calling External Web Service from ABAP) 
    but when i am using my url at the end of step 3, i am getting error as follows:
    i dont want to use local file option. Can anyone help me in this??
    thanks in advance
    regards,
    SDS

    Hi SDS,
    you recieved a http 404 error when trying to access the Sharepoint Web service. Http 404 indicates that the resource is not reachable (cf. HTTP 404 - Wikipedia, the free encyclopedia). There could be different reasons for that. I'd suggest rubble checking the URL of the Web service first. Try to access it from a browser on you desktop. If the URL is correc. Most likely the SAP system is not able to connect to the URL. This could, for example, be due to some firewall restrictions. You should ask a SAP Basis colleague if they are able to access the URL of the Web service from the server on which the SAP system is running.
    Christian

  • Is it possible to invoke external REST web service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4)

    Is it possible to invoke an external REST web-service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4) with parameters as input and manipulating the response depending on the type of parameters it gets back. Then invoking an Adobe Form and prepopulating the Form based on the response parameters? Do you have sample projects that do this invocation. The part highlighted in red is what I need examples.

    You can simply use "Execute Script" operation in Workbench and make use of java.net.URL. Below links should help :
    http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
    http://www.adobe.com/devnet/livecycle/articles/building-xml.html
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000581.html
    Hope this helps.
    -Wasil

  • Urgent: External resource (web service) ConnectorException

    Hi!
    I'm using web services in my processes. The engine run on WL 10.3. When I try to use the web service, I get the following exception in the log:
    fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'java.lang.RuntimeException: fuego.lang.ComponentExecutionException: The task could not be successfully executed.
    Reason: 'fuego.connector.ConnectorException: The configuration name [<web service name>] and type [Web Service] is not defined.
    Detail:The connector must be configured in the appropiate context.
         at fuego.web.execution.InteractiveExecution.setExecutionError(InteractiveExecution.java:307)
         at fuego.web.execution.InteractiveExecution.process(InteractiveExecution.java:166)
         at fuego.web.execution.impl.WebInteractiveExecution.process(WebInteractiveExecution.java:54)
    The resource <web service name>/Web Service and the referred Server Configuration are configured.
    From the error message "The connector must be configured in the appropiate context.":
    *) what is meant by "connector"?
    *) what "context"?
    Antother question: if I modify my external resources, how can I make the change effective for the processes in the WL environment?
    Thank You,
    Jaanus

    I figured it out.
    When I deployed the project I got a strange error message "Duplicate configuration name" each time I tried to create an external resource or a role from the deployment wizard. Still, the resources appeared in the list as they were created. In fact they were not. After restarting the administration console the resources were gone. After adding them by hand everything worked fine.
    Still don't know why I got "Duplicate configuration name", even with empty base.

  • How to access  complex data type from a soap web services?

    hello
    can u please tell me how can i access complex data type from a soap web service from jdeveloper 10g
    Jdeveloper generates 3 classes
    serviceStub
    getproperties
    response
    i have to retreview the data which is a complex data type it gives some
    unknown type. and the return value is a key-value pair data type .
    regards
    vs

    After you create the partner link and the invoke (to create the variables), change the element type of the response message to the complex type definition of your collection that appears in the XSD. You can do the same thing if you want to change the element type of the payload of the request message as well.

  • Pulling Data from an imported web service into a data grid - Flex 3.0

    Hi all,
    I have created a web service from Oracle using JDeveloper and imported it into my Fex 3 project, and I am trying to populate a data grid with the data from the web service.  I was trying to emulate the example found in my Adobe Flex 3.0 for Dummies book (see http://dougmccune.com/flexfordummies/chapter14/srcview/index.html), and while the code from the book with that data service works fine, I can't get my application to work.  My issue is with the part of code mx:DataGrid dataProvider="(service)"  - I do not know how to specify what to use for the data source to populate the data grid from my imported web service.  Any suggestions or examples would be helpful, as I am a newcomer to Adobe Flex.  My code is as follows:
    <?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"xmlns:webservices="
    generated.webservices.*">
     <mx:Script>
    <![CDATA[
     private function getData():void {service.getPdRec(ageDt.text);
    ]]>
    </mx:Script>
     <webservices:PD_Pct_Web_Service id="service" />
     <mx:VBox>
     <mx:HBox width="100%">
     <mx:TextInput id="ageDt" width="100%" />
     <mx:Button id="submitButton" label="Search" click="getData()" />
     </mx:HBox>
     <mx:DataGrid dataProvider="(service.getPdRec_lastResult
    " rowHeight="
    58" width="100%" height="300">
     <mx:columns>
     <mx:DataGridColumn dataField="creditManager" headerText="Credit Manager" width="40" />
     <mx:DataGridColumn dataField="pdTarget" headerText="PD Target" width="40" />
     <mx:DataGridColumn dataField="totalPd" headerText="Total PD" width="40" />
     <mx:DataGridColumn dataField="pdPct" headerText="PD Percent" width="50" />
     </mx:columns>
     </mx:DataGrid>
     </mx:VBox>
     </mx:Application>
    My web service returns the following when invoked:
    <env:Envelope
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:ns0="http://erec_db/PD_Pct_Web_Service.wsdl/types/">
    <env:Body>
      <ns0:getPdRecResponseElement>
       <ns0:result>
        <ns0:creditManager>Cobb</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>147.65</ns0:totalPd>
        <ns0:pdPct>26.77</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Collova</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>27.71</ns0:totalPd>
        <ns0:pdPct>21.67</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Lee</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>33.61</ns0:totalPd>
        <ns0:pdPct>72.38</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Maynard</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>74.19</ns0:totalPd>
        <ns0:pdPct>33.69</ns0:pdPct>
       </ns0:result>
       <ns0:result>
        <ns0:creditManager>Ong</ns0:creditManager>
        <ns0:pdTarget>10</ns0:pdTarget>
        <ns0:totalPd>13.26</ns0:totalPd>
        <ns0:pdPct>46.06</ns0:pdPct>
       </ns0:result>
      </ns0:getPdRecResponseElement>
    </env:Body>
    </env:Envelope>

    Use data binding. <mx:DataGrid dataProvider="{service.getPdRec_lastResult}"
    -Radhakrishna

  • SOAP Response from PL/SQL Web Service

    My returned SOAP xml from PL/SQL web service has totally rearranged element order, which defined in WSDL and oracle database. It also changed all element name from mixed upper/lower case to pure lower case and makes them hard to read. Why is that? Is there any way to avoid these to happen?
    My PL/SQL web service was generated by Oracle9i JDeveloper 9.0.3.
    Thanks for any help.
    Yi

    Hi,
    we need more details
    - it seems like you have both Return and OUT arguments; which SOAP stack are you using?
    - which tools?
    - What is the naming convention of your PL/SQL arguments?
    Kuassi
    Mike,
    1. The SOAP is the result of publishing a stored procedure/function as a Web service.
    2. The elements for returned data are re-ordered. The function returns no complex type.
    3. The element tags containing returned data are all changed to lower case.
    Here are what I expected for returning SOAP:
    <return xmlns:ns2="http://oracle817/IDemogprofilews.xsd" xsi:type="ns2:oracle817_ODemog">
    <OFipsCode xsi:type="xsd:string">51059</ OFipsCode >
    <TotalPopulation xsi:type="xsd:double">818584.0</ TotalPopulation >
    <PercentMinority xsi:type="xsd:double">22.5</ PercentMinority >
    <PersonsBelowPovertyLevel xsi:type="xsd:double">28210.0</ PersonsBelowPovertyLevel >
    <HouseholdsInArea xsi:type="xsd:double">292943.0</ HouseholdsInArea >
    <HousingUnitsBuiltBefore1950 xsi:type="xsd:double">5.2</ HousingUnitsBuiltBefore1950 >
    <White xsi:type="xsd:double">666349.0</ White >
    <HispanicOrigin xsi:type="xsd:double">50526.0</ HispanicOrigin >
    <AmericanIndian xsi:type="xsd:double">2318.0</ AmericanIndian >
    <HighSchoolDiploma xsi:type="xsd:double">91675.0</ HighSchoolDiploma >
    <BachelorAndHigher xsi:type="xsd:double">264673.0</ BachelorAndHigher >
    <Adults18yearsAndOlder xsi:type="xsd:double">618989.0</ Adults18yearsAndOlder >
    <Seniors65yearsAndOlder xsi:type="xsd:double">52977.0</ Seniors65yearsAndOlder >
    Instead I get following back:
    <return xmlns:ns2="http://oracle817/IDemogprofilews.xsd" xsi:type="ns2:oracle817_ODemog">
    <totalpopulation xsi:type="xsd:double">818584.0</totalpopulation>
    <americanindian xsi:type="xsd:double">2318.0</americanindian>
    <housingunitsbuiltbefore1950 xsi:type="xsd:double">5.2</housingunitsbuiltbefore1950>
    <hispanicorigin xsi:type="xsd:double">50526.0</hispanicorigin>
    <highschooldiploma xsi:type="xsd:double">91675.0</highschooldiploma>
    <adults18yearsandolder xsi:type="xsd:double">618989.0</adults18yearsandolder>
    <seniors65yearsandolder xsi:type="xsd:double">52977.0</seniors65yearsandolder>
    <householdsinarea xsi:type="xsd:double">292943.0</householdsinarea>
    <personsbelowpovertylevel xsi:type="xsd:double">28210.0</personsbelowpovertylevel>
    <ofipscode xsi:type="xsd:string">51059</ofipscode>
    <bachelorandhigher xsi:type="xsd:double">264673.0</bachelorandhigher>
    <white xsi:type="xsd:double">666349.0</white>
    <percentminority xsi:type="xsd:double">22.5</percentminority>
    You can see the element tag names are in different order/sequence and cases.
    Thanks.
    Yi

  • How to send a XML file from  SAP    to   WEB SERVICE

    Hi folks,
    i m creating a XML file with purchase order data, while saving the purchase order.now i need to send this XML file to some WEB SERVICE i.e to some perticular address in WEB.
    can anyone give the step by step procedure to do this web service configuration? it's really urgent.
    points must be awarded.
    Thanks & Regards
      pabitra

    Hi all,
    i need to send some purchase order data from SAP to WEB SERVICE. while saving the purchase order, i want to send some data from SAP to WEB SERVICE ( a perticular address in WEB).
    i want to see those datas in xml format in WEB.
    Now i am using SAP 4.7 version. Is this web service configuration is possible or not?
    In SE37, i can not see the CREATE WEB SERVICE option in utilitities--> More utilities menu.is it possible in 4.7???
    can anyone give any suggestion ? it's very urgent.
    Thnaks
    pabitra

  • Open client socket from within a Web Service

    Hello,
    I need to open a client TCP/IP socket from within a Web Service-type WebLogic
    Workshop app. When I try to read from the socket, the socket read operation hangs.
    When I use the same code in a J2SE Java app on the same machine using Eclipse
    everything works fine. It also works fine from within WebLogic, if I use a "URL"
    object instead of a "Socket" object. (However, I cannot use this type of connection.)
    Can anyone tell me how to work with raw TCP/IP sockets in this situation?

    Hi Udi,
    I have tested my code from within a Servlet and it works fine.
    The Servlet and the Web Service both call the same simple JAVA class. This class wants to access a DB, and therefor, I am using the Data Source.
    When the Servlet calls the class, everything works fine. But when I use the Web Service to call this class, I get the Exception "No attributes are implemented".
    I hope this information helps you understanding my problem?
    Thank you very much for your help.
    Kind regards,
         Nadine

  • Calling a Portal Service from within a Web Dynpro DC

    Hello,
    I am trying to call a Portal Service from within a Web Dynpro development component without sucess.
    Can anyone give me some hints on the necessary steps in order to accomplish this task?
    Thanks
    Diz

    Hi Diz,
    I tried doing the same thing by following the steps as mentioned by you. Just to re iterate,
    1. Created a DC "Portal Application Standalone" project by the name myservice.
    2. Created a portal service inside myservice by the ame AmitsService.
    3. Exposed IAmitsService.class in the public part.
    4 Build and deployed the DC on server and tested it through an abstract portal component and it worked FINE !!
    Now..
    5. Created anoter DC of type WebDynPro
    6. Added SAP_JTECHS -> epbc.prtapi._api as a "Used DC" with dependency build time and runtime
    7. Specified the sharing reference in the properties as PORTAL:sap.com/myservice
    8. Tried to reference the service using the following code..
    IAmitsService portalservice=(IAmitsService)WDPortalUtils.getServiceReference(IAmitsService.KEY);
    9.Build and deployed the DC.
    10. When I run the application I am getting the following error
    Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.engine.frame.core.load.SAPNoClassDefFoundError: com/sapportals/portal/prt/service/IService
    Exception id: [000D6008418B005C0000002C00000D200004163CE6719E1D]
    PLEASE ADVISE

  • Is it possible to read/write data from Salesforce using web service hub in Informatica?

    Anyone from Informatica can asnwer this question please

    Is it possible to read/write data from Salesforce using web service hub in Informatica? Not asking about PowerExchange for Salesforce or Informatica Cloud. Just using web service can we load data into Salesforce? Thanks ahead.

  • Helpme I have error when I try connect from struts  to web service

    helpme I have error when I try connect from struts to web service using basic authentication . the error message is
    [SOAP Exception: fault code= SOAP-ENV Protocol; msg=Unsupported response content type "text/html" must be "text/xml"; ] Response was <html><body> 401 Unauthorized </body></html>
    I'm not using ldap for authentication only xml (jazx-data.xml) ... I already create user with jazn.jar for that user , and I dont know why it still error like that ..
    Please helpme I don't have anytime more to find the mistake , ??
    I'm using Jdeveloper 9i , and oc4j 9.0.4 Server (Not embedded with Jdev)
    But when I use with sample java client it success .....
    then I try with Struts the response is unsupported response content type text/html must be text/xml response was 401 Unauthorized

    1.The reason why this error occurs is, we are getting non SOAP response when the program is expecting a SOAP response. Did you set the proxy server correctly? Try to handle the exception and see the content type of the response in your program.
    2. While creating the client stub u must check an option for authentication for webservice .should solve ur problem.
    thanks
    sirisha

  • Could not run the bookstore1 example from the Java Web Services Tutorial

    The bookstore1 servlets example from the Java Web Services Tutorial (issue Aug 1, 2002) was built and deployed successfully by using the deploytool (following the steps described on pages 498ff of the tutorial).
    After deploying the application the Tomcat Web Application Manager shows the entry:
    /bookstore1:stopped:0:D:\Programme\Java\tomcat\jakarta-tomcat-4.1.8\work\Standalone\localhost\manager\bookstore1.war
    when entering the command: http://localhost:8080/manager/list.
    After entering the command: http://localhost:8080/manager/start?path=/bookstore1, the (uncomplete) message appears:
    FAIL - Application at context path /bookstore1 could not
    It should be noted that I was able to build and deploy the application GSApp (chapter 3 of the tutorial) successfully.

    Did you set up the database as described in
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebApp13.html#69868

  • Web-service client for legacy web service

    I currently access a legacy server (Lotus Domino 7) via CORBA. I thought a web service (my second) would be faster, but a whole day's research has uncovered only obsolete or trivial examples.
    The WSDL generated by the server is rpc/encoded so wsimport cannot generate the necessary "artifacts" for a web service client.
    The web service is simple: it accepts two java.lang.Strings, and returns a java.lang.String of XML. The "dynamic proxy" approach from 1.4.2 seems to have disappeared; I was hoping that approach would let me just hand-code a single "artifact" - an SEI based on the method information in the WSDL.
    1) What classes in JAX-WS will let my web service client communicate with rpc?
    2) With such a simple signature, do I need any other "artifacts" beyond an SEI?
    Thanks for any help!

    In case anyone's search leads them here, I've posted the solution at:
    *[http://www.pby.com/general.nsf/webarticles/dominowebservice01]*
    It is an exhaustive article (not "Hello World"!) that goes through several versions of the web service and client - hopefully explaining all* pieces of the puzzle:
    ~ web service code,
    ~ WSDLs
    ~ schema
    ~ thoroughly-documented clients that do and do not use JAXB
    ~ ... that use generated artifacts
    ~ ... that customize existing POJOs
    ~ the SOAP messages generated in each direction
    ~ the necessary JAXB annotations
    ~ explanations of how the code works
    ~ explanations of how namespaces affect the code
    ~ on and on and on...
    My constant goal was to write an uncomplicated solution that uses as few artifacts (two) and annotations as possible. The end result is a small, fast JAX-WS 2.0 client that uses JAXB to invoke and consume a secured Domino 7 (1.4.2 JVM + AXIS) web service, using RPC/literal SOAP messages.

  • Web service not visible in web service navigator

    Hi,
    Whenever i deploy my web service application ear, i am not been able to see the corresponding web service in web service navigator or in web service perspective. For any other project its working fine. but for this specific project its not at all working.
    I am not getting any warnings or errors while deploying. The deployment is successful. previously it was working  fine but now suddenly stopped working after doing some changes in entity bean. I tried recreating the web service and also tried changing the server. Also i deleted and recreated ear file. but no help.
    Any idea what exactly is wrong?

    Hi Abhijeet,
    I did got same error some time back. Go to visual Administrator and start the application if that does not work undeploy that application using Visual Administrator undeploy the deployed the Application, and then again deploy the application

Maybe you are looking for

  • AED not appearing for utilization

    Hi all I am reposting the question having hopes of getting replies.. A similar question asked in this forum has also been included. This particular case is for import trading scenario Purchase Order is made in MM and during MIGO excise invoice is cap

  • URGENT: Reset by coding.

    Anyone know how to reset a form by coding in plsql or javascript ??? I want the form reset when its apears withoyt pressing the reset buton. Thanks

  • What size for Time Machine

    Hi, I am backing up my iMac to a WD Mybook with 500 Go space. The iMac hard drive has 235 Go on it right now. I have been backing up with TM since June and the Mybook is now full. Is this normal? I seem to remember before, TM did not take up so much

  • Identify the OCR master node for 11.2

    My customer is on 11.1.0.6 RAC DB with 11.2 CRS+ASM and interested in finding  "OCR master node" at any point time. I noticed that one way is to identify the OCR master node is to search $ORA_CRS_HOME/log/hostname/crsd/crsd.log file for the line "I A

  • Crystal Management Console

    We're having an issue with the Crystal Management Console whereby the html version of the console is not able to be brought up, but the java version comes up just fine.  This began when our organization was struck with a network wide virus.  Since we