Queries on adapters
Hi All,
1. Please let me know about the http and SOAP adapters. and why SOAP adapter is much better than http ??
2. Explain me about XI adapter?How does it work ?
3. Explain me about proxy?
4. Content based conversion ?
5. say , if there is bank dataand as bank details are very secured , n w edont want to display that payload wha tshould be done?? and how to do it ??explain an example.
6. I have the data and that data should flow to 4 systems , then what should be done ...??
Hi,
1. Please let me know about the http and SOAP adapters. and why SOAP adapter is much better than http ??
The SOAP adapter enables you to exchange SOAP messages between remote clients or Web service servers and the Integration Server or the PCK.
In the SOAP adapter, you can specify security settings to be used to sign/verify the SOAP body. In addition, you can specify the standard to be used for signing/verifying the SOAP message.
But Plain HTTP Adapter cannot support all like security settings.
The plain HTTP adapter gives application systems the option of communicating with the Integration Engine and exchanging business data using a plain HTTP connection. Depending on the receiver system, outbound messages can be enhanced with certain information
http://help.sap.com/saphelp_nw04/helpdata/en/bd/ec25443b19f848aa46e81487ec56ff/frameset.htm
2. Explain me about XI adapter?How does it work ?
You configure the XI adapter to exchange messages with an Integration Engine. Both XI 3.0 and XI 2.0 message protocols are supported. You also use the XI adapter to exchange messages between SAP Exchange Infrastructure and the Partner Connectivity Kit (PCK).
You can use security settings to sign messages and check the signature. You can encrypt and decrypt message payloads
http://help.sap.com/saphelp_nw04/helpdata/en/e1/091640a991c742e10000000a1550b0/content.htm
3. Explain me about proxy?
Proxies are adapter less communication, we have two types of proxies ,
ABAP proxies, JAVA proxies.
http://help.sap.com/saphelp_nw04/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
4. Content based conversion ?
This can be handle with Converison Agemt and adapter level content onversion .
see below links ..
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
/people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file /people/harrison.holland5/blog/2006/12/20/xi-configuration-for-mdm-integration--sample-scenario
/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
/people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter http://help.sap.com/saphelp_nw04/helpdata/en/ee/c9f0b4925af54cb17c454788d8e466/frameset.htm
http://help.sap.com/saphelp_erp2005vp/helpdata/en/95/bb623c6369f454e10000000a114084/content.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f - conversion agent with item fiels.
5. say , if there is bank dataand as bank details are very secured , n w edont want to display that payload wha tshould be done?? and how to do it ??explain an example.
6. I have the data and that data should flow to 4 systems , then what should be done ...??
Same data can be sent to multiple receivers ..all depends upon the configuration..
Chilla
Similar Messages
-
Hello,
I have couple of queries regading Adapters' feautres in SOA.
1. Are all SOA Adapters synchronous by nature? How can we achieve Asynchronous Communication among various systems designed in hetrogeneous technologies?
2. Currently in my company, MQ is being used as a messaging system between two end points and data transformation is taking place using BPEL.
Architecture is like:
System1 - > puts message in MQ Queue (SSL enabled channels)-> BPEL Process receives it via Mq Adapter, transforms it and sends to -> System2 via MQ Adapter->System2 receives msg and sends ack.
Is this a right approach?
Is it possible to achieve same thing without using MQ?
If yes, pls tell how and what will be the limitations in that case? Will we be compromising with data Security or reliability or performance?
Thanks & Regards1. Are all SOA Adapters synchronous by nature? How can we achieve Asynchronous Communication among various systems designed in hetrogeneous technologies?
see first of all Adapters or not SOA Adapters Oracle Applications Adapters which were devloped using JCA(Java Connector Architecture) to connect to your target systems and exposed as webservices
most of them work based on Read and Write functionality excpet DB Adapter
if you perform a Read/Consume/Get operation on File/JMS/MQ those will poll for the messages in a synch manner means polls for a periodic Intervals
if you perform a Write/Produce/Put operation on File/JMS/MQ those will be Asynch manner means when ever you execute this operation at that pointing time only it goes and performs that operation on the target system
and we cant say that your approach is right or wrong it depends on your Business needs and in you case you are following a Point to Point Integration, there are lot Integration Acrchitectures are provided by Oracle.
and about DataSecurity,Reliability,Performance to achieve this we need to perofrm certain kind standards/steps which are provided by your software vendor
Krishna -
We recently upgrade the virtual hardware of some of our VMware VM's running Windows 7. One side-effect is that in Windows on these machines, an instance of the NIC from the previous version of virtual hardware remains, as a hidden
device. This can be easily found manually on a machine by enabling Device manager to show hidden devices (registry and a menu option - View...Show Hidden Devices). You can then just right-click on the device in question and uninstall.
The problem here, like in so many other tasks, is that you may have multiple instances, on multiple machines. We had just that, and in scouring the internet for a PowerShell only script to resolve the issue, I could not find one. Therefore, I've written
my own.
This exact script is only seeking out VMware "VMXNET3" nic cards, but could be easily adapted to find Ghost NIC's for a different vendor using my example. There are also some commented lines left in to aid you as an example of how you can
test the various queries in your own environment, on a test machine, before a full-blown deployment.
NOTE: Please try this out (at your own risk - I am not responsible for how this works out for you), and please vote for my answer to this dilemma if this helped you. I'd appreciate it after all of the sweat the script took to crank out.
Thanks!
P.S. This script, of course, requires that Powershell is installed and enabled on the target computer. It then must be run as System - In our environment it is being remotely pushed through a software delivery systems, which runs this scrpt
as system.
THE SCRIPT:
CLS
#Querying WMI for Ghost NICs and Returning Criteria...
Write-Host "VMware Ghost NIC Remover" -Foreground GREEN
Write-Host "Author: Octavio Serpa AKA Octavio-Admin"
Write-Host "Copyright Octavio Serpa - Octavio-Admin - 2014"
Write-Host ""
Write-Host "Checking Powershell Version" -Foreground Yellow
$host.version
Write-Host ""
Write-Host "Searching for Ghost NIC's" -Foreground Yellow
$Ghosts = gwmi win32_NetworkAdapter | ?{$_.Description -like "vm*" -and $_.Installed -like "True" -and $_.MACAddress -eq $null}
$Ghosts | Select-Object Name,DeviceID
If ($Ghosts -NE $NULL)
Write-Host "One or more ghost NIC'S do exist on this machine. Script will continue..." -foreground RED
Write-Host ""
else
Write-Host "No ghost NIC's Found :) - Exiting..." -Foreground Green
Write-Host ""
EXIT 0
#Using Criteria to Obtain the GUID of each Ghost NIC
Write-Host "Getting NIC Variables" -Foreground Yellow
foreach ($_ in $Ghosts) {
$DID = $_.DeviceID
If ($DID -NE $NULL)
Write-Host "The NIC DID: $DID"
else
Write-Host "$DID is NULL - Exiting..."
EXIT 666
if($DID -NOTLIKE "1*")
Write-Host "Adding additional 0 to registry lookup since the DID is just one character..." - foreground yellow
Write-Host ""
$NICREG = Get-ItemProperty "hklm:\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\000$DID"
ELSE
$NICREG = Get-ItemProperty "hklm:\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00$DID"
$GUID = $NICREG.NetCfgInstanceId
Write-Host "The NIC GUID: $GUID"
$PNPDID = $NICREG.DeviceInstanceID
$PNPDID = $PNPDID.Trimstart("PCI\VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01\")
Write-Host "The truncated PNPDevice ID is $PNPDID"
Write-Host ""
Write-Host "Searching for Registry Keys that match NIC GUID: $GUID" -Foreground Yellow
$NICREGPATH = @(1..50)
foreach ($_ in $NICREGPATH)
$TESTREG = Test-Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\$_" -Verbose
if($TESTREG -EQ $FALSE)
#Write-Host ""
#Write-Host "FALSE: HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\$_ DOES NOT EXIST" -Foreground RED
ELSE
#Write-Host "True - NIC $_ Exists" -Foreground Green
$NICID = $_
$SubPath1 = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\'+$NICID
#Write-Host "The Sub-Key Path To Query = $SubPath1"
$SubPath2 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\NetworkCards\'+$NICID
#Write-Host "The Sub-Key Path To Query = $SubPath2"
$NICProperties = Get-ItemProperty $SubPath1
#$NICProperties
$Match = $NICProperties.ServiceName
#$Match
foreach ($_ in $Match) {
#Write-Host "The NIC GUID found in this registry key is: $_" -Foreground Yellow
#Write-Host ""
if($_ -NE $GUID)
#Write-Host "NO MATCH - THIS NIC HAS NOT BEEN TOUCHED" -Foreground GREEN
#Write-Host ""
ELSE
Write-Host "MATCH - Registry Entries for this NIC will be DELETED" -Foreground RED
Remove-Item $SubPath1 -Recurse -ErrorAction SilentlyContinue
Remove-Item $SubPath2 -Recurse -ErrorAction SilentlyContinue
$CCS = @("ControlSet001", "ControlSet002")
foreach ($_ in $CCS) {
$CCS = $_
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Services\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Services\Tcpip\Parameters\Adapters\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\DeviceClasses\{ad498944-762f-11d0-8dcb-00c04fc3358c}\##?#PCI#VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01#$PNPDID#{ad498944-762f-11d0-8dcb-00c04fc3358c}\#'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\JNPRNA\Parameters\Adapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\NetBT\Parameters\Interfaces\Tcpip_' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Psched\Parameters\NdisAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\Adapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\DNSRegisteredAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\Interfaces\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\WfpLwf\Parameters\NdisAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
if($DID -NOTLIKE
"1*")
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\000' + $DID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
ELSE
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00' + $DID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Enum\PCI\VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01\' + $PNPDID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
#This is our Success check at the end
Write-Host ""
Write-Host "Searching for any remaining Ghost NICs:" -Foreground Yellow
$Ghosts = gwmi win32_NetworkAdapter | ?{$_.Description -like "vm*" -and $_.Installed -like "True" -and $_.MACAddress -eq $null}
$Ghosts | Select-Object Name,DeviceID
If ($Ghosts -NE $NULL)
Write-Host "There is still at least one ghost NIC present. The remover script may not be functioning correctly. Please contact Octavio-Admin on Microsoft Technet Forums with any questions" -foreground RED
Write-Host ""
EXIT 666
else
Write-Host "No ghost NIC's Found :) - Exiting..." -Foreground Green
Write-Host ""
EXIT 0THE SCRIPT:
CLS
#Querying WMI for Ghost NICs and Returning Criteria...
Write-Host "VMware Ghost NIC Remover" -Foreground GREEN
Write-Host "Author: Octavio Serpa AKA Octavio-Admin"
Write-Host "Copyright Octavio Serpa - Octavio-Admin - 2014"
Write-Host ""
Write-Host "Checking Powershell Version" -Foreground Yellow
$host.version
Write-Host ""
Write-Host "Searching for Ghost NIC's" -Foreground Yellow
$Ghosts = gwmi win32_NetworkAdapter | ?{$_.Description -like "vm*" -and $_.Installed -like "True" -and $_.MACAddress -eq $null}
$Ghosts | Select-Object Name,DeviceID
If ($Ghosts -NE $NULL)
Write-Host "One or more ghost NIC'S do exist on this machine. Script will continue..." -foreground RED
Write-Host ""
else
Write-Host "No ghost NIC's Found :) - Exiting..." -Foreground Green
Write-Host ""
EXIT 0
#Using Criteria to Obtain the GUID of each Ghost NIC
Write-Host "Getting NIC Variables" -Foreground Yellow
foreach ($_ in $Ghosts) {
$DID = $_.DeviceID
If ($DID -NE $NULL)
Write-Host "The NIC DID: $DID"
else
Write-Host "$DID is NULL - Exiting..."
EXIT 666
if($DID -NOTLIKE "1*")
Write-Host "Adding additional 0 to registry lookup since the DID is just one character..." - foreground yellow
Write-Host ""
$NICREG = Get-ItemProperty "hklm:\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\000$DID"
ELSE
$NICREG = Get-ItemProperty "hklm:\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00$DID"
$GUID = $NICREG.NetCfgInstanceId
Write-Host "The NIC GUID: $GUID"
$PNPDID = $NICREG.DeviceInstanceID
$PNPDID = $PNPDID.Trimstart("PCI\VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01\")
Write-Host "The truncated PNPDevice ID is $PNPDID"
Write-Host ""
Write-Host "Searching for Registry Keys that match NIC GUID: $GUID" -Foreground Yellow
$NICREGPATH = @(1..50)
foreach ($_ in $NICREGPATH)
$TESTREG = Test-Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\$_" -Verbose
if($TESTREG -EQ $FALSE)
#Write-Host ""
#Write-Host "FALSE: HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\$_ DOES NOT EXIST" -Foreground RED
ELSE
#Write-Host "True - NIC $_ Exists" -Foreground Green
$NICID = $_
$SubPath1 = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\'+$NICID
#Write-Host "The Sub-Key Path To Query = $SubPath1"
$SubPath2 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\NetworkCards\'+$NICID
#Write-Host "The Sub-Key Path To Query = $SubPath2"
$NICProperties = Get-ItemProperty $SubPath1
#$NICProperties
$Match = $NICProperties.ServiceName
#$Match
foreach ($_ in $Match) {
#Write-Host "The NIC GUID found in this registry key is: $_" -Foreground Yellow
#Write-Host ""
if($_ -NE $GUID)
#Write-Host "NO MATCH - THIS NIC HAS NOT BEEN TOUCHED" -Foreground GREEN
#Write-Host ""
ELSE
Write-Host "MATCH - Registry Entries for this NIC will be DELETED" -Foreground RED
Remove-Item $SubPath1 -Recurse -ErrorAction SilentlyContinue
Remove-Item $SubPath2 -Recurse -ErrorAction SilentlyContinue
$CCS = @("ControlSet001", "ControlSet002")
foreach ($_ in $CCS) {
$CCS = $_
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Services\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Services\Tcpip\Parameters\Adapters\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\DeviceClasses\{ad498944-762f-11d0-8dcb-00c04fc3358c}\##?#PCI#VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01#$PNPDID#{ad498944-762f-11d0-8dcb-00c04fc3358c}\#'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\JNPRNA\Parameters\Adapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\NetBT\Parameters\Interfaces\Tcpip_' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Psched\Parameters\NdisAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\Adapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\DNSRegisteredAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\Interfaces\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\WfpLwf\Parameters\NdisAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
if($DID -NOTLIKE
"1*")
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\000' + $DID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
ELSE
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00' + $DID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Enum\PCI\VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01\' + $PNPDID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
#This is our Success check at the end
Write-Host ""
Write-Host "Searching for any remaining Ghost NICs:" -Foreground Yellow
$Ghosts = gwmi win32_NetworkAdapter | ?{$_.Description -like "vm*" -and $_.Installed -like "True" -and $_.MACAddress -eq $null}
$Ghosts | Select-Object Name,DeviceID
If ($Ghosts -NE $NULL)
Write-Host "There is still at least one ghost NIC present. The remover script may not be functioning correctly. Please contact Octavio-Admin on Microsoft Technet Forums with any questions" -foreground RED
Write-Host ""
EXIT 666
else
Write-Host "No ghost NIC's Found :) - Exiting..." -Foreground Green
Write-Host ""
EXIT 0
Hello Octavio,
I'm having similar issues with azure VMs (windows server 2008 and 2012). I noticed that the name of the network adapter changes every time the servers are turned off and then on.
For example every time I perform that action on each VM, the network adapter became to "Microsoft Hyper-V Network Adapter #3" (and then #4, #5, etc).
I found in to many forums that to resolve that is needed to remove Hidden (Ghost) Network Adapters and most of the people is doing that manually from the device manager (right click on the hidden network adapter and select uninstall).
Then I found this script created by you and made some changes to find Description -like "Microsoft Hyper-V Network*".
It seems to find the adapters and also remove them (based on the script results). But if I go to the device manager after restarting the server, all hidden (ghost) adapters are still there (for example Microsoft Hyper-V Network Adapter
#2, Microsoft Hyper-V Network Adapter #3, Microsoft Hyper-V Network Adapter #4, Microsoft Hyper-V Network Adapter #n).
The only thing I noticed after running the script is that, in the Control Panel -> Network and Sharing Center, the name of the adapter has no # (Now is shown as “Ethernet” and before as “Ethernet #”)
This is my script, could you please take a look and tell me if there is something wrong o missing?
CLS
#Querying WMI for Ghost NICs and Returning Criteria...
Write-Host "VMware Ghost NIC Remover" -Foreground GREEN
Write-Host "Author: Octavio Serpa AKA Octavio-Admin"
Write-Host "Copyright Octavio Serpa - Octavio-Admin - 2014"
Write-Host ""
Write-Host "Checking Powershell Version" -Foreground Yellow
$host.version
Write-Host ""
Write-Host "Searching for Ghost NIC's" -Foreground Yellow
$Ghosts = gwmi win32_NetworkAdapter | ?{$_.Description -like "Microsoft Hyper-V Network*" -and $_.Installed -like "True" -and $_.MACAddress -eq $null}
$Ghosts | Select-Object Name,DeviceID
If ($Ghosts -NE $NULL)
Write-Host "One or more ghost NIC'S do exist on this machine. Script will continue..." -foreground RED
Write-Host ""
else
Write-Host "No ghost NIC's Found :) - Exiting..." -Foreground Green
Write-Host ""
EXIT 0
#Using Criteria to Obtain the GUID of each Ghost NIC
Write-Host "Getting NIC Variables" -Foreground Yellow
foreach ($_ in $Ghosts) {
$DID = $_.DeviceID
If ($DID -NE $NULL)
Write-Host "The NIC DID: $DID"
else
Write-Host "$DID is NULL - Exiting..."
EXIT 666
if($DID -NOTLIKE "1*")
Write-Host "Adding additional 0 to registry lookup since the DID is just one character..." - foreground yellow
Write-Host ""
$NICREG = Get-ItemProperty "hklm:\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\000$DID"
ELSE
$NICREG = Get-ItemProperty "hklm:\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\00$DID"
$GUID = $NICREG.NetCfgInstanceId
Write-Host "The NIC GUID: $GUID"
$PNPDID = $NICREG.DeviceInstanceID
$PNPDID = $PNPDID.Trimstart("PCI\VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01\")
Write-Host "The truncated PNPDevice ID is $PNPDID"
Write-Host ""
Write-Host "Searching for Registry Keys that match NIC GUID: $GUID" -Foreground Yellow
$NICREGPATH = @(1..50)
foreach ($_ in $NICREGPATH)
$TESTREG = Test-Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\$_" -Verbose
if($TESTREG -EQ $FALSE)
#Write-Host ""
#Write-Host "FALSE: HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\$_ DOES NOT EXIST" -Foreground RED
ELSE
#Write-Host "True - NIC $_ Exists" -Foreground Green
$NICID = $_
$SubPath1 = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\'+$NICID
#Write-Host "The Sub-Key Path To Query = $SubPath1"
$SubPath2 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\NetworkCards\'+$NICID
#Write-Host "The Sub-Key Path To Query = $SubPath2"
$NICProperties = Get-ItemProperty $SubPath1
#$NICProperties
$Match = $NICProperties.ServiceName
#$Match
foreach ($_ in $Match) {
#Write-Host "The NIC GUID found in this registry key is: $_" -Foreground Yellow
#Write-Host ""
if($_ -NE $GUID)
#Write-Host "NO MATCH - THIS NIC HAS NOT BEEN TOUCHED" -Foreground GREEN
#Write-Host ""
ELSE
Write-Host "MATCH - Registry Entries for this NIC will be DELETED" -Foreground RED
Remove-Item $SubPath1 -Recurse -ErrorAction SilentlyContinue
Remove-Item $SubPath2 -Recurse -ErrorAction SilentlyContinue
$CCS = @("ControlSet001", "ControlSet002")
foreach ($_ in $CCS) {
$CCS = $_
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Services\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Services\Tcpip\Parameters\Adapters\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\DeviceClasses\{ad498944-762f-11d0-8dcb-00c04fc3358c}\##?#PCI#VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01#$PNPDID#{ad498944-762f-11d0-8dcb-00c04fc3358c}\#'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\'+$GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\JNPRNA\Parameters\Adapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\NetBT\Parameters\Interfaces\Tcpip_' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Psched\Parameters\NdisAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\Adapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\DNSRegisteredAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\Tcpip\Parameters\Interfaces\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\services\WfpLwf\Parameters\NdisAdapters\' + $GUID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
if($DID -NOTLIKE "1*")
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\000' + $DID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
ELSE
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00' + $DID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
$reg1 = 'HKLM:\SYSTEM\' + $CCS + '\Enum\PCI\VEN_15AD&DEV_07B0&SUBSYS_07B015AD&REV_01\' + $PNPDID
Remove-Item $reg1 -Recurse -ErrorAction SilentlyContinue -verbose
#This is our Success check at the end
Write-Host ""
Write-Host "Searching for any remaining Ghost NICs:" -Foreground Yellow
$Ghosts = gwmi win32_NetworkAdapter | ?{$_.Description -like "Microsoft Hyper-V Network*" -and $_.Installed -like "True" -and $_.MACAddress -eq $null}
$Ghosts | Select-Object Name,DeviceID
If ($Ghosts -NE $NULL)
Write-Host "There is still at least one ghost NIC present. The remover script may not be functioning correctly. Please contact Octavio-Admin on Microsoft Technet Forums with any questions" -foreground RED
Write-Host ""
EXIT 666
else
Write-Host "No ghost NIC's Found :) - Exiting..." -Foreground Green
Write-Host ""
EXIT 0 -
Looking for a way to determine wich Network adapters are truly Wired ethernet.
I'm Working on a little app that is going to validate that the machine is connected to a wired network before we allow it to start a re-installation of the operating system. Our wireless net works great for installed systems (they do have a machine certificate)
but we cannot install on it (since the machine must be domain joined to get that cert)
So far I have not found any method that truly tells if the card is a wired network adapter.
Win32_NetworkAdapter:s AdapterTypeID does not work since many wireless adapters report type=0 wich should be wired adapters.
MSNdis_PhysicalMediumType does not work. It returns undefined for a number of adapters
Many posts on the net talks about detecting the connection state wich doesn't work either since it will return the same value for a connected wired adapter and a connected wireless adapter
Other posts suggests using powershell and looking at tha dapter name. That doesn't work if you
got to support a number of languages and what happends if a user renames the interface?
The only way I can make it sort of work is to pipe the output from netsh LAN show interfaces and then do queries on those adapters but I would prefer a soloution in Code.
Since Netsh can do it, there must be a way to do thisThe reason for the C code not running under WinPE was user error ........
Forgot to link it static.
I have been digging around some more and so far the only API that will give us the correct and complete picture seems to be GetIfEntry2, however I can't find dotnet code for it.
It seems like most other methods uses the older GetIfEntry under the hood and that will not give us the true data since many types will report as NDisPhysicalMediumType 0.
However a combination of Win32_network adapter and MSNdis_PhysicalMediumType actually seems to work.
Win32_network filtered on AdapterType='Ethernet 802.3' gives us everything that claims to be an ethernetadapter. That list will however include wireless, bluetooth and some virtual adapters.
MSNdis_PhysicalMediumType filtered on NDisPhysicalMediumType 0 does not show Wireless or Bluetooth but will instead show isatap interfaces and so on.
The Key was to "join" these two on win32_networkadapter.Name to MSNdis_PhysicalMediumType.Instancename giving us the possibility to filter out the unwanted adapters using both methods.
I have made a demoscript that became embarrassing short
'* ListPhysicalAdapters.vbs
'* Purpose : A script to list the true Physical Ethernet adapers.
'* Created : 2005-02-17
Dim colItems_Win32_NetworkAdapter, Colitems_MSNdis_PhysicalMediumType
Dim objNetworkAdapter,objPhysicalMediumType
' Select the adapters that claims to be 802.3 aka ethernet adapters. This will hoverver get anything calling itself an Ethernet adapter
Set colItems_Win32_NetworkAdapter = GetObject("winmgmts:\\.\root\cimv2").ExecQuery("Select * from Win32_NetworkAdapter where AdapterType='Ethernet 802.3'",,48)
For Each objNetworkAdapter in colItems_Win32_NetworkAdapter
' Select the adapters that claimed to be Ethernet Adapters above and filter out the ones who doesn't have an Ethernet Connector (type=0 is used for fallback/undefined)
Set Colitems_MSNdis_PhysicalMediumType = GetObject("winmgmts:\\.\root\WMI").ExecQuery("SELECT * FROM MSNdis_PhysicalMediumType where InstanceName='" & objNetworkAdapter.Name & "' AND (NdisPhysicalMediumType=0 OR NdisPhysicalMediumType=14)",,0)
For Each objPhysicalMediumType in Colitems_MSNdis_PhysicalMediumType
Wscript.Echo "AdapterType: " & objNetworkAdapter.AdapterType & ""
Wscript.Echo "MACAddress: " & objNetworkAdapter.MACAddress
Wscript.Echo "Name: " & objNetworkAdapter.Name
Wscript.Echo "PhysicalMediumType: " & objPhysicalMediumType.NdisPhysicalMediumType
Wscript.Echo ""
next
Next -
Hello,
I have configured the example scenario given in Seeburger docs.
I am with the following errors
1. When I check the log file of seeburger i am getting Error No configuration found
2. When I check the audit logs of File adapter channel ,
SEEBURGER/MSGSPLITTER: There are 1 attachments to split and providing the target channel details. Which are different than the one configured in WorkBench
Queries
1. Is SeeBurger workbench configuration is with respect to partner or with respect to interface
I mean if I have 10 partners sending the same message then i need to configure 10 Partner data confgiurations in workbench?? because the audit log is showing the partner number/MappingName/ACCEPTED as target channel
very Thankful for your helpful replies
RajeshHello ,
I am trying to process the orders received.
For this two partys we have one for sender and other for receiver.
sender party business service has party details, in case of Ack receiver is also same,so no need of configuring again the party details
Do I also need to configure the party details at the receiver party business service identifer tab which is for receiving orders ??
FYI , adapters used are
File -- sender
File - ack receiver
IDoc - reciever
I am spinning around this...
Any more clues will be helpfull
Thank you
Rajesh -
License information for developing Adapters in SAP PI 7.0
All,
I have a requirement where in I have to develop a new adapter for SAP XI and thereafter I have to send this adapter to SAP for certification. Now for this development I need PCK.
My queries are:
i) Do I have to procure any additional license for PCK from SAP for developing this adapter?
ii) Do I have to procure any addtional license for developing a new adapter?
Thanks,
Vijay1. No. It comes with the XI installation pack
2. No. U can develop ur own adapters. But for certification with SAP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0619ec90-0201-0010-75ba-f0059bfe53db
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/106d9259-4b9a-2910-e899-d0934d712da0
Regards,
Prateek -
Reg., Adapter Queries
Hi Experts,
Can someone please answer the following queries?
1. Explain about what are the Type A and Type B Adapters?
2. From the following adapters, please categorize the adapters with respect to the type of the communication they perform (like Asynchronous / Synchronous)
File, RFC, XI, JDBC, Mail, IDoc, JMS, SOAP, HTTP, RNIF, CIDX, BC, Marketplace.
I mean, I would like to know about each adapter what sort of communication it supports like Asynchronous, Synchronous or Both.
3. When we will use the XI Adapter specifically? If possible please explain with an example scenario or requirement.
Thanks in advance.
SreeHi,
For question 2 look into this link. It gives you the list of adapters and their QOS.
Adapter With EO and EOIO supoort only Asynch.
Adapter with EO, EOIO , and BE support both synch and asynch.
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/content.htm
3. XI adapter are used in case of ABAP proxies as they use the Native XI protocol to communicate with the SAP system and XI
1. Type A and Type B -- Can you tell me where you heard / read about them.
Regards
Bhavesh -
Hi, this is arvind , I have some queries in FDM
Q1. What is the difference between FM9i-G4-A.xml and FM2.9i-G4-B.xml adapters?
Q2. Whether we have the same .dll file to register both the ICP and Normal adapters, If No, then where we
could find the .dll file for ICP adapters?
Q3.When are we required to import the source Adapters?
Q4. Can you specify any 10 reasons why should a company go for HFM impementation.
Q5. What are the advantages of HFM over Excel.I am using Windows server 2003 and Hyperion 11.1.1.3.
I an trying to configure FDQM.
For info purpose ( I have used CSS (Shared service) in Load Balancing Authentication provider)
I have configure all with username and password and domain name.
When I trying to login via http://hyperion/HyperionFDM/AuthorizedPages/LogonPage.aspx?ReturnUrl=%2fHyperionFDM%2fDefault.aspx
it's saying
Error: An error occurred logging on to the system.
Detail: The username or password is invalid or you do not have permission to create or add a new FDM application.
But when I trying to login without the Domain name, the login is accepted.
But after login when I'm trying to "
Verify that the list of accounts is from your Financial Management application."
its saying "ActiveX component can't create object: 'fdmFM11xG5C.clsFMAdapter'".
Please Help
Thnx for quick response
I have registered with FM11x-G5-C.xml , FM11i-G5-C.xml & upsFM40M.dll
is there any mistake.
it'll be higly helpful to let me know the reqd adapters name.
I am very new to this field.
Thanx
For Hyperion 11.1.1.3 FDQM which adapter files should I use?
Please let me know the .xml & .dll files name...
Can anybody support me giving the Link of OBE Hyperion FDQM 11.1.1.3.0 installation & config tutorials page? -
All Adapters existing in..
Hi All,
Where all the adapters exists?(if Adapter Engine is answer then IDOC and HTTP are not developed in Java then where they exits?)
regards,
SridharHi Sridhar,
Xi has make the adapter in two places..
1) Integration Engine.
2) Adapter Engine
In the Integation Engine only two adapters will be reside..1)Idoc adapter
2) Http Adapter.
In the Adapter Engine: other than the idoc and http the reamining adapter are avilable in Adapter Engine.
The adapter engine is Developed by using the JCA connectivity Architecture.
Hope I am clear.
Please let me know if you have any queries...!
Thanks and Regards,
Chandu. -
Hi, this is arvind , I have some queries in HFM
Q1. What is the difference between FM9i-G4-A.xml and FM2.9i-G4-B.xml adapters?
Q2. Whether we have the same .dll file to register both the ICP and Normal adapters, If No, then where we
could find the .dll file for ICP adapters?
Q3.When are we required to import the source Adapters?
Q4. Can you specify any 10 reasons why should a company go for HFM impementation.
Q5. What are the advantages of HFM over Excel.HFM is part of the EPM apps, not of the BI foundation: http://forums.oracle.com/forums/category.jspa?categoryID=146
-
Disadvantages of proxies over Idoc and other adapters?
Hi Friends,
I am new to proxies in PI ,I searched so many forum queries on proxies but I did not find any on it.
My main idea is in what scenario we don't prefer proxies in PI.
I will be thankful for your response.
Thanks & Regards
RajHey Hi Raj,
The advantage and disadvantage depends on the exact requirement and scenariou2026
For example. If you want to have synchronous scenario you will go for Proxy or RFC
But if you want to build asynchronous scenario you will prefer to have IDOC
Following are few good threads which will help you a lot..
Advantages and Disadvantages of Proxy
advantages/disadvantages of different adapters
RFC or IDOC or ABAP Proxy
Thanks,
Bhupesh -
Powerline adapters both turn red
After switching off my powerline adapters overnight, they are ok for a few days and then both adapters ethernet and status lights turn red. Does this mean they are faulty or need replacing?
Hi Tyringmybest,
Welcome to the forum and thanks for posting. You should be able to switch off the adaptors without any issues. Have you managed to get this sorted yet? If not drop me an email with your details. You’ll find the “contact us” form in my profile.
Cheers David
BTCare Community Mod
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-) -
Hi,
I am working on FILE to JDBC scenario....I have tried INSERT query.
Now I want to try DELETE, UPDATE and SELECT queries.
What should be the changes???
What should be my datatypes at sender and receiver????
Thank you.Hi,
Check the blog
FILE to JDBC Adapter using SAP XI 3.0
your scenario involves File and JDBC adapters and the file must be pulled from SAP R3 sys.
As SAP R3 is involved U can use ABAP proxies or RFC adapter(Sender) directly and the following blog may help U to configure RFC adapter(Sender) .
The specified item was not found.
But if u want only File adapter to be used as sender then u can put the file from R3 into a FTP server and use File adapter(sender) to pick the file and post it to JDBC adaptet(receiver).
plz visit the below link , i hope it helps u...
Oracle_XI_R/3
regards,
Surya -
Post Moved wifi vs powerline adapters
Post moved to other BB Queries http://community.bt.com/t5/Other-BB-Queries/wifi-vs-powerline-adapters/td-p/565597
If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’Using WiFi may result in a lower quality streaming rate, so you won`t use as much of your allowance.
Connecting via Powerline or Ethernet cable may result in HD streaming rates, which will use up more of your allowance.
There are some useful help pages here, for BT Broadband customers only, on my personal website.
BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones. -
Could I have CASE or IF statement in FMS queries?
Is it possible to have case statements in FMS queries:
For example:
SELECT T0.[U_DepoistfeeON] case
when T0.[U_DepoistfeeON] is NOT BLANK then $[$38.111.160]='Deposit Fee'
when T0.[U_DepoistfeeON] is BLANK then then $[$38.111.160]=BLANK
end FROM OITM T0
What is wrong with above query please? Thank you very much.
I do not mind even if above query is doable with an IF statement in it.Hi Rahul, this is what I want -
I have a user defined field attached to item master OITM. The field is called : U_DepoistfeeON
The above field contains additional depositFee taxes for selling beer bottles.
I have also created a new tax as part of Freight handling. While on Sales Order screen, the Freight (unhide first through forms field) drop down can have the new tax type selected automatically "Deposit Fee".
Thus, if the line item is of beer type that has U_DepositfeeON, then Freight field should automaticlally pick the type "Deposit Fee".
If U_DepositfeeON is zero then I would like the Freight field on Sales Order screen ($38.111.160) set to blank.
I tried to achieve this through following using case statement.
select T0.U_DepoistfeeON
from oitm t0
case
when T0.U_DepoistfeeON 0
then $http://$38.111.160='Deposit Fee'
when T0.U_DepoistfeeON = 0
then $http://$38.111.160=''
else
$http://$38.111.160=''
end;
Of course it doesn't work. Note: I know I typed in DepoistfeeON, the error is not due to that.
Thanks.
Maybe you are looking for
-
Dear guru's, We are implimenting asset module newely.previously we are using Zreports based on cost center and internal order.but now we need to make mandatory filed for dep accounts,this gl's amount should be papulated in that report.so how to do
-
Error thread java : problem with the function "resume 0x***" (forum sun)
One problem with the function of jdb occured when I tried to use it to pilot the processor with differents threads. In fact, I use a simple example with 2 threads. I stop the two threads with two breakpoint, and I want to resume one or the other (wit
-
New Z-table to auto-populate description based on the key field entered
Hi Gurus, I have to created a z-table, there are several fields however I am interested in only two 1) VSTEL and 2) PADEST for shipping point and the printer name. Also there are two other fields I have added to the table that are the descriptions fo
-
Help! Federal W4 form always requires Japanese font pack
Hi! I've been tasked with automating the new hire process and the client would like to include the Federal W4 form in with a collection of other forms required for their internal new hire paperwork. So I download the form from http://www.irs.gov/pub/
-
Hi there, We have a client application which sends MULTIPART post (1 MB file size) to a HTTP server (Tomcat) and the clients are sometimes sending about 1000 or more simultaneous messages) and we get back an exception from at the client side like thi