Calling webservice in Adobe Form

Hi,
     I am calling a webservice in Adobe form.
I am using following format - http://<host:port>/sap/bc/soap/wsdl11?services=<service>@sap-client=<client>
It works fine in LCD.. but in in SFP tcode getting the following error
ADS: com.adobe.ProcessingException: CORBA Connection to(200101)
Sam

Reposting again with more details

Similar Messages

  • Calling Webservice from Adobe form - Webservice URL  Issue

    Dear Friends,
      I have developed a webservice and calling it from an Adobe form. I have downloaded the WSDL file from tcode SOAMANAGER. When I create a data connection from the Adobe form  I use this WSDL file and the form elements gets created automatically and I drag and drop them into the form. The issue is when I click on the Submit(Execute) button the Webservice URL is always pointed to the client from where the file was downloaded and its hard-coded ( for example if i download the wsdl file from client 300 then the URL would be http://<location>/sap/bc/srt/rfc/sap/z_web_getmat/300/z_web_getmat/z_web_getmat). So if i execute the form from client 200 its not working. How to make this URL dynamic so that the webservice gets executed from the client from where this form is called. Please advice.
    Regards
    Sapient

    Hi,
    You have to handle it in your form on submit button calling the web service:
    Write below java script code at submit event to change the URL at run time:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    Change the variable wsdlAddress as per your requirement. The above code is just a sample.
    For getting the client pass it in a datasource variable attribute at time of downloading the form. At time of submit get the value of that variable and use it to form the url.
    Regards,
    Vaibhav

  • Calling webservice from Adobe interactive form

    Hi,
    I have created RFC based webservice and  Adobe form. I have imported the wsdl into my data connection and mapped my fields accordingly.
    I have created a pdf and i m trying to call the webservice , initially it pops up 'A webservice is being called' and later  'error attempting to read from the file'.
    Not sure what is missing in this.
    Any pointers on this would really help.
    Thanks,
    Saujanya

    Hi raghava,
    I have just solved this issue in the SOAMANAGER setting up User/Passwd on the Web Service´s Configuration. Try to follow these steps:
    Execute SOAMANAGER transaction.
    Search (and select) the Web Service you are working with.
    Go to configuration TAB and then push "Display".
    Push "Edit" and then look up for User/passwd on "Security" TAB. There, set values (take a look at the image)
    After doing this, insert Web Service on the ADOBE and try again.
    This has been enought for me.
    Good luck !!!

  • Webservices in Adobe form fails even when it works fine in Portals.

    Hi All,
    I am new to web services in adobe form, can somebody help me to understand the reason of failing web service call in my adobe form.
    We are working on a simple adobe form with a simple webservice.  the web service is in SAP CRM 7.0 and we are designing the form in Livecycle designer stand alone not through SFP tcode.
    problem is when we execute the web service from adobe form nothing happens.
    There is no script in the adobeform to check if the web serive is called. the technical team claims there is no hit happening to the service. but when we execute the same web service with in a simple web dynpro app in portal it does work.
    earlier we had some similar forms with web service which used to work, now they are also not working from adobeform.
    Are we missing something, when importing/data connection  a webservice how do we make sure from the form that the connection and trigger are successful.
    Please let me know if you need any more information.
    Thanks & Regards
    Sai Krishna.

    Hi All,
    Just a small update on the query I posted.
    I searched tru and found couple of posts in Adobe fourm which says
    Adobe readers cannot execute web services, to do so we need to have Reader Extension on the Adobe reader.
    Is this the problem for my form, if i just dont understand why such restrictions for developers at the design time itself..?
    Regards,
    Sai Krishna.

  • Login details when Webservice is called from Interactive Adobe form

    Hello Experts,
    Can you please suggest me the procedure to overcome the below issue.
    I am calling the Webservice from my interactive adobe form.
    When ever i click on the Submit button on my form, it is triggering the webservice but asking for the login details for authentication in the popup.
    In the real time scenario i will not be having any user id and passwords. So, I don't want this popup.
    What do i need to follow to get this done.
    Regards,
    Ram

    Turn off security on your web service.
    Paul

  • Webservice call from Interactive Adobe form

    Hi,
    Please provide me the possible solution for the below mentioned issue.
    1. Created a webdynpro application.
    2. Kept the interactive form on the VIEW of this WDA. Adobe form has 10 fields and one submit button.
    3. Now created a web service with only one importing parameter of type XSTRING.
    4. I have given the webservice URL in the button properties by making it's type as "Execute"
    Now my question is "How can we get all the filled values on the interactive form in the RFC of Webservice when i click on the submit button?".
    Note: I should not add any other importing fields in the web service except the PDF string.
    Regards,
    Ram

    Hello experts,
    Please provide me the solution for the below mentioned issue.
    I have attached the webservice wsdl file to the SUBMIT button on my form (execute type) and binded all my form fields to the webservice importing structure fields..
    Now the webservice got changed because of the addition of new fields in the common structure.
    And iam uploading the new wsdl file in my existing data connection properties.
    But it is giving an error saying as follows.
    [0]:Page1[0]:Terms_and_conditions[0]:submit[0]:Submit_validate[0]:click
    Error attempting to read from *filehttp://pwxaci.dmzwdf.sap.corp:1080/sap/bc/srt/rfc/sap/yrrprm_webservice/001/yrr_prm_webservice/yrr_prm_webservice*_
    The bold one is the URL of my webservice.
    Please suggest me the correction required if the webservice is changed.
    Regards,
    Ram

  • How to create a Webservice for Adobe Form(I need Coding)?

    Hi,
    I need coding for Webservice inorder to define the context structure for Adobe Form.
    In AdobeForm:
    1) I create a dataconnection and while creating it i need to give WSDL Url.
    2) I have created it.
    3) But iam not getting the Context structure in the Dataview.
    For this wht coding i need to write in WSDL File?
    Any Help is Highly aprreciated with Points.
    Very urgent requirement?

    Hi,
    I'm not exactly sure what your problem is.
    A description on how to call web services can be found in my blog:
    /people/juergen.hauser2/blog/2008/02/25/using-web-services-with-sap-interactive-forms-by-adobe-overview-tips
    If you are facing an issue with what is displayed in the data view for the WSDL data connection (i.e you are missing nodes) you could try to use Designer 8.0 instead since it cotains bug fixes in that area.
    Regards,
    Juergen

  • Direct  RFC And webservice in Adobe Forms

    Dear All,
                Does adobe Lifecycle designer intregate RFC as a webservice ?
    Or we need to write a Java/Adap Dynpro and call the adobe Form?
    Regards,
    Anirban.

    Hello,
    You can call a web service directly from an interactive form. To access RFCs, you need an application (typically webdynpro Java or ABAP).
    Keep in mind that your form is interactive (meaning data storage and exchange capable) only if it has been generated by the ADS.
    Regards,
    Francois

  • Problem calling WebService from Oracle Forms created by JDeveloper

    Hi All,
    I am trying to call a Webservice from Oracle Form using JAVA Class created by Oracle JDeveloper.
    The Java Function (in JDeveloper) is as follows:
    public Vector GetPIValue(String TagName, String ReadingTime) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    requestBodyEntries.addElement(TagName);
    requestBodyEntries.addElement(ReadingTime);
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.send(endpointURL, "http://tempuri.org/GetPIValue", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    return responseBody.getBodyEntries();
    When this Class is Imported into Oracle Forms the Function is converted into the following PL/SQL code:
    FUNCTION GetPIValue(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    Message('param passed: '||a0||' - '||a1);
    cls := JNI.GET_CLASS('oracle/forms/demos/webservice/ConnectToPIStub');
    mid := JNI.GET_METHOD(FALSE, cls, 'GetPIValue', '(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector;');
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    Message('I am Here');
    RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
    END;
    When I am calling this Function from Within Forms and Passing into it the Parameters, I am displaying some Debugging Messages. When the Code reaches "JNI.CALL_OBJECT_METHOD" there is NO RESPONSE from the Webservice and nothing is moving forward after this Point...
    A similar Webservice that can be Tested is:
    http://www.webservicex.com/CurrencyConvertor.asmx
    with WSDL file:
    http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
    Kindly note that this Webservice is running properly from the Web Browser but the call from Oracle Forms is not Succeeding!!!! :-((
    Any help is much appreciated.
    Regards,
    Baz

    Hi,
    Yes, you need to compile your source files with JDK 1.3 (since JInit 1.3.x.x uses JDK 1.3).
    Other solution would be to use JRE 1.5 (instead of JInitiator).
    Check out [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=550563] on how to use JRE1.5
    -Arun

  • WebService in Adobe Forms in Test and Production Systems

    Hello Friends,
    I am facing a peculiar problem with the webservice. I have created one Adobe Form in Development system and in that Adobe Form I used one WebService to get the User's Complete Name. Its working fine in Development System. And all the WebDynpro Component's and Applications, RFC Function Module(for WebService), WebService Name were placed in same Request ID and this request is being moved from Development System to Quality system, here all the objects were present except WebService Name i.e. this service can be seen only from SOAMANAGER Transaction but not from SICF Transaction(As given in SAP Note: 1318499). And I came to know that we need to use only SOAMANAGER transaction ONLY in Quality or Production systems.
    But while creating Data Connection in Adobe Form I used SOAMANAGER's generated URL and it got created successfully and while triggering the WebService at Runtime based on some event I am writing JavaScript Code and here I am using the URL where it is generated from SICF Transaction.
    Friends please help me in solving the issue as which URL I need to use in Adobe Form at runtime(i.e. triggering webservice from JavaScript, the URL from SOAMANAGER is not working in JavaScript).
    Regards
    Pradeep Goli

    Hey,
    as far as I understood the ESR is a design time tool, i think  you don't need to have a productive instance.
    I think it should be installed on your PI systems. And I would prefer to have at least a devel and a test installation, to
    separate services on test machines from those who are running on productive systems.
    as you can't differentiate the services by their name but just by their systems, you should have separate ESR Instances.
    Nevertheless I think it could be possible to run only one ESR....
    Kind Regards
    Christof

  • Calling webservice in Adobe interactive form

    Hi,
    I have a webservice created for a function module which in turn calls the BAPI_PR_CREATE (purchase requisition creation) BAPI. I am trying to call this webservice from an Adobe interactive form I've created. Basically the user will enter all necessary data inside the form and when he presses a button the webservice should be called and the purchase requisition should be created.
    My question is what type of "Control type" should I use for the button "Regular", "Execute" or "Submit" and how should the javascript code look like?
    I have tried a lot of solutions that I've found on the internet but nothing worked.
    The ADS service is not yet installed, I know that this is a big issue but could this affect the functionality or could this be the cause why nothing seem to work?
    Thank you and Best Regards,
    Mihai

    Hi Florian,
    thank you for the given information.
    Unfortunatelly I was waiting for a long time from the BASIS team to install the ADS. Yesterday they've told me it's finally done.
    Consequently I started to retest the solutions I've found but with no result so far.
    I've tried to make the button an "Execute" control type and added the Connection inside the Execute tab.
    I've also tried with the following javascript inside the xml file (inside the click event of the button) and all of the button control types:
    var tempsoapAddress = xfa.connectionSet.DataConnection.getElement("soapAddress").value;
    var tempwsdladdress = xfa.connectionSet.DataConnection.getElement("wsdlAddress").value;
    var ServerPath = body.systemConfig.system.rawValue;
    var client = <Get Client from a data attribute>
    var Soap_PreServerPort =  "http://";
    var Soap_PostServerPort =  "/sap/bc/soap/rfc?sap-client=";
    var SoapAddress = Soap_PreServerPort + ServerPath + Soap_PostServerPort + client ;
    var Wsdl_PreServerPort =  "http://";
    var Wsdl_PostServerPort1 =  "/sap/bc/soap/wsdl11?services=ZBAPI_PO_CREATE2&amp;sap-client=";
    var wsdlAddress =  Wsdl_PreServerPort + ServerPath + Wsdl_PostServerPort1 + client ;
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = SoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = wsdlAddress;
    xfa.connectionSet.DataConnection.execute(0);
    xfa.connectionSet.DataConnection.getElement("soapAddress").value = tempsoapAddress;
    xfa.connectionSet.DataConnection.getElement("wsdlAddress").value = tempwsdladdress;
    xfa.connectionSet.DataConnection = null;
    I've also found that maybe I should have attached the following roles and authorization objects to my user:
    Authorization objects: S_USER_PRO, S_SERVICE and S_ICF_ADMIN, S_SRT_ADM
    Roles:
    a) SAP_BC_WEBSERVICE_ADMIN
    b) SAP_BC_WEBSERVICE_ADMIN_BIZ
    c) SAP_BC_WEBSERVICE_ADMIN_TEC
    d) SAP_BC_WEBSERVICE_CONSUMER
    e) SAP_BC_WEBSERVICE_DEBUGGER
    f) SAP_BC_WEBSERVICE_OBSERVER
    g) SAP_BC_WEBSERVICE_SERVICE_USER
    Do you have ideea what could be the issue? Can you give me another solution?
    Thank you and Best Regards,
    Mihai

  • Calling webservices in Oracle Forms version 6.0.8.26.0

    Hi,
    I am trying to call a webservice from Forms version 6.0.8.26.0. I have created the jar file using JDeveloper 9.0.3.1. I could import the class in forms but when I compile the form, it gives me the following error:
    Error 306 at line 13 column 13
    wrong number or types of arguments in call to NEW_OBJECT
    Error 0 at line 13 column 5
    Statment ignored
    Error 306 at line 19 column 13
    wrong number or types of arguments in call to GET_STRING_FIELD
    Error 0 at line 13 column 5
    Statment ignored
    and so on....
    Please advise what I need to do? This version of forms does not have any default.env. So I'm not sure if there is any other path where I need to put in the jar file path. Please advise soon.
    Thanks to all in advance.

    Please can somebody reply....

  • Calling webservice using Adobe lifecycle designer7.1

    Hi,
    I am trying to call a webservice which is running on my SAP Netwaeaver using Adobe designer 7.1 , I am not able to create new data connection.
    I am able to call this webservice using simple webservice client but not with ALD7.1 that means my service is working fine.
    Can any body tell me are there any specific settings are needed for  this webservice.
    Thanks in adv
    Sudheer

    Hi Sudheer,
    There exists no seperate configurations required.
    1. providee URL or filepath.
    2. Map th request and response fields.
    3. Use the button generated to trigger the same.
    Wats the error that you are getting.
    You may first try using a simple service with a default login ID and password configured.
    Hope this helps,
    - anto.

  • The ADS call has failed-ADOBE form

    Hello All,
    I am getting the following error, while runing WD, i am displaying pdf form in that.
    but for few of the pdf forms i can display properly with out any error. in the same WD, but in other view
    this error is coming only with one form.
    the exception is .....
    WebDynpro Exception: The ADS call has failed. You can find information about the cause in the error.pdf on the application server
    The error occurred on the application server pep74_S92_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP

    Have you managed to establish what is different about the forms that do/do not display?  Main one is the interactive flag.  If it is just your interactive forms that produce the dump then it is likely that the credential file has not been installed correctly (or at all).

  • "Error attempting to read file" at Webservice call from Adobe Form.

    Hi Experts,
    We have designed a Webservice form a Function Module in ECC 6.0, In the soamanager transaction the webservice works fine. But at the time of call from the Adobe form, it gives an error stating that "Error attempting to read from file" and then the URL of the Webservice to be excuted.
    and if i attempt to open that file, it gives me this error:
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
      <soap-env:Header />
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
      <faultstring xml:lang="en">SRT: Wrong Content-Type and empty HTTP-Body received</faultstring>
    - <detail>
    - <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
      <Host>undefined</Host>
      <Component>COREMSG</Component>
    - <ChainedException>
      <Exception_Name>CX_SOAP_CORE</Exception_Name>
      <Exception_Text>SRT: Wrong Content-Type and empty HTTP-Body received</Exception_Text>
      </ChainedException>
      </ns:SystemFault>
      </detail>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>
    In case I give my user the "SAP_ALL" role, this all works fine, so i think it is somewhere related to a missing role to be assigned.
    any clues..??
    any help would be appreciated, Please help..
    Thanks,
    Amita

    Hi Juergen,
    I am using it as a WSDL based data connection.
    How do i check this WSDL through a web browser? I have checked it through SICF Transaction code, It gives the output in explorer as given in the first post of this thread..
    Please help me resolving this issue, i feel that this issue is somewhere related to the role assignment of the user as if i provide this user an authorization of SAP_ALL then everything starts working fine, but after removing SAP_ALL this error is encountered, do u hav any pin points on this??
    Thanks
    Amita

