Creation of Web Service

Hi All,
          I knew to crm7.0 i need to create a web services.Please suggest me how to create.Please give me step by step procedure to create a web service.
Thanks,
Santhosh.

Hi santosh,
                 Steps to create a web service:
1 Create a RFC Enabled Function module.
2 Goto  Utilities->More utilities->Create web service->from function module.
3. Give Service definition and description end point type function module.
4. click on continue.
5.give function module name.
6. click on continue.
7.Give the package name and transport req num.
8. Click on complete..
9.  Save it->check for the errors-> Activate it.
10. Run the transaction soamanager.
11. Goto Service administration tab
12. Click on single service configuration
13. Give the search pattern as z*
14. select your web service.
15. click on apply selection
16. click on Open Web Service navigator for selected binding.
17. give user name and password
18. Run your web service.
Regards,
Darwin

Similar Messages

  • Error while creation of web service model in web dynpro

    Hi,
    I am getting following error "no services available or local server not accessible"  while creation of web service model.
    I have already created my web service nad deployed it. It was deployed successfully.
    In the web service model creation wizard I am not able to see neither my web service nor any other standard service.
    Regards,
    Anubha Pandey

    Are you using the deprecated Web Services model or the new adaptive web services model?
    Take a look in this document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7

  • Error during creation of web service from abap rfc

    Hi,
    I'm creating a web service from abap rfc (SE37), but at the end  of Creation Wizard I have this error:
    "web service object already exist".
    This is my first web service creation. Into WSADMIN there are not web services with the same name.
    How can I solve this problem?
    Thanks!

    Hi,
    What system/release/SP do you use ?
    Beginning with Netweaver 7.0 SP14, you configure Web services with SOAMANAGER and you don't see them with WSADMIN...
    Regards,
    Olivier

  • Issue with creation of web service

    hello,
    i use Jdeveloper 11.1.2.0.0 and i want to create a new Web service client and proxy to communicate with Bi publisher web services.
    1) I Choose the client style JAX-WS Style
    2) in the select Web services Description i set WSDL document URL to
    http://dev2008:7001/xmlpserver/services/v2/SecurityService?wsdl
    I let the steps 3 to 8 as default.
    at the step 9
    When i click on Finish
    i have the error
    java.lang.IllegalArgumentException: Not a valid simple name: 'v2/SecurityServiceClient'
         at oracle.javatools.parser.java.v2.internal.symbol.SymFactory.throwIllegalArgumentException(SymFactory.java:228)
         at oracle.javatools.parser.java.v2.internal.symbol.SymFactory.createSimpleNameSym(SymFactory.java:215)
         at oracle.javatools.parser.java.v2.internal.symbol.SymFactory.createClass(SymFactory.java:713)
         at oracle.jdevimpl.webservices.tools.weblogic.generator.SampleClientGenerator.generateClassDeclaration(SampleClientGenerator.java:247)
         at oracle.jdevimpl.webservices.tools.weblogic.generator.SampleClientGenerator.generateClientForPort(SampleClientGenerator.java:179)
         at oracle.jdevimpl.webservices.tools.weblogic.generator.SampleClientGenerator.generateForService(SampleClientGenerator.java:124)
         at oracle.jdevimpl.webservices.tools.weblogic.generator.SampleClientGenerator.generate(SampleClientGenerator.java:91)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.generateSampleClientCode(JDevWsimportTool.java:1264)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.generateCode(JDevWsimportTool.java:620)
         at oracle.jdevimpl.webservices.tools.weblogic.JDevWsimportTool.generateCode(JDevWsimportTool.java:443)
         at oracle.jdevimpl.webservices.tools.weblogic.WebLogicAdaptor.wsimportGenerateCode(WebLogicAdaptor.java:1020)
         at oracle.jdevimpl.webservices.tools.weblogic.WebLogicAdaptor.createProxy(WebLogicAdaptor.java:284)
         at oracle.jdeveloper.webservices.tools.WebServiceTools.createProxy(WebServiceTools.java:271)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.jdeveloper.webservices.tools.WebServiceTools$1.invoke(WebServiceTools.java:132)
         at $Proxy47.createProxy(Unknown Source)
         at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.createJaxWsProxy(CreateProxy.java:1194)
         at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.doGeneration(CreateProxy.java:382)
         at oracle.jdeveloper.webservices.model.proxy.generator.CreateProxy.action(CreateProxy.java:174)
         at oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:142)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    best regards
    Jean marc

    hi,
    no it's too large.
    i think i have solved my problem,
    originally the name of the web service is setting on v2/SecurityService_
    </wsdl:binding>
    <wsdl:service name="SecurityService">
    <wsdl:port binding="impl:SecurityServiceSoapBinding" name="v2/SecurityService">
    <wsdlsoap:address location="http://dev2008:7001/xmlpserver/services/v2/SecurityService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    if i change the name to SecurityService as follow , no error occurs
    </wsdl:binding>
    <wsdl:service name="SecurityService">
    <wsdl:port binding="impl:SecurityServiceSoapBinding" name="SecurityService">
    <wsdlsoap:address location="http://dev2008:7001/xmlpserver/services/v2/SecurityService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

  • Creation of web service of the timesten application ( linking problem )

    Hi ,
    i have created the C application ( cardVerifyTxn.c accessing timesten db ) as dll.
    I have compiled it and linked it .I want to deploy it as a web service in apache axis server .
    Compilation and linking of service file ( ie CardVerifyTxn_svc.c )
    Compilation OK .obj file created .
    But on inking it's having problem . I will copy and paste the commands i used .
    C:\Program Files\Microsoft Visual Studio\VC98\Bin>cl.exe /D "WIN32" /D "_WINDOWS" /D "_MBCS" /D "AXIS2_DECLARE_EXPORT" /D "AXIS2_SVR_MULTI_THREADED" /w /nologo /I %AXIS2C_HOME%\include /c C:\Dev-Cpp\MAPI\CardVerifyTxn_svc.c
    its creating obj file .
    Now im linking using VC++ linker.
    C:\Program Files\Microsoft Visual Studio\VC98\Bin>link.exe /nologo /LIBPATH:%AX
    S2C_HOME%\lib axutil.lib axiom.lib axis2_parser.lib axis2_engine.lib /DLL Ver
    ficationCardDetail.dll /OUT:cardVerify.dll CardVerifyTxn_svc.obj
    o/p
    D:\axis2c\lib\VerificationCardDetail.dll : fatal error LNK1136: invalid or corr
    pt file
    Whether the syntax of the link command is right ? I have to link the obj file with a dll (ie my timesten appication ) , also with static libraries like *.lib(plz luk in the command)
    I know it's not relevant to timesten , problem with the usage of Link command
    ( in VC++) .
    plz suggest the right command .
    Thanks
    sanal

    Well, I'm not an expert on this but my experience is that you cannot link a DLL directly into another DLL or even into a .EXE. You need to create an 'import library' which is a .LIB file that contains definitions of all the entry points into the DLL and then link that .LIB into the DLL or .EXE. Then the DLL will be dynamically loaded at run time.
    If I recall correctly (it is a long time since I have done this) you can create the import library at the time you create the DLL by including the /IMPLIB directive on the link command that you use to create the original DLL.
    Hope that is some help...
    Chris

  • Urgent- Issues in Creation of Web Service extending Portal Service

    Hi Experts,
    I am facing following issues,
    1.I've created Portal Service and extended it as Web Service, this web service I am not able to view in Webservice Navigator.
    2.When I am trying to send request to WS from EP Web Service checker in NWDS I am getting an error that "The User Authentification is not correct to access to the Portal Service com.sap.portal.prt.soap.PortalUMEService or the service was not found"
    Any Help from you is highly appreciated.
    Regards,
    Maruti Prasad

    hi  Marti ,
    I have few pdf Reg this i did sample WSDl and tested its workingf fine
    plese send me e  mail  i will send you
    Regards ,
    venkat

  • Application module creation for (web) services

    Hello,
    We are running into stack overflows from ADF BC (BC4J) with oracle.jbo.client.Configuration.createRootApplicationModule. We want to make sure we're doing this right.
    If you have data bound services (e.g. product lookup) and you don't want to put your operation/exposed method in the application module Impl class for clear seperation (unlike ADF toy store sample), is it appropriate to:
    1. Create a Java service class that you will expose as J2EE web service
    2. The method to be exposed will call Configuration.createRootApplicationModule to checkout an app module from pool.
    3. Find the view object, run the query, get the row.
    4. Configuration.releaseRootApplicationModule to check it back in.
    Please share your best practices and recommended approach with us.
    Thanks,
    - Zak

    I'd recommend using our built-in feature for exposing an application module class as a J2EE web service. This will code-generate a class for you that does the AM access correctly.

  • AE 5.2 - Request Creation via Web Service

    Hi there,
    did anyone create a request via WebService requesting more than one system (applications) yet?
    We did not find a way of transferring multiple systems.
    Also there is no way to transfer the user validity dates. Is this really not possible?
    I've checked 5.3 Web Services and they look exactly the same (they've just been renamed, but no improvement regarding additional fields).
    Currently we are on 5.2 SP8 Patch1.
    Thanks,
    Daniela

    The GetSubmitRequest will accept:
    getSubmitRequest
    RequestDetailsData_1 (test.types.RequestDetailsData)  NULL
    priority (String)   SKIP
    location (String)   SKIP
    locale (String)   SKIP
    application (String)   SKIP
    userId (String)   SKIP
    company (String)   SKIP
    department (String)   SKIP
    emailAddress (String)   SKIP
    employeeType (String)   SKIP
    firstName (String)   SKIP
    lastName (String)   SKIP
    mgrEmailAddress (String)   SKIP
    mgrFirstName (String)   SKIP
    mgrId (String)   SKIP
    mgrLastName (String)   SKIP
    requestorEmailAddress (String)   SKIP
    requestorFirstName (String)   SKIP
    requestorId (String)   SKIP
    requestorLastName (String)   SKIP
    requestReason (String)   SKIP
    requestType (String)   SKIP
    roles (test.types.RoleData[])  SKIP
    element1 (test.types.RoleData)  NULL
    action (String)   SKIP
    company (String)   SKIP
    roleId (String)   SKIP
    sysId (String)   SKIP
    validFrom (java.util.GregorianCalendar)   SKIP
    validTo (java.util.GregorianCalendar)   SKIP
    telephone (String)   SKIP
    customField (test.types.CustomFieldsDTO[])  SKIP
    element1 (test.types.CustomFieldsDTO)  NULL
    name (String)   SKIP
    value (String)   SKIP
    Ankur
    GRC Consultant

  • MBO creation using Web Service in SMP3.0

    Hello  Experts,
    When I am trying to create an MBO using web service in SMP3.0, I am getting the following error.
    Please check the screenshot.
    But It is working fine in SMP2.3 .
    Thanks
    Tags edited by: Jitendra Kansal (Moderator)

    Av nas
    Can you check if you are accessing web service URL in browser via some proxy server?
    If yes, then you have to set the proxy settings in SMP3 Mobile workspace.
    Steps:
    Go to Window>Preferences in Mobile Workspace
    Preferences box prompt out, choose "Network Connections"
    Select "Manual" from Action Provider in the drop-down
    Select "HTTP" >Click on "Edit"
    Provide required proxy details with port number.
    Check my blog How to bypass proxy settings in SMP workspace for connecting any public Web Service within corporate Network
    Regards,
    JK

  • Customer creation through Web service portal in ECC

    Hi All,
    We have a requirement where we have to Create/ Change Customers (Tcode XD01/ XD02) in ECC through Web service portal linked with RFCu2019s.
    1.      There is standard FM for this SD_CUSTOMER_MAINTAIN_ALL, But SAP standard functionality/ notes recommend not to use this FM for such requirements.
    2.      Since we have periodic configuration changes for Customers, The option for using BDCu2019s is also ruled out.
    3.      Since we have to do the error handling and reporting back to web service portal end as well, Using IDocu2019s also looks tricky at this moment.
    Please suggest ways to accomplish this. Any input is welcomed.
    Thank you.

    Hi,
    SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.
    It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.
    This is precisely what you will face in your case.
    For the maintenance of customers, there is NO BAPI and NO direct function module.
    There are some functions modules like the one above where the name is looking nice. But these should not be used.
    Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]
    Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
    Hope this helps
    BR
    Alain

  • Web service proxy creation issue

    am facing an issue with the creation of web service proxy for an esb project that i have created based on oracle esb tutorial. In the web service proxy creation wizard, it is accepting the concrete URL for the wsdl in the first step however in the second step it is not showing any endpoint URL. Also the wizard does not allow to go beyond step 2 of the web service proxy creation. following is my wsdl to which the concrete wsdl url points to. What am i missing here. Please help
    following is my wsdl
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <definitions
    name="custinsoap_RS"
    targetNamespace="http://oracle.com/esb/namespaces/custdata"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://oracle.com/esb/namespaces/custdata"
    xmlns:inp1="http://xmlns.oracle.com/Esb/CustomerData"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" >
    <import namespace="http://xmlns.oracle.com/Esb/CustomerData" schemaLocation="public_html/LegacyCustomer.xsd" />
    </schema>
    </types>
    <message name="CustomerData_request">
    <part name="CustomerData" element="inp1:CustomerData"/>
    </message>
    <portType name="Readcustsoapdata_ppt">
    <operation name="Readcustsoapdata">
    <input message="tns:CustomerData_request"/>
    </operation>
    </portType>
    <binding name="readsoapbinding" type="tns:Readcustsoapdata_ppt">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="Readcustsoapdata">
    <soap:operation soapAction="http://oracle.com/esb/namespaces/custdata/Readcustsoapdata"/>
    <input>
    <soap:body use="literal" parts="CustomerData"/>
    </input>
    <output>
    <soap:body use="literal" parts=""/>
    </output>
    </operation>
    </binding>
    <service name="readcustdatasoapservice">
    <port name="soapport" binding="tns:readsoapbinding">
    <soap:address location="http://myhost.mycompany.com/esb/wsil/custdata/custinsoap_RS"/>
    </port>
    </service>
    </definitions>

    Hi,
    Are you accessing teh WSDl from a deployed service ? If yes, when providing the Web Service URL, did you extend the URL with ?WSDL ?
    Frank

  • Web services enabled RFC for SO creation in SAP  5.0 is not responding

    Dear Members,
    Third party application is not able to getting response from SAP R/3 web service enabled RFC.
    We have created a RFC for creation of Sales order by passing mandatory values into SAP thorugh third party application from outside SAP. Accessing RFC in SAP through Web service is not sending response properly. However Sales Order is getting created in the SAP system perfactly, in return to third party application to out side SAP through web service throughing an Exception.
    As standalone RFC in SAP, which is creating Sales order perfactly.
    Here we have deleted web service of RFC many times and recreated also, still the problem is not get resolved.
    Web services is got configured perfactly in the SAP, because other RFCs are working fine.
    Please someone suggest how to resolve this issue in case of Sales Order creation through web service enabled.
    Sudheer

    Hi ARC,
    Here the issue is that, Sales Order is getting created but while sending the Order num. to Webpage through web service then rasing below Exception.
    Runtime Error UNCAUGHT_EXCEPTION
    Except. CX_SOAP_CORE
    Date and Time 07.05.2008 20:13:24
    ShrtText
    An exception that could not be caught occurred.
    What happened?
    The exception 'CX_SOAP_CORE' was raised but was not caught at any stage in the
    call hierarchy.
    Since exceptions represent error situations, and since the system could
    not react adequately to this error, the current program,
    'CL_SOAP_TRANSPORT_EXTENSN_ROOTCP', had to
    be terminated

  • Web service creation using the wizard

    Hi Friends,
    I am new to creation of web services. I am creating a web service for a FM which I have created using the wizard.
    In SE80, under Enterprise Solutions for my package, I am able to see the servicedefinitions . But when I open the serdefinition 's  " WSDL" tab, to note down the URL created,
    I am unable to see the XML code that is being generated.I have selected document style. Please help me out how can i get the xml code that is being generated. How can i view it? Or what is the step I have missed. Please reply if anyone knows  as it is an urgent requirement.
    Thanks,
    Uma.

    Hi,
    for future search:
    this happens if the related application is not running. On 700 you can check it in the deploy service of the Visual admin.
    Perhaps the deployment was succesful but due to various reasons the application could not be started (or died in the meantime). This case it won't show up in the list of /wsnavigator.
    Regards,
    Ervin

  • Web Service Proxy not returning Response in 11g

    Hi,
    I am facing a difference in the creation of Web Service Proxy in 11g when compared to 10g. I have exposure of creating a Web Service Proxy in 10g and I do observe that the folder name 'runtime' gets generated automatically along with the proxy at the time of creation.
    But in 11g, the nature & behavior of Web Service Proxy creation has changed a lot according to my observation. I am facing an issue where the response object is not returning the expected results as per the functionality.
    In 10g, we have used a Stub class (automatically created under 'runtime' folder) and we are able to put some logs to see the request and response object in the form of 'xml'. But in 11g, I am facing difficulty in getting the same logged to see the response from OPA.
    Please share your thoughts which would definitely help me in resolving this issue.
    With Regards,
    Thiyagarajan V

    Hi,
    I have also tried using 'Web Service Data Control' as an alternate method to overcome the above mentioned issue. But I have ended up the error "DCA-29000: Unexpected exception caught: java.lang.NullPointerException,msg=null" and failed to create a data control.
    The JDeveloper version which I am using is 11.1.1.5.0. I also came to know that there is a patch (9790388) which has resolved this bug in JDeveloper. I also applied the same patch in my Oracle Home using OPatch utility.
    But unfortunatley, the version suitable for this patch is 11.1.1.4.0 and I suspected that could be one of the reason that the problem has not got resolved yet.
    Please suggest the patch or any solution which can also help me in resolving this issue. I really appreciate your time and effort in sharing your thoughts for the problems which I have mentioned over here.
    Thank you !!!
    With Regards,
    Thiyagarajan V

  • Where is Web Services Perspective in NW 7.1 ?

    I need to expose my portal service as a web service. According to the help documentation,
    [http://help.sap.com/saphelp_nw04/helpdata/en/43/cb213e578c0262e10000000a11466f/content.htm]
    ,this has to be done in the web services perspective, and three files will be created by the Web Service Creation Wizard:
    <Web Service Name>Wsd.wsdef, <Web Service Name>Vi.videf and ws-deployment-descriptor.xml.
      But in NW 7.1, there is no such perspective, and I tried in the Enterprise Services perspective, the three files are not generated. Is there any way else to to this?

    done

Maybe you are looking for

  • Help uploading some jars on a mac

    Hi guys I'm new to java and i'm following a course at university. We have some pre-made jars from our teachers but i'm having some difficulties importing them. Basically those .jar files are on a cd, the Windows path says "C:\ProgramFiles\Java\jdk1.6

  • What is the meaning of "Item Created by Posting Interface" flag

    I saw a flag checked in Display Document : Offsetting item window. Below is the F1 help of it. But still I didnot get the concept of this flag. Item Created by Posting Interface Use Indicates that the G/L item is generated in the posting interface fo

  • Img Tag in textfield adobe air problem help :(

    Hi there, i ve got a textfield on the stage and wanted to give it a img tag. If i am using flash 9 in publishing, it is no problem. if i change to adobe air. There is no img in the textfield. Is this a bug???

  • How to use "%CT" in Query Designer

    Hello everyone, i read that to calculate "Percentage Share of Result" in Query Designer we can use "%CT operator". But in my Query Designer (Version 7.10, SP10, Patch1) only "%" and "%A" are available to use. There ist no operator named "%CT". Can so

  • Wily Introscope agent settings

    Hi, After the recent EHP1 upgrade on Solution manager,when we go to introscope agent configuration(Diagnostics Setup->Managed Systems->Introscope Agent)and select the system,it can't able to retrieve the current settings(i.e.,J2ee node). {through we