Call a service through other service

Hi all,
In some moment I pretend to call a service through my new service. The point is that the service is missing some parameters and I'm with some doubts about that...
Example:
<tr>
     <td>MY_NEW_SERVICE</td>
     <td>DocService
          0
          null
          null
          null<br>
          null</td>
     <td>3:doService:GET_ASSOCIATED_DISCUSSION_FILE::null</td>
</tr>
In this case I want to call the GET_ASSOCIATED_DISCUSSION_FILE to create a discussion but the CS is giving me an error about missing the dID parameter. However, in my template, I give the dID. How can I pass correctly that parameter?
Thanks in advance,

Hi, thanks for the reply.
No, it's not a subservice.
stack trace:
!csUserEventMessage,sysadmin,gfisdemo!$!csServiceDataException,SEND_ENCAMINHAMENTO,QdocInfo!$!csSystemError,\!syParameterNotFound\,dID!syParameterNotFound,dID
intradoc.common.ServiceException: !csServiceDataException,SEND_ENCAMINHAMENTO,QdocInfo!$!csSystemError,\!syParameterNotFound\,dID
     at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:1739)
     at intradoc.server.Service.buildServiceException(Service.java:1999)
     at intradoc.server.Service.createServiceExceptionEx(Service.java:1993)
     at intradoc.server.Service.createServiceException(Service.java:1988)
     at intradoc.server.ServiceRequestImplementor.handleActionException(ServiceRequestImplementor.java:1450)
     at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1417)
     at intradoc.server.Service.doAction(Service.java:450)
     at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
     at intradoc.server.Service.doActions(Service.java:445)
     at collections.HelperHandler.executeCommand(HelperHandler.java:619)
     at collections.HelperHandler.executeCommand(HelperHandler.java:557)
     at collections.HelperHandler.doService(HelperHandler.java:762)
     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:585)
     at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461)
     at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142)
     at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75)
     at intradoc.server.Service.doCodeEx(Service.java:488)
     at intradoc.server.Service.doCode(Service.java:470)
     at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1350)
     at intradoc.server.Service.doAction(Service.java:450)
     at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1191)
     at intradoc.server.Service.doActions(Service.java:445)
     at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1111)
     at intradoc.server.Service.executeActions(Service.java:431)
     at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632)
     at intradoc.server.Service.doRequest(Service.java:1709)
     at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357)
     at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)
Caused by: intradoc.data.DataException: !syParameterNotFound,dID
     at intradoc.jdbc.JdbcQueryUtils.getParameterValue(JdbcQueryUtils.java:223)
     at intradoc.jdbc.JdbcQueryUtils.buildQuery(JdbcQueryUtils.java:106)
     at intradoc.jdbc.JdbcWorkspace.buildQuery(JdbcWorkspace.java:761)
     at intradoc.jdbc.JdbcWorkspace.createResultSet(JdbcWorkspace.java:699)
     at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1358)
     ... 25 more
Ps: SEND_ENCAMINHAMENTO is the MY_NEW_SERVICE.

