Using Webservices in JspDynpage

Hi Team,
i am Using Webservices in PDK.
I followed all the steps to use the webservice in the portal.
i can able to read the the methods, which are there in webservice.
But when i try to call the methods,
they are behaving  differently.
Example i have a method called Go() which takes string as argument.
Here , when i make use of it, Go is class, and when i try to call like this  Go(Go parameters).
It is asking Go parameters, what is that mean?
It should ask for String arguments.
I am unable to understand how to make use of the methods present in webservice.
Additionally it is having some other methods, which have come automatically with webserivce.
But they are not in websserivce coding.
Any one is familiar  working with webserivces in Jsp Dynpage, please guide me.
Regards
Bala

refer this thread
external service configration+adding webservice with basic authentication
also refer here:  this has reference to some good links abt authentication..
How to configure Web Service with HTTP authentication
Message was edited by:
        Anant

Similar Messages

  • Using Webservices in JspDynpage (Portal)

    Hi Team,
    i am Using Webservices in PDK.
    I followed all the steps to use the webservice in the portal.
    i can able to read the the methods, which are there in webservice.
    But when i try to call the methods,
    they are behaving  differently.
    Example i have a method called Go() which takes string as argument.
    Here , when i make use of it, Go is class, and when i try to call like this  Go(Go parameters).
    It is asking Go parameters, what is that mean?
    It should ask for String arguments.
    I am unable to understand how to make use of the methods present in webservice.
    Additionally it is having some other methods, which have come automatically with webserivce.
    But they are not in websserivce coding.
    Any one is familiar  working with webserivces in Jsp Dynpage, please guide me.
    Regards
    Bala

    Hi,
      you have asked this before. change the style type. have u tired this format
       http://iginsapsm:50000/SearchWS1/Config1?wsdl&style=document
       let me know its working or not.
    Rds,
    Shanthakumar.
    Assgin points for helpful answer.

  • Image not displayed in html output used webservice to store in a location

    hi
    we have used webservices to store the pdf and html outputs but the problem is when we are seeing the preview in the bi publisher we can see the image in pdf and html but when we run through webservices and see the output files that are stored in some location image in the html output is not displayed but in the pdf we can see the image.
    i have used the direct insertion image option in the header section. is the problem because i have used the direct insertion.
    can you give the idea how to import logo from an external location so that we can check the if it is problem with direct insertion or problem with the webservice as we are storing the output files outside the catlog but it may not be wrong because in pdf we can see the image.
    I am not having any idea how to solve thsi issue..
    Sorry to bother you with these many questions
    Thanks in Advance
    Have a Nice day.

    Please state which BI Publisher version you are using.
    In case it is 10g then please always test the application with the latest patch first!.
    BTW today there is been a new patch 11846804 released for 10.1.3.4.1 (March 2011).
    regards
    Jorge

  • Getting error in consuming google webservices from JspDynPage

    Hi All,
    Getting following error while consuming google webservices from JspDynPage
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application com.company.global.enterprise.portal.wsdl.webservices.service.
    Code :
    MyGoogle googleService =
    (MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
    GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
    ResultElement[] results = result.getResultElements();          
    if(results != null) {
    response.write("<br> Search Result Size " +results.length );
    for (int i = 0; i < results.length; i++) {
    response.write((i + 1) + ": " + results);
    Thanks
    Rudra

    Hi,
    I am still having the same problem, however the scenario in which I am getting varies.
    I am getting this exception:
    "com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
    Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
    When I view the logs I am seeing the Nested Soap Exception.
    Any Ideas??? Starting the J2EE engine also did'nt help.
    Thanks in advance.
    Madhavi

  • ADOBE FORMS using Webservice

    Hi Experts,
    I have a problem with Adobe Forms Using webservice.  I created  RFC where it saves data from Adobe Forms to a customized table and exposed it as webservice.  From the SOA manager, I copied the generated link pasted in the dataconnection in Adobe Lifecycle designer, but whenever I generate the form I keep receiving this error:
    "http:// erpwrk1.corp.com:8000/sap/bc/srt/wsdl/bndg_DFA46DE60CFOD33F19F21005056C00008/wsdl11/allinone/ws_policy/document?sap-client=001".  Check that the path is correct and that the file is a valid wsdl file.
    I already activated services from SICF in relation SOAP runtime.   What could be the cause of the problem and how to fix the problem?
    Thanks A Lot!
    Mae

    Hi Ma. Angelica A. Estacio,
    From the SOA manager, I copied the generated link pasted in the dataconnection in Adobe Lifecycle designer, but whenever I generate the form I keep receiving this error:  Check that the path is correct and that the file is a valid wsdl file and hence i cannot finish the data connection wizard.
    From the above posts, it looks like you have resolved the issue. But can you please let me know how did you resolve it ?
    Did you check any SAP transaction to find the above mentioned checkbox?
    Please revert as this has become critical now.
    You can mail me your response on [email protected]
    Regards,
    Rohit Gugale

  • How to use Webservice in Webdynpro ABAP?

    I tried searching option for importing WSDL file in WebDynpro ABAP. But I am unable to upload it in my component. In service call wizard I can see only one option i.e. to import Function module.
    We cant use Webservice in ABAP webdynpro?
    Thanks
    Nitesh Shelar

    Thanks Rich for quick answer.
    But my problem is, I have a stand alone WAS without any RFC Function modules and dictionary structures, of backend R/3, on WAS which I wanted to map in my component.
    I strongly believe that in case of stand alone WAS I need to have at least backend dictionary structures to begin with my design. I can’t use wizard, as I don’t have function modules on this system. I have to code for that manually..
    So that is why, I was looking for Webservice option..
    Thanks,
    Nitesh Shelar.

  • Need to send the text file using webservice

    Hi,
    I want to send the text file with contains data through oracle pl/sql using webservice. How can i handle this program?
    Kindly share with your details.
    Thanks in advance,
    Maran

    user8732035 wrote:
    I want to send the text file with contains data through oracle pl/sql using webservice. How can i handle this program?Web services supply XML structured data. Not text files.
    PL/SQL supports web services (XML output) and web procedures (text and binary output).
    You need to clarify your requirements.

  • How to send A file using Webservice?

    I heard about webservice when I read through XML...
    It a bit like XML cannot show off it strength without webservice...lol
    What is webservice? What library should I use to send a file from server to client using webservice?
    Webservice is Quite new for me. Any expert here can direct me to the tutorial link that can teach me how to use webservice?
    I go through some code :
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://namespaces.cafeconleche.org/xmljava/ch2/"
    xmlns="http://namespaces.cafeconleche.org/xmljava/ch2/"
    elementFormDefault="qualified">What is xmlns? Is webservice can run it at localhost? My house don't have internet. :(
    Thank....

    to learn webservice..you can try these samples...
    http://www.csd.abdn.ac.uk/~bscharla/teaching/CS5302/practicals/practical8.shtml

  • Upload a value in read-only field using Webservices or Workflow

    Can you please let me know if is feasible to upload a value into a read-only field using webservices or workflow
    If so, can you please provide an example?
    Thanks

    Using WS, you cant update the field value, if it is set as "Read-Only" @ the object - Field definition level, but you can update that using WS if it is set as "Read-Only" @ the layout level. Same applicable to Workflows too
    -- Venky CRMIT

  • Data import automation using webservices

    Hi,
    We have a requirement to load data into Oracle On demand monthly from an external application. We want to automate the task using webservices.
    Did anyone of you work on such automation? If yes, request you please provide me the details of the same.
    Thanks in advance.
    regards,
    m

    Hi ,
    Automated Data Import / Export to or from Oracle SOD using Web-Service is a very much a common requirement these days and we at CRMIT should be able to do that for you.
    Drop me your requirement to [email protected] so that we can help you take it forward.
    Regards,
    Deepak H Andeli

  • Using webservices in forms 10g

    hi,
    i am using webservices in my form. i am doing this by importing java classes and so on as per the webservices documentation. I run this form without any problem through windows. I have the classpath set up with the necessary jar file in default.env and system classpath.
    Now I have to put it in the forms server (through AIX) so that the users can start using it. I have put the above form in the necessary directory and set up everthing. The form runs fine but when it comes to the webservices part, it gives me an error which basically means it cannot find the jar file. I haven't put the jar file anywhere in the forms server.
    Can somebody please let me know :
    1) Where in the forms server should I put the jar file
    2) Where do I setup the classpath in the forms server?
    Thanks in advance.

    Hi Jan,
    Thanks for your reply. I placed the necessary jar files in ORACLE_HOME/jlib and then set up the classpath in the env file I'm using (not the default.env, i have my own env). But I still get the classpath error after I run the form. Have I place the jar files in the right folder??
    Any suggestions?
    Thanks

  • How to receive and upload data into Sharepoint using webservice in BizTalk (without using sharepoint adapter).

    Hi,
    I have a requirement to receive files from sharepoint and upload files to share point.
    So is there anyway we can achive this using webservices in BizTalk (without using sharepoint adapter)
    Thanks in advace

    I do not have a sample flow... but if you refer to the samples where these web services are used then you'd be able to translate those code samples into BizTalk flows.. For e.g.:
    http://msdn.microsoft.com/en-us/library/office/ms429658(v=office.14).aspx refers to returning list items. When you add generated items to your BizTalk for SharePoint Web Services, you'd get the schemas (xmlDocs in the sample) which you'd instantiate and
    call.
    When dealing with lists, you will need the GUID of the list so you need to do a GetLists call first and then get the GUID for your specific list from that. You will also encounter CAML which is what is used to query and get List Data.
    Have fun.
    Regards.

  • Workflow approval process from outlook using webservice

    Hi All,
    I am trying to find a solution, for approval of worklow workitems from outlook. DUET is not a solution recommended by IT team.
    I need information regarding approval and rejection of workitems using webservice
    How can we send workitem for approval and rejection to outlook using webservicie?
    Please propose a solution or tell me where can I find document regarding this scebario.
    Thanks.

    Hi Pawan
    I have a question regarding this thread.
    In case we are using the webservice BWSP to send every user a hyperlink and I have passed the hyperlink  in the mail step in workflow , so that on clicking on it they will be able to view their business workplace.
    1.Where should we do the setting for the logon credentials that is on clicking the link every user is asked for their user id's and password and then the business workplace opens up.
    2. Will he be able to execute the workitems or any other setting is also require.
    Also,I was going through your post on using web service to send a link to outlook where in you mentioned a piece of code to generate the hyperlink dynamically since details of host and port may change.
    Now how should the above setting for user credentials be maintained in that code.
    Your comments would be valuable on this.
    Thanks and Regards
    Aman
    Edited by: AmanGupta on Apr 21, 2010 6:57 AM
    Edited by: AmanGupta on Apr 21, 2010 7:11 AM

  • Communicating with a 3rd party system using webservices

    Hi all,
    I have a scenario
         3rd party <-> XI<->CRM.
    here im using SOAP between 3rd party <->XI, xi<->CRM im using ABAP proxies.
    scenario 1. 3rd party would send messages(client request) to cRM to get some data. CRM has to respond for that.
    scenario 2. CRM would request the 3rd party to get some data, then 3rd party would respond.
    scenario 3. there is no request from 3rd party but crm has to send the data.
    So 3rd party would communicate using webservices sends the request to cRM. if there is any request from cRM then 3rd party have a webservice to serve.
      My question is
      1) for cRM side i should create a webservice? if i create this where shold i create? i mean i should put this webservice on WAS of CRM or on XI ? If i create this webservice and put on CRM WAS, could this communicate with XI by using ABAP proxies? when CRM sends a request to 3rd party, to send this i should create another webservice ?
    could you please anyone tell me about this?
    thanks a lot in Advance

    Hi,
    <i>for cRM side i should create a webservice? if i create this where shold i create? i mean i should put this webservice on WAS of CRM or on XI ? If i create this webservice and put on CRM WAS, could this communicate with XI by using ABAP proxies?</i>
    As to your first question, you dont have to create webservice on CRM side, all you have to do is to define an outbound interface in XI, and generate proxies for that outbound interface in CRM.
    <i>when CRM sends a request to 3rd party, to send this i should create another webservice ?</i>
    You havent specified who the 3rd party is DataBase/R3/etc. Let us assume the end system is truely external from your landscape. if the 3rd party provides you with a webservice, you can import taht webservice into XI and use it as an inbound interface.
    Hence, you would then map the outbound interface from CRM-> XI to your inbound interface XI->3rd party.
    3rd party provided webservice could be written in java/.net.
    Naveen

  • Using webservices to check in files to UCM

    Hello all.
    We're trying to perform some tests in UCM, but we're not finding many examples about it.
    This is what we want to do:
    We want to use webservices to checkin files to UCM.
    How?
    1 - we will develop a java application
    2 - inside the application there will be a button that will call the webservice
    3 - after the webservice is called, the document should go to out UCM
    Until now, I'm doing only research. Reading documents about webservices, how they work and everything I managed to find.
    But I can't find an example about it. Someone, please, could say where I can find it?
    Thanks for your help and patience.
    Fernando

    Hi Fernando,
    as for the UCM piece, check this link out: http://docs.oracle.com/cd/E23943_01/doc.1111/e10807/c25_wsdl_and_soap.htm#BEHHIGHJ
    It describes what service with what parameters should be called. There are also SOAP Request and Response schemes.
    If I understood your question, it is more how to create a piece of code that calls the service, right? This very much depends on what your programming language is, and partially also what your IDE is. There is a comprehensive tutorial for Java/Jdeveloper available here: http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html I believe if you go through that you will be at least a journeyman on WS. Another good resources can be found http://www.ibm.com/developerworks/webservices/library/ws-javaclient/ or http://qnatech.wordpress.com/2008/07/29/how-to-write-code-to-invoke-a-web-service-from-java/
    I hope that helps.
    Jiri

Maybe you are looking for