Extract "lineageId and Name" from sysssispackages Using XQuery

Hi All,
can someone help me, how to Extract "lineageId and Name" from sysssispackages?
Below query gives me the XML structure of SSIS package but need to pull only those 2 values from that
SELECT  
       Package= CAST(CAST(packagedata AS VARBINARY(MAX)) AS XML) 
    FROM      [msdb].[dbo].[sysssispackages]
Thanks

Thanks Latheesh for responding
Below is the sample structure 
<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts" DTS:ExecutableType="SSIS.Package.2">
  <DTS:Property DTS:Name="PackageFormatVersion">3</DTS:Property>
  <DTS:Property DTS:Name="VersionComments" />
  <DTS:Property DTS:Name="CreatorName">MyWorld\Sar</DTS:Property>
  <DTS:Property DTS:Name="CreatorComputerName">MYWORLD</DTS:Property>
  <DTS:Property DTS:Name="CreationDate" DTS:DataType="7">3/22/2014 8:12:40 PM</DTS:Property>
  <DTS:Property DTS:Name="PackageType">5</DTS:Property>
  <DTS:Property DTS:Name="ProtectionLevel">1</DTS:Property>
  <DTS:Property DTS:Name="MaxConcurrentExecutables">-1</DTS:Property>
  <DTS:Property DTS:Name="PackagePriorityClass">0</DTS:Property>
  <DTS:Property DTS:Name="VersionMajor">1</DTS:Property>
  <DTS:Property DTS:Name="VersionMinor">0</DTS:Property>
  <DTS:Property DTS:Name="VersionBuild">17</DTS:Property>
  <DTS:Property DTS:Name="VersionGUID">{3A8DDC68-97D0-4463-94AB-C9E1EF617E35}</DTS:Property>
  <DTS:Property DTS:Name="EnableConfig">0</DTS:Property>
  <DTS:Property DTS:Name="CheckpointFileName" />
  <DTS:Property DTS:Name="SaveCheckpoints">0</DTS:Property>
  <DTS:Property DTS:Name="CheckpointUsage">0</DTS:Property>
  <DTS:Property DTS:Name="SuppressConfigurationWarnings">0</DTS:Property>
  <DTS:ConnectionManager>
    <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
    <DTS:Property DTS:Name="ObjectName">fftest</DTS:Property>
    <DTS:Property DTS:Name="DTSID">{9EE16655-EBB1-4EAB-977A-334CBABE5855}</DTS:Property>
    <DTS:Property DTS:Name="Description" />
    <DTS:Property DTS:Name="CreationName">FLATFILE</DTS:Property>
    <DTS:ObjectData>
      <DTS:ConnectionManager>
        <DTS:Property DTS:Name="FileUsageType">0</DTS:Property>
        <DTS:Property DTS:Name="Format">Delimited</DTS:Property>
        <DTS:Property DTS:Name="LocaleID">1033</DTS:Property>
        <DTS:Property DTS:Name="Unicode">0</DTS:Property>
        <DTS:Property DTS:Name="HeaderRowsToSkip">0</DTS:Property>
        <DTS:Property DTS:Name="HeaderRowDelimiter" xml:space="preserve">_x000D__x000A_</DTS:Property>
        <DTS:Property DTS:Name="ColumnNamesInFirstDataRow">-1</DTS:Property>
        <DTS:Property DTS:Name="RowDelimiter" xml:space="preserve" />
        <DTS:Property DTS:Name="DataRowsToSkip">0</DTS:Property>
        <DTS:Property DTS:Name="TextQualifier">&lt;none&gt;</DTS:Property>
        <DTS:Property DTS:Name="CodePage">1252</DTS:Property>
        <DTS:FlatFileColumn>
          <DTS:Property DTS:Name="ColumnType">Delimited</DTS:Property>
          <DTS:Property DTS:Name="ColumnDelimiter" xml:space="preserve">_x0009_</DTS:Property>
          <DTS:Property DTS:Name="ColumnWidth">0</DTS:Property>
          <DTS:Property DTS:Name="MaximumWidth">50</DTS:Property>
          <DTS:Property DTS:Name="DataType">129</DTS:Property>
          <DTS:Property DTS:Name="DataPrecision">0</DTS:Property>
          <DTS:Property DTS:Name="DataScale">0</DTS:Property>
          <DTS:Property DTS:Name="TextQualified">-1</DTS:Property>
          <DTS:Property DTS:Name="ObjectName">ID</DTS:Property>
          <DTS:Property DTS:Name="DTSID">{D444A9DE-0FFC-47E9-9747-3A481D7DCEAA}</DTS:Property>
          <DTS:Property DTS:Name="Description" />
          <DTS:Property DTS:Name="CreationName" />
        </DTS:FlatFileColumn>
        <DTS:FlatFileColumn>
          <DTS:Property DTS:Name="ColumnType">Delimited</DTS:Property>
          <DTS:Property DTS:Name="ColumnDelimiter" xml:space="preserve">_x000D__x000A_</DTS:Property>
          <DTS:Property DTS:Name="ColumnWidth">0</DTS:Property>
          <DTS:Property DTS:Name="MaximumWidth">50</DTS:Property>
          <DTS:Property DTS:Name="DataType">129</DTS:Property>
          <DTS:Property DTS:Name="DataPrecision">0</DTS:Property>
          <DTS:Property DTS:Name="DataScale">0</DTS:Property>
          <DTS:Property DTS:Name="TextQualified">-1</DTS:Property>
          <DTS:Property DTS:Name="ObjectName">Name</DTS:Property>
          <DTS:Property DTS:Name="DTSID">{9BF026D2-6FD7-4038-93A7-25B1AA4DE092}</DTS:Property>
          <DTS:Property DTS:Name="Description" />
          <DTS:Property DTS:Name="CreationName" />
        </DTS:FlatFileColumn>
        <DTS:Property DTS:Name="ConnectionString">D:\XML Test\test.txt</DTS:Property>
      </DTS:ConnectionManager>
    </DTS:ObjectData>
  </DTS:ConnectionManager>
  <DTS:ConnectionManager>
    <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
    <DTS:Property DTS:Name="ObjectName">LocalHost.MyPOCs</DTS:Property>
    <DTS:Property DTS:Name="DTSID">{DCE78F76-3B49-4318-993E-13FE9B71E2D5}</DTS:Property>
    <DTS:Property DTS:Name="Description" />
    <DTS:Property DTS:Name="CreationName">OLEDB</DTS:Property>
    <DTS:ObjectData>
      <DTS:ConnectionManager>
        <DTS:Property DTS:Name="Retain">0</DTS:Property>
        <DTS:Property DTS:Name="ConnectionString">Data Source=.;Initial Catalog=MyPOCs;Provider=SQLNCLI10.1;Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-Package-{DCE78F76-3B49-4318-993E-13FE9B71E2D5}LocalHost.MyPOCs;</DTS:Property>
      </DTS:ConnectionManager>
    </DTS:ObjectData>
  </DTS:ConnectionManager>
  <DTS:Property DTS:Name="LastModifiedProductVersion">10.0.1600.22</DTS:Property>
  <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
  <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
  <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
  <DTS:Property DTS:Name="Disabled">0</DTS:Property>
  <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
  <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
  <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
  <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
  <DTS:Property DTS:Name="LocaleID">1033</DTS:Property>
  <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
  <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
  <DTS:Variable>
    <DTS:Property DTS:Name="Expression" />
    <DTS:Property DTS:Name="EvaluateAsExpression">0</DTS:Property>
    <DTS:Property DTS:Name="Namespace">User</DTS:Property>
    <DTS:Property DTS:Name="ReadOnly">0</DTS:Property>
    <DTS:Property DTS:Name="RaiseChangedEvent">0</DTS:Property>
    <DTS:Property DTS:Name="IncludeInDebugDump">2345</DTS:Property>
    <DTS:VariableValue DTS:DataType="8" />
    <DTS:Property DTS:Name="ObjectName">Error</DTS:Property>
    <DTS:Property DTS:Name="DTSID">{F72B40BF-8B93-429B-8035-96AECD3631A3}</DTS:Property>
    <DTS:Property DTS:Name="Description" />
    <DTS:Property DTS:Name="CreationName" />
  </DTS:Variable>
  <DTS:LoggingOptions>
    <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
    <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
    <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
  </DTS:LoggingOptions>
  <DTS:Executable DTS:ExecutableType="SSIS.Pipeline.2">
    <DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
    <DTS:Property DTS:Name="ExecutionAddress" />
    <DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server v10; (C) 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1</DTS:Property>
    <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
    <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
    <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
    <DTS:Property DTS:Name="Disabled">0</DTS:Property>
    <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
    <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
    <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
    <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
    <DTS:Property DTS:Name="LocaleID">-1</DTS:Property>
    <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
    <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
    <DTS:LoggingOptions>
      <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
      <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
      <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
    </DTS:LoggingOptions>
    <DTS:Property DTS:Name="ObjectName">Data Flow Task</DTS:Property>
    <DTS:Property DTS:Name="DTSID">{9D6476B8-543C-488D-96C2-7C787F892763}</DTS:Property>
    <DTS:Property DTS:Name="Description">Data Flow Task</DTS:Property>
    <DTS:Property DTS:Name="CreationName">SSIS.Pipeline.2</DTS:Property>
    <DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
    <DTS:EventHandler>
      <DTS:Property DTS:Name="EventID">0</DTS:Property>
      <DTS:Property DTS:Name="EventName">OnError</DTS:Property>
      <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
      <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
      <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
      <DTS:Property DTS:Name="Disabled">0</DTS:Property>
      <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
      <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
      <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
      <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
      <DTS:Property DTS:Name="LocaleID">-1</DTS:Property>
      <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
      <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
      <DTS:Variable>
        <DTS:Property DTS:Name="Expression" />
        <DTS:Property DTS:Name="EvaluateAsExpression">0</DTS:Property>
        <DTS:Property DTS:Name="Namespace">System</DTS:Property>
        <DTS:Property DTS:Name="ReadOnly">0</DTS:Property>
        <DTS:Property DTS:Name="RaiseChangedEvent">0</DTS:Property>
        <DTS:Property DTS:Name="IncludeInDebugDump">6789</DTS:Property>
        <DTS:VariableValue DTS:DataType="11">-1</DTS:VariableValue>
        <DTS:Property DTS:Name="ObjectName">Propagate</DTS:Property>
        <DTS:Property DTS:Name="DTSID">{C0BBF3C9-2116-4152-AB9E-FF436DA214CB}</DTS:Property>
        <DTS:Property DTS:Name="Description">The propagate property of the event</DTS:Property>
        <DTS:Property DTS:Name="CreationName" />
      </DTS:Variable>
      <DTS:LoggingOptions>
        <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
        <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
        <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
      </DTS:LoggingOptions>
      <DTS:Executable DTS:ExecutableType="Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91">
        <DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
        <DTS:Property DTS:Name="ExecutionAddress" />
        <DTS:Property DTS:Name="TaskContact">Execute SQL Task; Microsoft Corporation; Microsoft SQL Server 2008; © 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1</DTS:Property>
        <DTS:Property DTS:Name="ForceExecValue">0</DTS:Property>
        <DTS:Property DTS:Name="ExecValue" DTS:DataType="3">0</DTS:Property>
        <DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
        <DTS:Property DTS:Name="Disabled">0</DTS:Property>
        <DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
        <DTS:Property DTS:Name="FailParentOnFailure">0</DTS:Property>
        <DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
        <DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
        <DTS:Property DTS:Name="LocaleID">-1</DTS:Property>
        <DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
        <DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
        <DTS:LoggingOptions>
          <DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
          <DTS:Property DTS:Name="FilterKind">1</DTS:Property>
          <DTS:Property DTS:Name="EventFilter" DTS:DataType="8" />
        </DTS:LoggingOptions>
        <DTS:Property DTS:Name="ObjectName">Execute SQL Task</DTS:Property>
        <DTS:Property DTS:Name="DTSID">{380C43D8-73EC-40A9-935B-5CA483E12652}</DTS:Property>
        <DTS:Property DTS:Name="Description">Execute SQL Task</DTS:Property>
        <DTS:Property DTS:Name="CreationName">Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask.ExecuteSQLTask, Microsoft.SqlServer.SQLTask, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91</DTS:Property>
        <DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
        <DTS:ObjectData>
          <SQLTask:SqlTaskData xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" SQLTask:Connection="{DCE78F76-3B49-4318-993E-13FE9B71E2D5}" SQLTask:TimeOut="0" SQLTask:IsStoredProc="False" SQLTask:BypassPrepare="True"
