Proxy Class for Services

Hi!
I followed the Blogs <a href="/people/amir.madani/blog/2007/01/05/create-dynamic-xss-homepages-with-static-services-using-a-simple-proxy-class Dynamic XSS Homepages with Static Services Using a Simple Proxy Class</a> advisory to dynamically set some services invisible on XSS areapage, wich works out fine except the following:When setting all services of an area to invisible, the link to it still remains in areagroup of course.
After klicking in, I receive two messages - no services available (one for the area itself, I assmue, and one for subarea).
Is there a possibility to get rid of this messages or the area-link itself on areagroup?
Regards,
Thomas

Hello Thomas,
when you say you have set all services of an area to invisible, you basically want to make the area itself invisible and not a specific service, right?
Unfortunately the link between Area goup page and Area page is static. But you could implement a enhancement to the standard anyway, so it does become dynamic
regards,
Markus

Similar Messages

  • Best Practice for WSDL Generate Proxy Class for Web Service with Two Versions

    Dear All
    Thank you in advance for you help.
    I would like to generate proxy classes for same function but with two versions.
    Old version web service (v23.2) is used for stable modules in a project which is not going to modify.
    However, enhancement is added in new version web service (v24) and is going to use in any future modules.
    For example,
    wsdl.exe -o="TestProxy.cs" -l:CS -n:Test -sharetypes https://community.workday.com/custom/developer/API/Notification/v23.2/Notification.wsdl https://community.workday.com/custom/developer/API/Notification/v24.0/Notification.wsdl
    It generates similar classes with an '1' added at the end of the class name.
    ublic partial class Event_TargetObjectType {
    private Event_TargetObjectIDType[] idField;
    public partial class Event_TargetObjectType1 {
    private Event_TargetObjectIDType1[] idField; ...}
    Since the function inside some class is the same, is it possible for WSDL.exe to generate proxy classes automatically that if the class is the same, then generate one class only (sameFunction())  but if it detects the class is different, then add '1'
    to the end of class name (differentFunction() and differentFunction1())
    i.e.
    public class sameFunction()
    public class differentFunction()
    private int a;}
    public class differentFunction1()
    { private int b;
    Best Regards
    mintssoul

    Hi  mintssoul,
      As per this case, I have shared corresponding details below :
    1.As far as I know, WCF doesn’t support method overloading directly
    2.Because WSDL doesn’t support method overloading (not OOPs).
    3.WCF generates WSDL which specifies the location of the service and the operation or methods the service exposes.
    4.WCF use Document/Literal WSDL Style : Microsoft proposed this standard where the soap body element will contain the web method name.
    5.By default all the WCF services conform to the document literal standard where the soap body should include the method name.
    6.but you can differ the method in the same manually by using Name attribute like below 
    For example:
        [OperationContract(Name="Integers")]
        int Display(int a,int b)
        [OperationContract(Name="Doubles")]
    double Display(double a,double b)
    7. Or I suggest you that can use svcutil to map multiple namespaces for generating wcf service proxies .
        for more information about this, refer here :
    http://stackoverflow.com/questions/1103686/use-svcutil-to-map-multiple-namespaces-for-generating-wcf-service-proxies

  • Unable to Generating a proxy class for the Enterprise Service

    Hi ,
    I  am trying to consuming an SAP  XI Web
    Service in Visual Studio 2005. I followd this document <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3057b5a7-99d0-2910-8f8f-f357dc4b70b5">Consume ES Workplace Enterprise Services with Microsoft .Net 2.0 and Visual Studio .Net 2005:</a>.
    While try to create a Proxy Class for the WSDL  file(XI)  using wsdl.exe tool it shows the error  like this "There is an error in XML document -Value cannot be null Parameter name:name".
    If there  any way to pass the parameter  through wsdl.exe tool .
    Regards,
    Malini.V

    Check for unnecessary spaces in the WSDL file. Especially in xsd:union tags.
    I had the following problem:
    <xsd:union memberTypes=" xsd:time genericTime" ...
    Correct:
    <xsd:union memberTypes="xsd:time genericTime" ...
    and WSDL.exe was able to generate the proxy class code.
    Kind regards
    Holger

  • How to set username and password when using Proxy class for SOCKS5?

    Hi all,
    I use the proxy class for SOCKS5, so need to set username and password, I don't find where can I set the value. whether the API support it.
    Thanks in advance!

    System.getProperties().put("proxySet", "true");That does nothing. Remove.
    System.getProperties().put("proxyHost", getProxyHost());
    System.getProperties().put("proxyPort", getProxyPort());You should be setting socks.proxyHost and socks.proxyPort here.
    System.setProperty("java.net.socks.username", getSOCKSUsername());
    System.setProperty("java.net.socks.password", getSOCKSPassword());
    Authenticator.setDefault(new ProxyAuth(getSOCKSUsername(), getSOCKSPassword()));You either need the first two lines or the third, not both. See the last link posted above.
    1. After I set the value, I connect internet by proxy, how the proxy server knows the values?Because Java tells it during the SOCKS handshake.
    2. In my app, I just set the values in the system properties, then JVM does remaining work? Remaining work is not concerned?Should be OK unless you have to connect to a different SOCKS proxy from the same JVM, but that kind of thing is problematic anyway due to the curious Authenticator design which is set globally, not per connection as you might expect.

  • How to create proxy class for a Siebel WS which has many Workflows in it?

    Hi,
    I am facing a strange problem. I have a Web Service for which there are many workflows associated with this. When I generate WSDL for this Web Service and later on generate proxy class in .NET, it creates mutilple classes for each workflow. From UI, I can invoke a perticular method for the class for which I am interested in. But when I am building the same in JDeveloper, using Web Service proxy, I get only one class and I am not interested in invoking method in this class but interested in some other class for which the proxy was not generated. Is there some way to generate multiple classes in JDeveloper proxy?
    Thanks,
    Sudha.

    I have figured this out. Actually Generate proxy creates package and it includes all the class in it. Now i am able to invoke web service method call.

  • Proxy Class in Service Key

    Hello,
    i need to view the code underneath the proxy class "CL_BENEFITS_AREAPAGE" which is present in the service key for Benefits Open enrollment. I believe there is a url in this class that is currently pointing to the standard ess role which i need to redirect to my custom ess role.
    any help would be greatly appreciated. thanks.
    Sunil

    Hi
    This class contains three methods.
    IF_XSS_SER_PROXY_SERVICE~GET_SERVICES
    IF_XSS_SER_PROXY_SERVICE~GET_SERVICE_DATA
    IF_XSS_SER_PROXY_SERVICE~SET_CONTEXT_PARAMETERS
    GET_SERVICE_DATA method contains FM HRXSS_SER_READTABRE which has a importing parameter. For more details please goto SE24 transaction and check the proxy class.
    Thank you.
    barin

  • Proxy Class (for compiling purpose)?

    Since JDK 1.3, there is a Proxy class that allows us to dynamically generate Java object classes from scripts. We can use it to implement interface functions etc and calls to these functions would be redirect to a hook.
    My question is, will Sun consider to extend this functionality to compiled Java classes using some mechanism?
    For instance, I would like to statically link to some JavaScript functions or read the variables of some JavaScript objects. That is a lot easier than calling some long functions to access the variable/functions.
    The problem is the compiler would not understand such need unless the variables/functions are present in the statically compiled class files.
    Would it possible to a compile time class executed by the compiler to generate a list of variables/functions and types accessible.
    For example:
    // resource/test.js needs to be in the class path
    import javascript.ProxyClassHandler("resource/test.js");
    public class Foo
       public static void main ()
          // javascriptobject is the package of the object generated from resource/test.js
          javascriptobject.Test = (javascript.Test)JavaScript.eval ("resource/test.js");
          new Thread (Test.getRunnable ()).start ();
          System.out.println (Test.foo);
    }In the example above, the function getRunnable () and the field foo are statically linked at coimpile time.
    This capability can be useful because it allows Java to have better mixing with other scripting engines running on top of JVM.
    Currently, except the variable part which is not being handled by Proxy class, there is a workaround by generating an actual interface that correspond to javascript.Test. And then use that for the compiling purpose. The problem is that it is a two step process and does not handle variables. When we are dealing with heavy mixing of scripts and Java code, it can become a serious pain.
    What do you think of this idea?
    Message was edited by:
    coconut99_99

    Well, interface simply cannot solve all the problems. When one deals with scripting engine a lot, it is the general case that it is much easier to access fields and functions of Java objects, but extremely painful to access fields and functions of the script objects. Every scripting engine has its own way of how to getting the scripted objects exposed.
    Proxy of JDK1.3 alleviate the problem somewhat, but it is still problematic overall. Even if we use interfaces, we would have to "cast" the object returned from the scripting engine anyways, already "violating" the OO principle ^_^ Besides, scripts can generate GUI components and sub-classing them within scripting engine just fine, how to return the script object?
    If scripting engines, such as BeanShell and Rhino JS are capable of generating class byte codes, why not have a convenient way of importing these classes (having two steps complicates maintainence), and thus being able to access/link to the exposed script object statically. This way, we can discover problems at compile time rather than having to run the actual code and discover (if we ever) the runtime exceptions.
    Here is another case where it would be immensely useful.
    Say there is an XML parser that generate classes dynamically, and inserting class members as attributes as were read from an XML. Currently, there are two ways of accomplishing the similar thing. One is through JAXB or similar, which is known for slowness, requiring XML Schema, and generating classes. These three reasons remove JAXB from general use. Another is through DOM, which is used in general. However, this does not mean to say it is simple to use DOM. It is very wordy. One has to use myDomTree.getAttribute ("abc") to access an attribute, while on the other hand in other languages such as Python and JavaScript, one could potentially access DOM tree in the form of myDomTree.abc. With import method described in the original post, we would be able to access the fields, which is somewhat like auto importing the result from JAXB class generated. Compiler may maintain the generated class cache as needed if we are compiling many classes.
    Of course this still does not give us full power of meta objects of what Python/JS provides, they have their own problems having such flexibilities in general, but it could provide Java such capability when there is such needed.

  • Cannot load required classes for service SLD Data supplier

    Hello Experts,
             I am trying to use the SLD Data supplier service from visual administartor for registering my DEV EP 7.0 engine in central SLD.When am trying to access that particular service from visual admin,it is throwing an error saying that:"Cannot load required classes for SLD Data Supplier service and please refer the not for resolution Note No:1017526.
    My NW EP 7.0 is at SP17 level and as per the above note all settings are fine and the relevant application is also started well.
    Please suggest us for any possible solution.
    Thanks&Regards,
    Apparao S.

    > You can also try the following: Move sldserv.jar from
    > /usr/sap/<SID>/<InstID>/j2ee/cluster/server0/bin/services/sld/
    > to
    > /usr/sap/<SID>/<InstID>/j2ee/admin/lib/
    Hi Desiree,
    Thanks, worked for me too.
    Only in my case, when I moved the file, the sld data provider service did not start at all after reboot of the instance.
    Also, the sap.com/tcsldwd~main application refused to start.
    I then copied the file back, this time maintaining an entry in both locations and reboot the instance. Everything started working after I reboot the instance. The error also disappeared and I was able to change the SLDuser password.
    Thanks
    Prasad

  • Form class for service notification

    Hi All,
    I am unable to find form class (In transaction EFCS) for service notification for shop papers printing. Can anyone help me in finding form class for this.
    Thanks in advance.
    Vijay

    Tcode OIDA (I had to type /NOIDA 
    IMG>Plant Maintenance and Customer Service>Maint and Serv Processing>Maint and Serv Notifications>Notification Procesing>Notification Print Control

  • Valuation class for service master

    Hi Guys,
    I am trying for automatic G/L account determination for Service PO's. My issue i have to enter g/l code for each line item in the PO. I am not sure how the g/l account determination based on valuation class works for Service PO's
    I have assigned the account category reference to the service category and to the valuation class 3200 i have assigned a g/l account for the key FRL.
    Please let me know what I am missing?
    Thanks and regards,
    Siddharth M

    Hi Sidmi
    The account assignment settings made for materials consumption will work for services also .
    You do not need FRL for services (it's for sub-contracting)
    Account category reference decides which all valuation classes can be used for a service category. It does not determine valuation class in a transaction (it's only checks with this setting).
    If you want to determine GL account automatically in your txns, then you have following options:
    1) Spro>Material management>Purchasing>material master->entry aids for items without material master
    For all the material groups you want to use for services , assign a valuation class here.
    2) If you maintain service masters, then you can assign valuation class in service master.
    Best regards
    Ramki

  • How to being the coding inside an inbound proxy class for a given structure

    Hi.
    i have been assigned a task to write a code to post a GL for which i am using a BAPI but as the mapping is done in XI the structure has been provided, where the structure in nested in first table type and then line type and above all the proxy structure, so i was wondering how would i start with the coding part as it would have been easy if i had to access the structure directly from the DB table but now i have to make use of the structure provided by XI.
    can any one help to start with the coding logic, where in afterwards in can implement the rest of the logic myself,
    Thanks in advance,
    Robert.

    You should run an application in the "debug" mode. Just put "&analyze=X" at the end of the PCUI application' URL in the browser.
    Sometimes it's necessary to turn off buffering:
    • Call up the 'User maintenance' transaciton (SU01)
    • Call up the change mode for the desired user
    • Go to the 'Parameters' tab
    • Create parameter CRM_URL_BUFFER_OFF if this does not exist
    • Enter parameter value 'X' for parameter CRM_URL_BUFFER_OFF
    • Save

  • Extending the class - For extra feilds\properties on service requests

    We have extended the class for service request so we can have extra properties for user input on service requests. These extra feilds are now visible via the extensions tab at the top of the service request and also on a new tab next to Histroy.
    However each time we open a new service request the default tab it opens onto is this new "Notes" tab and not the "General" tab, causing a lot of fustrations. See below:
    Anyone know how to change this default view back to the general tab?

    An annoying "feature" of SCSM form customisation is that the last tab changed becomes the default tab shown. Open your custom form MP in the Authoring Tool again and go to the general tab, change the top margin by 1 of the title or something
    similar, reseal, import. The general tab will be the default once more.
    Rob Ford scsmnz.net
    Cireson www.cireson.com
    For a free SCSM 2012 Notify Analyst app click
    here

  • C# Proxy Classes from SAP WSDL files

    We are trying to generate proxy classes for SAP eSOA web services using C# and Visual Studio 2005.
    When we try to run Microsoft's proxy class generation utility, WSDL.exe, errors are generated that attribute incorrect syntax to the SAP WSDL file:
    > Microsoft (R) Web Services Description Language Utility [Microsoft (R)
    > .NET Framework, Version 2.0.50727.42] Copyright (C) Microsoft
    > Corporation. All rights reserved.
    > Warning: This web reference does not conform to WS-I Basic Profile v1.1.
    > R2028, R2029: A DESCRIPTION using the WSDL namespace and the WSDL SOAP
    > binding n amespace MUST be valid according to the XML Schemas found at
    > http://schemas.xmls oap.org/wsdl/2003-02-11.xsd and http://schemas.xmlsoap.org/wsdl/soap/2003-02-11.
    > xsd.
    >   -  Warning: The element 'definitions' in namespace
    > 'http://schemas.xmlsoap.org /wsdl/' has invalid child element 'properties' in namespace 'urn:com-sap:ifr:v2:
    > wsdl'. List of possible elements expected: 'import, types, message,
    > portType, bi nding, service' in namespace
    > 'http://schemas.xmlsoap.org/wsdl/'. Line 1748, posi tion 4.
    >
    > SOAP 1.1 binding was not found: WS-I's Basic Profile 1.1 consists of
    > implementat ion guidelines that recommend how a set of core Web
    > services specifications shou ld be used together to develop
    > interoperable Web services. For the 1.1 Profile, those specifications are SOAP 1.1, WSDL 1.1, UDDI 2.0, XML 1.0 and XML Schema.
    >
    > For more details on the WS-I Basic Profile v1.1, see the specification
    > at http://www.ws-i.org/Profiles/BasicProfile-1.1.html.
      The WSDL file is obtained from the SAP ES Workplace, from the following URL:
    http://erp.esworkplace.sap.com/socoview(bD1lbiZjPTgwMCZkPW1pbg==)/render.asp?&id=4FFC1A97663611DA36BB000F20DAC9EF&fragID=&packageid=DBBB6D8AA3B382F191E0000F20F64781&iv=
      We have already tried both SAP files available from this location; neither works.
      Any insight you can offer to help us generate these proxy classes is welcome. Note that the SAP PDF file, "ESOA-Roadmap-Workshop.PDF" talks about one syntactic incompatibility with Microsoft WSDL (on page 70), but this solution does not work, and indeed the token 'parameters' does not appear anywhere in either SAP WSDL file for Create Maintenance Request eSOA.
      Thanks for any help you can offer!
    -- Julian Mensch

    I have the same problem after renaming "parameters" to "parameter" and I'm using the same example ES that's in the document:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ECC_EMPLOYEEBASICDBYEMPLOYEEQR/version3?sap-client=800&wsdl=1.1
    wsdl.exe from .NET Framework 2.0.50727.42 gives me
    Microsoft (R) Web Services Description Language Utility
    [Microsoft (R) .NET Framework, Version 2.0.50727.42]
    Copyright (C) Microsoft Corporation. All rights reserved.
    Warning: This web reference does not conform to WS-I Basic Profile v1.1.
    SOAP 1.1 binding was not found: WS-I's Basic Profile 1.1 consists of implementat
    ion guidelines that recommend how a set of core Web services specifications shou
    ld be used together to develop interoperable Web services. For the 1.1 Profile,
    those specifications are SOAP 1.1, WSDL 1.1, UDDI 2.0, XML 1.0 and XML Schema.
    For more details on the WS-I Basic Profile v1.1, see the specification
    at http://www.ws-i.org/Profiles/BasicProfile-1.1.html.
    Warning: no classes were generated.
    Warnings were encountered. Review generated source comments for more details.
    I'm sure it's something really stupid since this example worked at some point for whoever wrote the doc...
    It's sad that there is basically no .NET support from the SAP side and apart from a few documents there is basically no developer documentation or samples...

  • AXL API WSDL Proxy Class C#

    Hello all,
    Has anyone been able to creat a working WSDL Proxy class for the AXAPI?
    If so I would be forever indebted to you if you could post one.
    I have tried all the proxy generation tools I can find and none seem to work.
    Many thanks,
    Peter

    Here are a few recent posts on this subject that might be of use. The first one is probably most relevant for you (the last couple samples solve the problem in Java):
    How to generate AXLAPI WebService proxy?
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=IP%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.ee9939a
    ([email protected]'s attempts to generate a C# proxy)
    Problem using AXL from .Net
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=IP%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1dd6ffed
    (jmlacoste's notes on trying to generate a C# proxy, no resolution posted)
    Problems generating Web Service proxy for AXLAPI.wsdl
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=IP%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1dd826d0
    (jpalefsky's attempts to use Microsoft's wsdl.exe, no resolution posted)
    wsdl for 4.1.2
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=IP%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1dd892dc
    (zacharyshaw built Axis stubs)
    anyone using Axis,Castor or JAXB?
    http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=IP%20Communications%20and%20Video&topic=IP%20Phone%20Services%20for%20Developers&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.1dd89be6
    (ckatene generated JAXB libraries)

  • Proxy class sometimes generate bean class by webmethod name

    Hi,
    I have designed a wrapper for my proxy classes for our project Web logic integration into Siebel
    I found that during generation of proxy classes, the generated proxy class contain a bean class which is named same as the exposed web service method name, which I use to get the parameter name of method thru reflection from this generated bean class. But sometimes it doesn't generate this bean class at all, i don't know the reason why it does so.
    Can any one let me know why this happens so,or is there any way that i can get this bean class in the name of exposed web service method name get generated always.
    Also I want to know how to keep generated the webparam annotation for the for the exposed webemethods> Is that controlled by the web service provider?
    Thanks
    Krishnakumar (Siebel Core - Web logic integration)
    [email protected]

    It depends on the service style used by the WSDL, the class wrapping the webservice operation is generated only for document literal wrapper style.

Maybe you are looking for