How to code in java to use the web services of CRM

Hi,
I am new to CRM on demand web services. I want to develope a java J2EE application to insert some lead data into CRM on demand. But i have no idea of how the wsdl provided by CRM can be converted to a java class so that i can use the API's provided by them in my program. I am using Eclipse Galileo IDE for my java application development. Can any one tell me the way to reference the wsdl in my program or any other way to build my application.
Please help me out.
Thanx in advance.

May be it's the 'stub' you should be looking for.
Any Account related queries/creations - AccountStub
--> Query : Populate AccountQuery, populate AccountQueryPage_Input, call accountStub.accountQueryPage(input);
--> Creation: Populate AccountData, populate AccountInsert_Input, call accountStub.accountInsert(input)
It's the same procedure for other objects like Contact, Lead, Opportunity.
I worked on other web-services using Axis2, and 'Stub' has been the one which we use to connect to the web-service.
Edited by: 838315 on Mar 30, 2011 11:17 PM
Edited by: 838315 on Mar 30, 2011 11:59 PM

Similar Messages

  • How can i use the web services

    i have a web service ,but what is need that can i use the web services?
    is only then oc4j,or anything?

    You need to write a client that will access the Web service and invoke it.
    You can write the client in Java for example - and JDeveloper provides wizards for this.
    There is a sample in the JDeveloper Reviewer guide here:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/reviewer/reviewerguide.html

  • How can we publish Labview data using the web

    how can we publish Labview data using the web?
    Dr. Eugene Berman, Moran Kamilyan and Ravit Bar

    [email protected] wrote:
    how can we publish Labview data using the web?
    You could use shared variables and publish them to the network or use data sockets.
    Kudos always welcome for helpful posts

  • Problem in using the Web Service generated from BAPI_FLIGHT_GETLIST

    Hi all,
       I am trying to use the Web Service generated from BAPI_FLIGHT_GETLIST. I have got the wsdl file, and trying to invoke it. But, while I can test the BAPI using the Airline ID AA, I can't test from the Web Service using the same data. It shows the error message - "Airline AA not found". Anyone having solution, please help. This is urgent.
    Thanks,
    Anirban
    Message was edited by:
            Anirban Das

    Yes, I am connecting to the same system where we have data..
    Anirban

  • JCAPS UDDI - Problem Using the Web Service Management Application

    Hi everyone, this is my problem:
    1.) I installed the JCAPS UDDI Server in a Solaris. <-- Ok
    2.) In the eManager I installed the Web Services Access Manager. <-- Ok
    3.) I started the UDDI server. <-- Ok
    4.) I check that the process is running (in Solaris). <-- Ok
    5.) I'm trying to load the Web Service Management Application Login Page, but it doesn't show the page so I can't login and in consequence I can't publish, remove, view, and search WSDLs by using the Web Service Management Application.
    I appreciate some help about this.
    Regards

    Yes, I am connecting to the same system where we have data..
    Anirban

  • Deployment Error using the Web Services sample ?

    All,
    I am running the Web Services sample, the compile works fine, but the deployment fails with the following error -
    Any suggestions on what needs to be fixed ?
    Sameer.
    C:\jdev9\jdk\jre\bin\javaw.exe -jar C:\ias\j2ee\home\admin.jar ormi://127.0.0.1/ admin **** -deploy -file C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WorkspaceStatelessJava-ProjectStatelessJava-WS.ear -deploymentName WorkspaceStatelessJava-ProjectStatelessJava-WS
    Error: java.lang.NoSuchMethodError: java.net.URL: method getPath()Ljava/lang/String; not found
    Exit status of OC4J admin tool (-deploy): 1

    Thanks Mike, your guess was right on target.
    I realize this sample was originally tested for Oracle9i Web Services
    Quickstart Install (9.0.2) , but I have been able to get it running on
    (9.0.3) as well.
    1) I pointed to a jdk 1.3 directory and then was able to
    create a password for oc4j.
    C:\jdev9\j2ee\home>D:\jdk1.3.1\bin\java -jar oc4j.jar -install
    Enter an admin password to use: admin
    Confirm admin password: admin
    Installation done
    2) This time the deployment worked -
    ---- Deployment started. ---- Dec 6, 2002 10:57:42 AM
    Wrote WAR file to
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WebServices.war
    Wrote EAR file to
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WorkspaceStatelessJ
    ava-ProjectStatelessJava-WS.ear
    Invoking OC4J admin tool...
    C:\jdev9\jdk\jre\bin\javaw.exe -jar C:\jdev9\j2ee\home\admin.jar
    ormi://127.0.0.1/ admin **** -deploy -file
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\WorkspaceStatelessJ
    ava-ProjectStatelessJava-WS.ear -deploymentName
    WorkspaceStatelessJava-ProjectStatelessJava-WS
    Auto-unpacking
    C:\jdev9\j2ee\home\applications\WorkspaceStatelessJava-ProjectStateless
    Java-WS.ear... done.
    Auto-unpacking
    C:\jdev9\j2ee\home\applications\WorkspaceStatelessJava-ProjectStateless
    Java-WS\WebServices.war... done.
    Copying default deployment descriptor from archive at
    C:\jdev9\j2ee\home\applications\WorkspaceStatelessJava-ProjectStateless
    Java-WS/META-INF/orion-application.xml to deployment directory
    C:\jdev9\j2ee\home\application-deployments\WorkspaceStatelessJava-Proje
    ctStatelessJava-WS...
    Auto-deploying WorkspaceStatelessJava-ProjectStatelessJava-WS (New
    server version detected)...
    Exit status of OC4J admin tool (-deploy): 0
    C:\jdev9\jdk\jre\bin\javaw.exe -jar C:\jdev9\j2ee\home\admin.jar
    ormi://127.0.0.1/ admin **** -bindWebApp
    WorkspaceStatelessJava-ProjectStatelessJava-WS WebServices
    http-web-site /WorkspaceStatelessJava-ProjectStatelessJava-context-root
    Exit status of OC4J admin tool (-bindWebApp): 0
    Use the following context root(s) to test your web application(s):
    http://127.0.0.1:8888/WorkspaceStatelessJava-ProjectStatelessJava-conte
    xt-root
    Elapsed time for deployment: 22 seconds
    ---- Deployment finished. ---- Dec 6, 2002 10:58:04 AM
    3) Running the Client.java worked.
    Project Message Window
    C:\jdev9\jdk\bin\javaw.exe -ojvm -classpath
    C:\jdev9\jdev\mywork\WorkspaceStatelessJava\Project\classes;C:\jdev9\jd
    ev\lib\jdev-rt.jar;C:\jdev9\jdev\lib\jdev-rt.jar;C:\jdev9\soap\lib\soap
    .jar;C:\jdev9\lib\xmlparserv2.jar;C:\jdev9\jlib\javax-ssl-1_2.jar;C:\jd
    ev9\jlib\jssl-1_2.jar;C:\jdev9\j2ee\home\lib\activation.jar;C:\jdev9\j2
    ee\home\lib\mail.jar;C:\jdev9\j2ee\home\lib\http_client.jar Client
    Hello Mike! The current time is Fri Dec 06 11:08:36 EST 2002Process
    exited with exit code 0.
    4) TCP Tunnel Utility runs correctly
    HTTP/1.1 100 ContinueServer: Oracle9iAS (9.0.3.0.0) Containers for
    J2EEDate: Fri, 06 Dec 2002 16:14:59 GMTHTTP/1.1 200 OKDate: Fri, 06 Dec
    2002 16:14:59 GMTServer: Oracle9iAS (9.0.3.0.0) Containers for
    J2EEContent-Length: 517Connection: CloseContent-Type: text/xml;
    charset=utf-8<?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1:sayHel
    loResponse xmlns:ns1="HelloImpl"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><ret
    urn xsi:type="xsd:string">Hello Mike! The current time is Fri Dec 06
    11:15:00 EST
    2002</return></ns1:sayHelloResponse></SOAP-ENV:Body></SOAP-ENV:Envelope
    >
    POST
    /WorkspaceStatelessJava-ProjectStatelessJava-context-root/HelloImpl
    HTTP/1.1Host: 127.0.0.1:8900Connection: Keep-Alive, TETE: trailers,
    deflate, gzip, compressUser-Agent: RPT-HTTPClient/0.3-3SOAPAction:
    ""Accept-Encoding: deflate, gzip, x-gzip, compress,
    x-compressContent-type: text/xml; charset=utf-8Content-length: 441<?xml
    version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope
    xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><ns1:sayHel
    lo xmlns:ns1="HelloImpl"
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><par
    am
    xsi:type="xsd:string">Mike</param></ns1:sayHello></SOAP-ENV:Body></SOAP
    -ENV:Envelope>
    --------------------------

  • How to create a crystal report using secured web service as a datasource?

    Hi All Expert,
    I having some challenges on how to create a report using secured web service as a datasource in crystal report designer (CR11 R3).
    Secured Web Service including the certificate trusting, token authentication, header and/or body encryption. All web services running on https protocal.
    Could you please suggest me on the solution?
    Thank you and Best Regards,
    Cherr

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • How to call Jive Search methods using REST Web Services from ADF

    Hi
    Can someone provide me an example to call JIVE Search using REST web services from Webcenter ADF.
    As we have the similar facility to call UCM Search from WebServices DataControl.
    Do we have anything similar like this for JIVE Search?
    JIVE 5.1 is deprecating SOAP style web services and so I am planning to use REST.
    Any suggestions on this is much appreciated.
    Many Thanks
    Khad

    so what exactly is the problem here?
    what is not working?

  • How do I use the Web Services API to query orders?

    The help doc states, "you can retrieve details for purchases including products purchased, payments received, and their status." The only additional info is at the link to eCommerce-Related Web Service, which does not include any information about retrieving "products purchased, payments received, and their status."

    Hey if you read over that again you have two links, the other is this one:
    https://worldsecuresystems.com/catalystwebservice/catalystcrmwebservice.asmx

  • How to add an input field in the web UI of CRM 2007

    Hi everybody.
    I want add an Input field in the Web UI Screen. How it is possible.
    I want get the information with detailed descriptions if possible with screen shorts.
    What type of methods it will be generated and what are the code we entered in those methods.
    Take according to any example. But with detailed description.
    I am new for the CRM 2007. So, please give the screen shorts with proper data.
    Not only adding the field. If any data i entered in the adding field then that will be stored in the tables otherwise no use by adding the field.
    So, Can anybody please send a proper information according to this.
    Here another one How to Add our own table (Ztable) field in the Web UI Screen.
    How to add the same field in the BOL.
    Please expalin about those concepts with full of screen shorts messages.
    Thank You.
    Regards,
    Krishna.

    If you want to add extra standard fields (like one you mentioned), you can use Component Workbench and Copy the configuration and create your own configuration and make the "Available Fields" appear there.
    If the standrd field is not available, you can Add Context Node using wizard and make it visible.
    If its a custom field (a new one); you will have to use EEWB and add the fields and then make it visible in the UI using Component Workbench.
    Regards,
    Alin

  • How to execute XML batch commands using SharePoint Web services or Client Object Model

    Hi,
    I have a requirement to execute some batch commands to update SharePoint View Style, how can i do it using SharePoint webservices or SharePoint Client Object model.
          I need to execute the following Batch command over a particular web.
    <Method ID="UpdateView">
      <SetVar Name="Cmd">UpdateView</SetVar>
      <SetList Scope="Request">{GUID of List}</SetList>
      <SetVar Name="View">{GUID of View}</SetVar>  
      <SetVar Name="ViewStyle">6</SetVar>
      <SetVar Name="RowLimit">100</SetVar>
      <SetVar Name="Paged">TRUE</SetVar>
    </Method>

    Hi
    I tried it already... But UpdateView Method in the Views.asmx and Lists.asmx, both are not supporting for updating the style of the view (like Boxed, Newsletter...).
    If you have any code sample which will do this job with any of the SharePoint web services, please share it..

  • ABAP proxy client sending to XI   by using the WEB Service

    Hi
    I have scenario where ABAP Proxy need to send the data by calling a web service middleware as SAP XI/PI,
    Can anyone please provide the details of the scenarion that ABAP Proxy calls the webservice to send the data and receive it back the response, (Synchronous communication)
    Thanks
    PR

    Hi PR
    My understanding of your requirement is like
    Proxy <-> XI <-> SOAP.
    Steps.
    1. Create Client proxy to send data to XI
    2. Import the WSDL provided by receiver system in XI
    3. Do IR steps
    4. ID - SA is not required
    5. Configure Receiver SOAP adapter using the URL and Soap Action from the WSDL you received.
    Thanks
    Gaurav

  • How many users are registered for using the firefox sync server?

    I'm working on a german wikipedia article about "Firefox Sync" and I need more information about the current usage and the historical development of this feature - number of registered users for the Sync Server at Mozilla - would be nice to have numbers for 2011, 2012, and current usage.
    If possible, it would be also useful to know how many german speaking users are using the sync service.
    Where are your Sync Servers located (US, Europe, Asia)?
    What kind of systems and platforms are supported?
    Is there a current documentation about the importance of the Firefox Sync Service, that I may reference?

    thanks for your fast reply,
    your URL to the page with the ideas of the new PiCL service shows in the remark about the usability of the "Firefox Sync" some hints about the usage of the current sync service "only 1% of our users have actually done so" - so I will use that as reference.
    But it would be nicer to have some public message - for example: a mozilla blog entry - from the mozilla services group about the number of registered Sync Server User - and also about performance and reliabilty.
    But if that is private information only, you can close this problem.

  • Using InfoPath and the Web service GetUserProfileByName-An error occurred accessing a data source

    Hi, Everyone,
    I want to realize the function that when user fills out the infopath form the form can automatically get current users' name and I've searched that I can use the Web service GetUserProfileByName method. When I preview the form it is all right, however, when
    I fill the form online, it occurs this error as folllowing. Anyone knows why and how to solve this problem?
    Thanks forward!
    Warning
    An error occurred querying a data source.
    Click OK to resume filling out the form. You may want to check your form data for errors.
    Hide error details
    An error occurred while trying to connect to a Web service.
    An entry has been added to the Windows event log of the server.
    Log ID:5566
    Correlation ID:9c23d39c-18fa-1025-c7ec-600a1582a54a

    Hi,
    According to your post, my understanding is that you get error when using the Web service GetUserProfileByName in InfoPath.
    Have the InfoPath form template call web service in code? If yes, please see following KB and check if it is the cause.
    http://support.microsoft.com/kb/981684
    You can also
    follow the steps in the article to resolve this error in InfoPath. Please refer to:
    Auto Populate User Information in InfoPath with Claims Based Authentication in SharePoint – Part 2 of 3
    In addition, you need to disable the Loopback check.
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/en-US/d6d20308-a5d0-45fa-881d-0626c68c4e73/infopath-an-entry-has-been-added-to-the-windows-event-log-of-the-server-logid-5566?forum=sharepointcustomizationprevious
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to supervise (and fix) using BPEL web services in AIA?

    We have unbelievably many problems with using AIA & web services concerned. Is there any way of online monitoring using the web services, checking data/parameters provided and fixing what needed - before a disasters comes? The supervising layer should work WITHOUT the same environment (rather on the system level) in order to be on a qualitative much higher reliability level. I would gratefully appreciate any experience to help us from heavy problems...

    Hello,
    With one button you want to perform 3(Create, Update and Delete) operation
    To create:
    First check whether the data exist with full combination of Name,Desc and City.
    If not exist you can execute the create function.
    If exist, get confirmation to delete the item by pop up. Using item ID you can perform Delete operation
    To Update:
    How you want to update the item, by keeping unique value or combination of columns?
    based on that you can perform the update operation.
    Whenever you see a reply and if you think is helpful, click "Alternate TextVote As Helpful"! And whenever you see a reply being an answer to the question of the thread, click "Alternate TextMark As Answer

