Issue Using Remote Object services

I have three projects 'Main','project 1','project 2'. 'Main'
is a FDS project and the rest are 'basic' projects whose ouput
points to the corresponding folder in 'Main'. This setup exists on
the company development server as well as on my local machine.
Since yesterday I have been facing issues connecting to
JavaObjects from flex on my localhost. I have checked out the
source code from the dev server ,so it's same code on both local
machine and the server. Inspite of that I have been having problems
and getting exceptions.
My question is how does the web-inf or any of its files[maybe
some config.xml file] differ when you are executing the fds project
on your local machine and on the server? Since the java team
changes thing frequently we keep picking up the latest copy of
Web-INF.
Any advise is much appreciated.Thanks.

Hello Vikas
The document has to be uploaded to the <b>BDS </b>(Business Document Service).
I will give you an example how I did this:
1. Create business object 'ZREPORT'.  " for attaching documents to reports
2. Call transaction <b>OAER </b>(Business Document Service) with the following parameters:
    - Class name = 'ZREPORT' (my business object)
    - Class type  = 'BO' (business object)
    - Objekt key  = leave empty or enter name of report (if empty, a popup appears)
    - Storage system = 'BDS_DB' (seemed a good choice to me)
3. Execute
4. In the BDS choose tabstrip "<b>Create</b>" (lower left part of screen). Right-click on the <i>Word document icon </i>and choose<i> Import File</i> from the context menu.
As soon as you have uploaded your Word document it is visible in your business object (attachment list). When you display the attachment list and right-click on the document you can directly open it in the BDS.
Regards
  Uwe

