Set up CM Services in CE 7.2

Hello,
I am wondering how I can set up a Development Configuration through CM Services instead of CMS in CE 7.2 as this is the suggested way by SAP.
I do not use CTS or CTS+ because the NWDI will be used for local/standalone development. The problem is when I import the Development Configuration in NWDS and try to create a DC all DC types are deactivated.
I worked through the article in SAP Help ([SAP Help - CM Services|http://help.sap.com/saphelp_nw72/helpdata/en/84/1fabea09f048c69b48d8e08de38c95/frameset.htm]) and also SAP Note 1463541, but nothing helped.
Any other ideas?
Best regards
Denis

Dear Denis,
First let me give you some basic clarity on Transport of NON-ABAB objects using Change and Transport System (CTS).
A standard way of doing transport is done via the Transport Request creation in CTS.
This transport request creation facility is only available in ABAP systems.
In Java system we can't create any transport requests.
So, if any organization has adapted to a common transport policy like for any types of objects, let it be Java or ABAP then, any transport that will be taking place across the Development >> Quality >> Production landscape will be channelised through a single Change and transport system.
In all the ABAP systems the facility of creating a Transport Request is availble.
But, in case of Java we need to dedicate one ABAP system like Solution Manager for creating transport request on behalf of that Java system.
And all the Java-Objects that are ready for transporting to QA are then attached to this Transport Request that gets created in that dedicated CTS system.
About your 2nd Query about DC types shown as deactivated...
Plese check the developers ID with which yiu are logged in to studio is assigned with NWDi.Developer UME role and NWDI.Developer UME group.
Your track SC is missing the build time dependencies.
Kindly follow the below mentioned steps to resolve the issue...
1) Open the following URL to access NWDI web interface
www.http://<hostname>:<port number>/devinf
2) goto Change Management Services
3) Open System Landscape Directory
4) Click on Software Components
5) Here in the Filter give your Software Component name
6) after the serach is over select your SC in the table and the below displayed tabs goto Dependencies.
7) in the Context dropdown chose "BuildTime"
8) click on "Define Prerequisite Software Component Versions"
7) In the Name column of the table search for the SC dependencies that are required one by one (e.g. SAP-JEE, SAP_BUILDT, SAP_JTECHS) and add it as a dependencies.
For Example: for developing webdynpro application you will need to add WD-RUNTIME component too, as a build time dependency
8) once you are done with this, go back to the 2nd step mentioned above.
9) Goto the Landscape Configurator link.
10) Chose your track inside the table on the left side.
11) goto the Domain Data option, Click on the "Change" button, and then click on "Update CMS" button (This may take some time)
12) once the CMS Update is finished, open the "Track Data" link that is beside "Domain Data"
13) Now click on the "Change" button, from the software component (SCs) table remove the track SC, and add it back once again.
14) Save the Track Data, while saving plese choose "Save & Re-import button.
15) Now goto Transport Studio, make sure your track is selected in the table
16) In the Check-In Tab select all the components displayed in the "Check-In" button.
17) Once the Check-In operation is completed all those component will now be queued up in the Development Tab,
18) In the Development Tab select all the components & click on "Import"
19) Once the Import operation is completed all those component will now be queued up in the Consolidation Tab,
20) In the Consolidation Tab select all the components & click on "Import"
21) Now come back to your NWDS and remove the configuration that you have imported previously and then again load the same configuration once again from the SLD.
Now, the DC types will become active.
Regards,
Shreyas Pandya