Maybe you are looking for

  • Find names of all open windows including other applications besides LabView VIs

    Hi All, I have researched this subject, i.e., to find names of all open windows including other applications besides LabView VIs, but found no solution. Could someone suggest a solution to this?  Thanks.

  • JMS Message Expiry Period (msecs) in Synchronous JMS scenario

    Hi, I've configured a Proxy->JMS synchronous scenario using Sync/Async Bridges in the Receiver JMS adapter.  All is well when the reply queue is working but when the reply queue is down, the waiting time in the JMS receiver adapter is too long.  It c

  • Selecting Multiple things

    I just recently purchased the Snow Leopard upgrade. The installation appeared to go fine. But, now I can't select multiple files and open them. Like, I have files of pictures. I then select a large group of them and click to open, figuring that they

  • Question about DNG converter in Bridge CS4

    Hello, I just installed Photoshop CS4, When I updated, it downloaded a hefty update (199 megs), so my setup now is: Win XP pro Bridge 3.0.0.464 Camera RAW 5.7 Photoshop CS4 11.0.2 My Camera is a Panasonic Lumix FZ150 ( 2011 vintage) I have downloaded

  • How To Place/Open Multiple Images Into Separate Layers For ONE Document?

    I've been searching for the answer for a long time so I figured that someone here has to know.  I have PS Elements 9.  So I would like to make GIFs and I know how to do so, the problem is placing in those tens of files in layers (it's tedious).  Is t