Visual Studio Sample Code for Web Services Integration

I am new to the CRM OnDemand web services and am looking to write an interface for querying and updating data. I have imported the .wsdl and got the log-in and log-out functioning but rather than re-inventing the wheel I was wondering if anybody had some sample code of how to work with the business objects such as Account or Contact.
I am using Visual Studio .Net (Prefer c#). Any sample would be greatly appreciated.
Thanks in advance....
Edited by: user10730659 on 9/01/2009 23:08
Edited by: user10730659 on 20/01/2009 16:11

I found some examples in the Web Services Resource Library.
you can access this through the "Training and Support" link from within CRM OD.
Then click on "Web Services Library" then download the Getting Started kits
Edited by: user10730659 on 20/01/2009 16:11

Similar Messages

  • Installation Problem Visual Studio Express 2013 for Web on Windows 8.1

    Hi,
    I am new to Microsoft developing tools and I have spent the last two days trying to install VS Express 2013 for Web on my laptop that's running windows 8.1 (X64,Intel
    Core i5 3337U (1.80GHz)).
     I run it as an administrator and have enough space on the disk. However, I keep on getting the same error. 
    Microsoft Visual Studio Express 2013 for Web - ENU Fatal error during installation.
    After uninstalling and deleting the temp files, I get an additional error.
    Entity Framework 6.1.1 Tools for Visual Studio 2013
    User cancelled installation.
    In my log files here are some of the problems that I saw:
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VisualStudio12'; variable = 'AspNetWebFxTools_VS2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VWDExpress12'; variable = 'AspNetWebFxTools_VWD2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Classes\Installer\Dependencies\Microsoft.VS.Bliss_Core,v12'; variable = 'bliss_core_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'bliss_core_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot'; variable = 'DisableRootAutoUpdate'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft Corporation\DataFxTools\12.0.0.0'; variable = 'EFTools_2013_VersionKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Help\v2.1\Setup'; variable = 'help3vs_49_DetectKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Help\v2.1\Setup'; variable = 'help3vs_49_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'help3vs_49_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'IEsvcVersionExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'IEsvcVersion' to value '11.0.9600.17631'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\3B1EFD3A66EA28B16697394703A72CA340A05BD5'; variable = 'MicrosoftRootCertificateAuthority2010AuthRootExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010AuthRootExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2010RootExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\8F43288AD272F3103B6FB1428485EA3014C0BCFE'; variable = 'MicrosoftRootCertificateAuthority2011AuthRootExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011AuthRootExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'MicrosoftRootCertificateAuthority2011RootExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'netfxfullredist_43_CBSValue' to value '1'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'netfxfullredist_43_DetectKey' to value '4.5.51641'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'NetFxFullRedist_InstalledRelease' to value '378675'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'NetFxFullRedist_InstalledReleaseExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'OS_BuildNumber' to value '9600'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'ssceruntime_x64_msi_DetectKey' to value '4.0.8876.1'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'ssceruntime_x64_msi_DetectKeyExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'ssceruntime_x86_msi_DetectKey' to value '4.0.8876.1'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'ssceruntime_x86_msi_DetectKeyExists' to value 1
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SSDT\12.0\1033'; variable = 'ssdt_lang_detect_enu'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0\teamExplorerCore'; variable = 'teamExplorercore_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'teamExplorercore_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'VSComponentPathVariable' to value ''
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Updates\Microsoft Visual Studio 2013\vsupdate_kb2829760'; variable = 'vsupdate_DetectKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Updates\Microsoft Visual Studio 2013\vsupdate_kb2829760'; variable = 'vsupdate_DetectKeyExists'
    [0354:1418][2015-02-23T13:55:12]i000: Setting numeric variable 'vsupdate_DetectKeyExists' to value 0
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'webdeploy_x64_en_usmsi_902_DetectKey' to value '9.0.1764.0'
    [0354:1418][2015-02-23T13:55:12]i000: Setting string variable 'webdeploy_x86_en_usmsi_901_DetectKey' to value '9.0.1764.0'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio 12'; variable = 'WebTools_VS2013_VersionKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio 2013'; variable = 'WebTools_VS2013_VersionKey_2'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio Express 12 for Web'; variable = 'WebTools_VWD2013_VersionKey'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Web Tools\Visual Studio Express 2013 for Web'; variable = 'WebTools_VWD2013_VersionKey_2'
    The last line of my log file contained this:
    [0354:1418][2015-02-23T14:02:26]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No
    I really need to have this up and running as soon as possible. Any help would be greatly appreciated. 
    Thanks!

    Hi,
    By the errors:
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VisualStudio12'; variable = 'AspNetWebFxTools_VS2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\WebFrameworksTools\Servicing\5.0\VWDExpress12'; variable = 'AspNetWebFxTools_VWD2013_Version'
    [0354:1418][2015-02-23T13:55:12]i000: Registry key not found. Key = 'SOFTWARE\Classes\Installer\Dependencies\Microsoft.VS.Bliss_Core,v12'; variable = 'bliss_core_DetectKeyExists'
    It maybe a registry or administrator issue.
    Please install VS with administrator.
    What's more, it maybe a corrupt registry issue. And you can't install any version of Visual Studio, I think you can use the tool to fix problems that programs cannot be installed or uninstalled. It also can fix the corrupted registry keys.
    http://support.microsoft.com/mats/program_install_and_uninstall/en-us
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Can't see table data from Visual Studio Express 2013 for Web

    Hello!
    I have a problem and I can't see neither the table data nor the table definition for my database inside Visual Studio Express 2013 for Web, Server Explorer. When I right click it just says refresh, copy or properies.
    Does anyone know what's wrong?
    Thanks a lot!

    Hi J1m,
    According to your description, I make a test on my computer and I am able to reproduce your issue. Firstly, I install the Visual Studio 2013 express for web successfully, create a project and connect to SQL Server database. Then I right click one table,
    and I can see all the options including ‘Show Table Data ’, ‘Open Table Definition ’, ‘Copy’, ‘Refresh’, and ‘Properties’. Next, I uninstall the SQL Server data tools, and restart the Visual Studio, right click on table, and only find  the three options
    ‘Copy’, ‘Refresh’, ‘Properties’ as the following screenshot, which is the same scenario with yours.
    Based on my test, the issue could be due to the missing or corrupt SQL Server Data Tools. To work around the issue, you should install the latest SQL Server data tools for Visual Studio 2013. You could  download the
    ISO file for SQL Server data tools and extract the ISO files to your hard drive following the methods in this
    article, and install the data tools. Please restart your computer after you complete the installation.
    Regards,
    Michelle Li

  • Sample java code for web service calling

    Hello,
    I need to call the web services for adding/updating records on Oracle On Demand Entities.
    In particular i need a sample code in java language that explain how to append the sessionid
    to the SOAP request when calling the web service.
    thanks in advance.

    Hi,
    Each time you perform any SOD Operation after Login, ensure have your JSessionId attached to your actual Web Service URL like in example below
    wsLocation ="https://secure-XXXXX.crmondemand.com/Services/Integration";
    jsessionId="8d928e8330d53c6f954b16194731bad78f5f111c2043.e34PaxyNchuLe34Rax4SchaKchz0n6jAmljGr5XDqQLvpAe";
    String url=wsLocation + ";jsessionid=" + jSessionId;
    Use this url for all your future SOD Operation till you logout.
    Regards
    Deepak H Andeli

  • Does Oracle CRM on Demand support GetMapping method for Web Services Integration???

    I am designing an integration package that will push contacts from my domain to Oracle CRM on demand contacts and vice versa based on mapping saved by users...
    Please send some examples if this is still supported by Oracle CRM...
    Or some alternative for getting the display name and the customfieldId from CRM (Admin)

    AFAIK there is no such mapping available, however you may want to take a look at this Support Community thread that discusses the migration and even gives some samples.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded

    Here is a ticket regarding our current client web application (  Image data add, edit , delete in folder with form data in MSSQL Database) that using code c#, web form, ajax, VS2008, MSSQL Server2008 , it appears that there is an error where the HTTP
    503 error occurs. 
    . Below is a conversation with Host Server support assistant.Can you take a look at it? 
    Ben (support) - Hi 
    Customer - We're having an issue with our windows host 
    Ben (support) - What's the issue? 
    Customer - 503 errors 
    Ben (support) - I am not getting any 503 errors on your site, is there a specific url to duplicate the error? 
    Customer - no, it comes and goes without any change Customer - could you have access to any logs ? 
    Ben (support) - Error logs are only available on Linux shared hosting, however with this error it may be related to you reaching your concurrent connections 
    Ben (support) - You can review more about this at the link \ 
    Customer - probably yes - how can we troubleshoot ? 
    Ben (support) - http://support.godaddy.com/help/article/3206/how-many-visitors-can-view-my-site-at-once 
    Ben (support) - This is something you need to review your code and databases to make sure they are closing the connections in a timely manner 
    Customer - we're low traffic, this is an image DB to show our product details to our customers 
    Customer - ahhhh, so we could have straying sessions ? 
    Ben (support) - Correct Customer - any way you could check if it's the case ? 
    Customer - because it was working previously 
    Ben (support) - We already know that's the case as you stated the 503 errors don't happen all the time if it were issue on the server the the 503 would stay. 
    Customer - so our 2/3 max concurrent users can max out the 200 sessions 
    Customer - correct ? 
    Customer - is there a timeout ? 
    Ben (support) - no that's not a time out concurrent connections are a little different then sessions and or connections. Lets say for an example you have 5 images on your site and 5 7 users come to your site this is not 7 concurrent connections but 35. They
    do close after awhile hence why the 503 error comes and goes. You can have these connections close sooner using code but this is something you have to research using your favorite search engine 
    Customer - thank you so much 
    Customer - I'm surprised that this just started a few weeks ago when we haven't changed anything for months 
    Customer - any changes from your side ? lowering of the value maybe ? 
    Customer - I'm trying to understand what I can report as a significant change 
    Ben (support) - We haven't touched that limit in years 
    Ben (support) - This could just be more users to your site than normal or even more images 
    Customer - I was thinking that could be it indeed 
    Customer - so I need to research how to quickly close connections when not needed 
    Ben (support) - Correctly 
    Ben (support) - correct 
    Customer - thanks !! 
    Ben (support) - Your welcome 
     Analysis : 
     The link provided tells us : All Plesk accounts are limited to 200 simultaneous visitors. 
     From what Ben (support) says and a little extra research, if those aren't visitors but connections then it's quite easy to max out, especially if the connections aren't closed when finished using. I'd suggest forwarding this to Kasem to see what he thinks. 
    Cheers, 
    Customer

    Hi Md,
    Thank you for posting in the MSDN forum.
    >>
    I want to writte C# code for 503 Service Unavailable error to web application page immediate close connection any page loaded.
    Since
    Visual Studio General Forum which discuss VS IDE issue, I am afraid that you post the issue in an incorrect forum.
    To help you find the correct forum, would you mind letting us know more information about this issue? Which kind of web app you develop using C# language? Is it an ASP.NET Web Application?
    If yes, I suggest you could post the issue directly on
    ASP.NET forum, it would better support your issue.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Re: Why doesn't WL7.0 support get/post bindings for web services ...

    hi!!!
    Could you pls point to any code example.
    thanks
    Pushpa
    "Richard Berger" <[email protected]> wrote:
    >
    Manoj: Thanks for the answer - do you have or can you point me at any
    code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their
    get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer
    and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for meto
    access a
    web service, I need to write a "middle tier" of some sort (I used
    the
    automatically
    generated Java proxy code and JSP). All works fine, but it seems
    like
    it
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that
    BEA
    chose not
    to provide this feature? (e.g. is it architecturally unsound in anyway?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL definesWeb services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols areused
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

    This isn't a straight FORM Post as in the http binding support in WSDL. It posts
    a soap message.
    It's apparent that Workshop supports form-post and form-get.
    But I dont see how it is done with straight WebLogic webservices. Does WebLogic
    server read the web-services.xml or the WSDL file? I dont see a way to put in
    http-post binding in the former and in the latter it seems to be ignored.
    Can someone clarify.
    Thanks.
    Chu-chi
    "manoj cheenath" <[email protected]> wrote:
    Here is a live example:
    http://65.193.192.35:7001/base/SoapInteropBaseService
    Here is an example that you can download:
    http://manojc.com/?sample2
    This is how you run it:
    http://manojc.com/?tutorial/doc/howtorun.html
    More info can be found from the edocs:
    7.0:
    http://edocs.bea.com/wls/docs70/webserv/index.html
    8.1:
    http://edocs.bea.com/wls/docs81/webserv/index.html
    Regards,
    -manoj
    http://manojc.com
    "pushpa krishna" <[email protected]> wrote in message
    news:[email protected]...
    hi!!!
    Could you pls point to any code example.
    thanks
    Pushpa
    "Richard Berger" <[email protected]> wrote:
    Manoj: Thanks for the answer - do you have or can you point me at
    any
    code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their
    get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer
    and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for
    me
    to
    access a
    web service, I need to write a "middle tier" of some sort (I used
    the
    automatically
    generated Java proxy code and JSP). All works fine, but it seems
    like
    it
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that
    BEA
    chose not
    to provide this feature? (e.g. is it architecturally unsound in
    any
    way?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL
    defines
    Web services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols
    are
    used
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

  • Why doesn't WL7.0 support get/post bindings for web services ...

    This might be a naive question, but according to the documentation, WL 7.0 does
    not support http post/get bindings for web services. Thus, for me to access a
    web service, I need to write a "middle tier" of some sort (I used the automatically
    generated Java proxy code and JSP). All works fine, but it seems like it would
    sure be nice to have HTML forms access web services without having to write a
    middle tier.
    .NET does this and it is extremely useful - is there a reason that BEA chose not
    to provide this feature? (e.g. is it architecturally unsound in any way? or is
    there an easy way to simulate it?). Given some of the Web Workshop positioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL defines Web services
    as a set of endpoints operating on messages; these message contain either message-style
    or RPC-style information. The operations and messages are described abstractly
    in WSDL, and then bound to a concrete network protocol and message format to define
    an endpoint. Related concrete endpoints are combined into abstract endpoints (services).
    WSDL is extensible to allow the description of endpoints and their associated
    messages regardless of what message formats or network protocols are used to communicate,
    however, the only bindings described in the specification describe how to use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

    Manoj: Thanks for the answer - do you have or can you point me at any code samples
    that accomplish this? (Yes, .NET is limited to strings/ints in their get/post
    bindings).
    Thanks so much!
    RB
    PS - Also, can you explain any apparent discrepancy between your answer and what
    the WL documentation stated (again, it may be my misunderstanding).
    "manoj cheenath" <[email protected]> wrote:
    WL 7.0 does allow you to access the web service through
    the browser. It even allows you to invoke service methods
    with complex type arguments (.Net only supports primitive
    types) and also to view the request and response soap
    message for the invocation.
    regards,
    -manoj
    "Richard Berger" <[email protected]> wrote in message
    news:[email protected]...
    This might be a naive question, but according to the documentation,WL 7.0
    does
    not support http post/get bindings for web services. Thus, for meto
    access a
    web service, I need to write a "middle tier" of some sort (I used theautomatically
    generated Java proxy code and JSP). All works fine, but it seems likeit
    would
    sure be nice to have HTML forms access web services without havingto
    write a
    middle tier.
    NET does this and it is extremely useful - is there a reason that BEAchose not
    to provide this feature? (e.g. is it architecturally unsound in anyway?
    or is
    there an easy way to simulate it?). Given some of the Web Workshoppositioning
    re: ease of use and .NET comparison, this seems like an omission.
    Any insights are greatly appreciated.
    Enjoy,
    RB
    PS - Here's the info from the documentation
    Web Services Description Language (WSDL) 1.1 Specification
    WSDL is an XML-based language that describes Web services. WSDL definesWeb services
    as a set of endpoints operating on messages; these message containeither
    message-style
    or RPC-style information. The operations and messages are describedabstractly
    in WSDL, and then bound to a concrete network protocol and messageformat
    to define
    an endpoint. Related concrete endpoints are combined into abstractendpoints (services).
    WSDL is extensible to allow the description of endpoints and theirassociated
    messages regardless of what message formats or network protocols areused
    to communicate,
    however, the only bindings described in the specification describehow to
    use
    WSDL in conjunction with SOAP 1.1, HTTP GET/POST, and MIME.
    Note: WebLogic Server supports only SOAP 1.1 bindings.
    The WSDL 1.1 Specification is available at http://www.w3.org/TR/wsdl.

  • Microsoft Visual Studio 2010 Tools for Office Runtime installation Error

    Hi Team,
    Am facing error while installing Microsoft Visual Studio 2010 Tools for Office Runtime installation. Request you to please check and let me know.
    Component Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64) has failed to install with the following error message:
    "User cancelled installation. "
    The following components failed to install:
    - Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)
    See the setup log file located at 'C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\install.log' for more information.
    The following properties have been set:
    Property: [AdminUser] = true {boolean}
    Property: [InstallMode] = HomeSite {string}
    Property: [ProcessorArchitecture] = AMD64 {string}
    Property: [VersionNT] = 6.1.1 {version}
    Running checks for package 'Windows Installer 3.1', phase BuildList
    The following properties have been set for package 'Windows Installer 3.1':
    Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
    Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
    'Windows Installer 3.1' RunCheck result: No Install Needed
    Running checks for package 'Microsoft .NET Framework 4 (x86 and x64)', phase BuildList
    Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
    Read string value '4.0.30319'
    Setting value '4.0.30319 {string}' for property 'DotNet40Full_TargetVersion'
    The following properties have been set for package 'Microsoft .NET Framework 4 (x86 and x64)':
    Property: [DotNet40Full_TargetVersion] = 4.0.30319 {string}
    Running checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe'
    Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
    Result of checks for command 'DotNetFX40\dotNetFx40_Full_x86_x64.exe' is 'Bypass'
    Running checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe'
    Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
    Result of running operator 'VersionGreaterThanOrEqualTo' on property 'DotNet40Full_TargetVersion' and value '4.0.30129': true
    Result of checks for command 'DotNetFX40\dotNetFx40_Full_setup.exe' is 'Bypass'
    'Microsoft .NET Framework 4 (x86 and x64)' RunCheck result: No Install Needed
    Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BuildList
    Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
    Unable to read registry value
    Not setting value for property 'VSTORuntimeVersionInstalled'
    The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
    Running checks for command 'VSTOR40\vstor40_x86.exe'
    Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': true
    Result of checks for command 'VSTOR40\vstor40_x86.exe' is 'Bypass'
    Running checks for command 'VSTOR40\vstor40_x64.exe'
    Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Result of checks for command 'VSTOR40\vstor40_x64.exe' is 'Install'
    'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
    EULA for components 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' was accepted.
    Copying files to temporary directory "C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\"
    Downloading files to "C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\"
    (1/7/2015 12:47:44 PM) Downloading 'VSTOR40\vstor40_x64.exe' from 'http://go.microsoft.com/fwlink/?LinkId=158918' to 'C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\'
    Download completed at 1/7/2015 12:48:26 PM
    Verifying file integrity of C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\VSTOR40\vstor40_x64.exe
    WinVerifyTrust returned 0
    File trusted
    Running checks for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)', phase BeforePackage
    Reading value 'Version' of registry key 'HKLM\SOFTWARE\Microsoft\VSTO Runtime Setup\v4R'
    Unable to read registry value
    Not setting value for property 'VSTORuntimeVersionInstalled'
    The following properties have been set for package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)':
    Running checks for command 'VSTOR40\vstor40_x64.exe'
    Skipping ByPassIf because Property 'VSTORuntimeVersionInstalled' was not defined
    Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'AMD64': false
    Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
    Result of checks for command 'VSTOR40\vstor40_x64.exe' is 'Install'
    'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' RunCheck result: Install Needed
    Verifying file integrity of C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\VSTOR40\vstor40_x64.exe
    WinVerifyTrust returned 0
    File trusted
    Installing using command 'C:\Users\ALAKKOJU\AppData\Local\Temp\VSDF353.tmp\VSTOR40\vstor40_x64.exe' and parameters ' /q:a /c:"install /q /l"'
    Process exited with code 1602
    Status of package 'Microsoft Visual Studio 2010 Tools for Office Runtime (x86 and x64)' after install is 'InstallFailed'
    Thanks,
    Anil

    Hi Anil,
    According to the error message "User cancelled installation" and the log "Process exited with code 1602", it seems that it is you cancelled the installation that cause the install fail. Is that true? If yes, please reinstall
    it without cancelling it. You can take the following steps:
    Download "Visual Studio 2010 Tools for Office Runtime" from
    http://www.microsoft.com/en-us/download/details.aspx?id=42513 .
    Run the downloaded vstor_redist.exe with admin.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Web Services Integration issues on Oracle Web Service Example Page..

    The Oracle hosted pages for the Web Services Integration, all of the applications are dying when you try and run them. 1/2 of them are having ACL (Access Control List issues)..
    Don't know if this is because of the change-over to APEX 4.0 or a new version of teh database being used, just though Oracle should know and they MIGHT want to fix them..
    Thank you,
    Tony Miller
    Webster, TX

    Tony:
    Thanks for pointing that out. They should now all be fixed with the exception of the Amazon sample. Amazon changed their API some time ago to require a signature parameter, I blogged about this here: http://jastraub.blogspot.com/2009/10/rest-now-supported-in-flexwsapi-and.html.
    Regards,
    Jason

  • No JavaScript Intellisense in Visual Studio Express 12 For Windows Phone

    I'm developing mobile app for windows phone using Windows phone 8 SDK (Visual Studio Express 12 For Windows Phone). I want to use code auto-Complete facilities when coding in Javascript. For that I need to use Intellisense for JS.
    According to my knowledge, To configure Intellisense according to my knowledge,It have navigate to the [Tools] > [Options] > Text Editor > JavaScript > IntelliSense >
    But in my [Tools] > [Options] > Text Editor > list there is No item called JavaScript.
    Please help me for solve this.

    Hi AmilaEranga,
    I try to test it in my side, I could get the JavaScript Text Editor in my side.
    So I doubt that it would be your VS IDE issue. If possible, please download it from the official site here:
    http://www.microsoft.com/en-us/download/details.aspx?id=30664
    And then repair your VS, test it again.
    Or you could run the following command lines with the Developer Command Prompt of VS2012:
    devenv /setup
    devenv.exe /InstallVSTemplates
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Visual Studio 2013 Express for Windows - InitializeComponent() does not contain a definition issue

    Hi,
    I have recently downloaded Visual Studio 2013 Express for Windows (Windows Store App version), with Update 1.
    I create a blank app. I right-click on InitializeComponent() in the MainPage.xaml.cs and select Go To Definition. It brings me to the .g.i.cs file where this method resides.
    I go into the designer for MainPage.xaml and create a grid of 2 rows and 2 columns (all at 1*). I add one button, doesn't matter where. I double click on that button to add a click method to MainPage.xaml.cs. Without entering anything into the button click
    method, I scroll up and InitializeComponent() has an error and tells me there is not definition, even though I was looking at the definition a minute ago. I found I could unload the project and reload it and InitializeComponent() would have the definition
    in the .g.i.cs file but as soon as I add another button click or anything else I run into the same error. It seems as if the .g.i.cs file is not automatically regenerating, or it is being deleted all together when the button click method is added to the xaml.cs
    file.
    Everything I have done up to this point is very vanilla. I installed VS '13 Express for Windows, didn't change any VS setting, created a project and ran into this issue. I installed Update 1 thinking there might be a fix from the update--no luck. The xaml
    file Build Action is Page and the Xaml.cs file is Compile.
    I have tried deleting the MainPage.xaml file, after the creation of a project, and adding a new MainPage file with the added templates VS wants to include, and I still run into the same issue.
    I have searched for answers the past few days but haven't found anything that addresses my issue (most of what I found addresses VS '10 but their InitializeComponent() issues aren't the same as mine). Any help the MSDN community can provide would be
    a great help. If worst comes to worst, I will re-install VS and see if that corrects it--this would be a last-ditch effort though.
    Thank you for any help you may be able to provide

    Intellisense has a bug in VS2013 where it doesn't recognize InitializeComponent when you start working on the XAML.  My feeling is that if you try to compile this app, it will run fine (as long as there are no actual errors).
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Expose Object Oriented Service code as Web Services?

    Hello All,
    I would appreciate for your insight on this matter!
    Web Services are basically RPC (Procedure Oriented) over Soap. Each service invocation by a client results a procedure execution on the server side (In many case, a service class may need to be instantiated before the procedure can be called).
    Suppose I have developed server-side logics in Object Oriented manners. How can I expose the OO server logics as Web Services? Does JDeveloper handle OO services any different from PO (procedure-oriented) services as far as the generated wrapper code/interface and WSDL?
    Specifically, I have the following example in mind. Assume we are able to successfully expose an OO services. A client calls one of the OO service (let's say service1 in portType1) the 1st time, and establish some transit state (not committing into DB), the same client subsequently calls another service (service2) of the same server portType1. How would the server retrieve the transit state established earlier by service1 while executing service2? (note, this situation would not be resulted in a procedure-oriented case. since each RPC call is independent from the others)
    I realize that "stateful" deployment may be of an option. However, stateful seems relying on client cooperation (e.g., via cookies) to establish context across multiple invocations. This may or may not be possible given an arbitrary client parties write its client code based on a WSDL.
    Another option I can think about is for Jdeveloper to generated different code for PO services vs. OO services. However, it seems not the case in current Jdeveloper.
    Thank you so much!
    jason

    Web services in general have two styles of invocation: RPC style and Doc style. RPC maps as you say directly to methods on Java class (or if a DB PL/SQL package to procedures and functions).
    The alternative, DOC, generally (though not all the time) maps to a message oriented interface. Often DOC style Web services map to messaging infrastructure such as Java Message Service Queues and Topics.
    That said RPC works well with EJB's, the component model for J2EE.
    Often what folks will do is build a service layer that is very coarse grained when exposing backend infrastructure as Web services. This abstraction typically hides a more OO underpinning (or quite often hides a very procedural backend too).
    The bottom line is the Web services do not force an OO paradigm but nor do they hinder you in any way from adopting an OO paradigm.
    In terms of JDeveloper currently it supports RPC and supports DOC only with some tweaking. On the server side, the Oracle9iAS infrastructure supports both DOC and RPC.
    Hope this is a start to answering what I think is a hard question to answer!
    Mike.

  • Need case studies and sample code for all concept of ABAP

    Hello,
           Can anybody provide me the case studies and sample code for learning different concepts in ABAP programming like: module pool, ALV, interactive reports, BDC, Smart Form etc.? As I want to do some practical application by which i can learn more.
    Thanks & Regards,
    Vikram Rawal

    In this link You can find Step by Step Scren Shot document :
    http://www.201interviewquestions.com/docs/User%20exits.ppt
    http://erpgenie.com/abaptips/component/option,com_docman/task,doc_details/gid,27/
    <b>
    Reprots</b>
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    <b>Dictionary</b>
    http://sapabap.iespana.es/sapabap/manuales/learnabap/
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb6e446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea31446011d189700000e8322d00/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBDIC/BCDWBDIC.pdf
    <b>ABAP objects</b>
    Please check this online document (starting page 1291).
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Also check this links as well.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    http://www.sapgenie.com/abap/OO/
    http://www.futureobjects.de/content/intro_oo_e.html
    http://www.sap-img.com/abap/business-add-in-you-need-to-understand-abap-oo-interface-concept.htm
    /people/ravikumar.allampallam/blog/2005/02/11/abap-oo-in-action
    <b>
    SAPScripts</b>
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    Check these step-by-step links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
    <b>Smartforms material</b>
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    <b>
    BAPI</b>
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    <b>List of all BAPIs</b>
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    <b>ALV programs.</b>
    http://www.geocities.com/mpioud/Abap_programs.html
    . How do I program double click in ALV?
    http://www.sapfans.com/forums/viewtopic.php?t=11601
    http://www.sapfans.com/forums/viewtopic.php?t=23010
    How can I use ALV for reports that are going to be run in background?
    http://www.sapfans.com/forums/viewtopic.php?t=83243
    http://www.sapfans.com/forums/viewtopic.php?t=19224
    <b>ALV</b>
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    <b>Top-of-page in ALV</b>
    selection-screen and top-of-page in ALV
    <b>ALV Group Heading</b>
    http://www.sap-img.com/fu037.htm
    <b>ALV</b>
    http://www.geocities.com/mpioud/Abap_programs.html
    <b>
    RFC Destination</b>
    Re: SM59
    <b>
    ALE/ IDOC</b>http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    <b>Table Control</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/table%20control%20in%20abap.pdf
    <b>
    ABAP transactions</b>
    http://www.easymarketplace.de/transactions-a-e.php?Area=4soi&name=volker&pw=vg&
    Regards,
    Priyanka.

  • Sample code for connect to database

    Hi
    like to know if there is any sample code for me to follow through to connect to database using ODBC.
    I am currently writing a program in visual c++.
    like to know how to connect database to store image in the database
    using visual c++ code.....
    hope that is not too difficult.

    in JSTL pratical guide for JSP programmers by Sue Spielman
    <sql:setDataSource var="datasource"
    driver="org.gjt.mm.mysql.driver"
    url="jdbc:mysql://localhost/db"
    user="guest"
    password="guest" />
    <sql:query datasource="${datasource}...
    <html>
    <head>
    <title>
    Display Results
    </title>
    </head>
    <body>
    <c:catch var="sqlError">
    <sql:query var="bookList" dataSource="${datasource}">
         SELECT * FROM books WHERE title LIKE 'J%' ORDER BY author
    </sql:query>
    </c:catch>
    <c:if test="${not empty sqlError}" >
    Make sure you have already run the databaseinit.jsp file
    </c:if>
    <h2>Listing all books that start with a 'J', ordered by author</h2>
    <br>
    <table>
    <th>Title</th>
    <th>Author</th>
    <c:forEach var="book" items="${bookList.rows}">
         <tr>
              <td><c:out value="${book.title}" /></td>
              <td><c:out value="${book.author}" /></td>
         </tr>
    </c:forEach>
    </table>
    </table>
    <h2>Show using choose/when/otherwise conditional to display results</h2>
    <table>
    <tr><th>Title</th></tr>
    <c:forEach var="book" varStatus="current" items="${bookList.rows}">
    <tr>
    <c:choose>
         <c:when test="${current.first}" >
              <td><font color="#0000FF"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:when test="${current.count % 2 == 1 }" >
              <td><font color="#FF0000"><c:out value="${book.title}"/></font></td>
         </c:when>
         <c:otherwise>
              <td><c:out value="${book.title}"/></td>
         </c:otherwise>
    </c:choose>
    </tr>
    </c:forEach>
    </table>
    </body>
    </html>

Maybe you are looking for