Creating Oracle service for Scheduling

Hi All
How to create a separate Oracle Service for Job Scheduling in Oracle Single Instance and how to assign it

Hi,
it is better to ask in another Forum, [url http://forums.oracle.com/forums/forum.jspa?forumID=193]Scheduler Forum.
Herald ten Dam
http://htendam.wordpress.com

Similar Messages

  • Creating Oracle service in Oracle 8i Client for Oracle 10g XE

    Hi all
    We tried Oracle 10g XE on one Machine X - OS Windows XP Professional SP2 , It had earlier Oracle 8i Client. It installed fine. It is wonderful and easy to install.
    Services started automatic for listner as well as OracleXE. We are able to create fresh Oracle Service in Oracle 8i client as well from the same machine X.
    Problem
    We are not able to create Oracle Service from another machine say Y which also has Oracle 8i client with the Oracle 10g XE service. We get TNS Problem error.
    Kindly guide as to how to make oracle service with OracleXE from some other machine. OracleXE does not install networking tools.
    Suresh Bansal

    Oracle XE doesn't install assistants such as dbca or netca, don't expect to find them, XE is a compact and limited oracle edition.
    >> We get TNS Problem error.
    Could you please further detail the tns error you got?
    ~ Madrid

  • 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

  • Error while Installing Oracle Services for Microsoft Transaction Server

    I downloaded "Oracle9i Database Release 2 Enterprise/Standard/Personal Edition for Windows NT/2000/XP" and installed the personal edition. It did not install successfully and gave this error message:
    Error while Installing Oracle Services for Microsoft Transaction Server
    The specified key was not found while trying to GetValue
    - stop installation of all products.
    - stop installation of this component only.
    The installation of Oracle 9i Database was unsuccessful
    The Integration tools and client installed just fine from the same download. Why didn't the database install successfully? All the other components seemed to install just fine and the database appeared to be created - but I could not open it and there was not start menu option for DBA Studio.
    I am running Windows 2000 professional with Service Pack 3 on a 2 GHz Pentium4 machine with 512MB Rambus RAM, 32bit color graphics ATI All-in-Wonder card, about 40GB of disk space, a local peer-to-peer network via cat5 cable to another Win2k P3 machine, and Creative Soundblaster Audigy card. Do I need to adjust any network settings? Would it help or hinder if I installed MS IIS? WinNT has a Microsoft Transaction Server (MTS) but Win2k has COM+ instead; does that make a difference in terms of the installer looking for MTS? Do I need to configure COM+ in some special way / change settings?

    HI Salman,
    I am doing the following.
    1. I am installing Oracle 10.2.01 Database(Not Client) on my windows Xp laptop. While installation i Choose the custom option and Check the Oracle Windows Interface. In that i check the "Install Oracle Services for Microsoft Transaction server" checkbox. The installation goes on fine till 99% and when it tries to install the
    Oracle Services for Microsoft Transaction server it gives an error saying that "Microsoft Transaction server" was not found on the system.
    I had previously installed the same on my laptop and it was working fine. but after uninstallation when i try to re install i get this problem.
    If i go to the services.msc option in windows i still see the OracleMTSRecoveryService option even when i have uninstalled oracle. But when i try to start the services i get the following error
    Could Not start the OracleMTSRecoveryService on the local computer.
    Error 3: The system cannot find the file specified.
    Any help on how to resolve this issue will be highly appreciated

  • Understanding on Oracle services for Microsoft Transaction Server frm dba point of view

    Hi ALL,
    i read : -> https://docs.oracle.com/database/121/NTMTS/recovery.htm#NTMTS003
    Need help to further confirm my understanding on what i read.
    I am coming from the DBA angle... .
    the functionality of the Microsoft Transaction server is integrated within the operating system as a COM+ server and as a .NET server,  "
    can i say these is the application servers ?
    and the Microsoft Transaction distributed co -ordinator components is part of it.
    Question, i don't install the Oracle Recovery Services on the above system right?
    Question 2, as a dba, my only concern is to make sure the Oracle Services for Microsoft Transaction Server is installed. Is this correct ?
    plus making sure to create the OraMTS administrator to run the recovery job to check for in-doubt transaction.
    Question 3:
    is this Oracle services for Microsoft Transaction Server used only when an application useses multiple databases in an env?
    Can i say that when there is no user MTSSYS in my database, Oracle services for MTS is not used?
    The reason why i ask is i am upgrading/ migrating my database and this database don't work with more then 1 database or the application does not work with more then 1 databases.
    I ask the apps team all they say is that they are also not too sure. Thus need help/ advice.

    Daniel,
    In pre-8.1.7.4.0 beta implementations, your application server e.g. IIS or MTX.EXE hosts MTS transactional components. When such components acquire OLEDB or ODBC connections to Oracle and external service setup for that database i.e. OracleMTSService<id> joins the MTS transaction on behalf of the Oracle database which quite often runs on a non-Windows platform e.g. Solaris. We restrict each database to have one and only such service. This brings in scalability and availability issues. In 8.1.7.4.0 we have embedded the transaction join and commit logic in the clientside dll. There is no OracleMTSService<id> for a given database. The only service needed is a recovery service one per Windows machine on which Oracle Svcs For MTS is installed. This service is automatically created on installation of the product and doesn't connect to the databases. Instead the involved databases connect to the service via HTTP to resolve any MTS-related transactions that are in-doubt.

  • 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

  • Oracle Services for MTS on multiple servers - does not work

    I am having problems with running transactional component (COM+) using Oracle Services for MTS.
    I've been through pretty much all the messages in this forum, and I believe that I have
    configured things correctly. Here are the details. Sorry for the long post. I wanted to give as much details as possible.
    Database - Oracle 8i (8.1.7)
    Machine I
    1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
    2. Installed OraOLEDB version 8.1.7.3 and OraMTS
    3. Configured Oracle MTS Service with MTSSYS against the database.
    4. MSDTC is up and running
    5. Transactional components registered properly in COM+.
    6. Contains MDAC 2.6 SP1
    7. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
    for MTXOCI - set OracleOciLib = oci.dll
    OracleSQLLib = orasql8.dll
    OracleXALib = oraclient8.dll
    Machine II
    1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
    2. Installed OraOLEDB version 8.1.7.3 and OraMTS
    3. MSDTC is up and running
    4. Transactional components registered properly in COM+.
    5. Contains MDAC 2.6 SP1
    6. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
    for MTXOCI - set OracleOciLib = oci.dll
    OracleSQLLib = orasql8.dll
    OracleXALib = oraclient8.dll
    I have verified the database MTS_PROXY_INFO and the information seems to point to Machine I properly.
    When I run the application on Machine I, things work OK, the component executes and performs its job
    (just doing a transactional insert into a table is all). I try the same application on Machine II
    and the application hangs and it waits forever in IDBInitialize->Initialize method, probably when trying to join a transaction. Here is a trace snippet
    TID: eac (ENTRY) COracleSource::GetPropertyInfo(1, 0xb4f280, 0xb4f2e0, 0xb4f2e4, 0xb4f2d4)
    TID: eac (EXIT) COracleSource::GetPropertyInfo(hr=0): 4240
    TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
    TID: eac (ENTRY) COracleSource::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
    TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
    TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
    TID: eac (ENTRY) COracleSource::SetProperties(1, 0xa5630)
    TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
    TID: eac (ENTRY) COracleSource::SetProperties(1, 0xb4f148)
    TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
    TID: eac (ENTRY) COracleSource::Initialize()
    TID: eac (EXIT) COracleSource::Initialize(hr=0): 231
    TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
    TID: eac (ENTRY) COracleSource::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
    TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
    TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
    TID: eac (ENTRY) COracleSource::CreateSession(0x1cf32dc, 0x0, 0x0)
    TID: eac (DTXN) COracleSession::FOraInit() - Session (194250c) created
    TID: eac (EXIT) COracleSource::CreateSession(hr=0): 165
    TID: eac (ENTRY) COracleSession::JoinTransaction(2030104, -1, 0, 0)
    TID: eac (EXIT) COracleSession::JoinTransaction(hr=8004d00a): 139
    I would appreciate any help in this matter. I need to get this running to go live.

    Hi.
    I have the same problem, one which works and another which don't (almost though).
    I got most of it to work by taking the mtsservices registry entry from the server that works and put it on to the other after i have made the service in Oracle management console for mts.
    Now i can search, delete, change but not make a new entry into the database.
    And thats where i'm stuck now.
    Hope it helps a bit..
    Michael
    Greenland

  • Oracle Services for MTS in multiple servers - does not work

    I am having problems with running transactional component (COM+) using Oracle Services for MTS.
    I've been through pretty much all the messages in this forum, and I believe that I have
    configured things correctly. Here are the details. Sorry for the long post. I wanted to give as much details as possible.
    Database - Oracle 8i (8.1.7)
    Machine I
    1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
    2. Installed OraOLEDB version 8.1.7.3 and OraMTS
    3. Configured Oracle MTS Service with MTSSYS against the database.
    4. MSDTC is up and running
    5. Transactional components registered properly in COM+.
    6. Contains MDAC 2.6 SP1
    7. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
    for MTXOCI - set OracleOciLib = oci.dll
              OracleSQLLib = orasql8.dll
              OracleXALib = oraclient8.dll
    Machine II
    1. Has Oracle Client 8.1.7 with 8.1.7.4.1 Patch set
    2. Installed OraOLEDB version 8.1.7.3 and OraMTS
    3. MSDTC is up and running
    4. Transactional components registered properly in COM+.
    5. Contains MDAC 2.6 SP1
    6. Followed Microsoft Documentation (Using Oracle with MTS/COM+) to incorporate registry fixes
    for MTXOCI - set OracleOciLib = oci.dll
              OracleSQLLib = orasql8.dll
              OracleXALib = oraclient8.dll
    I have verified the database MTS_PROXY_INFO and the information seems to point to Machine I properly.
    When I run the application on Machine I, things work OK, the component executes and performs its job
    (just doing a transactional insert into a table is all). I try the same application on Machine II
    and the application hangs and it waits forever in IDBInitialize->Initialize method, probably when trying to join a transaction. Here is a trace snippet
    TID: eac (ENTRY) COracleSource::GetPropertyInfo(1, 0xb4f280, 0xb4f2e0, 0xb4f2e4, 0xb4f2d4)
    TID: eac (EXIT) COracleSource::GetPropertyInfo(hr=0): 4240
    TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
    TID: eac (ENTRY) COracleSource::GetProperties(1, 0x1cf1a70, 0xb4f2cc, 0xb4f2c8)
    TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
    TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
    TID: eac (ENTRY) COracleSource::SetProperties(1, 0xa5630)
    TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
    TID: eac (ENTRY) COracleSource::SetProperties(1, 0xb4f148)
    TID: eac (EXIT) COracleSource::SetProperties(hr=0): 4349
    TID: eac (ENTRY) COracleSource::Initialize()
    TID: eac (EXIT) COracleSource::Initialize(hr=0): 231
    TID: eac (ENTRY) IDBPropertiesImpl::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
    TID: eac (ENTRY) COracleSource::GetProperties(1, 0xb4f0d0, 0xb4f0e8, 0xb4f0f0)
    TID: eac (EXIT) COracleSource::GetProperties(hr=0): 4107
    TID: eac (EXIT) IDBPropertiesImpl::GetProperties(hr=0): 112
    TID: eac (ENTRY) COracleSource::CreateSession(0x1cf32dc, 0x0, 0x0)
    TID: eac (DTXN) COracleSession::FOraInit() - Session (194250c) created
    TID: eac (EXIT) COracleSource::CreateSession(hr=0): 165
    TID: eac (ENTRY) COracleSession::JoinTransaction(2030104, -1, 0, 0)
    TID: eac (EXIT) COracleSession::JoinTransaction(hr=8004d00a): 139
    I would appreciate any help in this matter. I need to get this running to go live.

    Ganesh,
    From the trace provided, it appears that the OraOLEDB had problems loading the OraMTS.DLL appropriately. Can you check to see if the OraMTS.DLL is in your %ORACLE_HOME%\bin and your PATH is set with %ORACLE_HOME%\bin included?
    Another possibility is that an older version of OraMTS.DLL resides in your
    %ORACLE_HOME%\bin. If you invoke "dumpbin /exports oramts.dll" at the DOS command line, one exported function should be called "OraMTSSvcEnlistEx". If you don't see this, then that means you should try reinstalling OraMTS 8.1.7 again.
    Hope that helps.
    - nari

  • I can't start Oracle Services for MTS

    Hello there, Oracle users!
    I am new here, as new to the Oracle technology. We are developping a
    software which must be transaction compliant, and we're on microsoft
    platform, and thatswy we're using sql2000 and microsoft transaction
    server for our application server components.
    But one of our clients wants to use oracle 8i db as the resource manager. We had to make the proper work mts with oracle. I've red all of the oracle documentation within this topic, and i successfully installed
    the Oracle Services for MTS on our development machine at the workplace.
    (created the mts_proxy_info table, granted the specific roles to a specific db user, the specific privileges, and so on), and
    it is working nicely, the log says "accepting new enlistment requests",
    everything is wonderful.
    But at the client, i repeated all of the steps (the only difference is,
    that they have the server on a HP-UX machine instead of winnt and i had not access to the oracle server, i just gived the sql script to the oracle dba guy there (maybe he missed something?)), and when i wanted to start the oracle services for MTS on the Application server, the log says this: "incorrect password, or username". I really don't
    undestand it, because i can connect through the OLEDB driver with the
    specified username, password and Service name. (in a datalink (udl), for example)
    If anybody had an idea i would be very happy
    thanks in advance,
    daniel szabo
    ps: the app server config is:
    nt 4.0 server
    sp 6
    option pack 2
    iis 4
    mts 2
    script host 5.5
    ie5

    Daniel,
    In pre-8.1.7.4.0 beta implementations, your application server e.g. IIS or MTX.EXE hosts MTS transactional components. When such components acquire OLEDB or ODBC connections to Oracle and external service setup for that database i.e. OracleMTSService<id> joins the MTS transaction on behalf of the Oracle database which quite often runs on a non-Windows platform e.g. Solaris. We restrict each database to have one and only such service. This brings in scalability and availability issues. In 8.1.7.4.0 we have embedded the transaction join and commit logic in the clientside dll. There is no OracleMTSService<id> for a given database. The only service needed is a recovery service one per Windows machine on which Oracle Svcs For MTS is installed. This service is automatically created on installation of the product and doesn't connect to the databases. Instead the involved databases connect to the service via HTTP to resolve any MTS-related transactions that are in-doubt.

  • Create Oracle Service Bus using BEA workshop

    Can someone please help with BEA Workshop developer guide/tutorial detailing how to create Oracle Service Bus using workshop IDE.
    IDE - BEA Workshop 10gR3
    OSB version - Oracle Service Bus 10gR3
    Thank you

    Thanks for your response Eric.
    The tutorials that I've seen so far deal with OSB console, none of them talk about creating OSB using BEA-workshop.
    On workshop IDE there is some help on OSB workshop plug-ins, but those are mostly one liners about the plug-in features
    Please advice if you've link to OSB-Workshop tutorial.
    Thanks

  • MSDTC, Vista, Oracle Services for MTS and TransactionScope

    Hi there,
    We're using .NET 2.0 TransactionScope on a Vista client. By default this will create a distributed transaction using MTS which will then be proxied using Oracle Services for MTS. However we consistently get the following error:
    ORA-00161: transaction branch length 100 is illegal (maximum allowed 64).
    According to this thread http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=943955&SiteID=1 Microsoft made some changes in MSDTC in Vista which are likely to have caused this problem. They say they were co-ordinating with Oracle to determine an appropriate fix.
    Is this an acknowledged issue? Has it been fixed and if not, when will it be fixed?
    Kind Regards,
    Dean Ward

    FYI, the following code reproduces the issue...
    using (TransactionScope txScope = new TransactionScope())
    using (OracleConnection oracleConnection = new OracleConnection("Data Source=Test;User Id=Test;Password=Test"))
    oracleConnection.Open();
    using (OracleCommand oracleCommand = new OracleCommand("SELECT 'Test' FROM Test", oracleConnection))
    oracleCommand.Connection = oracleConnection;
    using (OracleDataReader oracleDataReader = oracleCommand.ExecuteReader())
    while (oracleDataReader.Read())
    System.Console.WriteLine(oracleDataReader.GetString(0));
    txScope.Complete();
    }

  • 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

  • Installing Oracle Services for MTS (9.2) on a 8.1.7 Database

    Hello,
    I'm trying to run the script oramtsadmin.sql which comes with the Oracle Services for MTS 9.2 on a 8.1.7 database.
    When trying to compile the UTL_ORAMTS package I get the following error:
    The following error has occurred:
    PACKAGE BODY MTSSYS.UTL_ORAMTS
    On line: 0
    PLS-00908: The stored format of UTL_ORAMTS is not supported by this release
    Any idea where I can find a copy of this wrapped package that can be compiled on a 8.1.7 database ?
    thx,
    Piet Neyrinck

    I have the same problem. The documentation sayes that it will work with 8.1.7, but when I run the script I get the same error

  • 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

Maybe you are looking for