Similar Messages

  • How to call java function through Web Service

    Hello Experts,
    I want to call a method through Java Web Service in my abap code. Is it possible ? If so, plz guide me.
    Requirement: In SD module user enters the PAN, on after entering PAN in want to validate it on NSDL. For that a Web Service has already been deployed on a Web Server. and that the deployed Web Service I want to call in abap code.

    Hi,
    check this link
    Re: Call to WS from one backend to other backend
    regards
    afzal

  • How to call java fanction through Web Service

    Hello Experts,
    I want to call a method through Java Web Service in my abap code. Is it possible ? If so, plz guide me.
    Requirement: In SD module user enters the PAN, on after entering PAN in want to validate it on NSDL. For that a Web Service has already been deployed on a Web Server. and that the deployed Web Service I want to call in abap code.

    Hi,
    check this link
    Re: Call to WS from one backend to other backend
    regards
    afzal

  • Problem to call web service through WSDL2Java

    Hi All,
    I am gettig the error message while trying to run the below code to call web service:
    Code:
            org.apache.axis.client.Call _call = createCall();
            _call.setOperation(_operations[0]);
            _call.setUseSOAPAction(true);
           _call.setSOAPActionURI("");
            _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
            _call.setOperationName(new javax.xml.namespace.QName("http://10.171.44.97/service", "testWS"));
            setRequestHeaders(_call);
            setAttachments(_call);
            System.out.println("before invoke");
         java.lang.Object _resp = _call.invoke(new java.lang.Object[] {input});--------------------------------------------------------------------------
    Error-
    org.xml.sax.SAXException: Error: URI=null Line=3: Illegal
    xml:lang value "".----------------------------------
    I would appreciate if anyone can help me out.
    Thanks in advance.
    Regards
    Sachin

    Hi,
    Jason Straub's excellent [Flexible Web Service API|http://jastraub.blogspot.com/2008/06/flexible-web-service-api.html] could be just what you need.
    The blog posting also describes how to integrate the code into your page.
    Regards,
    Georger
    sundhar.v wrote:
    Hi
    Can we call web service through loop, If so how we can do.
    I wanted to transfer n records ex:100. to pass one record i need to call web service, like that to pass 100 records i need to call 100 times webservices and store results of each.
    Have created web reference and form so that it can send one record on submit and return's result to text box.
    I need to call this Web Service Request     page process through another plsql process.
    How can we resolve this.
    Thanks
    Sundhar

  • Calling a service through the EJB results in java.rmi.UnmarshalException

    I have created a service on WLAI that does a simple query against a table (inventory
    count by product ID). I have also created a command line class to call this service,
    provide the correct XML schema input, and wait for a returning XML response.
    The class compiles fine, but at runtime I am hitting a java.rmi.UnmarshalException,
    with a nested exception of a java.lang.ClassNotFoundException on the class com.bea.wlai.client.bean.ApplicationViewBeanEOImpl_WLStub.
    However, I am positive this class is in the classpath on the remote computer
    running WLAI in the %INTEGRATION_HOME%\applinteg\lib\WLAIlib.jar file.
    I have been told that RMI calls run off a separate classpath, and that may be
    why this class cannot be found. However, I am not familiar with such situations.
    Any ideas or thoughts would be greatly appreciated. Please respond to this thread
    with any thoughts or if you need any more information. Thanks.
    Dan Kim

    Maybe u must cast appMod to the generated class 'TestbcModuleEJBClient', in the automatically generated client project, instead of 'TestbcModule', that's only an interface. In this way appMod should find the implementation of your methods, and not only the declaration. That is:
    appMod = (TestbcModuleEJBClient) home.create ();
    Christian T.
    null

  • Call proxy service from other proxy service with attachment

    Hi!
    I have got an email sending proxy service I would like to call this from an other proxy service and I want to send attachment in email. I can send email with attachment if i call this proxy as a webservice (e.g. from soapUI)
    But if i want to call this email proxy service from other proxy service, the attachment in email is empty. I put a log action (expression: $attachments) in the beginning of email proxy service, and I saw this in the log file:
    +<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>+
    So the attachment is really empty...
    I use service callout. I put an insert action in request action of service callout:
    In Variable:
    attachments
    XPath:
    +.+
    Location:
    as first child of
    Expression:
    +<con:attachment xmlns:con="http://www.bea.com/wli/sb/context">+
    +     <con:Content-Type>application/octet-stream</con:Content-Type>+
    +     <con:Content-Disposition>attachment; filename="{$v_fileName}"</con:Content-Disposition>+
    +     <con:Content-Transfer-Encoding>base64</con:Content-Transfer-Encoding>     +
    +     <con:body>{$attachments/ctx:attachment/ctx:body/*}</con:body>+
    +</con:attachment>+
    Why cannot I call this email proxy service from other proxy service for sending email with attachment?
    I tried to solve this other. I called an email sending business service from this proxy service. But in this case I cannot set the body of email. If I put just one Transport Header action in publish action, I could send the email (with empty body). But If I put a replace action in publish action as well then the OSB didn't send the email and I couldn't find any error message in log file... How could I set the body of email in publish action?
    Thanks!
    Viktor

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Getting error while calling Web service in PB 12.5

    Hi All,
    I am trying to call web service through my PB 12.5 but getting error like "Window sdk for .net framework 4.0 was not installed. please install befor use this feature." though I had installed window sdk . net framework 4.0.
    one more thing do we required .wsdl file to call web service or only path is ok?
    please help me out here.
    Thanks,
    Pralhad

    Hi Pralhad,
    From the Application Techniques manual, Building a Web Services Client, it states the following:
    The WSDL file for you specify in the wizard or painter must have:
    Services/Binding entries
    The Targetnamespace
    attribute defined in its Schema element
    No circular references (an example of a “circular reference” is a structure
    that includes itself as a child class member)
    If PowerBuilder encounters a problem parsing the WSDL file, it reports the
    error in an error message box.
    Thank you.
    Beverly Duquette

  • Calling web service from JSP

    Can anyone help??
    I'm trying to call a webservice from within a JSP and i havent a clue how its done,
    i have my IF and Impl and Client Coded and my stubs generated and service deployed and running, but i cannot figure out how to call the service from my JSP web-app.
    Any help appreciated!

    Hi ,
    Its easy to call a WS from jsp what you can do is this. Think in manner that u will be keeping the client classes on a particular container, then in same container you can refrence the classes and can invoke service through a jsp..this works in my case.. it depends what kind of client do u want to create may be static or proxy or DII

  • Calling web service from ABAP - version 4.6C

    Hi,
    I would like to know how to call a web service from ABAP. Version is 4.6C. Any help would be greatly appreciated.
    Thank you,
    Rekha

    Hi Rekha,
    Please go through these..
    call web service using ABAP
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/da0710b6560a4e80fb94f3f712dfc0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/frameset.htm
    Hope these help you!
    cheers,
    Prashanth

  • ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http

    I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
    when browsed through some of the messages they point to setting Oracle Wallet Manager.
    I am trying to connect
    Any idea on how to resolve this issue ?
    your input is appreciated.
    Thanks
    Ravi

    Duplicate post ... please ignore.

  • Error calling web service from Adobe form

    Hi Experts,
    While calling web service form my adobe form, i was getting an error as below saying "Error attempting to read from the file" followed by the URL of my web service.
    To create the above scenario i followed the following steps:
    1. Create a Function module and create a web service from that function module.
    2. Through SOAMANAGER, download the WSDL file for the generated web service.
    3. Create an Adobe form with an empty Interface and create a new Data Connection on the form using the downloaded WSDL.
    4. Generate this adobe form using an ABAP report.
    Kindly extend help on this to figure out if I'm missing something!!!

    Well questions related to Web Services have been answered here in past, please Search on SCN for links to it.

  • How to deal with complex SOAP responses when calling web services ???

    Hi all,
    I have an issue when calling a web service that returns a complex
    SOAP response message. With simple responses (e. g. array of strings) it
    worked.
    I created the PDF as an Interactive form with Livecycle Designer 8.2.
    The Javascript looks like this:
    var cURL = "http://blabla";
    var cTestString = "too";
    SOAP.wireDump=true;
    var response = SOAP.request(
         cURL: cURL,
         oRequest: {
              "http://blabla.com/:complete" : {
              arg0: cTestString
              cAction: "http://bla.com:50000/"
    var resp = response["http://blabla.com:serviceResponse"];
    console.println("lenght:"+resp.length);
    var myns = "http://blabla.com/namespace";
    for (var nItem in resp.return)
      console.println("" + nItem + " " + resp.return[nItem] );
         for (var ConceptView in resp.return[nItem])
           console.println("  "+resp.return[nItem].length);
           console.println("  "+ConceptView+" "+resp.return[nItem][ConceptView] );
           if (ConceptView == myns + ":Response")
              for (var item2 in resp.return[nItem][ConceptView]){
                  console.println("    "+item2+" "+resp.return[nItem][ConceptView][item2] );
    I call the service and when I realized that I do not find out the type of the object returned, I used the nested for-in-loops to iterate through it. But it seems that there is just one item in the Javascript object returned, although the SOAP message clearly shows that there are more than one item.
    Can you help me?
    One key problem when analyzing this issue is that I do not know at all
    the Javascript type of response. We suspected it might be an array, but it is not
    because the method .length returns "undefined". It would already be
    helpful to know at least the type of this object and to know callable
    methods and so on ...
    Best regards
    Christoph
    P.S. As mentioned I used Livecycle Designer 8.2 and displayed and
    debugged the document using Acrobat 9.

    Christoph,
    Firstly LiveCycle Designer 8.2 is still not supported to develop forms as per my knowledge. The latest version compatible for SAP Interactive Forms is ALD 8.0.
    There is a difference between Acrobat based forms and LiveCycle forms and based on your coding it looks to me  that you are trying to create a LiveCycle based form with coding of Acrobat which is not supported in LiveCycle Desginer, which is why you may be getting the error.
    I hope that does not confuse you, so may check this [link|http://www.acrobatusers.com/articles/2006/08/designer_or_forms/index.php] for some clear information on what point I was trying to make.
    Chintan

  • Calling Web Service of SAP R/3 in SAP PI

    Dear Experts,
    We have a Web Service in R/3 which is generated from the RFC(Function Module). We have consumed that in PI for some requirements where the application has no direct access to R/3.
    But when we are calling the Service from PI, the result tables are coming blank. The same Web Service of R/3 is working in DOTNET application and getting the data.
    There are no errors, the authorizations checks are through, but the data is coming blank.
    Please help
    thanks and regards,
    Ravi Siddam

    Ravi,
    We have tried the same from SOAP UI client also and it is not working,
    same result as PI. But I repeat the Service is working from DOTNET applications.
    If it is not working in SOAP UI then it will not work in PI also. I suggest you to re-import the WSDL in you .net application and check.
    Regards,
    Ramesh

  • Blank SOAP Action in Soap Request- Portal Service calling Web Service

    Hi
    I'm trying to access an Web Service through a client portal service which was generated by NWDS. I called this service from a basic component and tried to execute the WS function after populating all the needed fields. When I started the component I encountered the following error.
    java.lang.IllegalArgumentException: The SOAP Action "" include in the soap request not corresponding to the Portal service method..
    I initially thought it was because I was downloading the WSDL to my local and using that in the portal service generation. Maybe not all the information about the web service was being obtained. I tried it again after generating the portal service from the WSDL online but still obtained the same error.
    Any insight on what's causing the error would be appreciated. Thanks!

    Dear expert.
    i got the same problem with Reyes. anyone can solve this issue?
    thank in advance.

  • Sys.UTL_DBWS issue when calling web service .......

    Hi,
    Background Details :
    Linux : 2.6.18-164.10.1.0.1.el5 #1 SMP Fri Jan 8 02:34:10 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
    Web Server : Apache Tomcat 6.0.20
    Database : Oracle 10.2.0.4
    Utility that we use to consume the Web Service from PL/SQL : JPublisher 10g Release 2 (10.2)
    Load Balancer : Citrix Netscaler
    We are using the Oracle built in package called UTL_DBWS to invoke the Java web service. The web service is been called through a Load Balancer called Citrix Netscaler.
    Load balancer has been configured to use the Source IP mechanism to route the request to the appropriate web service.
    Problem :
    When invoking the web service from Pl/SQL (with the below piece of code) there are multiple times the web servers are been called which is supposed to be only once. The number of times the call varies is about to 2 or 3.
    Query :
    Hence we need to understand in general how the UTL_DBWS works ? Are there any issues when the call being made through the LoadBalancer ?
    The default time out value while connecting ? If we want to override the default timeout how we can do that ?
    Code for reference :
    BEGIN
    l_service := sys.UTL_DBWS.create_service (
    wsdl_document_location => sys.URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_qname);
    l_call := sys.UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => l_port_qname,
    operation_name => l_operation_qname);
    l_input_params(0) := sys.ANYDATA.ConvertVarchar2(p_dayend_date);
    l_result := sys.UTL_DBWS.invoke (
    call_handle => l_call,
    input_params => l_input_params);
    sys.UTL_DBWS.release_call (call_handle => l_call);
    sys.UTL_DBWS.release_service (service_handle => l_service);
    EXCEPTION WHEN OTHERS THEN
    PKG_IRIS_SH.PRC_ins_spm('WEB','9999', 'Web Service', TO_DATE(p_dayend_date ,'DD/MM/YYYY HH24:MI:SS') ,'Error Description:' ||SQLERRM , '0');
    End ;
    Can any body advise on this issue.
    thanks,
    Ram

    Cross posted to APEX support forum, PLEASE CLOSE THIS THREAD..
    Thank you,
    Tony Miller
    Webster, TX
    Never Surrender Dreams!
    JMS
    If this question is answered, please mark the thread as closed and assign points where earned..

Maybe you are looking for

  • USB 6009 Signals Readings

    Hello, I'm using USB 6009 to read signals from PMT and other equipment for experiments and I have a couple of questions: 1. Is it possible to read a signal with out DAQ assist? I've looked around the forums and haven't seen any relevant material. 2.

  • Ancient ADC to mini display adapter

    I would like to connect my (old) 17" flat panel studio display to my Powerbook Pro. Maybe all I need an adapter? The display male connector uses a single cable for all functions (power, USB etc) it is rectangular with rounded ends (.35" x 1.22). Part

  • Vendor rebates for SAP

    Dear All, Can somebody help me to understand and configure the vendor rebate process in SAP Can you provide a link for the documents, SAP help etc. Regards.

  • Why do some app passwords not restore after Restore?

    I just restored from a backup onto a new iPhone 5. Some apps, like Dropbox, logged me in automatically (backup had the password). Some, like Kindle, Netflix, and Skype did not. Is this normal - why does my backup not save the login info for those app

  • Changing Dictionaries

    Hi there I can't work out how to change the default dictionary in Pages 06. Currently its set to US English, I want to change to British English. I go to Edit / Spelling - but there is no option to change the dictionary language Do I need to download