Maybe you are looking for

  • How do I open a Yahoo account (already on iPhone) on my iMac?

    Entering a new Yahoo account on the iPhone was easy ... but when I come to open it on my iMac. I'm asked for an Incoming/Outgoing mail server. Anyone know what I should enter here? And isn't MobileMe supposed to sync these things automatically?

  • Given an alias created by the Finder, from the Unix prompt (e.g., in Terminal) how can I get the target of the alias?

    In my Finder windows I have numerous aliases that point mostly to other folders. When in the Terminal, these aliases present as regular files. How can I get the target of an alias so that I can perform some operation, e.g., "cd", on the target?

  • Cannot upgrade my Nokia 500 to Belle

    Hi There, I'm trying to update my Nokia 500 to Belle but I get an authentication error. I'm usign Nokia Suite v 3.7.22 in Windows 7 x64. Please any idea ? Thanks in advance.

  • Identity service cannot find user

    Installed BPEL 10.1.2 added user using jazn.jar Now trying to log into worklist sample application and I get identity service cannot find user. Do I need to assign any role(s) to new user. Let me know. I am seeing simple questions not getting answers

  • Interview questin

    SAP GURU'S:-  GOOD MORNING   we are not selected the line item,  check box for the some  the accounts, those are Reconcialation a/c, Revenue a/c, Material accounts,Taxe accounts, why we  not selecte the line item check box , what is the reason, suppo