Similar Messages

  • How to use Generic Object Services(GOS) for each table control record.

    Dear Expert,
                       I am using generic object services for document attachment but i am facing a problem while attaching document to a table control row. my requirement is to attach separate document for each and every row of table control but  i am unable to attach document row wise of the table control.for each row GOS should display corresponding attached document not all the attached document.
    Thanks in Advanced
    Bhuwan Tiwari
    Edited by: BHUWAN TIWARI on Feb 8, 2011 4:16 PM
    Edited by: BHUWAN TIWARI on Feb 8, 2011 4:16 PM

    You haven't explained what object and object key you're using, nor have you provided any indication of how you implemented the GOS attachment functionality.  You need to provide more information to resolve an issue like this.

  • Attach doc from external content server- using Generic Object Service (GOS)

    Dear All,
    i have intergrated an external content server to SAP using SAP archive link. All the scanned document are there in Content server and corresponding entries are done in SAP.I can search and view document using tcode : OAAD
    Please tell me steps for "how to attach a document from external content server using Generic Object Service "
    Scenario is :  For example when we change any Master records or create a new PO, or do some financial transaction then i need to attach the supporting document which is there in my content server connected  to SAP.how do we manual attach a Document in SAP using GOS.
    Do we need to do some special configuration to use GOS .please give the steps from initial.
    Thanks
    sandeep

    Hello,
    Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
    Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
    This will help in attaching the document to your required business document.
    To verify you can check the archivelink table or by transaction OAAD.
    Hope this will help you.
    -Thanks,
    Ajay

  • How to attach document using Generic Object Service

    Hi all,
    How can i create attachment to the parked invoice using Generic Object services? i want function modules which are used to do it.
    Actually I want to do this from the business object method. I am having word document as one of the workitem step. once i get this document I need to attach this document to the parked invoice so that users can see that document by view object list.
    Its urgent.
    thanks.

    Hello,
    Check your configuration of document type assignement to required business document - object type, Archivelink table, content repository in OAC3 transaction.
    Goto respective business document > Click on GOS > Create > Store business document - Here you can see defined document type with desctiption. Double click on this the assign your document to this business document. Save it.
    This will help in attaching the document to your required business document.
    To verify you can check the archivelink table or by transaction OAAD.
    Hope this will help you.
    -Thanks,
    Ajay

  • Attach Documents using Generic Object Services

    With reference to Manual Bassani's SDN Contribution of code examples on how to attach documents using Generic Object Services - we have found that since implementing ECC 6 the following code no longer works (at the end of page 9):
    CALL CREATE ATTACHMENT SERVICE FROM TOOLBAR
    WHEN 'ATTACH'.
    CALL METHOD MANAGER->START_SERVICE_DIRECT
    EXPORTING
    IP_SERVICE = 'CREATE_ATTA'
    IS_OBJECT = OBJ
    EXCEPTIONS
    NO_OBJECT = 1
    OBJECT_INVALID = 2
    EXECUTION_FAILED = 3
    OTHERS = 4.
    It is necessary to use IP_SERVICE = 'PCATTA_CREA' to get this to function correctly.
    The original document can be found at [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3]

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • How to trigger a workflow using generic object services?

    Hi Experts,
    Let me know on how to trigger a workflow using generic object services.
    My requirement is to trigger the FI document reversal document using Object services.
    Any info or docs relevant to this, please share with me..
    Thanks,
    Dinesh.

    Dinesh,
    First of you need to check if the transaction has a BO (in released status) published to use the GOS.
    These are the pre-requisites for GOS
    http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm
    Once done.. check that you have valid workflow linkages active for this BO.
    Now when you click on the 'start workflow' the system will show all relevant workflows for the BO to choose from and to start.

  • I can't use remote object in Flex to save an image to the server.

    I have a situation where I can't use remote object in Flex to save an image to the server.
    Could someone help me with an alterntaive?
    private function doSave():void {
                    var bd:BitmapData = new BitmapData(canvas.width,canvas.height);
                    var pe:PNGEncoder = new PNGEncoder;
                    bd.draw(canvas);
                    var ba:ByteArray = pe.encode(bd);
                    myService.doUpload(ba,sIP);
        <cffunction name="doUpload" displayname="Save Signature" hint="Saves a PNG Signature" access="remote" output="false" returntype="any">
            <cfargument name="sigbytes" required="true" type="binary">
            <cfargument name="ip_suffix" required="true" type="string">
            <cfset myUUID =  RandomString('ABCDEFGHIJKLMNOPQRSTUVWXYZ',15)>
            <cfset name = expandPath("converted_pngs/signature_#arguments.ip_suffix#_#myUUID#.png")>
            <cffile action="write" file="#name#" output="#arguments.sigbytes#" />
        <cfset SigFileName = "#arguments.ip_suffix#_#myUUID#">
            <cfreturn SigFileName />
        </cffunction>

    Try assigning binary arg to <cfimage/> then save.

  • Adobe Acrobat X on Server 2003 (using remote desktop services)

    Hi guys,
    I need to purchase a copy of Adobe Acrobat for Windows Server 2003 for use in Microsoft Dynamics GP 2010, as well as everyday Acobat read/write tasks. There will be about 4 or 5 simultaneous users connecting to the server using RDP (via Windows Vista and 7).
    My question is, will a single copy of Adobe Acrobat X Standard suffice or work properly on Windows Server 2003 for all users?
    I can't seem to find any information on Adobe Acrobat X and terminal services (or Remote Desktop Services).
    Hope I've made sense, and any help will be appreciated
    Thanks
    -Rhydz

    Hi,
    What Word prompts when user attempts to login with the original account? Any error messages?
    Since the feature will work if you create a new account, have you ever compared the property of these two accounts? Maybe the security or permission setting during the creation process?
    We lack testing environment here for this kind of issues, and we have another dedicated support teams in
    Microsoft Office 365 Community. I would suggest you to post there, where you can get more experienced responses:
    http://community.office365.com/en-us/f/default.aspx
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Thanks,
    Ethan Hua CHN
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Weblogic 10.3.0 issues with remote object calls.

    All:
    I was wondering if anyone has experienced any issues with Weblogic 10.3.0 dropping initial remote object calls over AMF Secure Channel. Here are the issues we are experiencing.
    1.     FLEX applications fail consistently on the first remote object call made across the AMF Secure Channel. Resulting in the request not returning from the application server; which has had varying affects on the different applications including missing data, application freeze and general degrading of the user experience.
    2.     FLEX applications require a browser/application refresh once the application has been inactive for a certain period of time. In our experiences the behavior occurs after 30 minutes of inactivity.
    I've deployed this same code to Weblogic 10.3.3 and the behaviors go away. Are there any patches to 10.3.0 that might take care of this issue that we are not aware of?
    Thanks for you help,
    Mike

    Hello,
    I found the problem. But I needed change the target of all my datasources until discover that one of my datasource didn´t answer and no errors was trigged.
    My server was waiting this datasource, and not get started.

  • Attach Documents to Custom Program Using Generic Object Services

    Hi There,
             I created Object type ZGOS and used in the custom program, when i try to attach documents it allows and then shows in attachment list.
            But When I use that program next time that document attached is not available.
    Is there any separate save Class or FM available for saving the document to the specified custom program.
    I am using following code in the program,
      CLEAR obj.
    SET OBJECT TYPE TO 'ZGOS'
      obj-objtype = objtype.
    SET OBJECT KEY = REPORT NAME
      SELECT SINGLE name
      FROM trdir
      INTO obj-objkey
      WHERE name = sy-repid.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
      CREATE OBJECT manager
        EXPORTING
          is_object = obj
        EXCEPTIONS
          OTHERS    = 1.
    Thanks in advance.

    Check the Naimesh Patel Blog he explain very well
    http://help-abap.blogspot.com/2009/02/generic-object-services-gos-toolbar.html

  • Having some major mac - pc issues using remote workflow

    Hi all. I'm having some major issues using the InCopy workflow and was hoping someone could help me out with a few items.
    I've helped a client out with their workflow, proposing, demoing and promoting the InCopy workflow which seemed to be the best solution. And don't get me wrong when posting this message on the forum: I love the InCopy workflow and think it's briliant.
    The scenario is that a design agency needs to deliver the layout for a big annual report for their client, who then makes changes in the text etc. The design agency is on a mac (ofcourse), but the endclient is on a PC. Now after some training and trying this all works fine. They are using the remote workflow, using icap and idap files (which they place on dropbox for easy transfer)
    But they've been having so many issues these last few weeks, it's been crazy. And I'm actually starting to feel a bit uncomfortable every time they call me. Just to make clear, they love InCopy (... when it works). And eventhough I'm a huge supporter of the program I just wanted to make sure if there are any other glitches that I should know about. The thing is that (because I work for an IT company), every time they need support they get billed ofcourse. But the problem is that everytime they run into some kind of problem, production just stops and they need me to fix everything.
    Issues that they are having:
    - the endclient (so copywriter) works on a project all weekend (an icap file). Saves everything, checks in, closes, goes to bed. Next morning (monday) she opens up the same file to continue working and gets the "cannot recover..." error (see attachment). And she looses her edits. You need to understand that these copywriters really know what they're doing with InCopy.
    - when a colleague of hers is working with InCopy, and InCopy crashes and she reopens her file then it also happens that the checked-out stories from before remain checked out and she cannot continue (because the story has already been checked out by "another user" (herself)). I managed to resolve this by opening up the individual icml files in incopy and just closing them again. That seemed to remove the "lock" status of the icmls. But still they need me for support. This also happened in the design agency. They are working on a layout, check out stories, InDesign crashes, reopen file and stories remain checkout and they cannot continue because InDesign thinks that they're checked out to another user. And they do not have InCopy themselves so I cannot use my "open icml in incopy and close"-workaround.
    - after a few extra InCopy crashes (where InCopy.exe just doesn't feel like doing anything anymore and quits), I decided to place their files (unpacked icma and icmls from the icap) on the C drive instead of on their server and this seemed to resolve a bit of the trouble. The workflow seems to be a lot more stable now. I did this because they also received the dreaded "Error: code 0" message when starting up (and again) she lost her work). After some creative googling I was able to find out that this might have something to do with disk permissions and copy-paste issues on a PC server. Anyway, it was worth a try
    - only yesterday the client called me stating she couldn't start up her icap files anymore. I was able to recover the indiviual icml files and send these back to the design agency and recover part of her work. (after combing out the files I discovered on of the icml files was damaged and could not be opened, that is why opening the icap file failed).
    - and one last issue (which isn't really a problem but just a bit of a rant ;-). Why does it take 8 full minutes to open up a 2,6Mb icap file on a fast laptop (from the HD)? Even on my own laptop it takes several minutes? I know that the waiting time has something to do with the complexity of the files (images, how many styles, how many icmls, etc). But it seems ridiculously long.
    They've been having issues like this on a weekly basis and they're starting to loose faith in the solution because it's costing them more money (via support) then it's saving them.
    Does anyone have any experience with this? Is this because it's a mac-pc workflow? I understand that this is officially supported, but it practice teaches us that it's in fact not that stable I'd rather just recommend the client to get a mac from the start. Every client would rather hear that than having to deal with all these issues. And I have to say I'm very happy with the client for being so understanding, but I think they'll run out of patience soon if this keeps up. I've also included some other "postcards from InCopy" ;-) and so you must understand if you get all these errors during the last 3 weeks losing hours of work ... well it's just not fun anymore.
    Thank you all very much, and hopefully see you guys at PepCon this year.
    Bart

    Hi Bob,
    You are right, I didn't give this information. I must have forgotten.
    Designers are working with:
    OSX 10.7.2
    InDesign CS5.5 (fully patched)
    Copywriters are working with:
    Windows 7
    InCopy CS5.5 (also fully pathed).
    There is no font managing software used, everyone uses open-type fonts which they specifically purchased for this workflow.
    If the problem persists I will try with the assignment based workflow on dropbox. I waited with this workflow because the client wants to keep their files on their server so they can have backups if something goes wrong. I know Dropbox makes backup as well, but lets just say they have more faith in their own systeem (dropbox was completely new to them ).
    So there are no reports of an unstable mac-pc InCopy workflow?
    Thanks

  • How to use Remote Desktop Service in Windows Azure

    Good day
    Hi! im kinda newbie when it comes to windows azure, I would like to ask if how can we use the RDS CAL in windows azure?

    Hi,
    Please visit the URL below for detailed instructions on using/configuring RDS CAL.
    http://blogs.technet.com/b/keithmayer/archive/2013/09/04/step-by-step-remote-desktop-services-on-windows-azure-a-cost-effective-alternative-to-desktop-as-a-service-part-2.aspx
    Regards

  • Urgent!! Issue in using Generic Object Services (GOS)

    Hello Friends,
    I have created a GOS Business object and i am using this to attach documents at the selection screen of my programs.
    The implementation is successfull and working fine. When i execute my program, i can see the GOS Toolbar, i am able to upload document from my PC and view in the attachment list too.
    But the issue is, when i end my session, and try to see attachment list by executing the program again, it comes blank with no documents. This means, once i end the session, i am not able to see the attachments that i have created earlier.
    Any helpful input will be appreciated and rewarded.
    Thanks and Regards,
    Vikas Bittera.

    Hello Vikas
    The document has to be uploaded to the <b>BDS </b>(Business Document Service).
    I will give you an example how I did this:
    1. Create business object 'ZREPORT'.  " for attaching documents to reports
    2. Call transaction <b>OAER </b>(Business Document Service) with the following parameters:
        - Class name = 'ZREPORT' (my business object)
        - Class type  = 'BO' (business object)
        - Objekt key  = leave empty or enter name of report (if empty, a popup appears)
        - Storage system = 'BDS_DB' (seemed a good choice to me)
    3. Execute
    4. In the BDS choose tabstrip "<b>Create</b>" (lower left part of screen). Right-click on the <i>Word document icon </i>and choose<i> Import File</i> from the context menu.
    As soon as you have uploaded your Word document it is visible in your business object (attachment list). When you display the attachment list and right-click on the document you can directly open it in the BDS.
    Regards
      Uwe

  • Error while using Remote object

    Badri can you please put the code that we are using

    The remoting-config.xml code is
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="remoting-service"
    class="flex.messaging.services.RemotingService">
    <adapters>
    <adapter-definition id="java-object"
    class="flex.messaging.services.remoting.adapters.JavaAdapter"
    default="true"/>
    </adapters>
    <default-channels>
    <channel ref="my-amf"/>
    </default-channels>
    <destination id="GISDBChart">
    <properties>
    <source>com.ge.gis.reports.GISDBChart</source>
    <scope>application<scope>
    </properties>
    </destination>
    <destination id="GISDBReport">
    <properties>
    <source>com.ge.gis.reports.GISDBReport</source>
    <scope>application<scope>
    </properties>
    </destination>
    </service>
    The service-config.xml code is
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
    <services>
    <service-include file-path="remoting-config.xml" />
    </services>
    <security>
    <login-command
    class="flex.messaging.security.TomcatLoginCommand"
    server="Tomcat"/>
    <security-constraint id="basic-read-access">
    <auth-method>Basic</auth-method>
    <roles>
    <role>guests</role>
    <role>accountants</role>
    <role>employees</role>
    <role>managers</role>
    </roles>
    </security-constraint>
    </security>
    <channels>
    <channel-definition id="my-amf"
    class="mx.messaging.channels.AMFChannel">
    <endpoint url="
    http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
    class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <polling-enabled>false</polling-enabled>
    </properties>
    </channel-definition>
    <channel-definition id="my-secure-amf"
    class="mx.messaging.channels.SecureAMFChannel">
    <endpoint
    url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure"
    class="flex.messaging.endpoints.SecureAMFEndpoint"/>
    <properties>
    <!--HTTPS requests on some browsers do not work when
    pragma "no-cache" are set-->
    <add-no-cache-headers>false</add-no-cache-headers>
    </properties>
    </channel-definition>
    <channel-definition id="my-polling-amf"
    class="mx.messaging.channels.AMFChannel">
    <endpoint url="
    http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling"
    class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <polling-enabled>true</polling-enabled>
    <polling-interval-seconds>8</polling-interval-seconds>
    </properties>
    </channel-definition>
    </channels>
    <logging>
    <target class="flex.messaging.log.ConsoleTarget"
    level="Error">
    <properties>
    <prefix>[Flex] </prefix>
    <includeDate>false</includeDate>
    <includeTime>false</includeTime>
    <includeLevel>false</includeLevel>
    <includeCategory>false</includeCategory>
    </properties>
    <filters>
    <pattern>Endpoint.*</pattern>
    <pattern>Service.*</pattern>
    <pattern>Configuration</pattern>
    </filters>
    </target>
    </logging>
    <system>
    <redeploy>
    <enabled>true</enabled>
    <watch-interval>20</watch-interval>
    <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file>
    <touch-file>{context.root}/WEB-INF/web.xml</touch-file>
    </redeploy>
    </system>
    </services-config>
    The Error is
    getFaultHandler: [FaultEvent fault=[RPC Fault
    faultString="Send failed" faultCode="Client.Error.MessageSend"
    faultDetail="Channel.Connect.Failed error
    NetConnection.Call.Failed: HTTP: Status 503: url: '
    http://alpigedv4275.corporate.ge.com/portal/messagebroker/amf'"
    messageId="06F0E133-07D6-FBCE-037C-DD26A718AE9D" type="fault"
    bubbles=false cancelable=true eventPhase=2]
    Please Guide me with this problem.... Its Urgentttttt

  • Issues using WCF RIA Service with CRM Odata endpoint

    Hi,
    We are here trying to build up a simple mock-up with LS and Dynamics Crm and use it as potential platform for enterprise solutions. When we add the datasource(CRM
    odata endpoint) on the Server project everything goes well, we can bind html components with data on the screens, get access to the context through javascript, etc. We are trying to go a bit forward in the architecture, we want to have a server-side layer
    hosting our business logic (WCF RIA Service layer), and we used Michael´s example as base (great post BTW):
    WCF RIA SERVICE using Lightswitch
    In this case, loading the context fails (ContextData Object), we are trying to create that object exactly as the platform does but apparently the connection
    string is not valid (?). This is the code, pretty much the same that MIchael has in his example and the same (apparently) that the platform uses internally:
    string assemblyName = global::System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
    string connString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["MYContextData"].ConnectionString;
    EntityConnectionStringBuilder builder = new EntityConnectionStringBuilder();
    builder.Metadata = "res://" + assemblyName + "/WCF_RIA_MyServiceData.csdl|res://" + assemblyName + "/WCF_RIA_MyServiceData.ssdl|res://" + assemblyName + "/WCF_RIA_MyServiceData.msl";
    builder.Provider = "System.Data.SqlClient";
    builder.ProviderConnectionString = connString;
    this.m_context = new CSMADevContextData(builder.ConnectionString);
    And this is the error:
    {"Keyword not supported: 'service url'."}
    Web config connectionString="Service Url=http://myserver/myCRM/XRMServices/2011/OrganizationData.svc;Is Windows Authentication=True;Allow Invalid Certificate=False" />
    which is weird because we were looking into the GeneratedArtifacts/DataServiceImplementation.cs (platform generated files) and looking at how Ligthswitch
    platform creates the context and apparently is the same code.
    We got a bit stuck on this, any comment will be welcome,
    Cheers.
    Israel

    The connection string that is in my article (that you are trying to adapt for your situation) is for a connection to a Entity Framework data context. It is not for an OData source. I regret that I do not have any good examples :(
    Hopefully someone has a good example.
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

Maybe you are looking for

  • Duplicate Records in Output

    I have a script which works fine however what I cant seem to work out is why I get duplicate records in the output. If anyone knows why it would be a great help/ My code is below: Connect-QADService "domain.com" Function CheckUserExistance { if(Get-Q

  • Connetion of BI 7.0 to external oracle 10G R2 database system

    Dear Experts, We have BI 7.0 system with MS SQL server as database and we want to connect it to database Oracle 10G R2.For that we followed the following procedure. 1) In order to connect to the enterprise database, Oracle 10gR2 client (runtime optio

  • DVDSP not working properly

    Can someone please tell me why...when I add chapter markers in DVDSP or through FCP, the video pauses for about two seconds during playback. All of my settings are set to none as far a wait/pause time between markers. I don't know what it could be...

  • WDS and SCCM 2007 task sequence export/import

    We currently have SCCM 2007 and a separate WDS server. There is a task sequence with a boot image/packages on the SCCM server and I would like to export this to the WDS server for deployment, how do I go about doing this? Thanks.

  • Lightroom 4.2 changes color temp when opening existing image

    I have installed LR 4.2 two days ago, and have run into a serious problem.   When in develop mode, when I click on an image in the film strip, LR opens the image and changes the color temperature dramatically.  The blue/yellow slider moves to the far