HTTP call in a workflow using GetFolderByServerRelativeUrl returns Forbidden

This is using Office365 SPO with a 2013 workflow being created in the 2013 Designer.
We are trying to make a workflow (whose steps will later on be part of a larger) that simply does an HTTP GET call. We have a url variable set to https://xxxxx.sharepoint.com/sites/xxxx/_api/web/GetFolderByServerRelativeUrl('/sites/xxx/xxx')/files, headers
Accept and Content-Type set to "application/json;odata=verbose" and Authorization as an empty string. In the call action the RequestType is GET, RequestHeaders has those values, and the ResponseContent/Headers are set to empty dictionaries with a
ResponseStatusCode variable as an empty string. When the workflow is run the ResponseStatusCode is given a value of Forbidden. When the Authorization header part is missing it returns Unauthorized as per normal.
Navigating to the web url shows the feed page with the correct number of file entries. However, the entries all contain 0 info in the response (I'm guessing that has to do with it being a url call instead of an actual REST call).
Any ideas? This is making my and another employee's foreheads the same flatness as our desks.
Note: Both of us are still fairly new as SP was tossed on our laps w/o any warning. So if it looks like any of this is a horrible way please say so, nicely ;)

Hi Tanwedar,
Thanks for posting your issue, Kindly browse the below mentioned URL to create workflow step by step using Designer 2013
http://dinushaonline.blogspot.in/2014/07/sharepoint-2013-workflow-check-if.html
I hope this is helpful to you. If this works, Please mark it as
Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog :
http://sharepoint-community.net/profile/DharmendraSingh

