Call property with namespace in Proxy object

Hi all,
As you know, one can extends Proxy object to modify the behavior of calling a property. My question is if my property has a namespace with it, can i still access it through the Proxy object? If yes, how?
e.g. only sudo code, may not work
class MyObject {
  myNamespace var a:int = 0;
class MyProxy extends Proxy {
  private var m_obj:MyObject;
  function MyProxy(obj:MyObject) {
    m_obj = obj;
  flash_proxy override function callProperty(name:*, ... rest):* {
    return m_obj[name.toString()].apply(m_obj, rest);
var proxy:MyProxy = new MyProxy(new MyObject);
proxy.myNamespace::a ??

Use PopUpManager.addPopUp() instead of createPopUp().
addPopUp takes an object that has already been instantiated:
var createGoodsWindow:CreateGoodsWindow = new
CreateGoodsWindow(data);
PopUpManager.addPopUp(createGoodsWindow);

Similar Messages

  • How to call a Derived call fucntion with a base class object ?

    Hi all
    i am working on a JNI interface to Java, and in the process of simulating a C++ behaviour in java
    so i need some help form you people, in this regard.
    here is a c++ code, i need a equivalent fucntionality in java , to put it one word, the question is
    how to implement the dynamic_cast functionality in java, as java also has virtual fucntions, i think
    this should be possible, if it is not, what is the alternative
    class Base
    public:
         Base()
         ~Base()
         virtual void F1()
              cout<<"The BASE::F1() is called"<<endl;
         virtual void F2()
              cout<<"The BASE::F2() is called"<<endl;
    class Derived : public Base
    public:
         Derived()
         ~Derived()
         virtual  void F3()
              cout<<"The Derived::F3() is called"<<endl;
         virtual void F4()
              cout<<"The Derived::F4() is called"<<endl;
    Base * GetDerived()
         return new Derived();
    int _tmain(int argc, _TCHAR* argv[])
         Base *ptr = NULL;
                    ptr  = GetDerived();
         Derived *dPtr = dynamic_cast<Derived *>(ptr);
                    dPtr->F3();
    }regards
    pradish

    Just to clarify a point that I consider important--the distinction between references and objects:
    Your subject is: How to call a Derived call fucntion with a base class object ? The answer to that is: You cannot. It is completely impossible in Java. If you have a base class object, the derivced class' methods are not present. On the other hand, if you have a compile-time reference of the parent type, but at runtime it happens to point to an instance of the derived class, then, as pointed out, you can cast the reference. (Note that casting does not apply to objects.)

  • ABAP proxy client call PI with new client 120 in old business system

    Hi all
    We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
    CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
    My question is If we go to the SLD and
    |-> Click on Business System
    |-> Add new client 120
    Will it work or we need to do some extra configuration for communication channel.
    Also please let me know how to configure Integration Directory for sender agreement, Receiver Agreement and the communication channel.
    Thanks in Advance.

    Hi Naina ,
    We have a requirement to call PI from ABAP client proxy in synchronous mode via a CRM client 120.
    CRM client 100 is already configured in the Business system talked above but now we need the same business system to be configured for client 120 as well.
    My question is If we go to the SLD and
    |-> Click on Business System
    |-> Add new client 120
    > hope the technical entry of CRM is already in SLD . So you just need to make a business system entry . point the business sytem to the technical system entry with the right client here 120 .
    Will it work or we need to do some extra configuration for communication channel.
    > since sender is client proxy you don't need to do anything in case of receiver proxy you will be needing reciver communication channel of XI adapter type .
    for proxy based communication your application system(other than PI/XI) should be able to make a proxy call to XI or receive a call from XI .for this purpose you need to make some settings at R/3( or CRM level)
    For this check blog  : /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Abap proxies ( Client and Server proxies)
    Other steps i.e Interface determination/receiver determination are as usual .
    Regards ,

  • PI ( old version called XI ) connectivity with ABAP via Proxy

    Hi
    Could any body please share with me the sample code for
    connectivity  of  PI ( old version called XI )  and ABAP  via Proxy for Outbound interface.
    points will be rewarded for sure
    Thanks & Regards
    Meeta

    The prerequisites to configure ABAP Proxy include: (landscape dependent) 
    The business systems should be based on SAP Web AS 6.20 and SAP Web AS 6.20 kernel patch level above 1253
    You have installed the XI Add-On in each of these business systems as described in the Installation Guide SAP Exchange Infrastructure 3.0
    The business systems and your central Integration Server are maintained in the System Landscape Directory (SLD).
    Configuration required on the Business System:
    1.       Create a HTTP connection in the business system using transaction SM59
    Technical Setting:
    ·         Connection Type: H
    ·         Target Host: System name
    ·         Service Number: HTTP Port name
    ·         Path Prefix: /sap/XI/engine/?type=entry
    Logon Security
    On the Logon/Security tab page, enter the following logon data:
    ·         User: XIAPPLUSER (for example); this user should represent the sending business system (see also the SAP XI Security Guide under Service Users for Message Exchange).
    ·         Password: the password you have specified for this user
    ·         Client: SAP XI Integration server
    ·         Language: Language required 
    2.       Configuration Business system as local Integration Engine.
    1.       Go to Transaction SXMB_ADM
    2.       Choose Edit --> Change Global Configuration Data.
    3.       Select Role of Business System: Application system
    4.       Corresponding Integration server: dest:// XI_XIR_CONNECTION created in step 1. Dest://XI_XIR_CONNECTION.
    5.       Under Specific Configuration Data you can specify additional configuration data
    Select the relevant category under Specific Configuration Data.
    Choose Change Specific Configuration Data.
    For ABAP Proxies, Add the following configuration:
    1.Category RUNTIME
    2.Parameters: IS_URL
    3.Current Value: dest://XI_XIR_CONNECTION

  • The property with ID SI_LOGON_INFO does not exist in the object

    Hi Experts,
    I am writing a Java code which upload rpt report to an infoview and try to set username/password and user prompt false together.
    I uploaded rpt success, however, after I add IReportLogon to add user/password. I got an error.
    The property with ID SI_LOGON_INFO does not exist in the object
    Code here, any suggestion is appreciated.
    IPluginMgr boIPluginMgr = infoStore.getPluginMgr();
    IPluginInfo boReportPlugin = boIPluginMgr.getPluginInfo("CrystalEnterprise.Report");
    IInfoObjects boInfoObjects = infoStore.newInfoObjectCollection();
    boInfoObjects.add(boReportPlugin);
    IInfoObject boReportObject = (IInfoObject) boInfoObjects.get(0);
    String boReportName = getName(filePath);
    boReportObject.setTitle(boReportName);
    boReportObject.setDescription(filePath);
    boReportObject.getFiles().addFile(filePath);
    boReportObject.properties().setProperty(CePropertyID.SI_PARENTID, folderID);
    IReport Report = (IReport)boReportObject;
    IReportLogon rptLogon = (IReportLogon) Report.getReportLogons().get(0);     
    //get error after try to retrieve rptLogon Class.     
    rptLogon.setPromptOnDemandViewing(false);
    rptLogon.setUserName("fortest");
    rptLogon.setPassword("whatever");
    infoStore.commit (boInfoObjects);

    Hi Adam,
    Thanks for your reply.
    I added this refreshProperties() method before, but after run this method, the application will no response even wait for over 2 minutes.
    Do you know why?
    or shall I wait for long time to resolve this issue?

  • The property with ID SI_DELTA_METAINFO does not exist in the object

    Hi ,
    when i moved crystal reprts from our Crystal server to the new BOBJ (BOExi3.1) Server and on DB configuration for all the reports i used the DB defaults that comes with the Report.
    Problem when i try to run locally or run from the enterprise login it works perfect, but when i try to run the report from the Infoview it says Database Information is either Incorrect or Incomplete.
    and also when i goto report and change the DB configuration it throws this error as
    "The property with ID SI_DELTA_METAINFO does not exist in the object".
    Please throw some light on the above error as i need to make it available for our end-users ASAP.
    regards,
    Sethu.

    Hi Seth,
    I looks like you have a configuration issue in BOE so I moved your post to the Admin forum.
    You also likely have a support Contract so I suggest you create a case in Service Market Place to immediate assistance. This is a public forum that may or may not be monitored by SAP Support Rep's, depending on the case load.
    Thank you
    Don

  • The property with ID SI_FILES does not exist in the object

    Hi,
    We are accessing the BO reports through front End web application using WEBI. We are using BO Java SDK on the application for this purpose.
    Some of our users (APAC region) has started getting the error while accessing the reports from web application. Here are the error:
    com.crystaldecisions.sdk.exception.SDKException$PropertyNotFound: The property with ID SI_FILES does not exist in the object [24/01/12 13:27:39:402 GMT] 000000b6 SystemErr R at com.crystaldecisions.sdk.occa.infostore.internal.ag.getFiles(Unknown Source)
    [24/01/12 13:27:39:402 GMT] 000000b6 SystemErr R at com.crystaldecisions.sdk.occa.infostore.internal.AbstractSendableObject.getFiles(Unknown Source)
    Same report when accessed by the users from AMER or EMEA region, it is working fine. Can anyone help me what is the issue and how to resolve it?
    Thanks,
    Ashok

    what version of Enterprise is this? XI 3.1, Bi 4.0? Also what version pack are you running. I am asusming that APJ and EMEA\AMER users try to hit the same web\app server\ BOE, same application and access same reports. What kind of authentication you use? Given everything else is same it's got to be security issue? Does APJ users are part of a different group in your 3rd party auth server such as LDAP or AD?
    Edited by: Aasavari Bhave on Jan 25, 2012 2:55 PM

  • Exception calling "ExecuteNonQuery" with "0" argument(s): "CommandText property has not been initialized.

    I have CSV file  which has sdimiler  data I am inserting those  date to desinated table and while executing this  query mentioned below I get error mentioned in TITLE
    insert into SU_EDIT_DETAIL(EDIT_FUNCTION, TABLE_FUNCTION, CODE_FUNCTION, CODE_TYPE,CODE_BEGIN, CODE_END, EXCLUDE, INCLUDE_X, OP_NBR, TRANSCODE, VOID, YMDEFF, YMDEND, YMDTRANS)"
    select  $($line."EDIT_FUNCTION"),($line."TABLE_FUNCTION"), ($line."CODE_FUNCTION"),'DIAG', ($line."CODE_BEGIN"), ($line."CODE_END"),' ',' ',' ','MIS', 'C',' ',20141001, 99991231, 20131120 
    from dual where not exists(select * from SU_EDIT_DETAIL where (EDIT_FUNCTION = ($line."EDIT_FUNCTION") and TABLE_FUNCTION = ($line."TABLE_FUNCTION")
    and CODE_BEGIN= ($line."CODE_BEGIN") 
    and CODE_END= ($line."CODE_END")));
    commit;
    Vijay Patel

    This SQL appears to be Oracle PL/SQL.  You may want to post in the Oracle forum.  If you are habving issues with the ADO.NET objects then you need to supply more of your code.
    ¯\_(ツ)_/¯

  • Call method with an argument from another view controller

    I have a UIViewController MainViewController that brings up a modal view that is of the class AddPlayerViewController. When the user clicks 'Save' in the modal view I need to pass the Player data (which is a Player class) from the modal view to the MainViewController in addition to triggering a method in the MainViewController. What's the best way to accomplish this? I'm new to cocoa and have only tried using delegates and some ugly hacks to no avail.
    Thanks for the help.

    If I understand correctly, you have:
    1. A model object, Player.
    2. A top view controller, MainViewController.
    3. Another view controller, AddPlayerViewController, which MainViewController displays modally.
    I'm guessing that AddPlayerViewController creates a new Player object and lets the user set its values, and you need a way to get that new Player into MainViewController once they're done.
    So, here's what I'd do:
    1. Create an AddPlayerViewControllerDelegate protocol. It should declare two methods, "- (void)addPlayerViewController:(AddPlayerViewContrller*)controller didAddPlayer:(Player*)newPlayer" and "- (void)addPlayerViewControllerNotAddingPlayer:(AddPlayerViewController*)controll er".
    2. Add an attribute of type "id <AddPlayerViewControllerDelegate>" called delegate to AddPlayerViewController. Also add a property with "@property (assign)" and "@synthesize".
    3. Modify AddPlayerViewController so that if you click the "Save" button, addPlayerViewController:didAddPlayer: gets called, passing "self" and the new Player object as the two arguments. Also arrange for clicking the "Cancel" button to call addPlayerViewControllerNotAddingPlayer:.
    4. Modify MainViewController to declare that it conforms to AddPlayerViewControllerDelegate. Implement those two methods (addPlayerViewControllerNotAddingPlayer: might be an empty method if you don't want to do anything).
    5. When you create your AddPlayerViewController, set its delegate to your MainViewController.
    If you need more detail, let me know what parts you need me to elaborate on.

  • Issue in mapping custom user profile property with AD field in SharePoint 2013

    Hello,
    I am trying to map a custom user profile property i created "ADSecurityGroups", type - String, Multivalue with the AD propoerty named "memberOf" via powershell.
    UserProfile Service is up and running, and so is the Synchronization Service. User executing the powershell has full control on the User Profile Service and is the farm administrator.
    Following is the code snippet i grabbed from the internet which i am trying to execute.
    Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction "SilentlyContinue" 
    $url = "http://<servername:port>/" #URL of any site collection that is associated to the user profile service application. 
    $spsProperty = "ADSecurityGroups" #Internal name of the SharePoint user profile property 
    $fimProperty = "memberOf" #Name of the attribute in FIM/LDAP source 
    $connectionName = "UserProfileSyncConnection" #Name of the SharePoint synchronization connection
    $site = Get-SPSite $url
    if ($site) 
        Write-Host "Successfully obtained site reference!"
    else 
        Write-Host "Failed to obtain site reference"
    $serviceContext = Get-SPServiceContext($site)
    if ($serviceContext) 
        Write-Host "Successfully obtained service context!"
    else 
        Write-Host "Failed to obtain service context"
    $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager($serviceContext)
    if ($upManager) 
        Write-Host "Successfully obtained user profile manager!"
    else 
        Write-Host "Failed to obtain user profile manager"
    $synchConnection = $upManager.ConnectionManager[$connectionName]
    if ($synchConnection) 
        Write-Host "Successfully obtained synchronization connection!"
    else 
        Write-Host "Failed to obtain user synchronization connection!"
    Write-Host "Adding the attribute mapping..." 
    $synchConnection.PropertyMapping.AddNewMapping([Microsoft.Office.Server.UserProfiles.ProfileType]::User, $spsProperty, $fimProperty) 
    Write-Host "Done!"
    The script is failing with the following error - 
    new-object : Exception calling ".ctor" with "1" argument(s): "UserProfileApplicationNotAvailableException_Logging :: 
    UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 2f9bece3-f39a-498d-874f-145b1470e49c"
    At E:\ADSync.ps1:29 char:14
    + $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigMa ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
        + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
    Please let me know if i am missing anything.
    Also advise if this is the correct way to map user profile attribute in SP 2013 ?
    Thanks -
    Girish

    ok no worry,
    try to run the below as it is, i m just copying code from your post.
    Add-PSSnapin Microsoft.Sharepoint.Powershell
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server.UserProfiles")
    #Function to get servicecontextfunction Get-SPServiceContext([Microsoft.SharePoint.Administration.SPServiceApplication]
    $profileApp)
    $profileApp = @(Get-SPServiceApplication | ?
    {$_.TypeName -eq "MR_DEV_UserProfileServiceApplication"})[0]
    return [Microsoft.SharePoint.SPServiceContext]::GetContext
    ($profileApp.ServiceApplicationProxyGroup,
    [Microsoft.SharePoint.SPSiteSubscriptionIdentifier]::Default)
    $url = "http://sp-appdev:2013" #URL of any site collection that is associated to the user profile service application.
    $spsProperty = "RoomNumber" #Internal name of the SharePoint user profile property
    $fimProperty = "extensionAttribute2" #Name of the attribute in FIM/LDAP source
    $connectionName = "LDAP Sync" #Name of the SharePoint synchronization connection
    #Get UserProfileManager
    $serviceContext = Get-SPServiceContext
    if ($serviceContext)
    {Write-Host "Successfully obtained service context!"}
    else
    {Write-Host "Failed to obtain service context"}
    $upManager = new-object Microsoft.Office.Server.UserProfiles.UserProfileConfigManager($serviceContext)
    if ($upManager)
    {Write-Host "Successfully obtained user profile manager!"}
    else
    {Write-Host "Failed to obtain user profile manager"}
    $synchConnection = $upManager.ConnectionManager[$connectionName]
    if ($synchConnection)
    {Write-Host "Successfully obtained synchronization connection!"}
    else
    {Write-Host "Failed to obtain user synchronization connection!"}
    Write-Host "Adding the attribute mapping..."
    $synchConnection.PropertyMapping.AddNewMapping([Microsoft.Office.Server.UserProfiles.ProfileType]::User, $spsProperty, $fimProperty)
    Write-Host "Done!"
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to create a proxy object for MOSS integration via WebDynpro For ABAP

    Hello all,
    I have a question about the creation of an ABAP proxy class in SE80.
    When i follow this link:
    [https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d&overridelayout=true]
    i see on page 7 that there is: a tab under create called Enterprise Service/ Web Service with under this tab a tab called proxy object.
    When i do this in my SE80 i only see Enterprise Service and not proxy object.
    Screenshot
    [http://picasaweb.google.be/panneels.robin/SAPScreens#5377623235095894546]
    Is there a extra configuration or add-on needed to do this action? Or is there a work-arround for this?
    Because we need this for abap web dynpro for communication with MOSS.
    Thanks in advance for all your help.
    With kind regards,
    Robin Panneels

    Hi James,
    If you like to use SAP web dispatcher as a solution for load balancing portal application, you no need to create system object under systems..
    You have to install web dispatcher as separate instance where you need to configure portal apps into it..
    Configure web dispatcher like to hit the admin port, use http://<webdisp-server>:<adminport>/sap/admin
    For normal portal access, use http://<friendly URL>/irj/portal
    The good news is that the webdispatcher knows that the portal supports SSL
    Another advantage of this config, is the webdisp, will just replace the apache redirect server. Users will access mycompany.com, without any port number, since we are redirecting 80 to the backend j2ee. Also, https should work like in the normal world.
    Profile will be like below...
    SAPSYSTEMNAME = WEB
    SAPSYSTEM = 00
    INSTANCE_NAME = W00
    DIR_CT_RUN = $(DIR_EXE_ROOT)/run
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    Accesssability of Message Server
    Message Server Parameters ##########
    NOTE: The "ms/http_port" must match the profile on the Central Instance
    rdisp/mshost = <FQDN of portal CI Host>
    ms/http_port = <Ms port of portal>
    SAP Web Dispatcher Ports
    #icm/server_port_0 = PROT=HTTP,PORT=81$$
    icm/server_port_0 = PROT=HTTP,PORT=80, TIMEOUT=3600, EXTBIND=1 (some OS will not allow to bind ports <1024)
    Admin port details
    icm/server_port_1 = PROT=HTTP,PORT=3200
    #, EXTBIND=1
    icm/HTTP/admin_0 =
    PREFIX=/sap/admin,DOCROOT=./admin,PORT=3200,AUTHFILE=/usr/sap/WEB/SYS/global/security/data/icmauth.txt
    SSL
    icm/HTTP/redirect_0 = PREFIX=/ , TO=http://<friendly URL name>/irj/portal
    WebAS Message Server Parameters
    rdisp/TRACE = 1
    icm/trace_secured_data = 1
    Regards
    Suresh

  • Proxy Object generation error using Wizard for Web Service Consumption

    HI all,
    I am using the Web Service Proxy Object Generation Wizard (via SE80) and have successfully been able to create a Proxy Object for a Web Service which resides on our INTRAnet.
    ...But now I am trying to consume a Web Service out on the INTERnet and I get an error I cannot quite understand when generating the Proxy Object using the URL of the WSDL of the SOAP Web Service.
    The initial error in SE80 simply states "No vendor specified", but when I double-click on the error to get the long text I get the following error:
    Incorrect value: Namespace prefix q1 of QName q1:RequestArray is undeclared
    Exception of class CX_SLIB
    Has anyone seen this or have experience with this?
    I am a senior ABAP-er but have very little experence on the web development side of things so this looks very foreign to me.
    Any input would be GREATLY appreciated!
    Thanks!!
    -Chris

    RESOLVED! ---
    I figured it out with further trial and error...
    Turns out I was using the SOAP version of the WSDL (I had a choice b/ween SOAP, REST, and XML).
    When I simply supply the XML version of the WSDL to the Proxy in the Web Services Wizard, the error vanished and the Proxy Objects generated just fine !!
    ..Closing this problem.
    Edited by: Christopher Twirbutt on May 26, 2009 5:36 PM
    Edited by: Christopher Twirbutt on May 26, 2009 5:37 PM
    Edited by: Christopher Twirbutt on May 26, 2009 5:39 PM

  • Interfaces of different SCVs are always assigned to the same proxy object

    Hi,
    for clean versioning and maintenance of development branches we use different versions of a software component in the ESR. It looks like this:
    SC_NAME 1.1 of namespace.com
    +- http://namespace.com/project/a
       +- Service Interfaces
          +- Interface1
          +- Interface2
          +- Interface3
    SC_NAME 1.2 of namespace.com
    +- http://namespace.com/project/a
       +- Service Interfaces
          +- Interface1
          +- Interface2
          +- Interface3
    SC_NAME 1.3 of namespace.com
    +- http://namespace.com/project/a
       +- Service Interfaces
          +- Interface1
          +- Interface2
          +- Interface3
    Here is the problem:
    Service interfaces are assigned to proxy objects by using the key type/name/namespace of the repository object (refer SAP note [886682|https://service.sap.com/sap/support/notes/886682]). That means that the software component version of the repository objects is ignored when generating ABAP proxy objects.
    Since in our case (see above) all service interfaces have the same type/name/namespace combination, all services interfaces get assigned automatically to the same ABAP proxy object. That makes it impossible to maintain different versions of ABAP proxies for the corresponding service interfaces!
    As a workaround we only have two opportunities:
    Either we add the version number of the SCV to the namespace (e.g. http://namespace.com/project/a/v1, http://namespace.com/project/a/v2, ...) or we add the version number to the interface name (e.g. Interface1_v1, Interface1_v2, ...) in order to distinguish the service interfaces for the proxy generation.
    Both solutions are very ugly in my opinion, since they make our clean versioning with SAP's software component model useless.
    Are these solutions the only way to seperate the generated ABAP proxies for each version of a SVC? If yes, then I can hardly believe, that nobody else in the SDN ever mentioned this - in my opinion - huge flaw in the ABAP proxy generation.
    Please correct me, if I missed something.
    Regards,
    Adam
    Edited by: Adam Sosnowski on Dec 3, 2009 11:25 AM

    Hi Stefan,
    thank you for the quick response. It really looks like a bug, since it undermines the versioning with the software component model.
    Inside an SAP system, there is only one valid SWCV. So when you decide to use version 1.1 for one system, you cannot use 1.2 for the same system.
    I don't exactly know, what you mean with "inside an SAP system". We connect different versions of a client application to different versions of service applications. Newer version may contain an enhanced data model (new fields in the messages, etc.). For that reason, we split the development into branches using different SWCVs in order to handle e.g. change requests for older versions seperately. This approach is a common pattern and it is also the purpose of using software component versions.
    Regards,
    Adam

  • Consume an external web service with an ABAP proxy

    Hello,
    I'm working on creating an ABAP Proxy to consume my first web service.  In searching SCN I haven't found a comprehensive list of steps to complete the process, but I have found information on generating a proxy from a WSDL and creating a logical port.
    My first issue arises when I go to SPROXY to generate a proxy from a WSDL, I see the message 'Local objects only (No Connection to ESR)', and I have no ability to 'create'.  The Enterprise Service Repository seems to be the new name for the Integration Repository, if that helps.  Do I need the ESR installed to create a proxy?
    A follow-on question, assuming I do need the ESR, would be what do I do with it?  It appears to serve the purpose of design for interfaces, messages, and mapping, but I thought that happened when I created a proxy in SPROXY.
    We're on ECC 6.0, with a 702 / 0007 basis release.  I appreciate and light you can shed on the topic.
    Thanks

    ESR is part of the PI system, and it is where all interfaces details are stored.You could create an ABAP Proxy from a pre-defined WDSL yet stored in PI as part of some communication, but you can also import directly a WSDL from a local file or even from a URL.
    ABAP proxy generates a proxy class and a set of abap structures , fields and data elements. Simply by filling the data and call a method in the proxy class (depends of syncrhonization a different method name) you can consume your service. No PI is needed if you use the local option.
    There is a very good Tutorial from Thomas Jung. I'll try to find it.
    http://scn.sap.com/people/thomas.jung/blog/2005/05/13/calling-webservices-from-abap-via-https
    Here you have a lot of tutorials
    Best regards

  • Proxy object to consume web service

    Hi,
    I want to consume a web service in ABAP (on a WAS 7 box) and have read many blogs/posts about using a proxy object.
    I've gone to SE80 and selected create a service consumer, enter the URL for the WSDL.
    The generation of the proxy fails with the following  messages;
    Proxy-Generierung: Fehler aufgetreten
    Exception occured in the library handler
    not implemented
    There is no other help or information in these errors.
    Does anyone have any ideas on what is causing this and what I can do to successfully generate a proxy to consume the web service ?
    Cheers
    James

    Hello Torsten,
    It seems that the Web Service You are going to consume is a SOAP 1.2 one.
    It is apparently making use of the so-called "SOAP Web Method Feature" which is part of the SOAP 1.2 specification (see [Web Method Feature (W3C)|http://www.w3.org/TR/soap12-part2/#WebMethodFeature]).
    Unfortunately, SOAP 1.2 is, to the best of my knowledge, not supported as yet by the SOAP Adapter in SAP NW 7.0 / 7.1. That leaves You, in theory, with one of the following options:
    - It might be possible to consume that service with the help of Axis framework (see [Using the Axis Framework in the SOAP Adapter|http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm]). SAP Help states that with the help of the Axis framework SOAP 1.2 can be used. However, there are no further details on that subject, especially whether Web Method feature can be utilised (btw - has anyone tried this?).
    - Ask service provider for a SOAP 1.1-compatible WSDL.
    - Attempt to reverse engineer the SAP SOAP proxy so that it is capable of consuming a SOAP 1.2 Web Method-based web service (has anyone done this before?).
    Would You be so kind to post whether, and how, You were able to consume this web service?
    Kind regards
    Wiktor Nyckowski

Maybe you are looking for

  • Question on event

    What's the type of the new value for many condition in a event loop. The wire has a dark mauve color ? Thx

  • Mail 4.3 (OSX 10.6.4) not working properly with Exchange 2007

    I'm trying to configure my mail client to access a corporate Exchange 2007 server. When I put in all the correct information, I get an immediate response that says the Exchange server is not responding on port 443. When I try a terminal session and t

  • Batch Capture stopping early

    For some reason I set clips to batch capture and FCP 4.5 stops capturing minutes early. I already went through the QT & pro apps update fiasco and downgraded to the older formats. I've been capturing easily from analog but keep having this niggling l

  • From Jobs...

    "iPhone now has Maps with location. Webclips. Can customize the home screens. You can SMS multiple people at once."

  • Dv6z-6c00 Left Side USB3 Ports not working

    Hey! I just replaced my HDD and did a clean install of Windows 7 Home Premium 64-bit. Everything seems to be working so far, with the exception of the USB 3.0 ports on the left side. I've poked around at different drivers on the website, but I can't