SQLTask:SqlStmtSourceType="DirectInput" SQLTask:SqlStatementSource="Declare @Error Varchar(250) = ?&#xA;  &#xA;Select @Error as Errodesc" SQLTask:CodePage="1252" SQLTask:ResultType="ResultSetType_SingleRow">
            <SQLTask:ResultBinding SQLTask:ResultName="Errodesc" SQLTask:DtsVariableName="User::Error" />
            <SQLTask:ParameterBinding SQLTask:ParameterName="@Error" SQLTask:DtsVariableName="System::ErrorDescription" SQLTask:ParameterDirection="Input" SQLTask:DataType="129" SQLTask:ParameterSize="-1" />
          </SQLTask:SqlTaskData>
        </DTS:ObjectData>
      </DTS:Executable>
      <DTS:Property DTS:Name="DTSID">{9FF1A2A2-474A-4477-BE6A-6CD9AEEDC0D2}</DTS:Property>
      <DTS:Property DTS:Name="Description" />
      <DTS:Property DTS:Name="CreationName">OnError</DTS:Property>
    </DTS:EventHandler>
    <DTS:ObjectData>
      <pipeline id="0" name="pipelineXml" description="pipelineXml" defaultBufferMaxRows="10000" engineThreads="10" defaultBufferSize="10485760" BLOBTempStoragePath="" bufferTempStoragePath="" runInOptimizedMode="true">
        <components>
          <component id="18" name="OLE DB Destination" componentClassID="{5A0B62E8-D91D-49F5-94A5-7BE58DE508F0}" description="OLE DB Destination" localeId="-1" usesDispositions="true" validateExternalMetadata="True" version="4" pipelineVersion="0"