Similar Messages

  • Sender SOAP Adapter with HTTPs call

    Hello,
    Our scenarion is ..  we will have a sender SOAP adater .. but it needs to be called using HTTPs(SSL).
    Now considering we have the certificate generated and installed ..and that integration server is HTTPs enabled....What URL should the sending system call..?
    For normal HTTP call the inbound address for inbound Adapter is: http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    For the case of HTTPs just changing the htttp to https and the port number in in the calling system will suffice? Or is there other configurations that needs to be done??
    Thanks and Regards,
    Himadri

    Hi Himadri,
    Firstly as suggested by others you can call using https and give the https port in the soap adapter servler URL. Secondly you need to do the following configurations:
    1) If its PI 7.0/3.0, deploy the latest version of the SAP Java cryptography toolkit.
    2) Configure SAP PI as the server for HTTPS calls. In short
          Using the SSL Provider service:
                                a.      Select whether the J2EE Engine should:
                                   ■      Request (but not require) that the user presents a client certificate for authentication.
                                   ■      Require that client certificates are to be used for authentication.
                                b.      Import the CAu2019s root certificate into the Trusted Certification Authorities list. (Choose Add.) using the following For all the steps, link is mentioned below for XI 3.0, you can find similar ones for PI 7.0
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/content.htm
    3) If you want to enable client authentication then you would need to add the client certificate in the TrustedCA keystore view of the SAP J2EE engine.
    4) In the SOAP Adapter sender channel, configure Inbound Security level as HTTPS or HTTPs with client authentication based on your scenario.
    Best Regards,
    Pratik

  • Using Submit & Return

    Hi Experts,
    Can any one tell me if i am calling a program ZXABC using SUBMIT & RETURN, abd if that progrm has few internal tables containing the data it_table1, it_table2 & it_table3, how can i get the data from those tables into the tables through which the program ZXABC is called?
    Thanks.
    Harshad

    Hi Dude,
    There are two cross-program memory areas to which ABAP programs have access (refer to the diagram in Memory Structures of an ABAP Program that you can use to pass data between programs.
    SAP Memory
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters).
    These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens.
    ABAP Memory
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory
    Edited by: Raghunath Shyamala on May 25, 2009 7:32 AM

  • How to copy List item from one list to another using SPD workflow using HTTP call web service

    Hi,
    How to copy List item from one list to another using SPD workflow using HTTP call web service.
    Both the Lists are in different Web applications.
    Regards, Shreyas R S

    Hi Shreyas,
    From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
    If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
    As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
    So I recommend to achieve this goal programmatically.
    More references:
    https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is it possible to reduce the number of HTTP calls when using a ReportViewer control?

    My application is written in .Net 4 using Visual Studio 2010 (version 10 of the ReportViewer control). The report in question contains a lot of data in the dropdowns used for parameter selection. For example, one dropdown contains 95k options and another
    uses 24k options (I know this is bad design, but we need to keep it as-is for this release). When I use Fiddler to profile the report, I see that it makes a lot of HTTP calls and a majority return the same dataset. There are three phases of loading data. Each
    one initiates a series of HTTP calls.
    Loading the initial header with the filter controls (dropdowns, textboxes, etc).
    Changing one of the dropdowns that has a dependent dropdown (start date/end date)
    Loading the final report after clicking the View Report button
    In total, 13 HTTP calls are made and 10 of those are returning the same 10MB of data. The final report only returns 13 records, but the whole process of loading the report filters, changing report filters and loading the report require 130MB of data to be
    exchanged. This is an extreme example, but we do have other reports that are doing the same with smaller amounts of data.
    My question: is there any way to modify the ReportViewer or the SSRS server to reduce the number of calls? Is this related to ViewState? Please understand that I am new to Reporting Services and have a lot to learn.

    Hi rodeofive,
    As per my understanding, the issue is a performance issue. And it is caused by there are thousands of values in the drop-down list of parameters in the report.
    To work around this issue, I suggest you should make some changes in the report. For example, we can add additional two parameters with multiple keywords ahead, one for the dropdown contains 95k options, another for dropdown contains 24k options. Then all
    of available values which are begin with the keywords will display in the parameter list. In this scenario, we can create cascading parameters. One is a keyword parameter, and the other parameter is the drop-down list that based on the keyword to display the
    available values.
    For more details about the method, please refer to the following FAQ:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de6c783-9cb4-4b95-9be8-b59bc0049866/forum-faqhow-do-i-add-a-search-feature-in-the-parameter-with-long-drop-down-list?forum=sqlreportingservices#8de6c783-9cb4-4b95-9be8-b59bc0049866
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Unable to deserialize HTTP response content - SharePoint Designer Call Web Service Workflow Activity

    I am creating a workflow using SharePoint Designer 2013 and I'm using the call HTTP web service action.
    The web service call works (it is for a text messaging service, and I get the text message to my phone) however the workflow stops at this point with internal status "suspended" and gives the error message below when clicking on the "i"
    icon.
    I have tried setting the Accept and Content-Type request headers to "application/json; odata=verbose" (minus the quote marks) as other posts suggested but this doesn't make a difference (e.g. here: https://social.msdn.microsoft.com/Forums/windowsapps/en-US/f0b18411-87d1-466b-aab0-1a0093605ed4/workflow-cannot-read-json-after-latest-sp15-patches?forum=sharepointdevelopment).
    I tried adding in the Content-Length header too but that made no difference.
    I tested calling another web service (https://sharepointurl/_api/contextinfo) and this works fine.
    Is there any way to get the workflow to accept this XML as the response? I don't actually really need anything out of the response content, but I do need the workflow to carry on after this step and carry out other activities after this call.
    Error message:
    Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.IO.InvalidDataException:
    Unable to deserialize HTTP response content. Expected ContentType : 'application/json', 'text/plain' or 'text/html', Received ContentType : 'text/xml'. Content (truncated) : '<?xml version="1.0" ?><outbound-message-delivery messageId="35d60bd2-a829-4382-8189-7a74de2d1cca"
    isError="false"><recipient msisdn="6427xxxxxxx" isError="false"></recipient></outbound-message-delivery>'. ResponseStatusCode : 'OK' Request Uri : 'https://www.txtserviceurl.co.nz/api/3/sms/out?to=6427xxxxxxx&body=test+from+workflow'
    at Microsoft.Activities.Messaging.SendHttpRequest.OnReceiveResponse(NativeActivityContext context, Bookmark bookmark, Object value) at System.Activities.Runtime.BookmarkCallbackWrapper.Invoke(NativeActivityContext context, Bookmark bookmark, Object value)
    at System.Activities.Runtime.BookmarkWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager) Exception from activity SendHttpRequest HttpPost Switch<String> Sequence Microsoft.SharePoint.WorkflowServices.Activities.CallHTTPWebService
    Stage 1 Sequence Flowchart Sequence Testing 

    Hi,
    Thank you for your post.
    I'm trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact 
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Flex IO error# 2032 when using IE7 for parallel https calls across two servers

    Hi,
    Weeks back I faced a wierd issue in the behaviour of flashplayer running on IE7 which is invoking parallel https calls. I have two SSL enabled servers one is listening on port 443 and the other is listening on port 8443 but both running in the same domain. I developed a flex client (using httpservice class) which sends parallel https requests to these two servers. When the number of parallel requests increases say more than 5 requests to each server, the fault handler was encountered with the error message:
    [RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: https://servlet"]. URL: https://servlet"]
    I used some http tracer tools to check if the request jumps out of the browser but that didnt happen. I am 100% sure that I am using the correct url. I was totally helpless . This worked without any issues in IE8 or Chrome or Firefox. This made me think about increasing the number of concurrent connections for IE7 by modifying the windows registry. But still no difference in the behaviour.
    After breaking my head for a long days, I got one solution which would work. This issue is happening only if we are sending https requests to different ports in the same domain. So rather than moving one among the two servers to a new domain, I got a new DNS name for the same destination. So presently I got two DNS names pointing to the same machine in which both the servers are mounted.
    After this it really worked cool!!! Now that I am using a separate DNS name for the server listening on port 8443 and the old DNS name is used to hit the server listening on 443. And I am happy that its working fine without any issues .
    But can anyone tell me if this is really an IE7 issue or do we have anyother solution to fix this.
    Please share ur thoughts..

    Hi,
    I am building a mobile employee directory and for that I am using Flash Builder 4.6/AIR 3.1.0. I am using RESTful web service to get XML results and to display on my mobile application. I am getting the same below error when accessing the webservice from mobile app (Android - Galaxy Tab 7 inch).
    Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error # 2032"] URL: http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co">http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabhttp://adfdevp.alshaya.com:7013/RESTEmployeeDetails-http://adfdevp.als haya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlabEmployeeDetails-context-root/jersey/restlab
    The same code is working in Flash Builder 4.6. I have checked Network Monitor to "Disabled" before deploying to mobile. What am i doing wrong here? I am pasting my code below-
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView" xmlns:dao="dao.*"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <fx:Script>
       <![CDATA[
        import mx.collections.ArrayCollection;
        import mx.collections.IList;
        import mx.collections.XMLListCollection;
        import mx.events.FlexEvent;
        import mx.rpc.events.FaultEvent;
        import mx.rpc.events.ResultEvent;
        import mx.rpc.xml.SimpleXMLDecoder;
        import mx.utils.ArrayUtil;
        import valueObjects.EmployeeDetail;
        [Bindable]
        private var myXml:XML;
        [Bindable]
        public var resultCollection:IList;
        public function handleXml(event:ResultEvent):void
         var xmlListCollection:XMLListCollection = new XMLListCollection(event.result.children());
         var xmlListCollectionValues:XMLListCollection = new XMLListCollection(event.result.emp.children());
         var resultArray:Array = xmlListCollection.toArray();
         var resultArrayValues:Array = xmlListCollectionValues.toArray();
         var objEmployeeDetails:EmployeeDetail;
         var resultCollection:ArrayCollection = new ArrayCollection();
         var j:int = 0;
         for(var i:int=0;i<resultArray.length;i++){
          objEmployeeDetails = new EmployeeDetail();
          objEmployeeDetails.brand = resultArrayValues[j];
          objEmployeeDetails.division = resultArrayValues[j+1];
          objEmployeeDetails.email = resultArrayValues[j+2];
          objEmployeeDetails.employee_name = resultArrayValues[j+3];
          objEmployeeDetails.employee_number = resultArrayValues[j+4];
          objEmployeeDetails.grade = resultArrayValues[j+5];
          objEmployeeDetails.mobile = resultArrayValues[j+6];
          objEmployeeDetails.position = resultArrayValues[j+7];
          j = j + 8;
          resultCollection.addItem(objEmployeeDetails);
         list.dataProvider = resultCollection;
         //return resultCollection;
        public function handleFault(event:FaultEvent):void
         //Alert.show(event.fault.faultDetail, "Error");             
        protected function sesrchEmployee():void
         xmlRpc.send();
       ]]>
    </fx:Script>
    <fx:Declarations>
       <dao:EmployeeDAO id="srv"/>
       <mx:HTTPService id="xmlRpc"
           url="http://adfdevp.alshaya.com:7013/RESTEmployeeDetails-EmployeeDetails-co ntext-root/jersey/restlab"
           result="handleXml(event)"
           fault="handleFault(event)"
           resultFormat="e4x" showBusyCursor="true">
        <mx:request xmlns="">
         <data>{key.text}</data>
         <data>{key1.text}</data>
        </mx:request>
       </mx:HTTPService>
    </fx:Declarations>
    <s:navigationContent/>
    <s:titleContent>
       <s:VGroup width="100%">
       <s:HGroup width="100%">
        <s:Label top="40" paddingTop="10" paddingRight="13" height="29" text="Employee Name:"/>
        <s:TextInput id="key" width="559"/>
       </s:HGroup>
       <s:HGroup width="100%">
        <s:Label height="30" paddingTop="10" text="Employee Number:"/>
        <s:TextInput id="key1" width="100%"/>
       </s:HGroup>
       </s:VGroup>
    </s:titleContent>
    <s:actionContent>
       <s:Button icon="@Embed('assets/search.png')" click="sesrchEmployee()"/> 
    </s:actionContent>
    <s:List id="list" top="0" bottom="0" left="0" right="0" 
        change="navigator.pushView(EmployeeDetails, list.selectedItem)">
       <s:itemRenderer>
        <fx:Component>
         <s:IconItemRenderer label="{data.employee_name}"
              messageField="position">
         </s:IconItemRenderer>
        </fx:Component>
       </s:itemRenderer>
    </s:List>
    </s:View>
    Please help me to resolve this issue as soon as possible. Appreciate your quick response in this regard.
    Thanks,
    Murtaza Ghodawala
    Mobile: +965 97180549
    [email protected]

  • Call system using linux returns - 1 on linux; returns 0 in aix/unix

    call system using linux returns - 1 on linux; returns 0 in aix/unix when called from sqr

    the question is:
    when i am using call system in unix
    call system is being used in my sqr
    call system using $cmd #status
    #status is coming as 0
    while in linux though the command is getting exceuted correctly, the return status is -1 while it should eb 0.

  • Https call using a http binding in soa

    Hi,
    I am trying to do an https call using soa suite 11g.I am using http binding for the same:
    Below is the url I am trying to call
    https://test.b2b2.rbs.gxs.com/invoke/URLTest/simpleReceive
    Below is the header which needs to be passed to the call
    <Headers>
    <Content-Type>application/HTTPstream</Content-Type>
    <actionrequest>upload</actionrequest>
    <userid>ADT00368</userid>
    <password>ADT00368</password>
    <receiverid>RBOSNL2A</receiverid>
    <datatype>XML</datatype> (optional)
    </Headers>
    I have 2 questions here
    1.I have installed the certificate from the secured site in the weblogic server.Still I am getting error "unable to access the below url"
    https://test.b2b2.rbs.gxs.com/invoke/URLTest/simpleReceive.
    2. second question is how to send the above mentioned header information in the https call?
    Regards,
    Naresh

    But while testing how will I pass the header?
    <Headers>
    <Content-Type>application/HTTPstream</Content-Type>
    <actionrequest>upload</actionrequest>
    <userid> ADT00368</userid>
    <password> ADT00368</password>
    <receiverid>ABNAMHTIN</receiverid>
    <datatype>XML</datatype>
    </Headers>

  • Issue while starting a workflow using a form submission cq5

    Hi,
    I have followed the below mentioned tutorial and completed it.
    http://dev.day.com/docs/en/cq/current/workflows/create-models.html#par_reference
    Once done, I did try to start the workflow using a normal form submission, by giving workflow name in the "Start Workflow" box.
    Once clicked it will send the notification to my inbox, and when I double click, the form 1 will be displayed. Once submitted form two will be displayed.
    But when I submit the form 2, it thorws the below exception.
    But when I start the same workflow using the sidekick, It works perfectly fine. I am guessing that the {payload}.html is not getting set when the WF is initaited by a form submission.
    Could you please help with this. Thank you !
    Exception
    Not Found
    Cannot serve request to /content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480595_ 27.html in org.apache.sling.servlets.get.DefaultGetServlet
    Request Progress:
          0 (2013-02-21 17:38:19) TIMER_START{Request Processing}
          0 (2013-02-21 17:38:19) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>
          0 (2013-02-21 17:38:19) LOG Method=GET, PathInfo=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/13614 48480595_27.html
          0 (2013-02-21 17:38:19) TIMER_START{ResourceResolution}
          1 (2013-02-21 17:38:19) TIMER_END{1,ResourceResolution} URI=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480 595_27.html resolves to Resource=JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27
          1 (2013-02-21 17:38:19) LOG Resource Path Info: SlingRequestPathInfo: path='/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/13614484 80595_27', selectorString='null', extension='html', suffix='null'
          1 (2013-02-21 17:38:19) TIMER_START{ServletResolution}
          1 (2013-02-21 17:38:19) TIMER_START{resolveServlet(JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27)}
          1 (2013-02-21 17:38:19) TIMER_END{0,resolveServlet(JcrNodeResource, type=sling:Folder, superType=null, path=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/136144848 0595_27)} Using servlet org.apache.sling.servlets.get.DefaultGetServlet
          1 (2013-02-21 17:38:19) TIMER_END{0,ServletResolution} URI=/content/usergenerated/mywebsite/en/products/product12/cq-gen1361441037192/1361448480 595_27.html handled by Servlet=org.apache.sling.servlets.get.DefaultGetServlet
          1 (2013-02-21 17:38:19) LOG Applying Requestfilters
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter
          1 (2013-02-21 17:38:19) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter
          1 (2013-02-21 17:38:19) LOG Applying Componentfilters
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter
          1 (2013-02-21 17:38:19) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter
          1 (2013-02-21 17:38:19) TIMER_START{org.apache.sling.servlets.get.DefaultGetServlet#0}
          1 (2013-02-21 17:38:19) LOG No renderer for extension html
          1 (2013-02-21 17:38:19) LOG Applying Error filters
          1 (2013-02-21 17:38:19) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter
          1 (2013-02-21 17:38:19) TIMER_START{handleError:status=404}
          1 (2013-02-21 17:38:19) TIMER_END{0,handleError:status=404} Using handler /libs/sling/servlet/errorhandler/404.jsp
          2 (2013-02-21 17:38:19) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@88fc5d1), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@170420bb), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@1000e0cb), serializer=Config(type=htmlwriter, config={}))}
          2 (2013-02-21 17:38:19) TIMER_END{2,Request Processing} Dumping SlingRequestProgressTracker Entries
    ApacheSling/2.2 (Day-Servlet-Engine/4.1.24, Java HotSpot(TM) 64-Bit Server VM 1.7.0_07, Windows 7 6.1 amd64)

    Hi chamila,
        I never tried the example. Exception is not clear. Could you please post more stack trace from log files.
    Thanks,
    Sham

  • Refresh document call in RESTful workflow is taking long time.

    Hi,
    I am facing an issue with the Refresh Document step, in Raylight Workflow using RESTful API.
    We are using this Refresh Document call, To make the dataprovider mappings formed.
    For few WEBI documents, this Refresh document step is taking much time to complete. After some investigation, we got to know that there are a series of SQL scripts running against actual data source, for each Refresh Document call. If the SQL script is taking much time, then the refresh document call is taking much time as well.
    Up to now, we are able to solve this problem in some cases, Like below.
    1. For a WEBI Document with Contexts to Answers during Refresh Document:
    Ex:
    Method: PUT
    URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
    Request Body: (setting default Context)
    <parameters>
      <parameter>
        <id>3</id>
        <answer>
          <values>
            <value id="4">Context1</value>
          </values>
        </answer>
      </parameter>
    </parameters>
    Result: Success (No Time out Exception)
    2. For a WEBI Document with some prompts to Answers during Refresh Document:
    Ex:
    Method: PUT
    URI: http://localhost:6405/biprws/raylight/v1/documents/1111/parameters
    Request Body: (With Some Dummy Values)
    <parameters>
      <parameter type="prompt" optional="true">
        <id>1</id>
        <answer type="Text">
          <values>
            <value id="1">Dummy Text</value>
          </values>
        </answer>
      </parameter>
      <parameter type="prompt" optional="true">
        <id>3</id>
        <answer type="Numeric">
          <values>
            <value id="1">0</value>
          </values>
        </answer>
      </parameter>
    </parameters>
    Result: Success (No Time out Exception)
    3. For a WEBI Document with No prompts and No Contexts to Answers during Refresh Document:
    Ex:
    Method: PUT
    Request Body: (Empty)
    Result: Time Out Exception (from my C# code)
    Only In this scenario (3) i am facing issue, As I have no answers to set any default values to Parameters. So the SQL scripts are executing. Due to this, if there is any time taking scripts, then the Refresh document step is taking much time or even throwing Time out exception from my C# code. I tried by increasing the timeout for WebRequest in C#, But still not solved.
    For creation of a WEBI document, Can we skip the SQL scripts, running in Refresh Document API call?
    If yes, then please let me know your valuable ideas to solve my problem.
    Please let me know for more information.
    Thanks in advance.
    Thanks,
    Mahendra

    Hi Anthony,
    Yes, I tried creating same WEBI Document using Web Intelligence Rich Client and also using Web Intelligence from BI Launch Pad.
    On both WEBI Clients I am able to create the same WEBI Document, which I am trying to create using RESTful API.
    My observations are like below:
    Observation 1: After selecting required Result Objects/columns in Query Panel, by clicking on Close -> Apply Changes and Close button, I can create the WEBI Document and Save it successfully.
    Observation 2: After selecting required Result Objects/columns in Query panel, If I click on Run Query, It is taking much time to bring fresh data.
    Just like in my first observation, I am only looking for creating WEBI Documents successfully, without bringing fresh data. It is enough for me, If I can create the WEBI documents from RESTful API successfully. Here I am not looking for any fresh data from this Refresh Document step, except the dataprovider mappings.
    As mentioned in my previous reply, Without dataprovider mappings, we are unable update Report Specification. For this, to make the dataprovider mappings formed, we are using this Refresh Document step, After updating dataprovider specification
    Is this Refresh Document call required in Workflow?
    Please suggest me if any other REST API Call, that I can use to get the dataprovider mappings formed, other than Refresh Document step.
    Thanks in advance. Currect me if I am wrong.
    Thanks,
    Mahendra

  • Use of Return and Notify_url variables offered by PayPal

    I have been integrating PayPal into my application (ASP NET MVC) where I made some analysis about PayPal (went through their documentation about the integration). Created a PayPal sandbox account and can transfer the amount.What I want to know is about the `return` and `notify_url` variables. I have enabled `auto return` in my account and also enabled `PDT`. My form variable is like this:<input type="hidden" name="notify_url" value="http://localhost:xxx/xx/Notify">
    <input type="hidden" name="return" value="http://localhost:xx/xx/Return">As I have surfed in net, what they state about `Return` and `notify_url` is:> The "return" URL to which PayPal redirects buyers’ browser after they complete their payments. For example, specify a URL on your site that displays a “Thank you for your payment” page. Default is nothing is specified – PayPal redirects the browser to a PayPal webpage. Note, you must have "Auto Return" enabled in your Account Profile settings in order for this variable to work.
    >PayPal returns data back to your site via what they call IPN. Its really just a callback to a URL you specify. You can set this URL via the variable `notify_url` you can send to PayPal.From the above quotes what I understand is that PayPal will post `IPN` variables to `notify action` once the payment done before auto redirecting to the page I set (I mean customer may go the application page or they may close the session).But only return action alone hitting not the `Notify_url`.Correct me if I misunderstood the concept and let me know if it was still Unclear.

    Yes, it's not present in the code I have posted but I have tried this as well.
    It didn't work, as expected, because soap/axis is on top of http and not https and because my proxy uses http as well (or at least that's what I have learned so far).
    In fact, I have tried all combinations between http.\*, https.\*, and Authenticator without success.
    I think the problem is more soap/axis related. The solution for axis2 seems somewhat 'trivial' (and well explained over the web) while it's not for axis1.
    Regards
    Rob
    Edited by: RobR on Nov 29, 2007 4:37 AM
    Edited by: RobR on Nov 29, 2007 9:56 AM

  • Error in while calling a Soap Adapter using the UDF

    hi,
    i am trying to make a call to Soap Adapter using a UDF.
    The code of the UDF is as follows :
    InputStream isPayloadStream = null;
    AbstractTrace trace= container.getTrace();
    String sService="Business Component";
    String sChannelName="Soap Channel(Sender)";
    SystemAccessor accessor=null;
    trace.addInfo("entered UDF");
    StringBuffer sb = new StringBuffer(" ");
    trace.addInfo("creating the reference file");
    sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
    sb.append("<ns0:MT_123082_UDF xmlns:ns0=\"http//infosys.com/pi/projects/png/n1\">\n");
    sb.append("<INTERCHANGECONTRLNOS>" + var1 + "</INTERCHANGECONTRLNOS>");
    sb.append("<PGPARTNERID>"var2"</PGPARTNERID>""\n""</ns0:MT_123082_UDF>");
    trace.addInfo("trigerring the SOAP channel ");
    try{
    Channel channel = LookupService.getChannel(sService,sChannelName);
    accessor = LookupService.getSystemAccessor(channel);
    isPayloadStream = new ByteArrayInputStream((sb.toString()).getBytes());
    trace.addInfo("creating the xml payload ");
    XmlPayload payload = LookupService.getXmlPayload(isPayloadStream);
    Payload result=accessor.call(payload);
    catch (Exception e){
    trace.addInfo(e.getMessage());
    finally{
    if ( accessor !=null) {
    accessor.close();
    return " ";
    The above code is throwing an error while end to end testing.
    the scenario is such,while graphical mapping a UDF will be used, which will create an Xml payload, and send this payload to another SOAP to file scenario.
    The error in the sxmb_moni is:  "Error when calling an adapter by using the communication channel CC_123085_UDF_SOAP_OUT (Party: , Service: BC_123082_REMADV_D96A, Object ID: fa9c6ee15efc30c68ec34b08034d87d1) XI AF API call failed. Module exception: 'failed to set up the channel fa9c6ee15efc30c68ec34b08034d87d1'. Cause Exception: 'Channel stopped by administrative task.'."
    Please can anyone suggest how this error can be rectified.
    regards,
    Meenakshi

    Hi,
    i have checked the communication channel and the XML. The following error occurs everytime i try to run the scenario.
    Error:
    Error when calling an adapter by using the communication channel CC_123082_UDFRECEIVER_SOAP_IN (Party: , Service: BC_123082_REMADV_D96A, Object ID: 2a895589066d30d4b2686e9d3a8d4c8d) XI AF API call failed. Module exception: 'SOAP Error'. Cause Exception: 'SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 400 Bad Request'
    Please let me know how this error can be resolved.
    Regards,
    Meenakshi

  • Problems with BPEL API calling a BPEL workflow

    Hallo,
    i have copied my text from the Application-Server forum to this forum becouse here it is a better place for my problem.
    I have a problem with the BPEL API. I try to invoke a BPEL workflow with the BPEL API. Up to the Point where i call the BPEL workflow with the command "deliveryService.post(processName, action, nm);".
    When this command is processed i following error:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    It looks like i am missing a jar file, but in my Development tool an at the compilation i get no errors or warnings. Only when command above is called.
    The initialization of the deliveryService works fine.
    The only point i can image an error is at the definition of the jndi for the remote connection to BPEL. There i have following entry's:
    jndiProviderUrl = "http:ormi://server:port:instance/orabpel";
    jndiFactory = "oracle.j2ee.rmi.RMIInitialContextFactory";
    jndiUsername = "xxx";
    jndiPassword = "yyy";
    I get folowing errror message:
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
    at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
    at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
    at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone tell me what i am doing wrong?
    BS
    PS: i used following tutorial to create my code for calling BPEL:
    http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf

    got some steps more ... but now i havent any clue. Out of this message i think my ProviderURL is wrong. but i try this both and got always the same error message.
    jndiProviderUrl = "opnm:ormi://amy:6003/orabpel"
    jndiProviderUrl = "opnm:ormi://amy:6003:oc4j_soa/orabpel"
    java.lang.Exception: Erstellen von "ejb/collaxa/system/DeliveryBean"-Bean nicht erfolgreich. Es wurde folgende Exception gemeldet: "javax.naming.NamingException: Invalid provider URL
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:80)
         at com.evermind.server.rmi.RMILocation.createRMILocation(RMILocation.java:57)
         at com.evermind.server.rmi.RMIClient.getLocations(RMIClient.java:661)
         at com.evermind.server.rmi.RMIClient.getDomain(RMIClient.java:640)
         at com.evermind.server.rmi.RMIClient.getContext(RMIClient.java:534)
         at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:44)
         at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:277)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
         at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:149)
    Please can someone help me?
    What is wrong wis my ProviderURL?
    BS

  • How to test workflow using eCATT?

    Hi,
    Is there any method to test workflow using eCATT?
    SS

    Hi. What have you done so far, and what are your conclusions based on what you have examined and found out? I wouldn't want to tell you things you already know.
    <b>Spending 10 minutes more asking the question initially can save you a day in solving the problem.</b> See the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/communityguidelines">Community Guidelines</a> for information about how you should ask a question (the section called Forum Rules of Engagement) to increase the likelihood of getting the best answers - that in turn will solve your problem sooner. Spending 10 minutes more asking the question initially can save you a day in solving the problem.

Maybe you are looking for