Creating a service for a daemon

I'm working on a specialized server daemon in Google's Go language, and have a makefile that I want to have an "install" directive for, that would pu the compiled binary, the document root, the logfile directory, etc, in /opt/gochan/*, and create a service that can be started by running
systemctl start gochan
in distros using systemd
service gochan
in distros using Upstart, etc.
How would I go about doing this? What is the best way to make a catch-all method of starting it as a service?

Why install to /opt?  Why not use the distro's prefered $PREFIX and/or $BINDIR?
As for systemd service files, there is a wiki page or a man page for that - they are pretty simple.  The upstart equivalent may be in the *buntoo documentation.
Is the real question here just how to detect which init is used from within a Makefile?  Autotools would probably be the best way.  But a check of /proc/1/comm would be an effective shortcut.
EDIT: from another perspective, though, distro specific things should be handled by the packaging for that distro.  Your makefile should just allow for different options.  So the systemd service file could be installed via a PKGBUILD or the *buntoo equivalent, or perhaps with different install directives like `make install.systemd` and `make install.upstart`.
Last edited by Trilby (2013-11-01 21:35:17)

Similar Messages

  • Problem with user services (creating a service for mpdas)

    Hi, I'm using mpd and using a user service to start it.
    However, I'm trying to create a service for mpdas (a mpd client for last.fm) and getting some errors:
    currently, my mpdas.service is as following:
    [Unit]
    Description=AudoScrobbler client for MPD
    After=mpd.service
    [Service]
    ExecStart=/usr/bin/mpdas
    [Install]
    WantedBy=default.target
    Which giving me the following errors:
    (14:49:55) [ERROR] You are not root. Not changing user ..
    (14:49:55) [INFO] Connected to MPD.
    (14:49:56) [INFO] Last.fm handshake successful. SessionID: ...
    terminate called after throwing an instance of 'std::ios_base::failure'
      what():  basic_filebuf::underflow error reading the file
    Aborted
    Which are the same errors I get if I run just "mpdas" instead of running it with sudo.
    If I use it as a root service (instead of a user service) it fails on startup, but works fine when I restart the server.
    So, I'm assuming:
    1) mpdas needs root permission
    2) if used as a root service, it fails at startup cause the mpd service (enabled as a user service) hasn't started yet
    3) if used as a user service, it fails cause it needs root permission
    What's the 'correct' way to solve this? (I believe mpdas should be a user service, cause it runs with a config that is just for my user).
    Is there a way to make a user service run with root privileges?
    I couldn't figure out the best way to configure it.
    Last edited by alv-r- (2014-11-29 18:37:56)

    TheSaint wrote:Why should it fails with sudo?
    It works only with sudo. It was failing as a system service because it needs mpd, which I configured as an user service. Then when systemd starts the system services (when booting) there's not mpd instance running and it fails.
    TheSaint wrote:Doesn't it works with fakeroot ?
    As a noob, I don't know exactly how fakeroot works, I'll take a better look at it, but running it with fakeroot takes rid of the errors I was getting when not running as sudo.
    The problem I have now is that it still fails on startup, but there isn't any helpful (or unhelpful) message. It just shows the PID and says it failed.
    If I run
    systemctl --user start mpdas
    it works well though. Any ideas of why this happens?
    My current unit file looks like this:
    [Unit]
    Description=AudoScrobbler client for MPD
    After=mpd.service
    Requires=mpd.service
    [Service]
    ExecStart=/usr/bin/fakeroot /usr/bin/mpdas
    [Install]
    WantedBy=default.target
    Raynman wrote:Why does it need root privileges? Maybe you just need to configure it properly to run under your normal user?
    Seeing the options in the man page and the config options for the config file, I don't see any that could do the trick.
    I'll send a message to the developer with the error I'm getting (when not running as sudo).
    Last edited by alv-r- (2014-11-29 18:36:59)

  • How to create web service for a Java class in SAP NetWeaver Studio

    hi all,
    i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the  Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • Issue in creating web service for a ABAP Function Module

    Hi,
    now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
    1. select the Function Module, named "zws_test".
    2. in the context menu, select "create->proxy object". so we enter into wizard.
    3. in the wizard, press the radio button "Service Provider".
    4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
    5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
    6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
    7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
    8. Save in the local package.
    9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
    10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
    11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
    12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
    13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
    14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
    15. I use t-code SM59 to test connection  and get the following info.
          Status HTTP Response     200
          Status Text                      OK
          Duration Test Call             328 ms.
    who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
    Thanks in advance
    Johnney

    have you seen this weblog
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

  • XI for create web servicies for SAP R/3 4.6C

    Hi All,
    we are implementing PM (Plant Management) module of SAP R/3 4.6C and we have the necessity to create web services for some PM functionalities. Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI. Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly. So we think to use SAP EP.
    Which is your opinion about this architectural scenario? Is it possible to fulfil the requirement of our business users with a more simple architectural solution (for example with WEB DYNPRO)?
    Many thanks in advance for your collaboration.
    Regards,
    Bob

    Infact we need to integrate our SAP R/3 4.6C with other applications (non-SAP) through TIBCO (it's mandatory). So we think to use SAP XI.
    TIBCO is another middleware. So once you expose your R/3 functionalities as web service, you may directly use TIBCO to integrate and XI won't be required at all.
    Moreover our users don't want to use SAP GUI for the accessing to the PM functionalities but they want an UI more friendly.
    WebDynpro application would provide you an easy GUI and could act as Soap client as well to send data.
    Regards,
    Prateek

  • How to create a service for Oracle HTTP Server

    Hi,
    I hope someone can help me.
    I would like to create a service for an Oracle HTTP Server.
    We are running APEX 3.2 on an 10.2.0.4 database (not XE).
    We have a Windows XP system.
    To run APEX on a 10g we need the HTTP Server.
    Unfortunately no service was created while the installing of the Oracle HTTP Server.
    How can I create a service later. After the installation.
    I know that you can create a service with Instrsrv.exe and Srvany.exe. But I dont know wheather I can use this in this case.
    I need an .exe file for that.
    The HTTP-Server has the opmnctl.exe.
    But I have to write opmnctl.exe startall when I start or opmnctl.exe stopall when I want to stop it . How can I realize that in a Service?
    Thanks for your answer
    Jens

    Hi,
    I hope someone can help me.
    I would like to create a service for an Oracle HTTP Server.
    We are running APEX 3.2 on an 10.2.0.4 database (not XE).
    We have a Windows XP system.
    To run APEX on a 10g we need the HTTP Server.
    Unfortunately no service was created while the installing of the Oracle HTTP Server.
    How can I create a service later. After the installation.
    I know that you can create a service with Instrsrv.exe and Srvany.exe. But I dont know wheather I can use this in this case.
    I need an .exe file for that.
    The HTTP-Server has the opmnctl.exe.
    But I have to write opmnctl.exe startall when I start or opmnctl.exe stopall when I want to stop it . How can I realize that in a Service?
    Thanks for your answer
    Jens

  • Creating Web service for PL/SQL Procedure with Complex Data Types

    I need to created web service for PL/SQL Procedure with Complex Data types like table of records as parameters, how do we map the pl/sql table type parameters with web service, how to go about these?

    Hello,
    When you are creating a service from a Stored Procedure, the OracleAS WS tools will create necessary Java and PL wrapper code to handle the complex types (table of record) properly and make them compatible with XML format for SOAP messages.
    So what you should do is to use JDeveloper or WSA command line, to create a service from your store procedure and you will see that most of the work will be done for you.
    You can find more information in the:
    - Developing Web Services that Expose Database Resources
    chapter of the Web Service Developer's guide.
    Regards
    Tugdual Grall

  • Create Business Service for Dotnet Webservice?

    Hi all,
    I have one dotnet Webservice which is implemented from remote server.
    I begin create Business service for this service in OSB, but I don't know what I must choice between five Services Type:
    - WSDL Web Service
    - Transport Typed Service
    - Messaging Service
    - Any SOAP Service
    - Any XML Service
    My dotnet Webservice return one String in XML format like that <string>Hello World</string>Anybody can help me ?. If can,please give me full example show how to binding dotnet Webservice to OSB to Weblogic portal
    Thank a lot!

    Hi Patrick,
    I think my dotnet Webservice have WSDL
    when I access this address
    http://localhost/DotnetWebService/Service1.asmx?Wsdland I receive the result:
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
          <s:element name="HelloWorld">
            <s:complexType />
          </s:element>
          <s:element name="HelloWorldResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:schema>
      </wsdl:types>
      <wsdl:message name="HelloWorldSoapIn">
        <wsdl:part name="parameters" element="tns:HelloWorld" />
      </wsdl:message>
      <wsdl:message name="HelloWorldSoapOut">
        <wsdl:part name="parameters" element="tns:HelloWorldResponse" />
      </wsdl:message>
      <wsdl:portType name="Service1Soap">
        <wsdl:operation name="HelloWorld">
          <wsdl:input message="tns:HelloWorldSoapIn" />
          <wsdl:output message="tns:HelloWorldSoapOut" />
        </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="Service1Soap" type="tns:Service1Soap">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="HelloWorld">
          <soap:operation soapAction="http://tempuri.org/HelloWorld" style="document" />
          <wsdl:input>
            <soap:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:binding name="Service1Soap12" type="tns:Service1Soap">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
        <wsdl:operation name="HelloWorld">
          <soap12:operation soapAction="http://tempuri.org/HelloWorld" style="document" />
          <wsdl:input>
            <soap12:body use="literal" />
          </wsdl:input>
          <wsdl:output>
            <soap12:body use="literal" />
          </wsdl:output>
        </wsdl:operation>
      </wsdl:binding>
      <wsdl:service name="Service1">
        <wsdl:port name="Service1Soap" binding="tns:Service1Soap">
          <soap:address location="http://localhost/DotnetWebService/Service1.asmx" />
        </wsdl:port>
        <wsdl:port name="Service1Soap12" binding="tns:Service1Soap12">
          <soap12:address location="http://localhost/DotnetWebService/Service1.asmx" />
        </wsdl:port>
      </wsdl:service>
    </wsdl:definitions>
      Do you have any suggestion for me ?
    Thanks
    Edited by: AS84 on May 11, 2011 12:10 AM

  • Create web service for /POSDW/CREATE_TRANSACTIONS_EXT

    Hello Experts,
    In our POSDM implementation, we are trying to connect third party POS to POSDM via custom Middleware (.net application). I am trying to create a webservice for /POSDW/CREATE_TRANSACTIONS_EXT function module so that via middleware we can upload the T-log into POSDM.
    While creating a web service we are getting an error "
    SOAP application
    "urn:sap-com:soap:runtime:application:rfc:710"
    does not exist"
    I have also checked the function module is RFC enabled. If anybody can put some light on how to solve this problem would be really appreciated.
    Thanks
    Mayank

    Hi Mayank,
    Use transaction ST22 in R3 (where you have created the RFC) and see what error has occoured. This will help you to solve your problem.
    Since you got RFC_ERROR_SYSTEM_FAILURE exception, therefore have a look at the dev_jrfc.trc files. These files are written by JRFC and can be found in the directories j2ee/cluster/server* of the J2EE Application Server Installation.
    Thanks and Regards,
    Ramesh D

  • Can't create a service for failover on 2 node windows2008 RAC

    To create a new service for failover,
    1)Enterprise Manager can not be used by prompting an error: many people already mentioned.
    2)Net Manager could create a service but it fails to test showing:
    Attempting to connect using userid: qa1
    The test did not succeed.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Q1: According to doc, it should be used ONLY for Non-cluster and single instance. Is this why I have an error?
    Q2: If not, what should I need to do to fix this problem?
    3)Using command line like
    C:\Users\administrator.QAPF2>srvctl add service -d ORCL -s NLS -r orcl1 -a orcl2
    C:\Users\administrator.QAPF2>srvctl start service -d ORCL -s NLS
    C:\Users\administrator.QAPF2>srvctl status service -d ORCL -s NLS
    Service NLS is running on instance(s) orcl1
    C:\Users\administrator.QAPF2>sqlplus /nolog
    SQL> connect sys as sysdba
    SQL> alter system register;
    When I try to connect from client using "jdbc:oracle:thin:@orarac-scan:1521:NLS" connection string, I got the following error:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:orarac-scan:1521:NLS
    Note: If I use "ORCL1" instead of NLS, then it works. ORCL1=SID on node1, NLS=service name.
    Q3: Are there anything I should do more?
    Q4: How do I add a listener for this new service(NLS)? I added the following using Net Manager but no effect:
    (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = orarac-scan)(PORT = 1521)))

    Yes, it worked with sqlplus commandline(local or from remote) like:
    C:\>sqlplus system@NLS
    SQL*Plus: Release 11.2.0.3.0 Production on Fri Apr 20 17:11:19 2012
    Copyright (c) 1982, 2011, Oracle. All rights reserved.
    From a remote client:
    C:\oracle>sqlplus qa1@NLS
    SQL*Plus: Release 11.1.0.6.0 - Production on Tue Apr 24 10:12:31 2012
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter password:
    Connected to:.............................................................................
    However, if I use the connection string suggested by you:
    C:\oracle>sqlplus qa1@\"orarac-scan:1521/NLS\"
    SQL*Plus: Release 11.1.0.6.0 - Production on Tue Apr 24 10:14:30 2012
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    additional information:
    From a remote client:
    C:\oracle>nslookup orarac-scan
    Server: admin01.qalab01.nextlabs.com
    Address: 10.23.57.5
    Name: orarac-scan.qapf2.qalab01.nextlabs.com
    Addresses: 10.23.57.35, 10.23.57.34, 10.23.57.36
    The followings are from node1:
    C:\>srvctl status service -d ORCL -s NLS
    Service NLS is running on instance(s) orcl1
    C:\Users\administrator.QAPF2>srvctl status scan
    SCAN VIP scan1 is enabled
    SCAN VIP scan1 is running on node orarac2
    SCAN VIP scan2 is enabled
    SCAN VIP scan2 is running on node orarac2
    SCAN VIP scan3 is enabled
    SCAN VIP scan3 is running on node orarac2
    C:\Users\administrator.QAPF2>srvctl status scan_listener
    SCAN Listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node orarac2
    SCAN Listener LISTENER_SCAN2 is enabled
    SCAN listener LISTENER_SCAN2 is running on node orarac2
    SCAN Listener LISTENER_SCAN3 is enabled
    SCAN listener LISTENER_SCAN3 is running on node orarac2
    C:\Users\administrator.QAPF2>srvctl status listener
    Listener LISTENER is enabled
    Listener LISTENER is running on node(s): orarac2,orarac1
    C:\Users\administrator.QAPF2>srvctl config service -d orcl -s NLS
    Service name: NLS
    Service is enabled
    Server pool: ORCL_NLS
    Cardinality: 1
    Disconnect: false
    Service role: PRIMARY
    Management policy: AUTOMATIC
    DTP transaction: false
    AQ HA notifications: false
    Failover type: NONE
    Failover method: NONE
    TAF failover retries: 0
    TAF failover delay: 0
    Connection Load Balancing Goal: LONG
    Runtime Load Balancing Goal: NONE
    TAF policy specification: NONE
    Edition:
    Preferred instances: orcl1
    Available instances: orcl2
    Edited by: 928042 on Apr 24, 2012 10:36 AM

  • I Am Begging for URGENT ASSISTANCE Using Create Booklet Service for Pages

    I work for a Church; I prepare numerous bulletins weekly and while I am tickled to learn of Create Booklet Service, I need to know why in the "tutorial" of Create Booklet Service it says that when I am in the PRINT menu, and click on PDF at the bottom, I will have the option to click on "create booklet"  ??? NOT ON MY SCREEN?   I also have a problem with how tiny the print turns out when I was experimenting with this program, no matter how I changed the font size, OR INCREASED the size (on the navigation on the right of the screen)  It still prints very tiny which will not work for many of our "mature members"   HELP on this please!
    May I please impose on 2 other small questions that are driving me nuts (I am converting from a lifelong PC user to Mac--which I adore)  HOW DO I BACK UP to the last "motion or keystroke I made?"  on the PC up on the top left is a circle with an arrow which will take me back "one task, if you will"  I cannot figure out how to do this on the mac
    ALSO
    when I am working in Pages and I am adjusting text that I am typing ; on the PC, if I want to "bring a sentence that is divided between to lines" up together to join them; I could simply hit DELETE and the spaces would continue deleting until my broken sentence was joined onto one line?  This does not happen on the MAC  the DELETE Key simply deletes back.
    ONE MORE QUESTION:
    Why when I am copying and pasting a document from the PC to the MAC  (trying to convert all my weekly projects from the PC to the MAC)  the clip art, photos etc do not copy with the text?  Very frustrating in the conversion process.
    THANK YOU THANK YOU THANK YOU to anyone and everyone that can or chooses to assist me.  I have spent countless hours and weeks just to finally discover Create Booklet Service TODAY! 
    Blessings
    Patti

    HarleyGirl328 wrote:
    I thank you for your time and information; NO!  I did not know that Create Booklet produces the booklet 1/2 the size of my pages document; so that was very helpful information.  I have tried probably 2 dozen times to print this pages doc into a booklet for our Church bulletin and NOTHING works!  I am so beside myself because time is minimal here; so many disruptions from phones ringing to people coming in.  I stayed late many nights and come in early and I still cannot figure this out; I am not a computer genius but I am not stupid either!  When I have my document prepared in Pages, do I then go to Page Set UP? or straight to Print?
    I want to print a 2 sided document that has 12 pages (3 --2 sided legal sheets of paper in readable format)  do I choose: legal small? legal ? A4? do I manipulate the % it shows that will print?
    do I change the icon that reads portrait, to landscape?
    I wish someone could tell me step by step what to do in print set up and print to have this print out so its equal to a 11pt font in Georgia font and the headings I use are bold and 12 pt.  (or at least that is how I have been doing it in the PC for several years)  I thank you for the reference on the book; time is just not on my side right now to find the book, and read it.  It might sound like the lazy way? That is not my intention; I just need efficiency  LOL!  IF someone could only sit here with me and show me exactly how to set this up to print a legal size (8..5 x 14") 2 sided bulletin that I then fold and put into a cover...I would be thrilled beyond words!  Peace my friend from Sweden!  Many hugs
    Patti
    You can if you have installed the Create Booklet Service in a service folder you can either first Export the Pages document to PDF or you print to PDF directly and choose Create Booklet.
    When you create the document have have already chosen which paper size to use. I use A4 but my guess is that you are american and uses legal. i don't think you should manipulate the %.
    You don't have to bother your brain with landscape or portrait format. That will the application do.
    If you find that the text is too small for your readers create a document with lets say font in 14 or 16 points.

  • How to create web service for database application

    Hi everyone
    Is it possible to create a web service for an apex database application page which has reports and radio fields and dialog boxes and validations in it. IF it is possible to create, pls help me with example or step by step procedure. I have seen all oracle docs of implementation of Web services in apex but unable to figure out how to get that link of wsdl for an application.
    Thanks in advance.
    Regards
    Sandeep Artham

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • How to create a service for the OHS (Apache 2.0) on Windows?

    I've downloaded the Oracle HTTP Server (Apache 2.0) (10.1.3.3.0).
    It works also fine with DB 10gR2 and APEX.
    But how do I create a windows service for the opmnctl.exe?
    Thanks
    Ralph

    I've downloaded the Oracle HTTP Server (Apache 2.0) (10.1.3.3.0).
    It works also fine with DB 10gR2 and APEX.
    But how do I create a windows service for the opmnctl.exe?
    Thanks
    Ralph

  • Its possible to Create Bussiness Service for IDOC Communication Channel

    HI FRNDS,
    My scenario File to Idoc,
      When we will go for business Service , Its possible to create Business Service SAP R/3, its a Good advice.
    To which Adapters we will use business Service, business System
    Regards,
    raj

    Hi,
    This is the basic difference between Business Service and Business System. This will help you in concluding why you use them and hence you can deduce your answer....
    Business System
    Business systems are logical systems that function as senders or receivers within the SAP Exchange Infrastructure. You configure business systems in the SAP System Landscape Directory (SLD). A business system is always associated with a technical system (here: SAP Web AS ABAP system).
    Business Service
    Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
    You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details.
    Regards
    Arpil
    Reward points for the useful answer

  • Creating web service for bapi and consume in portal.

    Hi ,
    I am new to Web Services. This is my requirement I need to publish the functionality of bapi as a web service and consume the web service from portal side.
    I have followed these steps to create web service.In transaction se80 i have created service definiton and a wsdl file is generated.
    When i am exporting that WSDL file and creating a model in a webdynpro project. I am getting the following error. I dont know how to proceed further.Error while loading WSDL.Check error log for more details.
    Whether the proxies need to be generated?What is the purpose of it? Where the proxies need to be generated?
    Is Process integration needed to use web services?
    Kindly guide me how to proceed.
    Best Wishes
    Idhaya R

    the proxy is the object that make possible to use the service; even if service and consumer are on the same host, you need a proxy to use it.
    try to check this blog
    /people/thomas.jung/blog/2007/12/17/consuming-services-with-abap

Maybe you are looking for

  • Keep loosing the connection to my 30" display

    Hi I've just bought a MacBook Pro 17" + and adapter to my 30" Apple Cinema Display. There seems to be an annoying issue however; 3-4 times during a work day I loose the connection to the 30" display. This happens without any prior notice. I don't mes

  • How do I create navigation links within a page?

    Hi, I would like to create navigation links to go directly to a certain topic on the page, similar to the one I found on Robohelp's help (screenshot). Thank you for your help,

  • Issue printing labels in Adobe form via Datamax printer

    Hi, We have developed an Adobe form which contains a barcode for the label. This label gets printed fine when we print it on the printers in the office headquarters. However, at the plant location where it is supposed to be printed, the labels are no

  • Windows Metro Apps lead to Start screen when opened.

    I am currently using Windows 8.1. Recently, when I logged out of my microsoft account of my computer and signed in again, the Metro Apps like Reader, Music and Video cannot be opened. Running them leads back to the Start screen. I've searched for man

  • Genieo has taken over Safari - SafeMac Adware removal no help!

    Trying to get an Epson driver for my scanner since Maverick removed, or hid, the one I had,  I was invaded by Genieo and joined hundreds who have had the same problem.  Spent the week trying everything including SafeMac Adware removal instructions, t