contactInfo="OLE DB Destination;Microsoft Corporation; Microsoft SqlServer v10; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4">
            <properties>
              <property id="19" name="CommandTimeout" dataType="System.Int32" state="default" isArray="false" description="The number of seconds before a command times out.  A value of 0 indicates an infinite time-out."
typeConverter="" UITypeEditor="" containsID="false" expressionType="None">0</property>
              <property id="20" name="OpenRowset" dataType="System.String" state="default" isArray="false" description="Specifies the name of the database object used to open a rowset." typeConverter="" UITypeEditor=""
containsID="false" expressionType="None">[Datacheck]</property>
              <property id="21" name="OpenRowsetVariable" dataType="System.String" state="default" isArray="false" description="Specifies the variable that contains the name of the database object used to open a rowset."
typeConverter="" UITypeEditor="" containsID="false" expressionType="None" />
              <property id="22" name="SqlCommand" dataType="System.String" state="default" isArray="false" description="The SQL command to be executed." typeConverter="" UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor,
Microsoft.DataTransformationServices.Controls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" containsID="false" expressionType="None" />
              <property id="23" name="DefaultCodePage" dataType="System.Int32" state="default" isArray="false" description="Specifies the column code page to use when code page information is unavailable from the data source."
typeConverter="" UITypeEditor="" containsID="false" expressionType="None">1252</property>
              <property id="24" name="AlwaysUseDefaultCodePage" dataType="System.Boolean" state="default" isArray="false" description="Forces the use of the DefaultCodePage property value when describing character data."