Similar Messages

  • Issue in setting custom identity service for soa 11.1.1.4

    Hello,
    I am facing issue in setting custom identity service for soa 11.1.1.4
    It is not picking up the implemented UserManager (in custom IDM) implemented via ServiceProvider and IdentityStoreService.
    This is configured in jps-config.xml
    The same setup was working in soa 11.1.1.2
    I believe there is a change done in JpsProvider in bpm-service.jar to authenticate via default login context from oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule
    If my uderstanding is correct,
    Please guide me in implementing custom identity store and services for bpm services for soa 11.1.1.4
    Tried various work arounds but no luck.
    Thanks
    Bala

    Hi...
    Can u tell me how did u set up custom identity service for 11.1.1.2 ?
    Thanks

  • Setting up excel services on Sharepoint 2010

    I am using sharepoint 2010 enterprise version, and needs some advice with setting up excel services.
    When installing sharepoint 2010 enterprise, is the service application for excel services already installed. I see it listed so i assume it is, but is it better to setup a new one with its own application pool.
    Also is there any thing you need to configure , or is the out of the box settings fine to work with.  I see the trusted file location is set to http://, which includes all specified URL locations as trusted locations to upload workbook from.  I
    am fine with that with the moment.
    But do i need to setup any data connection libraries, not sure what this is for.  Also for user-defined fujnction assembly either, or trusted data providers.
    So on a  site, I can add a new web part, choose business data as the category and then choose the excel web access as the web part, and from their open the tool pane and then upload the workgroup from the document library.  That works for me.  
    But is there anything else i need to setup.   Choose want to make sure before i deploy in prod.
    Thanks

    Hello,
    I need help setting up excel services.
    Excel service is already running on sharepoint server.
    I have one reporting file which is generated by DBA with database connection. i want to upload that file under document library and i want whenever user open it through document library, it gets updated through database connection 
    This is my first time, so pls guide me
    Reporting file has authentication set to --> None 
    Do i require any specific settings for authentication? like unattended account ? which username should i use
    Connection String -->
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;User ID=ExcelServices;Initial Catalog=SurveyData;Data Source=jdb1;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=RSTKW7W-06709;Use Encryption for Data=False;Tag
    with column collation when possible=False
    http://../training/sptestsite/Medication_Audit_Report
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    Trusted File Location - is this place do i need to upload that reporting file? 
    Trusted Data Connection Libraries - is this place do i need to save connection file .odc ?
    If i am not wrong, should i put
    Trusted File Location = http://../training/sptestsite/Medication_Audit_Report
    Trusted Data Connection Libraries = http://../training/sptestsite/Medication_Audit_Data_Connection_Library/
    http://../training/sptestsite/Medication_Audit_Report -- Here only reporting file will be uploaded right?
    http://../training/sptestsite/Medication_Audit_Data_Connection_Library/ -- Here only database connection .odc file will be uploaded?
    what other settings are required. please correct me
    my email address - [email protected]
    Harsh

  • How to find Collation setting for Analysis services in Sql server 2000

    Hi
    Can some please guide me how do I check  Collation setting for Analysis services in Sql server 2000
    i need it to install Analysis servcies on my machine

    Hi SMV123,
    We can find the collation settings for Analysis services in SQL Server Management Studio (SSMS). Connect to the SSAS instance from within SSMS->Right click on the instance and select Properties->An Analysis Server properties page will appear. And then
    on the left hand side is a Language /collation option.
    Besides, here is a link about how to install SQL Server Analysis Services 2000 for your reference.
    How to Install SQL Server 2000 Analysis Servicese
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • Oracle 10gR2 Patch Set 3  - Clustering Service (CSS) failed to start

    Hi ,
    we are using Solaris 10 containers. Oracle 10gR2 installation done with ASM in Non-global zone and it was successful, after applying patch set 3 CSS service unable to start and won't generate any error message.
    OS : solaris 10
    DB : Oracle 10gR2
    any pointer will help us to resolve this issue.
    Regards,
    Sachin

    Hi,
    Cause
    1) This is a LANG problem. So this can be confirmed by tracing the init.cssd script (executed by the init/inittab), as follow:
    h1:3:respawn:/etc/init.d/init.cssd run >/var/log/init-cssd.run 2>&1 </var/log/init-cssd.run
    2) /var/log/init-cssd.run log extract:
    TZ=
    + export TZ
    LANG=
    + export LANG
    + /bin/who -b
    + exit 0
    BOOTID= . system boot srp 7 16:44
    + /bin/cat /var/opt/oracle/scls_scr/db4/root/cssrun
    RUNID= . system boot Aug 7 16:44
    + [ . system boot srp 7 16:44 != . system boot Aug 7 16:
    44 ]
    + [ . system boot Aug 7 16:44 = startstack ]
    + exit 3
    STATUS=3
    + [ 3 != 0 ]
    + exit 3
    + [ 3 != 0 ]
    + /bin/sleep 30
    Solution
    1) Set the LANG environment variable in /etc/init.d/init.cssd script (in GETBOOTID section) to cs_CZ.ISO8859-2:
    # Set a null language id. GETBOOTID can also be sensitive to the language
    # codes, when init.cssd is run in a user shell compared to being run
    # under init. Setting a blank language code should guarantee consistency.
    LANG=cs_CZ.ISO8859-2
    2) Then CSS will start.
    $>crsctl check crs
    CSS appears healthy
    Cannot communicate with CRS
    Cannot communicate with EVM
    $>ps -fea | grep ocssd.bin | grep -vi grep
    oracle 407 1 0 Aug 13 ? 3:50 /oracle2/V10g2/bin/ocssd.bin
    Best regards,
    Rafi.
    http://rafioracledba.blogspot.com/

  • Needed:  Person who can help me set up mail service

    Hi...I've been reading the forum for days and have been finding information in small bits and pieces...but I need someone who can help me put it all together. Basically, we are trying to move our mail server in-house. We have a better than T1 connection, I just need SOMEONE who can tell me exactly what we need to do to set up mail service on osx server 10.4.8 to work for us. Any takers?
    I have enough knowledge to set up our web and file sharing services (very easy, no brainer stuff), but really I'm lost on the Mail Service setup.
    Thanks!

    Hi
    I hope this thread is not resolved. Even if it is, this is my solution.
    0.1. You must have a domain name pointing to your public IP
    0.2. Your router (if you have one) must forward smtp, pop, and imap ports to the private IP adress of the sever
    Server Admin
    1. You must have DNS enable with your domain name configured. I presume that you know to.
    2. Setup your mail service
    in General
    2.1. Activate POP
    2.2. Acivate Imap (if you need)
    2.3. Activate SMTP
    2.4. Accept incoming mail
    2.5. Retain outgoing mail
    in filter
    2.6. Set up as you need
    in advanced->security
    2.7. Set up aurhentifaction for smtp and pop.(important for smtp because you can be a spam relay)
    in advanced->Hosting
    2.8. add your domain name in localhost window
    Users admin
    3. Go to your users account (mail tab)
    3.1 Activate mail
    3.2 Choose receipt method.
    I've followed this procedure 5 or 6 times and it's working fine every time.
    Be carefull. In 10.4.8, something change in Imap service and the send of messages dont work. There is a little corrective to apply (a line to change in a config file but I do not remember what)
    Sorry if the words are not exactly the same on you screen. I'm working on a french vs and my english is not very good.
    Good luck
    Vinc'

  • What does the Traffic Setting under Location Services do in iOS 5?

    What does the Traffic Setting under Location Services do in iOS 5?
    Do I loose anything valuable by turning that function off on my 4S?

    No mention of it in the User Manual and Mpas still shows the traffic fine with it switched off.
    Even my TomTom can update Traffic with the setting switched off.
    It's a mystery

  • Error trying to set up web services/HP Connections (ePrint) for HP Envy 5530

    I have been trying to set-up my new Envy 5530 printer and I can get the printer, computer, and wireless network to communicate with each other. However, when I try to get the printer and network to talk to each other to set up Web Services and HP Connections, the printer tries to download the latest product updates and has a server error saying it cannot connect to the server It wants me to check the connections or set a proxy server address. Also, when I try to get a claim code printed, I run into this same issue. Help!!

    Hello Woodpeckyr,
    Welcome to the HP Support Forums!
    I see that you are trying to setup Web Services on your ENVY 5530 but are unable to connect to the server. A colleague of mine as worked with this issue here: Envy 5530 Web Services
    Please review the steps afforded and give them a try. Hope this helps, cheers.
    JERENDS
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Failure to set up Web Services in SJSAS for flash AS 2

    Hi there,
    I recently set up web services to expose my business logics in EJB3, which resides in Sun Java System Application Server 9.1.
    After all server side configurations are done and flash has detected the web service, I found the skeleton of WSDL of target web service cannot be interpreted by flash.
    The reason behind is the skeleton of WSDL generated by wsgen.exe, a program in <JDK_HOME>\bin, is not standard form of WSDL. The schema part ( in the type definition ) in WSDL is stored in and XML file and the Message Type in WSDL is stored in that XML file. This causes flash cannot interpret the Message Element in the target WSDL.
    I assure both the server and client have been configured correctly as I have implemented the same setup in ASP.NET. And it works perfectly there cuz the WSDL generated from a Web Service Object in ASP.Net contains all the necessities needed for SOAP.
    I would like to ask how can I modify the WSDL after deployment in SJSAS?
    Thanks

    sorry for typing mistake in last post.
    [The reason behind is the skeleton of WSDL generated by wsgen.exe, a program in <JDK_HOME>\bin, is not standard form of WSDL. The schema part ( in the type definition ) in WSDL is stored in and XML file and the Message Type in WSDL is stored in that XML file. This causes flash cannot interpret the Message Element in the target WSDL.]
    What I mean is the schema part of WSDL is stored in another xml file. And flash interpret the message element, it needs to refer to the schema. But what causes the problem is that flash can get the external schema, so it just claims the message element attribute cannot be referenced.

  • Setting up mail service

    I am setting up mail service for the first time. I think that I have everything figured out and set up right, but I'm a novice and don't know for sure.
    1) I have not yet asked my ISP to update my MX records because I want to be sure everything is working right first. Is there a way to test the email system prior to making the switch to the MX records?
    2) One thing that is puzzling me is that even though I haven't made the MX records switch, to my mind it still makes sense that outgoing mail should work. Is this assumption correct? Yet, when I try to send something from a local user server account through the server's SMTP then the email gets lost. Is this something that will automatically work once the MX records are switched over?
    Thanks a million.

    MX records have only to do with how other e-mail systems find you. They have nothing to do with outgoing mail at all, except if the receiving system is doing a reverse dns lookup as part of the spam filtering. Try turning your logging level to "Information" and send a test message and look at the smtp logs and see what kind of reply you get from the receiving postoffice.
    To do some testing you can use telnet to hit your system from outside and send some test strings/messages. If you do a google search there should be instruction on how to do that. I'd try doing a search on something like "test smtp with telnet".
    Message was edited by: WDShepherd

  • How to set up location services on ipod touch

    how to set up location services on ipod touch

    Go to Settings>Privacy and turn it on.
    For location the iPod uses the location of nearby wifi routers that are in Apple's database. You do not have to be connected to the network/router to use that router's location. Thus, if the iPod does not know its location it appears that the iPod can't see a nearby router that is in Apple's database. Apple continuously updated their database based on info they obtain from iPhones. No one has been able to find a way to inform Apple of a router or correct is location.
    You can confirm that by going to place with a know located router like Starbucks or McDonalds

  • Set up Search Service App For SharePoint server 2013 on Windows server 2012 R2 not working

    Hi all,
    I installed SharePoint server 2013 on Windows  server 2012 R2 using VirtualBox.  I created a DC(domain controller) server with a domain set up on one VM and it has SQL server 2012 SP1 installed. Then SharePoint 2013 on another VM was set up to access
    the DC server.  Everything seems working except Search Service App which cannot be sucessfully set up. Creation process for Search service app says Successful and 4 search databases were created and look fine. But when I navigate to search service app
    admin page, it gives error info:
    System status:  The search service is not able to connect to the machine that hosts the administration component. Verify that the administration component '386f2cd6-47ca-4b3a-aeb5-d9116772ef16' in search application 'Search Service Application 1' is in
    a good state and try again.
    Search Application Topology:  Unable to retrieve topology component health states. This may be because the admin component is not up and running.
    From event viewer, I see following errors:
    (1) Error From source: SharePoint Server
    Application Server Administration job failed for service instance  Microsoft.Office.Server.Search.Administration.SearchServiceInstance
    (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name.  
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name.  
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean
    isAdministrationServiceJob)
    (2) Error From source: SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application '386f2cd6-47ca-4b3a-aeb5-d9116772ef16'
    (3) Warning from source: SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message:
    Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2    at
    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (4) Error From source: SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance
    (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded.  
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0xC0041235): The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have
    been upgraded.  
    Since separate DC server and SharePoint server do not work, I installed SharePoint 2013 on DC server ( so DC server has everything on it now ) but it gives exactly same result. Later I installed SharePoint 2013 SP1 and still have the same problem with Search
    Service app. I spent two weeks tried all suggestions available from Web and Google but SharePoint Search Service simply does not work. Config and other databases work but why Search Service has this issue seemingly related to search DB.
    Could anybody please help out? You deserve a top SharePoint consultant award if you could find a solution. I am so frustrated and so tired by this issue.    This seems also to be a SP set up issue.
    Thanks a lot.

    Using new Search Service App wizard to create SSA is always a success. I could delete existing SSA and recreate it and no problem. It says successful but when I open Search Admin page from CA, it gives me errors as mentioned.
    Now I used the following PS script for creating SSA from Max Mercher, but it stays at the last setps in following script:
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $IndexLocation = "C:\Search"  #Location must be empty, will be deleted during the process!
    $SearchAppPoolName = "SSAPool"
    $SearchAppPoolAccountName = "mydomain\admin"
    $SearchServiceName = "SSA"
    $SearchServiceProxyName = "SSA Proxy"
    $DatabaseServer = "W12R2DC1"
    $DatabaseName = "SSA"
    $spAppPool = Get-SPServiceApplicationPool -Identity $SearchAppPoolName -ErrorAction SilentlyContinue
    if (!$spAppPool)
     $spAppPool = New-SPServiceApplicationPool -Name $SearchAppPoolName -Account $SearchAppPoolAccountName -Verbose
    $ServiceApplication = Get-SPEnterpriseSearchServiceApplication -Identity $SearchServiceName -ErrorAction SilentlyContinue
    if (!$ServiceApplication)
    # process stays at the following step forever, already one hour now.  
    $ServiceApplication = New-SPEnterpriseSearchServiceApplication -Name $SearchServiceName -ApplicationPool $spAppPool.Name -DatabaseServer  $DatabaseServer -DatabaseName $DatabaseName
    Account mydomain\admin is an farm managed account, domain admin account, in WG_ADMIN role, It is in all SQL server roles and is DBO. I see search DBs are already on SQL server. From Event viewer, I got following errors in sequence:
    (1) Crawler:Content Plugin under source Crawler:Content Plugin 
    Content Plugin can not be initialized - list of CSS addresses is not set.
    (2) Warning for SharePoint Server Search
    A database error occurred. Source: .Net SqlClient Data Provider Code: 8169 occurred 0 time(s) Description:  Error ordinal: 1 Message: Conversion failed when converting from a character string to uniqueidentifier., Class: 16, Number: 8169, State: 2   
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
    (3) Error for SharePoint Server Search
    Could not access the Search database. A generic error occurred while trying to access the database to obtain the schema version info.
    Context: Application 'cbc5a055-996b-44a7-9cbc-404322f9cfdf'
    (4) Error for SharePoint Server
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The gatherer application could not be mounted because the search administration database schema version does not match the expected backwards compatibility schema version. The database might not have been upgraded. 
    (5) Error Shared Services for SharePoint Server Search 
    Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (b7c72eb8-cbaf-435e-b4c9-963cb6e4e745).
    Reason: The object you are trying to create already exists. Try again using a different name. 
    Technical Support Details:
    System.Runtime.InteropServices.COMException (0x80040D02): The object you are trying to create already exists. Try again using a different name. 
       at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize()
       at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob
    Above errors keep being generated. Last step for SSA creation stay there forever.  Any clue what is really going on?  Thanks.

  • 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.

  • Setting up mail services. Name of server needs to be changed?

    I setup my xserve with snow leopard. By default it was named server.ourcompanyname.private.
    Here is my problem Im trying to host our company web site along with mail services. Need to bring all this in-house.
    I have with my web provider 5 dedicated IP address, and router address. I bridged the modem to an airport extreme to hand out all the ip address and DHCP, this was done with apple support.
    I need advise on how to go about setting up all the services. Can the name of the server be changed without causing major problems?
    Any advise would be appreciated.

    One other note. Can I change the .private. to .com and will this help me setup mail and hosting services?

  • How do I set up Mail service for simple IMAP with SSL?

    This should be easy but something isn't working. I have an Xserve with 10.6. I've enabled the Mail service, and want to add this server as an Account under Entourage. I've put in the IP address, my username/password, etc. but something isn't working. It appears under the Accounts folder tree, but when I try to send an email, I have a window that says "4.7.0 TLS not available due to local problem", Error -17099". I've also seen errors telling me the password is being sent in cleartext and I can't see where I enable the same (SSL, password needed) settings on the client and the server menus. Can someone clue me in - what are the right settings on both ends to have a simple IMAP w/o cleartext passwords? I had this working fine in 10.4 Server... Thanks!
    Mike

    I see dropdown menus for SMTP SSL and IMAP/POP SSL. I have them both set as "Require"
    Do not to this if your server is handling incoming mail from outside your network.
    Few remote mail servers will use SSL, so if your server requires SSL then you will not be able to receive mail from outside your domain.
    'Use', on the other hand, advertises the fact your server supports SSL, so clients and remote servers can use if if they like, but this still allows other mail in.
    What should "Authentication" be - "Login" or "Plain"
    Do not use Plain unless you absolutely trust all your clients (i.e. they're all on a LAN or all using SSL). Plain sends an unencrypted password over the wire, which is susceptible to sniffing.
    what will the client be using?
    Whatever you set it to.
    The client complains about a correct root certificate not being installed).
    Are you using a self-signed certificate? if so, you're going to get that unless you do a lot of extra work. Getting a real certificate from a trusted authority should resolve this.
    As for the slow connections, the use of SSL shouldn't significantly impact connection or delivery/transfer times, so something else is amiss.

  • Can not set up Web Service datastore using HTTPS WSDL DS 4.1

    I have been trying to configure a Web services data store to connect to an HTTPS Wsdl file
    Here is some background.
    DS Version: 14.1.1.210
    Job Server Windows 2008
    if i configure the datastore and leave the field for Keystore path empty, i get the following error:
    Error loading [https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CorporateRecruitmentSourceService&wsdl]:
    org.apache.xmlbeans.XmlException: java.io.IOException: Server returned HTTP response code: 401 for URL: https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CorporateRecruitmentSourceService&wsdl
    If i put the path C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\mds\DSJavaKeyStore.keystore for the keystone path,
    I get the following different error:
    An error ocurred while importing metadata: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'https://stgbbaaviation.taleo.net/enterprise/soap?ServiceName=CandidateService&wsdl':javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building faild: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (BODI-1111469) (BODI-1112446)
    I have recreated the DSJavaKeyStore.keystore and added in additional certificates but nothing seems to work.
    As a workaround i saved the wsdl file down to the local machine (I'm currently running designer on the job server machine)
    i can then save the web service datastore and import the wsdl function.  but at runtime I get the following error:
    There is no response for the web service <getMessageByIdentifier>. Ensure that the network, web server, and service are running
    properly. Also ensure that the service client call time out is set properly.
    I have edited the
    C:\Program Files (x86)\SAP BusinessObjects\Data Services\ext\webservice-c\axis2.xml file as follows for the sections that are listed in the documentation:
        <transportReceiver name="https" class="axis2_http_receiver">
            <parameter name="port" locked="false">6060</parameter>
            <parameter name="exposeHeaders" locked="true">false</parameter>
        </transportReceiver>
    <!-- Uncomment the following with appropriate parameters to enable the SSL transport sender.
             Also make sure that the appropriate transport receiver is enabled above.-->
        <transportSender name="https" class="axis2_http_sender">
            <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
            <parameter name="xml-declaration" insert="false"/>
        </transportSender>
        <parameter name="SERVER_CERT">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_cert.crt</parameter>
        <parameter name="KEY_FILE">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_privatekey.pem</parameter>
        <parameter name="SSL_PASSPHRASE">C:\Program Files (x86)\SAP BusinessObjects\Data Services\ssl\server\DS_server_privatekey_password.txt</parameter>
    I'm not sure what i'm doing wrong.  Not much detail in the documentation on what to enter for the Keystore path in the Datastore config.
    also it is unclear if i don't have the correct certifications added to the keystore.
    Please help

    Hi Prashant,
    Please refer the below KBA related to BODI-1111469 issue in SAP Data Services 4.1 Support Pack 1 Patch 1 (Version 14.1.1.284).
    ADAPT01664699
    An importing operation from a WSDL that has a recursive import of a schema would fail with the error:  "An error occurred while importing metadata: Unknown JNI error... (BODI-1111469)”. This issue has been fixed in this release.
    1804623 - Release Notes for SAP BusinessObjects Data Services 4.1 Support Pack 1 Patch 1 (Version 14.1.1.284)
    https://service.sap.com/sap/support/notes/1804623
    Thanks,
    Daya

Maybe you are looking for