Operations not sorted in the drop list of the web service endpoint

Hello,
Since the beginning of oc4j standalone till the last release 10.1.3.5.0, the operations in the drop list of the web service endpoint are not alphabetically sorted,
they are in a random order.
If a web service contains a lot of operations, it's always difficult to find one operation in the list.
How can this list be sorted ?
I don't see any sort option in the web service properties (in Jdevelopper) or in the deployment descriptor (in Jdevlopper).
Best regards
Laurent

You are correct...the above code is useful only when debugging in Visual Studio.  You should have better luck with either of the following two options:
Option 1: Retrieve the id from the response of SaveChanges()
sc.AddToSampleList(new ServiceReference.SampleListItem { Title= "Hello World" });
System.Data.Services.Client.ChangeOperationResponse response = sc.SaveChanges().FirstOrDefault() as System.Data.Services.Client.ChangeOperationResponse;
int id = ((ServiceReference.SampleListItem)((System.Data.Services.Client.EntityDescriptor)response.Descriptor).Entity).Id;
Option 2: Create the list item and access its properties after calling SaveChanges()
ServiceReference.SampleListItem li = new ServiceReference.SampleListItem { Title= "Hello World" };
sc.AddToSampleList(li);
sc.SaveChanges();
int id = li.Id;

Similar Messages

  • CRUD operation return messages thru the web services

    Hello,
    I am creating some webservices which exposes the CRUD operations. Now when I am invoking these operations e.g. delete, update, it does not return proper messages when the record gets deleted or updated.
    Can anyone pls let me know what I need to do to return more meaningful message to the user ?
    Thanks in advance.
    Ranjan

    Hello,
    I am creating some webservices which exposes the CRUD operations. Now when I am invoking these operations e.g. delete, update, it does not return proper messages when the record gets deleted or updated.
    Can anyone pls let me know what I need to do to return more meaningful message to the user ?
    Thanks in advance.
    Ranjan

  • Top down approach for creating the web services in NWDS 7.1

    I am trying to develop a web service in top down approach.
    1) I created a Dynamic web project.
    2) Created a WSDL File using the WSDL Graphic editor.
    3) Now i am trying to create the Webservice from the WSDL file ,  i am getting the following error
    The SAP Netweaver Web service runtime does not support the service project type Dynamic Web Project.
    How do i created the web service from here on.
    Regards
    ABS

    In NWDS 7.1 i used to create webservice.I followed the process given in sap help.
    steps:
    1.      In the SAP NetWeaver Developer Studio, you create an EJB Project and an enterprise application project for the Web service.
    2.      In the EJB Project, you create an EJB Session Bean 3.0 and implement the business logic of the Web service.
    3.      You expose the EJB Session Bean 3.0 as a Web service, using the Web service wizard in the SAP NetWeaver Developer Studio.
    4.    You deploy the Web service endpoint on the application server.
    Thanks,
    Murthy.

  • Dropdown List binding from web-service storing the reference not the value

    Hi,
    In my human task form, I have a dropdown field who's value list has to be derived from a web-service exposing a table holding the list of values.
    It works perfectly fine for the end-user, as in when a user selects a value, say 'XYZ' in step-1 the next user in step-2 is able to see the value as 'XYZ'.
    However, when I check the payload of the the composite instance in enterprise manager after the instance has left step-1, I do not see the value 'XYZ' in the payload XML; instead I see a string oracle.jbo.Key[2 0 ]. It seems like BPM is storing some sort of a reference to that value that it resolves at run-time thus displaying 'XYZ'. As the user changes the value from the list, the array seem to be changing like [3 0],[1 0],etc.
    Is this how it is expected to behave ? Doesn't seem to be right to me as for all other fields it promptly stores the actual value in the payload and not any sort of reference
    Here's what I did:
    1. Added a Data Control of type web-service and provided the wsdl link for the same. The wizard asks for the operations which in my case is a simple 'select'
    2. From the data control corresponding to the human-task data model, I dragged the field and selected Single Choice>ADF Select One Choice control
    3. Edit binding page opens where the data-control of the web-service is enabled and has the option for providing the input for the web-service
    4. Click ok and the next screen displays 'edit list binding' for the field dragged from the human task payload. Here I add the data control's output object (iterator). Then I provide the data mapping where I define the ID field identifying the value user would select. The display attribute has description of the id.
    Regards,
    Sudripta
    Edited by: Sudripta on Apr 2, 2013 8:44 PM

    Try this -
    http://adfwithejb.blogspot.com/2012/03/how-to-programmatically-create-select.html

  • When I sort bookmarks in "organize bookmarks" they are not sorted under the bookmarks pulldown menu. Latest additions are not integrated into the sort

    When I sort bookmarks in "Organize Bookmarks" they are not sorted under the pulldown menu on a regular page. Recently added bookmarks are not inegrated into to sorting.

    See this:
    [https://support.mozilla.com/en-US/kb/Sorting+bookmarks#Sorting_by_name]

  • Enhancement Implementation - Operation not supported by the selected object

    Hi,
    I have created an Enhancement Implementation (EI) of Enhancement Spot BADI_ACC_DOCUMENT via transaction SE19. When activating the EI, the following message occurs and the EI is not activated:
    Operation not supported by the selected object
    Message no. SEU_MANAGER061
    I have searched the forum and service marketplace for the message, but I still have no resolution of the problem. Any help is greatly appreciated.
    Thank you.

    It turned out to be a basis problem. Looking into transaction SM21 showed that the database was full.

  • UI Screen Configs not reflecting on the web

    For doing screen configuration,  when I click on the frame to configure, the system is picking up std key and not the custom key zpartman though zpartman key is there in the list. ( Note: Zpartman key is the one assigned to this role ). Therefore if I do config in zpartman key, it's not reflecting on the web. Please reply what could be the reason and the solution.
    Thanks
    TR

    Hi TR
    first access the standard and check the configuration info such as what is the configuration key , object and subobject .
    Then access your custom configuration screen and check what it was looking for and what is it picked , change your custom configuration accordingly what it was looking for (by making changes to configuration key, object and sub object).
    Check that you are accessing in the same client if not transport the request to other client using SCC1 transaction.
    Thanks & Regards
    Raj

  • Report Not working in the Web Browser

    Hi ALL ,
    Am working on a item SKU report . The report is running fine in the BIDS but once i try to view the report in the WEB Browser
    tried both Mozilla and Internet Explorer no data is shows up .
    The report has 2 report filter one is on the service and the other one is the item sku its a multi - parameter  that contains
    a list of more than 6000 different SKU . Can the filter be the reason for the report not displaying in the web browser.
    If yes kindly advice me what the workaround for it .
    I tried having the filter in the  SQL main query but it was of no use no data it was showing after having the ssrs report filter
    at least right information its showing but in the BIDS not in the main web browser.
    Kindly Help
    Priya

    Hi Priya,
    According to the description, I understand that there are parameters (@SKU and @SKUlist) in the report, and SKUlist parameter is multi-value parameter. When selecting values of the SKU parameter, the parameter SKUlist will display corresponding values. In this
    case, you should create cascading parameters, right? And you use parameters to filter the report.
    Because the data of the report can be shown in the Business Intelligence Development Studio (BIDS) environment, the issue only occurs after deploying the report to report server. Based on my research, I think it may occur because of web browser issue. I have
    known you use Mozilla and Internet Explorer to view the report but there is still no data.
    In Reporting Services, not all report functionality is supported by all browsers. In this scenario, I suggest you considering the aspects of the setting or third party add-ons of Internet Explorer (IE). You can refer to the steps below:
    1. Click Tools -> Internet options.
    2. Switch to the Security tab, click Local intranet, and then select Default level.
    3. Switch to the Advanced tab, and click Restore advanced settings.
    4. Temporarily disable third party add-ons. For detailed steps, please see the link:
    http://windows.microsoft.com/en-IN/internet-explorer/manage-add-ons#ie=ie-10
    Reference:http://technet.microsoft.com/en-us/library/ms156511(v=sql.105).aspx
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • Detail; The fault returned when invoking the web service operation

    Hi,
    We are getting below errors from Coldfusion, I am not a coldfusion expert engg. so unable to trace it futher..kindly suggest some move to get this resolve.
    Detail; The fault returned when invoking the web service operation is:<br> <pre>AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server faultSubcode: faultString: java.lang.reflect.UndeclaredThrowableException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:java.lang.reflect.UndeclaredThrowableException at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(U... ''</pre>
    Message: Cannot perform web service invocation getStudentByNRIC.
    StackTrace: coldfusion.xml.rpc.ServiceProxy$ServiceInvocationException: Cannot perform web service invocation getStudentByNRIC. at coldfusion.xml.rpc.ServiceProxy.invokeImpl(ServiceProxy.java:230) at coldfusion.xml.rpc.ServiceProxy.invoke(ServiceProxy.java:143) at 

    I expected something like:
    http://localhost:8500/opensource/QBWC_Shell.cfc?wsdl
    Apart from that, your code looks right.

  • Can not test the web service in JDeveloper.

    Hi there...
    I created an AppModule, added two custom methods, and generated a webservice for that. When I want to test the webservice I get the error "The Webservice Tester cannot be invoked because the WSDL document of the selected service cannot be read."
    If I right the webservice and select run, I can view the web page to invoke the methods, However I am wondering why I can't test the service inside the developer.
    The settings of my system are as follows:
    OS: windows 7 64bit
    JDeveloper: Studio Edition Version 11.1.1.3.0 , Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    I did not install any update for JDeveloper...
    So if anyone is having an idea what this problem is let me know.
    thanks .

    It seems that even if the test web service option does not work and i get the error, it is possible to run the web service, and then by clicking on the link in the log the tester in jdeveloper appears.
    Don't know the reason for such strange behavior.

  • Message uses a character set that is not supported by the internet service

    Does any one have any advice on how to fix this problem?
    E-mails sent from my iphone 3G periodically arrive in an unreadable form at the recipient. The body of the e-mail has been replaced with the message "This message uses a character set that is not supported by the internet service...." The problem e-mails also include an attachment that contains an unformatted text file containing the original message surrounded by what appears to be lots of formatting data that is displayed as gibberish.
    This occurs sometimes, but not always, even with the same recipients. I am sending e-mail through a G-mail account that is configured on the iphone using IMAP. I have tried the gmail account to use the two available formatting options for mail, but neither fixes the problem.
    I have also upgraded to 2.01 and restored a few times without impact.

    Hi,
    I got somewhat similar problem with special charecters(German umlaud �,�,�..).
    I create a file with java having special charecters in it. Now if I open this file I am able to view the special charecters in it.But If I attach this file send it using following code then receiver can not see the umlaud charecters in it.They get replaced by _ or ?
    MimeBodyPart mbp2 = new MimeBodyPart();
    FileDataSource fds = new FileDataSource(fileName);
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName(output.getName());
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp2);
    msg.setContent(mp);
    Transport.send(msg);
    From you message it looks like you are able to send the mail attachment correctly(by preserving special charecters).
    Can you tell me what might be wrong in my code.
    I appriciate your efforts in advance.
    Prasad

  • The ITS could not connect to the Web Application Server or the R/3 System

    Hi Gurus
    we are in the process of insalling ITS 6.20 (ITS version is 620010318381 ( itsWindowsX64_31-200001681, R/3 4.7 200)
    Actually we installed it for dev/qas server with connectin mode property as "Connect to SAP system Using Applicatin Server"  these are working fine for webgui!
    and the same thing i installed for Production as connection mode property as " Connect to SAP System Using message Server" (hostname/IP, port as 3600 (as instance number is 00) here in the production evnironment we have 2 app servers. The installation got successful but i am not getting the log on screen through the link: http://10.3.3.175:81/scripts/wgate/webgui!
    the error message is :
    Connect Error
    The ITS could not connect to the Web Application Server or the R/3 System
    any help please
    Thanks in advance

    Hello Balaji,
    Check the global.srvc file for errors in the R/3 system information.  The ITS uses the following to connect to your system:
    ~appserver     
    ~routestring     
    ~systemname
    ~systemnumber     
    ~logingroup     
    ~messageserver     
    Which parameters are used depend on how you are connecting (logon group, route string, etc.)
    Edgar

  • ITS could not connect to the Web Application Server or the R/3 System

    ITS 6.20 on a single host on a WinXP test machine, connecting to R3 4.6C.
    The webgui <u>was</u> working, but a test application created in the WebStudio would not work.
    Now it's the other way around, the test application works fine, but the webgui fails with a "The ITS could not connect to the Web Application Server or the R/3 System."
    I have not managed to get ../scripts/wgate/admin/! to work either.
    Is it possible to have both the webgui and WebStudio created applications, working on the same ITS installation?
    If yes, any ideas how?
    Many thanks
    Tim

    Hi Tim,
    You have to check the connection data in the relevant service file e.g.
    ~systemname   
    ~messageserver
    ~logingroup   
    ~appserver    
    ~systemnumber 
    ~routestring  
    ~connectstring
    If the Agate doesn't run you would see an ITS 500 error in the browser.
    Thanks and regards,
    Dieter

  • Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service. Possible causes include: the service is either not installed or the specified service name is invalid.

    Hi,
    We have a cluster with 2 nodes. Everything works fine in Node1. When I try to failover TEST1 database to Node-2 it fails with this message.
    Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service.  Possible causes include: the service is either not installed or the specified service name is invalid.
    Any help is much appreciated.
    Thanks

    Hello,
    The error message is pretty straight forward, it's saying either the service isn't installed or it's not installed as the same service on that node. Did you install analysis services on the second node (from the error it seems like it isn't)?
    Sean Gallardy | Blog |
    Twitter

  • Flex 2 SWF not loading on the web browser when Flash Player 8 is running

    I got a Flex 2 application that is not loading on the web
    browser when the users workstations got Macromedia Flash Player 8
    installed. Please advice on what could be the issue, i got security
    calls included i.e. securty.allowInsucureDomain, crossdomain.xml,
    etc.
    The application shows no issues on web browsers with Flash
    Player 9 installed.

    if you have read developersGuide it says that there somewhere
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part2_DevAp ps_048_1.html
    here is workaround
    http://kb.adobe.com/selfservice/viewContent.do?externalId=749eaa47&sliceId=1
    flex 9 is complete rewrite (almost) and its lot mor fast and
    effecient) you should't want to use flash 8 if you can anyways, but
    somethimes I guess there is not other way out..

Maybe you are looking for

  • Problem with process order resource selection condition

    I face a problem while trying to release process order as i am getting an error as "Resource XXXX assigned to operation 20 does not meet resource selection condition".What may be the reason for this.how to check and rectify... Please help.

  • Flash images not displaying correctly

    Hi there, First post here, but could really us the help. I'm looking after this site:  http://theacademy.me/index.htm The previous web developer set up a swfobject image rotator which didn't work before I got here. I wanted to get it working, but now

  • Upgrading 6i to 9i forms problem

    Hi, I am in the midst of upgrading client/server 6i forms to a 9i webforms environment. During the recompiling process and running the forms through OC4J instance locally, I have started to receive the 'FRM-41011: Undefined attribute' error. I have m

  • Audition CS6 requires a Serial number entry at every startup

    Audition CS6 requires a serial number entry everytime I start the program.  How do I fix this.?  It is very annoying and If I get locked out of the program before I  fix the dance recital music  Its not going to go well for me here.

  • Rmi + applet closing problem

    I am running a client server application . I need to close an applet(client) fro mthe server . is this podssible or does it cause security problems?/? without javascript please . Is it also possible to just convert my applet into a frame , this will