Getting information about configured(webservices.xml) web service handlers

Hi Guys, The situation is: In a Web Service, I have few GenericHandlers configured as server(Role) in webservices.xml(for IBM Runtime) & server-config.wsdd(Axis Runtime). Say the handlers are A, B & C. Now, when there is a inbound call A,B & C are getting invoked as expected.
I am basically lookin for a way to know (programmatically) the # of handler configured for this web service i.e., 3 in this case and few other handler specific details.
I was investigating getting hold hold of HandlerChain by following way
HandlerRegistry hndlReg = service.getHandlerRegistry(); List hChain = hndlReg.getHandlerChain(new QName("http://test.com","PortName"));
, but I dont get hChain containing information about A,B or C. Ya, here I can add Handlers programmetically which gets invoked also. But no information of already configured handlers in configuration files.
Is there any way(programmetically) to get the details about already configured handlers.
Appreciating your help.

Please help ....

Similar Messages

  • Can someone please offer guidance regarding xml web service?

    Post Author: LeeCUK
    CA Forum: Xcelsius and Live Office
    Hello, I am attempting to write a dashboard that will retrieve data from a database using the GetXML, I have tried many other methods but this seems the only one I can get working.
    The issue I have is that in my code it returns only one selecatble parameter and stores the whole entires within it.
    Below is an example of the code.
    I send from the dashboard the Xcelsius_Value and it returns the xml schema as expected with fieldnames but within one selectable parameter and does not allow splitting into different cells.
    I hope someone can help.Option Strict OffImports System.Data.OleDbImports System.DataImports System.Web.ServicesImports Oracle.DataAccessImports Oracle.DataAccess.ClientImports System.XmlImports System.Text
    <WebService(Namespace:="http://microsoft.com/webservices/")> Public Class Service1    Inherits System.Web.Services.WebService
    #Region " Web Services Designer Generated Code "    'Generated code not shown.#End Region
    #Region "Public Funcation"
        Public strSQL As String    Private configurationAppSettings As System.Configuration.AppSettingsReader = New System.Configuration.AppSettingsReader    Private oracomGeneric As New Oracle.DataAccess.Client.OracleCommand    Private oraconOds As New Oracle.DataAccess.Client.OracleConnection    Private adptGeneric As New Oracle.DataAccess.Client.OracleDataAdapter    Public dtsGeneric As New System.Data.DataSet    Public TableName As String
    #End Region
        <WebMethod()> Public Function DatabaseXML(ByVal Xcelsius_Value As String) As String
            Try
                oracomGeneric.Connection = oraconOds            oracomGeneric.FetchSize = CType(65536, Long)
                oraconOds.ConnectionString = CType(configurationAppSettings.GetValue("oracledatabase.ConnectionString", GetType(System.String)), String)
                adptGeneric.DeleteCommand = oracomGeneric            adptGeneric.InsertCommand = oracomGeneric            adptGeneric.SelectCommand = oracomGeneric
                dtsGeneric.Clear()
                oracomGeneric.Connection() = oraconOds
                TableName = "table1"
                strSQL = " SELECT   field1, field2, " & _         "ROUND (SUM (sumfield3)) AS value1, " & _         "ROUND (SUM (sumfield4)) AS value2, " & _         "ROUND (SUM (sumfield5)) AS value3, " & _         "ROUND (SUM (sumfield6)) AS value4 " & _            "FROM " & TableName
                oraconOds.Open()            oracomGeneric.CommandText = strSQL
                adptGeneric.Fill(dtsGeneric)            oraconOds.Close()
                DatabaseXML = dtsGeneric.GetXml()
            Catch Ex As Exception            Throw Ex        End Try    End Function
    End Class

    with as2 there is no good way:
    trace(this.firstChild.childNodes[1].childNodes[4].attributes['ID']);
    trace(this.firstChild.childNodes[1].childNodes[4].attributes['CssClass']);
    etc

  • Designing and Running CR against XML Web Service

    <p>I created a simple XML web service with one method that returns a dataset. This runs on my Windows 2003 Server.</p><p>The service(.asmx)  is called "Applicants". My computer name is aricciardi-2k3s. It runs on port 89 .When I browse to <a href="http://aricciardi-2k3s:89/Applicants.asmx">http://aricciardi-2k3s:89/Applicants.asmx</a>, I am prompted to invoke the webservice and I can run it and everything is great. Further, if I browse to <a href="http://aricciardi-2k3s:89/Applicants.asmx?wsdl">http://aricciardi-2k3s:89/Applicants.asmx?wsdl</a> I get the wsdl info. </p><p>Now I want to design and run a Crystal Report 11 SR 2 against my web service. I choose New Report, for Data I choose XML, then "Use Web Data Source" hit next, then choose "HTTP WSDL URL" I enter <a href="http://aricciardi-2k3s:89/Applicants.asmx?wsdl">http://aricciardi-2k3s:89/Applicants.asmx?wsdl</a>, hit Next, I leave HTTP username and HTTP password blank. Then I see the Services, Ports and Methods screen. Services: Applicants, Ports: ApplicantsSoap, Methods: GetApplicants</p><p>When I click Finish, I get Logon Failed, Details, Schema file is invalid. error:Element <a href="mailto:Schema@htttp://www.w3.or/2001XMLSchemal">Schema@htttp://www.w3.or/2001XMLSchemal</a> not found</p><font size="2"><p>How can I get this to work? I can return anything necessary from the web service.</p><p>Please help. You will make me a hero, and I&#39;ll will be in debt to you.</p><p>Thanks.</p><p>Anthony Ricciardi </p><p>The web method for my web service is below </p><p><WebMethod()> _</p></font><font size="2" color="#0000ff">Public</font><font size="2"> </font><font size="2" color="#0000ff">Function</font><font size="2"> GetApplicants() </font><font size="2" color="#0000ff">As</font><font size="2"> DataSet</font><font size="2"> <font size="2" color="#0000ff">Dim</font><font size="2"> DS </font><font size="2" color="#0000ff">As</font><font size="2"> </font><font size="2" color="#0000ff">New</font><font size="2"> DataSet</font><font size="2"> <p><font size="2" color="#0000ff">Try</font></p></font></font><font size="2" color="#0000ff">Dim</font><font size="2"> dt </font><font size="2" color="#0000ff">As</font><font size="2"> </font><font size="2" color="#0000ff">New</font><font size="2"> DataTable(</font><font size="2" color="#800000">"Applicants"</font><font size="2">)</font><font size="2"> <p>dt.Columns.Add(<font size="2" color="#800000">"AppID"</font><font size="2">)dt.Columns.Add(</font></p></font><font size="2" color="#800000">"Name"</font><font size="2">)</font><font size="2"> </font><font size="2" color="#0000ff">Dim</font><font size="2"> dr </font><font size="2" color="#0000ff">As</font><font size="2"> DataRow</font><font size="2"> <p>dr = dt.NewRow()</p>dr.Item(</font><font size="2" color="#800000">"AppID"</font><font size="2">) = 1000</font><font size="2"> <p>dr.Item(<font size="2" color="#800000">"Name"</font><font size="2">) = </font><font size="2" color="#800000">"First Applicant"</font></p></font><font size="2"><p>dt.Rows.Add(dr)</p><p>dr = <font size="2" color="#0000ff">Nothing</font></p></font><font size="2"><p>dr = dt.NewRow()</p>dr.Item(</font><font size="2" color="#800000">"AppID"</font><font size="2">) = 2000</font><font size="2"> <p>dr.Item(<font size="2" color="#800000">"Name"</font><font size="2">) = </font><font size="2" color="#800000">"Second Applicant"</font></p></font><font size="2"><p>dt.Rows.Add(dr)</p>dr = </font><font size="2" color="#0000ff">Nothing</font><font size="2" color="#0000ff"> </font><font size="2"><p>DS.Tables.Add(dt)</p></font><font size="2" color="#0000ff">Return</font><font size="2"> DS</font><font size="2"> </font><font size="2" color="#0000ff">Catch</font><font size="2"> ex </font><font size="2" color="#0000ff">As</font><font size="2"> Exception</font><font size="2" color="#0000ff">Dim</font><font size="2"> x </font><font size="2" color="#0000ff">As</font><font size="2"> </font><font size="2" color="#0000ff">String</font><font size="2"> = ex.Message</font><font size="2"> <p><font size="2" color="#0000ff">End</font><font size="2"> </font><font size="2" color="#0000ff">Try</font></p></font><font size="2"><p><font size="2" color="#0000ff">End</font><font size="2"> </font><font size="2" color="#0000ff">Function</font></p></font>

    <p>I got some feed back from support that this driver doesn&#39;t  work with .NET datasets.  I would suggest that in your webservice method that you just return an arrary of regular objects that contain the data you need.  That should work with this driver I believe.  I would try it out but I just messed up my Crystal Reports and I need to re-install it.</p><p>Here&#39;s the URL to a white paper that talks about connecting to this driver. </p><p>http://support.businessobjects.com/communityCS/TechnicalPapers/cr_xi_native_xml_driver.pdf <br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Assistance required for J2EE/XML/Web Services development project in Bangal

    Hello,
    I work for a US based entrepreneur. who holds a Doctorate in Computer Science and MBA from MIT and we are setting up our office in Bangalore. We are on the look out for Qualified and Experienced J2EE professionals to assist in the implementation of our projects. Some of the projects that we are working for will be very interesting and will require highly skilled and experienced Software professionals who have working experience on J2EE/XML/Web Services
    We are looking for Experienced Candidates experienced in J2EE and have many positions open for experienced candidates and the Positions includes Technical team leaders, Senior Software developers, etc. The ideal candidates will be those who have passion for creating new applications using cutting edge technologies.
    We are also open to Experienced to candidates working for us on a part time basis for a fixed number of Hours per day (say about 3 to 4 Hours per day) and over the weekends. Please pass this on to any of your friends who may be interested in this opportunity.
    Anyone interested can respond to this message and please send me your mobile number or e mail address and I will get in touch with you.
    Regards
    Raj

    Hi Raj, Wrong Initiative.
    *=================> Please don't spoil the forum. <=================*
    I am sorry if you find this a bit rude or like that, but this a technical discussion forum not a job portal where you should find candidates for your organization.
    rajhyd wrote:
    Anyone interested can respond to this message and please send me your mobile number or e mail address and I will get in touch with you.I think instead of this you should make your email address visible in your current profile, so that people can reply you on that instead of expressing their interest here.
    *All the best for your new venture,
    typurohit* (Tejas Purohit)

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • XML Web Service ( ? )

    Hello there to everyone reading my post !
    I am trying to design an Application that exchanges XML Documents (or messages, I don't know how to call them properly).
    My application, recieves an XML, reads it, and replies with another XML.
    I am totally new to developing this type of "messaging" systems, that I have come to know recently are called "Web Services".
    What are your suggestions on Doing this? I need my interface be made in JSF...
    Is there a Tutorial or a How-to for this Topic?
    Please Help Me out...
    Thanks in advance

    Hello There !
    Yes, I like this Tutorial a lot, It shows me that it is possible to Obtain a Response From a Server as a Web Service. Thank you very much.
    But excuse my ignorance, How Do I apply it to XML messaging? I am just too confused about where does this web service obtains its response? Does it read it from an XML file?
    Please let me know where can I read more about this subject,
    I was wondering If there was something more simple. From scratch.
    Anyways, thank you very much, all help is truly appreciated.

  • How to get information about limitation Internal Memory on device

    hallo ..
    have some question here, so please some person able to answer my questions 
    1. How to get Information about limitation internal memory on device 
    2. is possible to improve internal memory on Blackberry ( move apps on external memory )
    3. any tools to get internal memory activity ?
    thanks for this people who joins here, hope we can share more information about blackberry .. 

    In addition...
    There are three types of potential memory on a BB: 1) Application Memory, 2) Device Memory, and 3) Media/SD Card Memory.
    Application Memory -- This is the most crucial; it is the protected (not user accessible), dedicated, and fixed (in size) space that is available as the destination for the installation of applications (plus some application storage, overhead and such). You cannot touch AppMemory. You cannot improve the maximum AppMemory that your BB has. It is what it is. Applications can only install here...there is no option.
    Device Memory -- This is space on your BB that you can touch to store files, pictures, media, etc. Typically, it is not terribly large, but it is available to you.
    SD/Media Card Memory-- This is what it says...your SD card, for you to store files, media, pictures, etc. It can be as large as your BB OS can support...see this KB:
    KB05461MicroSD card sizes supported by the BlackBerry device software
    On some devices/OS levels, you can only see "File Free" (Options > Status), which I think is equivalent to AppMemory. On other devices, you can see all three memory usage levels (Options > Memory). Here are some guidelines to use:
    KB02843What is the Low Memory Manager feature on the BlackBerry smartphone
    KB14320How to maximize free space and battery power on the BlackBerry smartphone
    KB14213Call logs, SMS text messages, and email messages are deleted from the BlackBerry smartphone
    Lastly, it is always important to properly close applications when you are done with them. Using the Back or the Red key will not do this -- those leave it to the app to decide what to do...and some will leave themselves resident in memory, consuming resources on your BB, slowing the overall performance. Rather, to close an app, press and select "Close" or "Exit"...that will force the application to be closed, freeing up for your new use the resources it was consuming. Some apps will always remain running (typically -- BBMessenger, Browser, Homescreen, Phone, and Messages)...but, you should still close them properly - especially the Browser...if it is left on an active web page, it will not only consume extra resources but battery power as well.
    Further, anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure. Some have taken to doing this on a regular basis as a preventive measure...some as frequently as once per day. Others have obtained the QuickPull app to automate a simulated Batt-Pull.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Support for XML / Web Service Data Source?

    <p>Do you know if and when Crystal Reports for Eclipse will support using the XML / Web Service data source?  It appears that only JDBC and Java Result Sets are currently supported.  I am using:</p><p>com.businessobjects.integration.eclipse.library_1.0.0.v671 </p><p>com.businessobjects.sdks.jrc.11.8.0_11.8.1.v671 </p><p>Thank you! </p>

    <p>Ok, I copied the JARs (such as CRDBXMLServer.jar) from the JRC SDK (from Eclipse all-in-one) onto the Tomcat classpath and got rid of my previous problem.  I now get the stack trace below.  I also can not find crdb_*.dll files (such as crdb_xml.dll) anywhere on my system other than the service pack 2 rollback directories.  My guess is I should be downloading and installing something else -- is this true? </p><p>10 Jan 2007 13:22:36 [http-8080-Processor23] DEBUG com.crystaldecisions.reports.reportdefinition.datainterface - Failed to open connection (Connection:<databaseType=XML><serverName=http://dopey/devicedirectory/2006-06-25/DeviceDirectory?WSDL DeviceDirectory DeviceDirectoryPort getDevices><state=closed><databaseDriverName=crdb_xml.dll>).<br />com.crystaldecisions.reports.queryengine.am: Error loading database connector.  The class &#39;com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader&#39; could not be accessed.<br />    at com.crystaldecisions.reports.queryengine.ax.am(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.ax.new(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.ax.byte(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.a.a(Unknown Source)<br />    at com.crystaldecisions.reports.reportdefinition.datainterface.g.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.a(Unknown Source)<br />    at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)<br />    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br />    at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)<br />    at com.crystaldecisions.report.web.event.ac.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.ac.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.b2.a(Unknown Source)<br />    at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)<br />    at com.crystaldecisions.report.web.event.av.a(Unknown Source)<br />    at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)<br />    at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)<br />    at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)<br />    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)<br />    at com.crystaldecisions.report.web.viewer.taglib.ServerControlTag.doEndTag(Unknown Source)<br />    at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown Source)<br />    at org.apache.jsp.stateReport_002dviewer_jsp._jspx_meth_crviewer_viewer_0(stateReport_002dviewer_jsp.java:108)<br />    at org.apache.jsp.stateReport_002dviewer_jsp._jspService(stateReport_002dviewer_jsp.java:61)<br />    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)<br />    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)<br />    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)<br />    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)<br />    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)<br />    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)<br />    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)<br />    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)<br />    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)<br />    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)<br />    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)<br />    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)<br />    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)<br />    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)<br />    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)<br />    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)<br />    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)<br />    at
    java.lang.Thread.run(Unknown Source)<br />Caused by: java.lang.reflect.InvocationTargetException<br />    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br />    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br />    at java.lang.reflect.Method.invoke(Unknown Source)<br />    ... 53 more<br />Caused by: java.lang.NoClassDefFoundError: OCA/OCAdbdll/DbDLLOperations<br />    at java.lang.ClassLoader.defineClass1(Native Method)<br />    at java.lang.ClassLoader.defineClass(Unknown Source)<br />    at java.security.SecureClassLoader.defineClass(Unknown Source)<br />    at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)<br />    at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)<br />    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)<br />    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)<br />    at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.a.<init>(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.a.eE(Unknown Source)<br />    at com.crystaldecisions.reports.queryengine.driverImpl.DriverLoader.loadDriver(Unknown Source)<br />    ... 57 more<br /><br /> </p>

  • How to Output Nodes from XML web service to a FLV?

    Hi
    I've used AS3 to query a web service and obtain the resulting XML.  I need to parse the result down to just a few nodes for a given location.  I can tackle that separately.  I am wondering how I output the parsed XML to a flash video file (.flx)?  The video has place holders for the XML node values.  What do I need to do to place the XML results in the video?
    Thanks,
    Sid

    Andrei1 wrote:
    What is a content of XML nodes? I am not sure what you mean by "inserting nodes". Do you mean that you want to display some information over the video?
    And yes, encoders do take XMLs to inject metadata into video. But this is metadata only.
    OSML = Open Source Media Framework:
    http://www.opensourcemediaframework.com/
    By inserting nodes, I mean that the XML web service returns data for each city, which needs to be parsed to just high temp, low temp and current condition.  Those 3 values needed to be dispalyed over, or woven into, the video at each city location.  My thought was that AS3 could somehow recognize the 3 placeholders for each city and insert the high temp, low temp and condition icon into each placeholder.  However, when I import the FLV file into Flash, there are no elements into which I can infuse this data.

  • Crystal Reports 2008 XML & Web Services

    Hi Experts,
    I am using Crystal reports Basic 2008 for SAP Business One Version 12.1.3.1028
    I just wanted to use a web services in my report.
    My data source connectivity does not list xml & web services.
    Can anyone advise if I am able to get XML and web services connectivity setup.
    thanks
    Tony

    Hi Tony,
    Post your thread to the reporting forum.
    [Reporting and Printing;
    Regards,
    Rakesh N

  • How configure a primavera web service to return data from the second database?

    Hi everyone,
    We have P6 with first WS deployed on a single server weblogic domain. The first WS return data from the first database instance.
    Then deployed advanced second WS on a separate weblogic domain server with a different port. Configured second WS with <WS2_INSTALL_HOME>/bin/dbconfig.sh, creating a new branch of a configuration that specifies a different second instance of the database. However, this configuration is ignored and second web services return data from the first database.
    We have one domain, which including next servers:
    Name / Host / Port / Deployments
    P6 / localhost / 0001 / P6(v8.3), p6ws1(v8.3)
    p6ws2 / localhost / 0002 / p6ws2(v8.3)
    Now we have two different file BREBootstrap.xml.
    P6 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db1:1521:db1</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass1</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB1" instances="1" logDir="anydir/P6EPPM/p6/PrimaveraLogs"/>
    </Configurations>
    p6ws2 BREBootstrap.xml:
    <Database>
    <URL>jdbc:oracle:thin:@db2:1521:db2</URL>
    <UserName>pubuser</UserName>
    <Password>anycriptopass2</Password>
    <Driver>oracle.jdbc.OracleDriver</Driver>
    <PublicGroupId>1</PublicGroupId>
    </Database>
    <CfgVersion>8.330</CfgVersion>
    <Configurations>
    <BRE name="P6 Config_DB2" instances="1" logDir="anydir/P6EPPM/ws2/PrimaveraLogs"/>
    </Configurations>
    ‘P6 Config_DB1’ and ‘P6 Config_DB2’ including Database property for 1 and 2 database respectively.
    How to configure a second web service to return data from the second database?
    Thanks in advance!
    Regards,
    Dmitry

    OK, so I got this to work this morning with Username Token Profile (with little help from Oracle Support).
    I followed your steps 1-4 but in step 2 I didn't add the -Ddatabase.instance=2 because I want to check to see if my code could swap between different instances.
    It appears for Username Token Profile to use Database Instance, you need to set it in the soap header.
    So my soap request looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <s:Header>
            <DatabaseInstanceId xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Authentication/V1">2</DatabaseInstanceId>
            <o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                <u:Timestamp xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd' u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3'>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                    <u:Expires>2014-10-23T04:29:01.152Z</u:Expires>
                </u:Timestamp>
                <o:UsernameToken u:Id='uuid-327b6ed1-b26d-4a61-81d5-e326174c1961-3' xmlns:u='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd'>
                    <o:Username>admin</o:Username>
                    <o:Password Type='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText'>password</o:Password>
                    <o:Nonce EncodingType='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary'>vJBQhCc28bAeszej7gOaiC2tVCQ=</o:Nonce>
                    <u:Created>2014-10-23T04:28:01.152Z</u:Created>
                </o:UsernameToken>
            </o:Security>
        </s:Header>
        <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <ReadProjects xmlns="http://xmlns.oracle.com/Primavera/P6/WS/Project/V2">
                <Field>ObjectId</Field>
                <Field>Id</Field>
                <Field>Name</Field>
                <Field>Status</Field>
                <Field>StartDate</Field>
                <Field>FinishDate</Field>
                <Field>DataDate</Field>
                <Filter>Id = 'EC00515'</Filter>
            </ReadProjects>
        </s:Body>
    </s:Envelope>
    This request pulled the project from the second instance.
    V/r,
    Gene

  • Chat with Microsoft experts on XML Web Services Interoperability

    Chat Title: XML Web Services Interoperability
    The promise of XML Web services rests on interoperability and
    ubiquity. Open standards and rigorous multi-vendor testing ensure that
    a rich community of Web services implementations will proliferate.
    Join us in this session with Keith Ballinger and Yann Christensen from
    the team that brought you ASP.NET's Web services stack as we discuss
    Microsoft's work in XML Web services interoperability.
    When: Thursday – February 7th 12:00pm PST (3:00pm ET/8:00pm GMT/5:00am
    Tokyo)
    Information: http://msdn.microsoft.com/chats/

    I'm wondering if it's the "=" and Quote in the parameter that is causing the search to fail to find your record
    Try with just the value in the field tag
    Wrong?
    <ns2:ContactId>='AHMA-VD8RSZ'</ns2:ContactId>
    <Id>='AHMA-VD6N8I'</Id>
    Correct:
    <ns2:ContactId>AHMA-VD8RSZ</ns2:ContactId>
    <Id>AHMA-VD6N8I</Id>
    Same for Last Name and other parameters
    Edited by: Royston Goveia on Dec 6, 2012 1:09 AM

  • Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Did you delete all receipts with iDVD in the file name  with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder before installing the new copy?  If not then do so and delete the new application also.
    Click to view full size
    Then install iPhoto from the disk it came on originally and apply all necessary updaters: Apple - Support - Downloads
    OT

  • HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

    HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
    we have developed an application using oracle forms 10g with
    oracle database 10g and Application server 10g
    Application uses a single Oracle User name to connect to database
    where as at Application level there are different users (these are not database users)
    Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
    USERENV('TERMINAL')
    we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
    but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
    thanks
    Chaand Kackria

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How to get information about cursor? I had only a reference on it.

    Hello
    How to get information about cursor, that I receive in my procedure as a reference. For example I need to know, a number of columns. I know nothing about this cursor, except the link on it.
    Best Regards, Kostya Proskudin!

    However, I would seriously reconsider what you are trying to achieve.
    It looks like you are trying to write some ultimately generic cursor processor. i.e. pass any cursor and process it in some generic way.
    Good design should include knowledge of what is expected to be passed and that knowledge can be put into the code.
    Generic code is inherently difficult to maintain and debug and will never 100% deal with all possible situations e.g. even if you know the table being queried in the cursor you can't rely on the data dictionary to give you all the returned columns if some of the returned columns of the cursor are computed columns.
    Be careful you aren't writing something that's going to cause problems later.

Maybe you are looking for

  • How to configure multiple IP addresses on one NIC?

    Hi, I just installed a OVM Server in version 3.2.1 and the according VMManager. Now i wanted to try to configure the Server/Server Pool. Now i come across a problem, which was already a big problem in OVM 2 while configuring the Networks. All our OVM

  • Installation

    When installing Adobe Photoshop CS6 do I install CS6 (64 bit) or CS6? Thanks In Advance!

  • How to use icons (database, database backup, save, delete etc.) in Oracle f

    Hi Everyone, I am using Oracle forms 5. I want to use iconic buttons in Oracle forms 5 for database, database backup, save, delete etc. Example: Like Oracle Enterprise Manager, a GUI tool, we can see the different icons for different items (icon for

  • NameNotFoundException: CustomerBean not bound

    Hi, after making the JavaEE5 Dukesbank example work under Sun AS 9, I've tried the same under JBoss 4.2.0.CR1. It gives me the following error message: ERROR [JBossInjectionProvider] Injection failed on managed bean. javax.naming.NameNotFoundExceptio

  • ShowDocument url permission denied

    Hi, I'm trying to run an applet with the following code: <code> if(qbm.runningAsApplet())                qbm.getContext().showDocument (url, "_blank"); </code> And I'm getting the following exceptions: Exception in thread "AWT-EventQueue-3" java.lang