Issue with 'SAVE AS' RESTful service call in 4.1 SP5 ?

Hello Everyone,
I'm facing an issue when trying to save a webi document into another folder using 'SAVE AS' RESTful call, it's giving 500 Internal server error  (through AZOT & RESTClient)
Following are details:
We are on to BusinessObjects version 4.1 SP5. In the AZOT workflow, I have created a new document and in the next call I'm trying to save this newly created document into another folder, then this is error is observed.
RESTful service URL:- [POST] : /documents/{docId}
Request Body:
                         <document>
                            <name>Testing SAVE AS</name>
                            <folderId>219060</folderId>
                        </document>
Response:
Can anyone help me with this ?
Thanks,
Ram

Hello,
Thanks for your prompt replies.
@Saritha:
1. On new document Save call is giving message as "NOT Modified", as i didn't perform any actions.So Yes, I'm able to perform SAVE.
2. Yes, I have performed other operations like creating a Report.
@Eric: 3. Yes, the folder which I'm trying to save is writable for the user.
My Observation: When I'm trying to 'SAVE AS' on new document its giving 500 error as I said earlier.
1. But, after creating new document, I created a new Report for that document, then 'SAVE AS' working. That means after performing some action/modifying the document 'SAVE AS'  is working for me.
2. Same issue(500 error) observed when trying to perform 'SAVE AS' call on the EXISTING document as well (which is create in BI Launchpad, refreshing and working fine).
So, is it mandatory to perform any action (which brings the document to Modify mode [i guess]) before this 'SAVE AS' call ?
Thanks,
Ram