typeConverter="" UITypeEditor="" containsID="false" expressionType="None">false</property>
              <property id="25" name="AccessMode" dataType="System.Int32" state="default" isArray="false" description="Specifies the mode used to access the database." typeConverter="AccessMode" UITypeEditor="" containsID="false"
expressionType="None">3</property>
              <property id="27" name="FastLoadKeepIdentity" dataType="System.Boolean" state="default" isArray="false" description="Indicates whether the values supplied for identity columns will be copied to the destination.
If false, values for identity columns will be auto-generated at the destination. Applies only if fast load is turned on." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">false</property>
              <property id="28" name="FastLoadKeepNulls" dataType="System.Boolean" state="default" isArray="false" description="Indicates whether the columns containing null will have null inserted in the destination. If
false, columns containing null will have their default values inserted at the destination. Applies only if fast load is turned on." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">false</property>
              <property id="29" name="FastLoadOptions" dataType="System.String" state="default" isArray="false" description="Specifies options to be used with fast load.  Applies only if fast load is turned on." typeConverter=""
UITypeEditor="" containsID="false" expressionType="None">TABLOCK,CHECK_CONSTRAINTS</property>
              <property id="30" name="FastLoadMaxInsertCommitSize" dataType="System.Int32" state="default" isArray="false" description="Specifies when commits are issued during data insertion.  A value of 0 specifies
that one commit will be issued at the end of data insertion.  Applies only if fast load is turned on." typeConverter="" UITypeEditor="" containsID="false" expressionType="None">2147483647</property>
            </properties>
            <connections>
              <connection id="26" name="OleDbConnection" description="The OLE DB runtime connection used to access the database." connectionManagerID="{DCE78F76-3B49-4318-993E-13FE9B71E2D5}" />
            </connections>
            <inputs>
              <input id="31" name="OLE DB Destination Input" description="" hasSideEffects="true" dangling="false" errorOrTruncationOperation="Insert" errorRowDisposition="FailComponent" truncationRowDisposition="NotUsed">
                <inputColumns>
                  <inputColumn id="39" name="" description="" lineageId="121" usageType="readOnly" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed" externalMetadataColumnId="37"
mappedColumnId="0" />
                  <inputColumn id="186" name="" description="" lineageId="181" usageType="readOnly" errorOrTruncationOperation="" errorRowDisposition="NotUsed" truncationRowDisposition="NotUsed" externalMetadataColumnId="36"
mappedColumnId="0" />
                </inputColumns>

Similar Messages

  • Need to extract faces and names from a multi-portrait high school year book scanned page

         I am responsible for generating individual high school student portraits (5" x 7") from scanned 600 dpi pages of portraits from my high school beacon (year book). There are 16 - 20 black and white portraits per page and there are between 800 and 850 students in my graduating class.
         The end product is taking an estimated 850 portraits from multi- portrait pages and convert them into individual 5" x 7" B&W photos.
         Attached is one of the pages of portraits to experiment with. Other than selecting each individual portrait and pasting it into a new image from the clipboard, I don't know of a faster way to do it. This will nearly take forever.
           Might there be a way to create a grid of selections template that applies to each page and extracts the portraits and names separating them into individual images?
    I couldn't download a sample for some reason. The portraits are arranged 4 wide and 5 down like below table but without the header.  The names are below the faces. If one of you has an idea, I could email the full size image to you.
    Header 1
    Header 2
    Header 3
    Header 4

    Nothing shows up.
    1. Go to www.pixentral.com
    2. Put your cursor in the blank provided for the upload (where it says your image)
    3. Click on the Browse button
    4. When the "Choose File" box pops up, navigate to where your photo is stored, click on your photo file, then at the bottom of the box, click the Open button
    5. It will come back to Pixentral with the path to your photo shown in the blank
    6. Now on the Pixentral screen, click on the Send button
    7. Once your photo is loaded (you'll see it on the Pixentral screen) scroll down to the bottom of the photo where you'll see two lines of text, one that says HTML and one that says Forum
    8. You need to copy all of the text in the box after "Forum"
    9. An easy way to select it is to triple click on the text OR drag your mouse all the way from the first character to the last character of the text
    10. Once it is selected, press Ctrl-C to copy it
    11. Then go to your message on the forum here and paste your link by pressing Ctrl-V

  • Extract Portal User Name From HTTP POST Request (WSRP SOAP)

    How can we extract the user name from the HTTP POST Request (*WSRP SOAP*) from the Portal to the Portlet Provider (Producer)?
    We are load balancing between the Portal (10.1.14.2) and the providers (OC4J 10.1.3.3) and would like to extract the user name within the load balancer so we can create session affinity based on it.
    BTW, we already tried using TCP Flow but were unable to see the user name.

    From the documentation, it seems that you need to use
    HttpURLConnection.setRequestMethod("POST"); // "GET" is the defaultalthough I have seen examples on the web without it.
    Try!
    Edit: Also the single quotes around userid and password may be a problem.
    Use the previous poster suggestion, but do not include the single quotes.
    Edited by: baftos on Aug 6, 2008 4:27 PM

  • How to extract username and password from CRMOD

    I have a requirement where i have make a jsp paget hru which user can upload doc in UCM and embed in CRMOD using Web Applet.But at the backend the UCM requires CRMOD username and password.How can i extract username and password frm crmod using java.

    You can get this info from your ISP. This one may help.
    Create a Broadband connection using PPPoE in Windows Vista and Windows Server 2008
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Extracting operators and operands from the source code

    Hi there,
    I am looking for a way to extract operators and operands from a source code to do a complexity analysis of the code. The final outcome I am expecting is to get the number of operators and operands in the code, to perform a Halstead Complexity Analysis.
    Please let me know how this parsing can be done apart from just doing a sequential search of the content in the file.
    Any samples and references are highly appreciated.
    Thanks in advance!
    Regards,
    Aravinda777

    Common way to analyze code is to defining the things you are interested in using some approproate language and then using a parser generator (or compiler compiler = cc). I used antlr some time ago for this reason. Perhaps you want to take a look at it:
    http://www.antlr.org/

  • Need to extract only file name from path.........

    Hi All,
    I have a parameter.This calls the function
    "CALL FUNCTION 'F4_FILENAME' to get the file from C drive.
    After selecting the file the path is displayed in the Parameter field.
    My problem is I need to extract only file name from the path.Please advice.
    Example : Prameter  id    C:\folder\file.xls  
    I shd extract only file.xls from the path.Please advice.

    Hi,
    Use the below logic:
    data: begin of itab,
               val    type  char20,
            end of itab.
    SPLIT  l_f_path  AT  '\'  INTO  TABLE itab.
    The last record of the internal table holds the file name.
    describe table itab lines l_f_lines.
    read itab index l_f_lines.
    l_f_filaname = itab-val.
    Hope this helps u.

  • How to Extract data and reports from the SAP BW warehouse

    Hi to All Guru's
    I am new to SAP BW. Can any one help me to know, How to Extract data and reports from SAP BW. Do we use any tools.  After Extracting the data from SAP BW how can we move all the data to Cognos.  It would be kind enough to provide me with any documentation or links.  Step by step procedure would be very much helpfull to me.
    Thanks
    Venu

    Hi Voodi
    Thanks for the quick response. I think Open hub is to extract the data from SAP BW, but what about sending this data into Cognos.  Can you please let me know in detail regarding answer. If possible send me any documentation or links regarding this.  Thanks for your concern.
    Venu

  • How to get customer number and name from the SD document

    Hi All,
    Can you please let me know how to get Customer Number and Name from the SD Document?
    Thanks a lot....
    Anil

    Hi,
    It will be displayed in the SD (BIlling document) itself,  you clikc on the VF03. The customer name and number will also appear in the SO document also Tcode VA03
    regards,
    radhika
    Edited by: kolipara radhika on Jul 10, 2009 5:32 AM

  • I've just sold my macbook to a friend. How do I completely clear my account and name from

    I've just sold my macbook to a friend. How do I completely clear my account and name from it. TIA,
    Eric

    What to do before selling or giving away your Mac

  • RowNum for header and detail for XMLNodes using XQuery Sqlserver

    Hi All,
    I have this xml.
    declare @xml xml
    set @xml =' <StudentsData>
    <StudentData>
    <Name>AAA</Name>
    <subjects>
    <subject>
    <Name>computers</Name>
    <marks>30</marks>
    </subject>
    <subject>
    <Name>Maths</Name>
    <marks>40</marks>
    </subject>
    </subjects>
    </StudentData>
    <StudentData>
    <Name>BBB</Name>
    <subjects>
    <subject>
    <Name>Science</Name>
    <marks>30</marks>
    </subject>
    <subject>
    <Name>Physics</Name>
    <marks>40</marks>
    </subject>
    </subjects>
    </StudentData>
    </StudentsData>'
    I am able to get the proper data by querying like below.
    select
    s.n.value('(Name/text())[1]', 'varchar(50)') as StudentName ,
    z.c.value('(Name/text())[1]','varchar(50)') as SubjectName ,
    z.c.value('(marks/text())[1]','int') as Marks
    from
    @XML.nodes('/StudentsData/StudentData') as S(N)
    CROSS APPLY s.n.nodes('subjects/subject') z(c)
    But I want to include the header_id and detail_id to for these records using a variable like below.
    eg: declare @header_id =100
          declare @detail_id = 1000
    I want the output like below.
    HeaderId DetailId StudentName SubjectName Marks
    101 1001 AAA computers 30
    101 1002 AAA Maths 40
    102 1003 BBB Science 30
    102 1004 BBB Physics 40
    how do I get this using xquery.
    Thanks in advance.

    pls try
    declare @xml xml
    set @xml =' <StudentsData>
    <StudentData>
    <Name>AAA</Name>
    <subjects>
    <subject>
    <Name>computers</Name>
    <marks>30</marks>
    </subject>
    <subject>
    <Name>Maths</Name>
    <marks>40</marks>
    </subject>
    </subjects>
    </StudentData>
    <StudentData>
    <Name>BBB</Name>
    <subjects>
    <subject>
    <Name>Science</Name>
    <marks>30</marks>
    </subject>
    <subject>
    <Name>Physics</Name>
    <marks>40</marks>
    </subject>
    </subjects>
    </StudentData>
    </StudentsData>'
    declare @header_id int =100
    declare @detail_id int= 1000
    select @header_id+ROW_NUMBER() over(order by (select 1)) header_id,@detail_id+ROW_NUMBER() over(order by (select 1))detail_id,
    s.n.value('(Name/text())[1]', 'varchar(50)') as StudentName ,
    z.c.value('(Name/text())[1]','varchar(50)') as SubjectName ,
    z.c.value('(marks/text())[1]','int') as Marks
    from
    @XML.nodes('/StudentsData/StudentData') as S(N)
    CROSS APPLY s.n.nodes('subjects/subject') z(c)
    vt
    Please mark answered if I've answered your question and vote for it as helpful to help other user's find a solution quicker

  • Extracting username and password from security header

    Hey all,
    I'm writing a BPEL process that invokes two secured web services. One of them authenticates using Username Token and the other has a authenticate method in which the username and password are supplied as Strings. I have successfully propagated the credentials from the BPEL process to the web service using Username Token by doing the following:
    1) I secured my BPEL process
    2) I imported oasis-200401-wss-wssecurity-secext-1.0.xsd and from it created a variable of type Security
    3) I added the security variable to the Header Variables for the BPEL process input
    4) I added the security variable to the Input Header Variables for the web service's invoke operation
    This worked fine. However, I need to be able to extract out the username and password and supply them as Strings to the authenticate method of the other web service. How can this be done? If it can't, what are some alternatives?
    Environment:
    JDeveloper 11.1.1.6.0
    Thanks,
    Bill

    Hi Sri,
    If I understand your steps correctly, I think the problem I'm having rests with the second step. I don't know how to get a hold of the username and password to assign to the local variables you mention. The BPEL process itself uses Username Token for authentication. These credentials need to be passed to the web services invoked within the BPEL process. If I assign the security header variable directly to the string output for the BPEL process, the string returned will be the complete XML security header, which includes the username and password. However, the security header variable itself doesn't expose the username and password directly. In other words, I can't expand the security header variable node in the dialog for editing the Assign operation and get to the username and password. I think one solution is to parse out the username and password from the complete XML security header using string operations (substring, index-within-string, etc). Also, regarding step 4, I'm not sure if passing the credentials in the header will work for this web service. I think the web service is expecting the credentials as parameters to its authenticate method.
    Thanks,
    Bill

  • Extraction hierarchies and fields from the logical layer

    Hello all !
    I build a repository and I would like to ask if it is possible to take an extraction of the names of the hierarchies and fields of the business layer that are mapped to the tables and fields of the physical layer. Because now my model is quite big and I want to create a file that I can follow my logical layer that is mapped to the physical layer.
    Thank you in advance!

    better to go for Repository Documnetation from utilities,it will give you the complete info of ur RPD

  • Fetching session names from repository using Informatica SDK

    Hi guys, I'm using the Informatica SDK to create a java application that accesses the Informatica repository. I'm having a bit of an issue while trying to fetch the names of already created sessions from the Informatica Repository. I'm able to connect to the repo without any issues and have been able to add sources, targets, mappings, sessions, workflows, etc... and save them directly afterwards. However, when I try to fetch the session names from a folder in the repository, I get the following error: Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Running the pmrep process in the working directory: [C:\Informatica\9.6.1\clients\PowerCenterClient\client\bin].Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Running the command [listobjects -o session  -f "TechOps" -s .].Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Running the command [exit].Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 Parsing the output of the ListObjects command for each folder.Mon Jul 27 15:03:01 PDT 2015  Severity:DEBUG  ThreadID:14 The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command.Failed to execute listobjects.].The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command.Failed to execute listobjects.].com.informatica.powercenter.sdk.mapfwk.exception.RepoOperationException: The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command.Failed to execute listobjects.].at com.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source)at com.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source)at com.mars.Main.main(Main.java:170) This doesn't really make sense to me as I'm able to connect to the repo fine to add and save changes. Here's my code for fetching: // Create a list of session names and store the namesList<String> sessionNames = null;try {      sessionNames = folder.fetchSessionNamesFromRepository();} catch (RepoOperationException e) {      // TODO Auto-generated catch block      e.printStackTrace();} catch (MapFwkReaderException e) {      // TODO Auto-generated catch block      e.printStackTrace();} // Print the list of session namesfor (int i = 0; i < sessionNames.size(); i++) {System.out.println("Session " + i + " is " + sessionNames.get(i));} I've confirmed that the folder object works fine as I can add and save other objects to that folder in the repo. The other thing is that if I go to the Informatica path on my drive and run the pmrep command followed by the command for fetching session names, it works fine. Any help on this would be greatly appreciated. Thanks

    Hi Shruti,
    Instead of doing the following when setting the font attributes:
    FontImpl fnt = (FontImpl)res.getFont();
    fnt.getDecoration().setTextColor(c1);
    res.setFont(fnt);
    Try doing this instead:
    res.getAttributes().setForeground(c1);
    res.getFont().setSize(10);
    Hope this helps.
    Regards,
    Dan

  • Getting Bill-to-party email address and name from a sales order

    Are there any FMs to get the bill-to-party email address and name? I looked into SD_PARTNER functions but was not quite sure which one to use ( even SD_PARTNER_ADDRESS_GET did not seem to have email address in it).
    Please suggest me any FMs if they are already available or the master table from which these can be retrieved.
    Thank you in advance.

    Hi Suzzi,
    Use BAPI FM for the same.
    Best Regards,
    Flavya

  • Can't select input output and name media when using MRC1 log and transfer

    I am using a MRC1 from the Sony Z5E to film my media. I downloaded the plugin which allows me to log and transfer through FCP 6.0.6. The only problem is that it does not allow me to input/output and name the pieces of each clip that I want. Hence I can only import the whole clip and am wasting time and space with media that I do not want or need. Is there an additional plugin or setting to pick on FCP to get this feature to work?
    Rich

    Hi xhk, I'm a Kubuntu's user and I've had the same problems. I've been days reading on the Internet about this issue and finally I solve it by following this post from a Spanish tutorial: http://bit.ly/4p3XFq. It worked for me!
    Basically it is:
    1. Get install the needed packages, i.e: sudo apt-get install ibus ibus-pinyin
    2. After installing them, introduce a little code into two files:
    2.1.--> type on your konsole: kate /home/$(whoami)/.bashrc
       a--> add to the bottom of the opened text:
    export GTK_IM_MODULE=ibus
    export XMODIFIERS=@im=ibus
    export QT_IM_MODULE=ibus
       b-->save the changes on the text.
    2.2.--> type again on your konsole: kate /home/$(whoami)/.profile
      b--> repeat 2.1.a. and 2.1.b
    3. Go to main menu - system settings - advance - "autoarranque" (I don't know how it is called in English, "restarting" maybe?) and then "add a programme". Type: ibus-daemon -d, press OK and then rebooth.
    It shall be working by then.
    Last edited by mxd (2013-07-06 01:42:27)

Maybe you are looking for