Similar Messages

  • Issue with making multiple web service calls without ccBPM

    I have an issue -
    Sync call from ECC -> check global param if EMPTY
                                    -> if NOT EMPTY call Web service 1
                                         -> parse the return value
                                         -> call Web Service 3 ( pass the value from global param in the SOAP header to WS3)
                                         -> pass the return value back to ECC
                                   -> if EMPTY call Web Service 2
                                        -> parse the return value
                                        -> call Web Service 3 ( pass the value from WS2 in the SOAP header to WS3)
                                        -> pass the return value back to ECC
    Is it possible to design this scenario without using ccBPM? To start with, I can always read the global parameter but cannot find a way to read the response from WS1 or WS2 and pass it to WS3 without a ccBPM. Even if I use a ccBPM I still have the issue of passing the value (either global param or WS2 return val) in the SOAP Header to WS3.
    If I open a S/A bridge, all the subsequent WS calls are converted to async calls. Not sure how that will work out.
    For the last step, looks like I might have to manually build the data types without using the WSDL (XML SOAP envelope rather than a WSDL) to generate the Service Interface to prevent the Adapter from building the envelope. Is there any other way that I havent investigated?
    Any suggestions ?
    Thanks
    Sridhar
    Any suggestions ? Please advice.

    I guess the indentations got messed up.
    I have an issue -
    Sync call from ECC -> check global param if EMPTY
                                   -> if NOT EMPTY call Web service 1
                                       BEGIN
                                         -> parse the return value
                                         -> call Web Service 3 ( pass the value from global param in the SOAP header to WS3)
                                         -> pass the return value back to ECC
                                        END
                                   -> if EMPTY call Web Service 2
                                       BEGIN
                                        -> parse the return value
                                        -> call Web Service 3 ( pass the value from WS2 in the SOAP header to WS3)
                                        -> pass the return value back to ECC
                                        END

  • Syncing an E-Mail with OI to a service call

    We use the OI-Addon very much in our company and are quite happy with it except one thing: you cannot connect an e-mail with OI to a service call or create one in OI.
    When you click on 'Save E-Mail as Activity' on the second tab you can choose from a list to which item the activity shall be connected to; from this list you can select almost everything (Invoices, Delievery Notes,... but also Articles etc.), but not service calls.
    Since we get many e-mails concerning service calls it would be a great feature to be able to connect the e-mails to the service call directly with OI - could this be realised in one of the next PL?
    It also would be great if there was a possibility to create a new service call via OI, e.g. like creating a new contactperson.
    Thank you & best regards
    Peter Zschech
    Edited by: Peter Zschech on May 18, 2009 3:56 PM
    No one out there with the same issue?

    Absolutely same issue!!. This is one of the major links to using SBO in a Support / HelpDesk environment - By Service Call / By BP.
    In general the OI can be extended in many ways to be much more powerful than just copying info to be visible in either Outlook or SBO.

  • Photoshop batch production - issues with 'save for web'

    Hi,
    I'm having an issue with 'save for web' on a batch. I've just spent the last 2 hours searching the web and this forum and although the issue gets touched upon, the threads either suddenly head off in another direction, end, or i just struggle to make sense of the answers given.
    I have 350 images that i want to resize to thumbnails and then save for web. 2 hours ago this seemed like a 5 minute job.
    I creat an action called 'batch_thumbnail' and press 'Record'.
    I then select 'File' > 'Open' and select an image to open using the dialog box.
    I then select 'Image' > 'Image Size' and resize the image to the thumbnail size (200 x 125) and press 'OK'.
    I then select 'File' > 'Save for Web and Devices', set my optimisation settings and press 'save'.
    Using the dialog box that pops up, i navigate to a pre-created directory called 'thumbs' and press 'save'.
    I then select 'File' > 'Close' and on the dialog box that pops up i select 'Don't Save'.
    I then stop the action from recording.
    So far so good.
    I then select 'File' > 'Automate' > 'Batch...' and the dialog box appears.
    I select my action in the 'Action' drop down menu.
    In 'Source' i set the drop down menu to 'Folder', select 'Choose' and select the target directory with my 350 images in.
    In 'Destination' i set the drop down menu to 'Folder', select 'Choose' and select the target directory (thumbs), where i wish to save the thumbs.
    In 'File Naming' i leave the first box as 'document name', set the second to '_thumb' and have the third as 'extension'.
    I then click 'OK'.
    And this is where the problem begins. Everything works fine till it trys to save the second image. I can see what's happening, as the directory path and image name that are used whilst setting up the SFW part of the action, are getting hardcoded into the action. So every resulting image is being saved as the same file, instead of being overriden by the settings in 'File Naming'.
    I've tried selecting 'Override action 'Save' command', but it doesn't make any difference. Is it actually possible to batch produce files using 'Save for Web and Devices'?
    Cheers,
    James

    I have written a couple of Save For Web batch processors, they may be of use to you?
    They can both resize and run an action if required.
    CS2-CS3 http://www.ps-scripts.com/bb/viewtopic.php?t=2374
    CS4 http://www.ps-scripts.com/bb/viewtopic.php?t=2276 (This handles metadata)

  • I  have an issue with speaker/microphone. when i call or i  recive a call the person on the other side can not hear me.

    i  have an issue with speaker/microphone. when i call or i  recive a call the person on the other side can not hear me.

    Hello aalapdesai112,
    Lets see if we can get you back to taking calls normally again. Start your troubleshooting with the article below and go through checking to making sure that you are up to date with your iOS as well as a simple restart on your iPhone. 
    If your voice is too faint or sounds unclear using iPhone, or iPod touch
    http://support.apple.com/en-us/HT203792
    Regards,
    -Norm G. 

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

  • How to authenticate with Sharepoint using rest service and jquery

    Hi ,
    I have a requirement where i need to authenticate with  sharepoint from ios and android app using rest services and jquery.
    Can anyone help me in this .
    Thanks in Advance.
    Regards,
    Srinath 

    Hi,
    According to your post, my understanding is that you want to access SharePoint data from IOS and Android app.
    The following materials for your reference:
    How can I authenticate SharePoint REST calls from Android App?
    http://stackoverflow.com/questions/24673373/how-can-i-authenticate-sharepoint-rest-calls-from-android-app
    Calling RESTful services from your Android app
    http://www.techrepublic.com/blog/software-engineer/calling-restful-services-from-your-android-app/
    SharePoint 2013 REST API in iOS
    http://omicron-llama.co.uk/2012/12/13/sharepoint-2013-rest-api-in-ios/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Issue with SSL in web service.

    Hi All,
    We are having synchronous web service to proxy scenario in XI. We are trying to send a binary data using the SOAP web service to SAP via XI. Initially, we were posting large binary data using HTTP connection via XI from the SOAP client. The scenario was working without any issues.
    Since the data is sensitive changed the web service from HTTP to HTTPS.The interface works without issues when we test it using the SOAP client for testing. When the data is sent using the Dot Net application (the end application) using the same webservice, URL (HTTPS connection) the message errors out. The connection is borken and the message fails. In this scenario, XI does not even receive the message which I can make out looking into the SOAP adapter communication channel.
    The interesting fact here is the same  Dot Net application is able to connect and send smaller binary data using HTTPS connection.
    Could you please let us know if this could be the issue with HTTPS connection on XI side? I doubt it to be an issue on XI side because the adapter does not even receive any message when the scenario fails. But we used some HTTPS monitoring tools and found that the Dot Net Application receives some encrypted response from the server which the application is not able to decrypt and the handshake breaks.
    Could you please throw some inputs into this issue.
    Thanks,
    Manohar.

    Hi Manohar
    You have posted the same question with two different subject text
    anyway follow these SAP notes your problem will be short out
    Note 856597 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 SOAP Adapter
    https://websmp102.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=856597&_NLANG=E
    Note 856599 - FAQ: XI 3.0 / PI 7.0 / PI 7.1 Mail Adapter
    https://websmp102.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=856599&_NLANG=E
    Note 870845 - XI 3.0 SOAP adapter SSL client certificate problem
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=916664&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=870845&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    check the OSS Note 554174 & see if it helps
    Note 645357 - SAPHTTP: SSL error
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=645357&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1150980&nlang=EN&smpsrv=https%3a%2f%2fwebsmp102%2esap-ag%2ede
    one alternative may be Restart ICM (Internet Communication Manager) .This will solve your HTTP issue
    Cheers!!!!
    Regards
    sandeep
    if helpful kindly reward points

  • Issue with PO change output - Service line items

    Hi All,
    This is issue with PO change output. We have PO with line item 10, 20 and item 10 has 4 service line items. PO is approved and initial print out is taken.
    Some one goes and makes changes to 1st service line items of PO line item 10.
    A change output gets triggered. When this output is printed, it prints line item 10 details. This is standard functionality as this item is changed. But its printing all the service line items for this PO line item. Consider a case where there are 3000 service lines for a PO item. If I add 1 service item to this PO line item, the change form prints 3001 services for that line item. There were no changes done to first 3000 service line items.
    Currently PO change form takes care of changes at PO line item but it does not take care of changes at service line item level.
    Is there any setting that needs to be done for this so that it only considers the changes at Service line item level also.
    Regards,
    Shahu

    If you're using a standard form, send a message to SAP. Otherwise make a change in the form.

  • Issue with SaveAs PDF using XSLFOP

    Hi, We have been using SaveAs method to generate PDF files using XSLFOP technique successfully, however, recently we ran into an issue where a very large report (about 100+ pages) generated a PDF file that could not be opened. We get the following error when we try to open the PDF file. “There was an error opening this document. The file is damaged and could not be repaired.” We tried it again with lesser range of dates and the proper PDF file is generated. (Report was about 35 pages). So we think it has something to do with the large volume of data which is causing the SaveAs method to generate the corrupt PDF file. Any help will be much appreciated !! Note : In the same folder where we have the EXE,PBD and DLLs, we have two subfolders fop-0.20.5 and jre. Thanks, Chirag Vora

    Hello Chirag,
    We submitted this problem to engineering 10 years ago with PowerBuilder 9 !!!
    It appears to be a problem with the FOP processor which needs a large amount of memory to complete the task. You can find similar issues with other tools than PowerBuilder:
    The oXygen-user October 2003 Archive by thread
    As a workaround, you can save the data in XSL-FO format within PowerBuilder, then use the fop.bat file in the \Shared\PowerBuilder\fop-0.20.4\ folder to convert it from outside PB.
    This will still give you the memory error until you modify the batch file to increase the maximum heapsize for java.
    In the fop.bat file change the java start command to : java -Xms64m -Xmx256m ...
    The option -Xms definies the initial heapsize for the java engine and -Xmx the maximum heapsize.
    We believe the default maximum heap is 64MB and this is what it is running into (or running out).
    Setting it to 256MB with -Xmx and it was able to complete
    HTH,
    Jacob

  • Problem with BPC 10 REST SERVICE. (Write-Back  BAdI)

    Hello!
    We have implemented a Write-Back BAdI order to write values ​​to a parent and copy those values ​​to their children in the hierarchy. Proper operation.
    Then through the Default Logic we are making various calculations (many to be honest), based on the data recorded with the Write-Back BADI.
    The problem arises when we try to write in a parent hierarchy with many children.
    We receive the following message in Excel.
    We have configured the service as follows
    The transaction st22 says nothing about our problem.
    If I go to log the EPM Add-in for Excel see the following. A problem with REST service (I think that is the PROBLEM)
    Write-Back BAdI writes values properly.
    Thank you!

    Thanks for answering.
    Yes, if I try to write in a parent without Default.lgf there is no problem. I performed the test to the parent node of all hierachy.
    I send the Default.lgf and the others scripts .
    I think the problem is that the communication between BPC and Netweaver is lost, which is done through the REST service??
    thank you very much.

  • Issue with a "perform in program" call.

    I am trying to do a call to a form in a zprogram. This call is being done inside an enhancement.  The reason for this is because I can't delcare forms in the enhancement.  Below is the issue:
    The parameters I am trying to pass are typed as follows (in the SAP enhancement - SAP code):
    types: begin of mrm_rbkpv.
            include structure rbkp_v.
    types: begin of mmcr_drseg.
            include structure drseg.
    types: mmcr_tdrseg type mmcr_drseg occurs 0.
    I have the following as the call to the form and the form declaration:
    PERFORM cancel_ret IN PROGRAM zcancel_retention USING e_trbkpv e_tdrseg[].
    FORM cancel_ret  USING p_tdrseg TYPE rbkp_v
                          it_tdrseG TYPE J_1IDRSEG.
    I am getting a run-time error saying:
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
         not caught in
        procedure "EXIT_SAPLMRMP_010" "(FUNCTION)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        Call to FORM "CANCEL_RET" is incorrect:
        The actual parameter no. 1 has a different data type in the
        PERFORM than requested for the FORM "CANCEL_RET" in program
         "ZCANCEL_RETENTION".
    This is telling me that the system doesn't see  e_trbkpv being the same type as  p_tdrseg.  However, I can't see why they aren't the same time.  I also assume I will have the issue with the second parameter.  The table type (in my opinion) J_1IDRSEG should be the same type as mmcr_drseg.
    Any ideas?  The enhancement I am using is EXIT_SAPLMRMP_010 (LMR1M001).
    Regards,
    Aaron
    Edited by: Aaron Shover on Apr 11, 2009 7:21 PM

    >
    Aaron Shover wrote:
    > OK, Aditya, I added another type pool to my program and I can now use the same type that SAP is using.
    >
    > Thanks for pointing out the [obvious] solution that I was overlooking!
    >
    > Aaron
    Aaron, I was not aware of the type pools as mentioned I don't have access to the system at the moment. But type pool has type declarations as well, so what I meant was pulling out the 2 declarations that you need into your Z program could have solved the problem :). Which will happen now since you've included the type pools.
    Anyways good to know that you problem is solved.
    Cheers,
    Advait

  • Issues With Save For Web CS6

    I'm having some issues with my file when trying to Save For Web. A band of transparency appears above my image even though I have everything cropped to the artboard, and the artboard is exactly the size I want the final image to be. If I uncheck "Clip to Artboard" the band of transparency disappears from the top, but reappears on the right side. It seems as if the artboard area is calculated differently in the Save For Web screen; its slightly off. I've included some images so you can see the issue.
    Trying to save for web as a .png with "Clip To Artboard" selected; a tiny (one pixel tall?) band of transparency on the top of the image.
    Trying to save for web as a .png without "Clip To Artboard" selected; the image seems to shift and the band of transparency appears on the right size. Also some of the pieces of the image appear on the bottom outside of the artboard.
    I made sure to crop each element of my image to fit exactly on the artboard. Previously, I had made sure to use a clipping mask exactly the size of the artboard and still had these issues. I would like my .png to not have a band of transparency. It has the same issue when I change it to .jpg, but instead has a white matte band. What am I doing wrong, or is this just an issue with Illustrator? Thanks in advance!

    Depending on your use of the image in context, won't the transparent strip "disappear?"
    The only solution I know is to open it in Photoshop and manually crop out the transparent strip. AI or Save for Web also seems to antialias the edge of free-standing art over a transparent background. I just make the artwork slightly larger than the final cropped size, save for web, then crop in Photoshop.

  • HTTP Adaptor for RESTful service calls -- Proxy Settings?

    Hi Guys,
    I have successfully configured an HTTP Adaptor on my Access Server, imported a REST service function, set up DTDs etc etc all ok.
    Now, when it comes to calling this function in a data-flow, the run of the job just times out while calling the function. I have tried this via another route and this time-out occured their too until I entered my proxy server login details.
    I am assuming I need to do this for the HTTP Adaptor but there is no parameter/setting around for me to do this.
    Could you please tell me how I can get my proxy settings in place for the HTTP call? If the solution involves the "axis2" file, please could you give me clear/step-by-step instructions on how to use this and deploy it as that area is all new to me.
    Thanks very much for any help.
    Flip.

    you can set the proxy server details in the Additional JVM Arguments of the HTTP Adapter Configuration using the following syntax. Add this to existing memory setting args
    -Dhttp.proxyHost=<enter proxyserver name> -Dhttp.proxyPort=<enter proxy port>
    have no idea how to specify the credentials, not sure if that can be done using Java arguments, if you are on windows try running the Jobservice under named user, and see if it works

  • REST Service call in Studio

    Hi,
    I am trying to consume a web service call (from hybris) in a script file in Studio. I have created the communication arrangement, scenario and even tested the arrangement's connection ping and it was successful. My code as shown below:
    var URLParameter : collectionof NameAndValue;
    var headerParam : collectionof NameAndValue; //
    var URLParameterEntry : NameAndValue;
    //XX.XXX.XX.XXX:9001/ws410/rest/catalogs/powertoolsProductCatalog/catalogversions/Online/products/2116275
    URLParameterEntry.Name = "products";
    URLParameterEntry.Value = "2116275";
    //URLParameter.Add(URLParameterEntry);
    var httpResource = "powertoolsProductCatalog/catalogversions/Online/products/";
    httpResource = httpResource + "2116275";
    var httpMethod = "PUT";
    var body = "<product code=\"2116275\"><catalogVersion version=\"Online\"><catalog id=\"powertoolsProductCatalog\"/></catalogVersion><name>Prashanth</name></product>";
    var httpformat = "text/xml; charset=UTF-8";
    var result =    WebServiceUtilities.ExecuteRESTService("CloudhybrisProdUpdate","CloudhybrisProdupdate",httpMethod,httpResource,URLParameter,headerParam,httpformat,body);
    var position = result.Content;
    var res = result.RequestURL;
    var resp = result.HeaderParameters;
    in this code, instead of PUT method, if I pass "GET", I am getting the response. However, for "PUT" the result variable is completely blank. Please can you help?

    Hi,
    Please refer the post below may be this will helpful to you:
    Using function WebServiceUtilities.ExecuteRESTService()
    OAuth Authorization for REST webservice
    Using POST method in REST mashup webservice
    Regards,
    Mithun

Maybe you are looking for