Trying to add a role on a remote server using windows powershell.
Im reading a book that wants us to install a role on a remote computer using powershell. The comands below is what we are sopuse to use and nothing happens. Does anyone know why?
function Invoke-WindowsFeatureBatchDeployment {
param (
[parameter( mandatory)]
[string[]] $ ComputerNames,
[parameter( mandatory)]
[string]
$ ConfigurationFilePath )
# Deploy the features on multiple computers simultaneously.
$ jobs = @()
foreach( $ ComputerName in $ ComputerNames) {
$ jobs + = Start-Job -Command { Install-WindowsFeature -ConfigurationFilePath
$ using:ConfigurationFilePath -ComputerName $ using:ComputerName -Restart } } Receive-Job -Job $ jobs -Wait | Select-Object Success, RestartNeeded, ExitCode, FeatureResult }
Then after this he states it is going to want a few parameters, for example.
# Sample Invocation $ ServerNames = 'TestServer_01', 'LabServer_02' Invoke-WindowsFeatureBatchDeployment -ComputerNames $ ServerNames -ConfigurationFilePath C:\ RemoteDesktopConfig.xml
I've been working on this for the last hour or so and here is what I got. Any ideas?
PS C:\Users\Administrator> foreach ($computerName in $ComputerNames) {
>> param (
>> [parameter (mandatory) ]
>> [string[]] $ComputerNames,
>> [parameter (mandatory)]
>> [string] $ConfigurationFilePath
>> )
>> $jobs = @()
>> foreach ($computerName in $ComputerNames) {
>> $jobs += Start-Job -Command {
>> Instal-WindowsFeature
>> -ConfigurationFilePath
>> $using:ConfigurationFilePath
>> -ComputerName
>> $using:ComputerName
>> }
>> }
>> Receive-Job -Job $jobs -Wait | Select-Object
>> }
>> $ServerNames = 'WIN-AN69NIQ6ARI'
>> Invoke-WindowsFeatureBatchDeployment
>> -ComputerNames $ServerNames
>> -ConfigurationFilePath C:\Users\Administrator\Desktop\DeploymentConfigTemplate.xml
>>
Invoke-WindowsFeatureBatchDeployment : The term 'Invoke-WindowsFeatureBatchDeployment' is not recognized as the name
of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:21 char:1
+ Invoke-WindowsFeatureBatchDeployment
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Invoke-WindowsFeatureBatchDeployment:String) [], CommandNotFoundExcepti
on
+ FullyQualifiedErrorId : CommandNotFoundException
-ComputerNames : The term '-ComputerNames' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:22 char:1
+ -ComputerNames $ServerNames
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-ComputerNames:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
-ConfigurationFilePath : The term '-ConfigurationFilePath' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.
At line:23 char:1
+ -ConfigurationFilePath C:\Users\Administrator\Desktop\DeploymentConfigTemplate.x ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (-ConfigurationFilePath:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Similar Messages
-
How do I copy a file to a remote server using runtime exec - plz Help!
Hi,
I am trying to copy a file to a remote server using a runtime exec command as follows:
Runtime.getRuntime().exec("scp "+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_JAR)+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_JAR_NAME)+".jar "+" "+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_TWO_USERNAME)+"@"+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_TWO_URL)+":"+getProperty(ListNewHandsetDetailsConstant.PROP_OUTPUT_PATH_TWO_JAR));
Problem is this statement does not execute, as when I try it directly on command line, it requests for a password. Any suggestions on how I can get rid of that? I think I might have to configure my ssh_config file, but when I did some "Googling", I found the configuration settings of a ssh2_config file. I tried those (changing it to Host-based Authentication), but it didn't recognise them. Please help, this is so urgent!
Regards,
SimzDon't use Runtime.exec (or ProcessBuilder) for this. Check out JSch at JCraft (or some other Java SSH API.
-
When you try to install RDS role on server 2012 R2 using standard deployment, this issue may occur (Figure 1).
“Unable to connect to the server by using Windows PowerShell remoting”.
Figure 1: Unable to connect to the server by using Windows PowerShell remoting
First of all, we need to verify the configurations as it suggested:
1. The server must be available by using Windows PowerShell remotely.
2. The server must be joined to a domain.
3. The server must be running at least Windows Server 2012 R2.
4. The currently logged on user must be a member of the local Administrators group on the server.
5. Remote Desktop Services connections must be enabled by using Group Policy.
In addition, we need to check if the “Windows Remote Management “service is running and related firewall exceptions have been created for WinRM listener.
To enabling PowerShell remoting, we can run this PowerShell command as administrator (Figure 2).
Enable-PSRemoting -Force
Figure 2: Enable PowerShell Remoting
However, if issue persists, we need to check whether it has enough memory to work.
By default, remote shell allots only 150 MB of memory. If we have IIS or SharePoint App pool, 150 MB of memory is not sufficient to perform the remoting task. Therefore, we need to increase
the memory via the PowerShell command below:
Set-Item WSMan:\localhost\Shell\MaxMemoryPerShellMB 1000
Then, you need to restart the server and the issue should be resolved.
You can get more information regarding Remote Troubleshooting by below link:
about_Remote_Troubleshooting
If you need further assistance, welcome to post your questions in the
RDS forum.
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.i found another possible reason, this solution worked for me:
http://oyvindnilsen.com/solution-for-powershell-remoting-error-it-cannot-determine-the-content-type-of-the-http-response-from-the-destination-computer/
I tried to set up powershell remoting on a server and kept getting this error:
Enter-PSSession : Connecting to remote server failed with the following error message : The WinRM client cann
ot process the request. It cannot determine the content type of the HTTP response from the destination comput
er. The content type is absent or invalid. For more information, see the about_Remote_Troubleshooting Help to
pic.
After a bit of troubleshooting I discovered that the problem was that the authentication packets was to big (over 16k), this will cause WinRM to reject the request. The reason for authentication packets getting too big can be because the user is member of very
many security groups or in my case because of the SidHistory attribute.
The solution was to increase the MaxFieldLength and MaxRequestBytes keys in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters
If the keys does not exists you can create them, be sure to use the DWORD type.
I sat MaxFieldLength to DEC value 40000 and MaxRequestBytes to DEC value 32768 and rebooted the server. Problem solved. -
Problem in connecting remote server using Applet?
Hello everybody,
I am facing problem in connecting to remote server using Applet in browser. I am using JDK 1.5.0_12 and running the application on apache 2.2.
Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. I have changed the java.policy file of JDK in server with grant all Permission but also it throws "java.security.AccessControlException:access denied(java.net.SocketPermission 127.0.0.1:1521 connect, resolve)".
Can anybody suggest me how to solve this problem?
Thank You.
-Ritesh>
I am facing problem in connecting to remote server using Applet in browser.
Firstly I have tried with simple jar file which could not connect to remote server and throws permission denied than now I am trying with signed jar file but also not working. >Were you prompted to accept the digitally signed code? To see what I mean, check out the [Defensive loading of trusted applets demo|http://pscode.org/test/docload/]. If you are not getting the prompt, or refused it, follow the link to sandbox.html for tips on how to proceed. -
Provision Unix accounts/roles/groups to Directory server using OIM
Hi,
I have a requirement to integrated large number of Unix servers with LDAP (OID or Sun Directory Server) for Centralized Authentication and Authorization and to provision Unix accounts/roles/groups to Directory server using OIM, I have following queries.
1. If using PAM_LDAP then what are the schema changes required in ldap to support it ?
2. Does OIM's out of box connector for OID or Sun Directory Server supports Unix accounts/roles/groups provisioning to Directory server ? If not, can it be extend ? or do I need to write a custom connector ?
3. If I use Oracle Authentication Services for OS for centralized unix account management then OIM provisioning is same as #2 or different ?
Thanks
Nitinyes. iPlanet connector support for multivalued attribute. Go through the connector doc. It will let you know how to extend its functionality.
--nayan -
I have just owned a macbook pro and trying to learn things since i have all along used windows laptop. My first question is : when there are two files i am working together, one above the other on screen, how you switch over between the two with key ?
Hi...
Mac OS X keyboard shortcuts
Control-F4
Move focus to the active (or next) window
Shift-Control-F4
Move focus to the previously active window
By the way... since you are new to Mac, click a clear space on your Desktop. You should see "Finder" top left corner of the screen in the menu bar.
Click Help then click Help Center
As an example type in keyboard shortcuts
You can use the Help menu for almost any application on your Mac.
Apple - Find Out How - Mac Basics
For held switching from PC to Mac > Apple - Support - Switch 101 -
BHOLD Default Supervisor not showing up in drop down list when trying to add a role.
Hi All,
I am trying to add a new role to one of my BHOLD installations, and when I do that I do not have a "default supervisor role" listed in the drop down. A supervisor role is required to be able to create a role. I am performing the operation as a
B1 admin with the default supervisor role.
In another installation I can do it just fine. I have found no delta between the two as far as permissions are concerned. Anyone have an idea? Thanks.Matt,
Do you have a large number or roles, as in >500, maybe 1000s? I have seen an issue where a customer had 1000s of roles. There are some SPROCs that look for top 500 or something similar. I think a workaround was to change the SPROCs, not saying your should
do that necessarily but I believe that is what they did to get around this. -
Howto add user role in OID for PORTAL use from wihtin SSO SERVER plugin
Hi all,
Can someone help me with this issue:
I'm developing a custom authentication module for SSO Server. From this plugin I would like to set the roles/groups to which that user belongs, before the redirect to the Portal is done.
I'm adding the user attributes to the OID via the DirContext.modifyAttributes(..) method from within the plugin. However I don't know how to add the roles/group definition to the user entry in the OID so that Oracle Portal can show a personalized desktop when the user logs on.
Hope someone can point me in the right direction.
Many thanks in advance!
Kind regards,
ChrisChris ,
Do you know how to get user role in OID? Did you fix this issue. i have same job in this point.
Thanks -
Issues connecting remote server using PSSESSION
Hi All,
I need to execute powershell on servers behind firewall, i set server to use 8530 port (which we opened for patching) so i can reach DMZ server from Non-DMZ via 8530.
Below commands Configured on DMZ Server
Set-Item WSMan:\localhost\Service\EnableCompatibilityHttpListener -Value true
Set-Item wsman:\localhost\listener\listener*\port –value 8530
set-item wsman:\localhost\Client\TrustedHosts -value (non-dmz desktop from where i plan to run Powershell script)
While executing the below command
New-PSSession -ComputerName " IP" -Port 8530 -credential $cred
i am getting following error
Connecting to remote server failed with the following error message : The WinRM client cannot process th
e request. Default authentication may be used with an IP address under the following conditions: the transport is HTTPS
or the destination is in the TrustedHosts list, and explicit credentials are provided. Use winrm.cmd to configure Trus
tedHosts. Note that computers in the TrustedHosts list might not be authenticated. For more information on how to set T
rustedHosts run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting He
lp topic.
+ CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
eption
+ FullyQualifiedErrorId : PSSessionOpenFailed
If i execute with NAME
Invoke-Command -ComputerName HAMWINWIZP015 -ScriptBlock {Get-Process} -Credential $cred
Connecting to remote server failed with the following error message : WinRM cannot process the request.
The following error occured while using Kerberos authentication: The network path was not found.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or us
e HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more information,
see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OpenError: (:) [], PSRemotingTransportException
+ FullyQualifiedErrorId : PSSessionStateBroken
Could you suggest what would be the issue & if possible please help me to use that DMZ Server as proxy server as i am willing to run powershell on few DMZ Server via the one server.
GanapathyHi Ganapathy,
I am trying to involve someone familiar with this topic to further look at this issue.
There might be some time delay. Appreciate your patience.
If you have any feedback on our support, please click here.
Best Regards,
Anna
TechNet Community Support -
Error while accessing remote server using applet in jsp page
hii..
We are accessing a data repository MDSPlus. Its used for storing data such as signals in tree like structure. We r coding for client side in JSP .
For this we are invoking applet which uses jar files of jScope(java tool for displaying waveforms). We r getting the following error when we try to access a remote server in network. But it works fine with local server.
So kindly help .
ERROR IS:
java.security.AccessControlException:access denied(java.net.SocketPermission 202.41.112.140:8000 connect,resolve)
url mds:://202.41.112.140/SST_DAQ/11/\SST_DAQ::TOP.BOLOMETER:BOLO_1
Use ploicytool.exe in JDK or JRE installation directory to add socket access permission.
The IP address mentioned above in error is the computer with which v have to connect. SST_DAQ is the expt name,11 is the shot no. , BOLOMETER and BOLO_1 are the tree node s..
plzz reply fast........Hi Frank,
Are you using standalone OC4J or 9iAS ? If you are using standalone OC4J then you need to add a proper data source entry in %OC4J_HOME%j2ee\home\config\data-sources.xml file.
If you are using 9iAS the you can log in to the Enterprise Manager console and add the data source entry by using wizard provided by 9iAS.
Ensure the case of the JNDI lookup string, since, it is case sensitive.
Hope this helps.
Abhijeet -
all is connected, dates changed in the remote server, i have cleared my history so that its not just going to its memory but actually looking for the page.
does anyone have any ideas?I just tried to run your home page through the W3C validator and got this error:
Sorry! This document cannot be checked.
I got the following unexpected response when trying to retrieve <http://www.dsfiresecurity.com.au/>: 500 Can't connect to www.dsfiresecurity.com.au:80 (timeout)
If you made recent changes to your domain name (DNS) configuration, you may also want to check that your domain records are correct, or ask your hosting company to do so.
Nancy O. -
Interesting! JDeveloper deploy to remote server uses HTTP POST
The documentation clearly mentions that the bpelc ant task only deploys to local server using a file copy. I was wondering how JDeveloper is able to deploy to remote servers. Turns out is just does a HTTP POST of multipart/form-data to upload the BPEL suitcase jar file. Given below is the trace of the POST. Of course, it is all proprietary for now and is not documented. Maybe Oracle can wrap this as a custom ant task?
--Nizam
POST /integration/services/deploy/deployProcess.jsp HTTP/1.1
Host: bpel.server.com:9700
Connection: Keep-Alive, TE
TE: trailers, deflate, gzip, compress
User-Agent: RPT-HTTPClient/0.3-3
BPELDomain: default
BPELPassword: bpel
Accept-Language: en
Accept-Encoding: gzip, x-gzip, compress, x-compress
Content-type: multipart/form-data;boundary=*****
Content-length: 10690
Content-Disposition: form-data; name="upload";BPELDomain="default"; filename="E:\work\MyBPELWS\HelloWorld\output\bpel_HelloWorld_1.0.jar"
PK..
........3................META-INF/....PK..
........3...#............META-INF/MANIFEST.MFManifest-Version: 1.0
Process-GUID: MD5{9d2c0a4b850da042548cc6bdf1c04d68}
Created-By: 1.4.2_06 (Sun Microsystems Inc.)
Process-Id: HelloWorld
Timestamp: 1124360790893
Process-Class: BPEL
Implementation-Package: bpel.p0
Revision-Tag: 1.0
PK..
........3................BPEL-INF/PK..
........3.\.Z............bpel.xml<?xml version="1.0" encoding="UTF-8"?>
<BPELSuitcase guid="MD5{9d2c0a4b850da042548cc6bdf1c04d68}" timestamp="1124360790893" revision="1.0">
<BPELProcess process-impl="bpel.p0.BPEL_BIN" src="HelloWorld.bpel" id="HelloWorld">
<partnerLinkBindings>
<partnerLinkBinding name="client">
<property name="wsdlLocation">HelloWorld.wsdl</property>
</partnerLinkBinding>
</partnerLinkBindings>
</BPELProcess>
</BPELSuitcase>
PK..
........3[...5...5.......build.xml<?xml version="1.0" ?>
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Run cxant on this file to build, package and deploy the
HelloWorld BPEL process
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<project name="HelloWorld" default="main" basedir=".">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Name of the domain the generated BPEL suitcase will be deployed to
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="deploy" value="default" />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What version number should be used to tag the generated BPEL archive?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<property name="rev" value="1.0" />
<target name="main">
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the bpelc task compiles and package BPEL processes into versioned BPEL
archives (bpel_...jar). See the "Programming BPEL" guide for more
information on the options of this task.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
<bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
</target>
</project>PK..
........3,.JaZ...Z.......graphics.xml<?xml version = '1.0' encoding = 'UTF-8'?>
<graphics>
<partnerlink_locations>
<partnerlink name="client" x="15" y="215" side="left"/>
</partnerlink_locations>
<diagram popupeditor="false" centerzoom="true" validateonload="true" confirmbeforedelete="true" SELECTED_PARTNERLINK_COLOR="0,0,153" SWIMLANE_BACKGROUND="255,255,225" SWIMLANE_DIVIDER_BACKGROUND="236,233,216" GRAPH_BACKGROUND="255,255,255" SELECTED_BORDER_BACKGROUND="204,255,204" CONNECTED_PARTNERLINK_COLOR="204,204,255" CONNECTABLE_PARTNERLINK_COLOR="0,0,255" UNCONNECTED_PARTNERLINK_COLOR="192,192,192"/>
</graphics>
PK..
........3O ..............HelloService.wsdl<definitions
targetNamespace="http://tempuri.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:s0="http://tempuri.org/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<import namespace="http://tempuri.org/" location="http://localhost/HelloEnglish/Service1.asmx?WSDL"/>
<plnk:partnerLinkType name="Service1Soap_PL">
<plnk:role name="Service1Soap_Role">
<plnk:portType name="s0:Service1Soap"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions>
PK..
........3.....
......HelloWorld.bpel<!--
// Oracle JDeveloper BPEL Designer
// Created: Fri Aug 05 00:05:52 IST 2005
// Author: nizam
// Purpose: Synchronous BPEL Process
-->
<process name="HelloWorld" targetNamespace="http://xmlns.oracle.com/HelloWorld" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:client="http://xmlns.oracle.com/HelloWorld" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"><!-- ================================================================= --><!-- PARTNERLINKS --><!-- List of services participating in this BPEL process --><!-- ================================================================= -->
<partnerLinks><!--
The 'client' role represents the requester of this service. It is
used for callback. The location and correlation information associated
with the client role are automatically set using WS-Addressing.
-->
<partnerLink name="client" partnerLinkType="client:HelloWorld" myRole="HelloWorldProvider"/>
</partnerLinks><!-- ================================================================= --><!-- VARIABLES --><!-- List of messages and XML documents used within this BPEL process --><!-- ================================================================= -->
<variables><!-- Reference to the message passed as input during initiation -->
<variable name="inputVariable" messageType="client:HelloWorldRequestMessage"/><!--
Reference to the message that will be returned to the requester
-->
<variable name="outputVariable" messageType="client:HelloWorldResponseMessage"/>
</variables><!-- ================================================================= --><!-- ORCHESTRATION LOGIC --><!-- Set of activities coordinating the flow of messages across the --><!-- services integrated within this business process --><!-- ================================================================= -->
<sequence name="main"><!-- Receive input from requestor.
Note: This maps to operation defined in HelloWorld.wsdl
-->
<receive name="receiveInput" partnerLink="client" portType="client:HelloWorld" operation="process" variable="inputVariable" createInstance="yes"/><!-- Generate reply to synchronous request -->
<assign name="Assign_1">
<copy>
<from expression="concat("v1.1: Hello ", bpws:getVariableData('inputVariable','payload','/client:HelloWorldProcessRequest/client:input'))"/>
<to variable="outputVariable" part="payload" query="/client:HelloWorldProcessResponse/client:result"/>
</copy>
</assign>
<reply name="replyOutput" partnerLink="client" portType="client:HelloWorld" operation="process" variable="outputVariable"/>
</sequence>
</process>PK..
........3.....
......HelloWorld.wsdl<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HelloWorld"
targetNamespace="http://xmlns.oracle.com/HelloWorld"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:client="http://xmlns.oracle.com/HelloWorld"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.TYPE DEFINITION - List of services participating in this BPEL process
.The default output of the BPEL designer uses strings as input and
.output to the BPEL Process. But you can define or import any XML
.Schema type and us them as part of the message types.
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<types>
..<schema attributeFormDefault="qualified"
...elementFormDefault="qualified"
...targetNamespace="http://xmlns.oracle.com/HelloWorld"
...xmlns="http://www.w3.org/2001/XMLSchema">
...<element name="HelloWorldProcessRequest">
....<complexType>
.....<sequence>
......<element name="input" type="string"/>
.....</sequence>
....</complexType>
...</element>
...<element name="HelloWorldProcessResponse">
....<complexType>
.....<sequence>
......<element name="result" type="string"/>
.....</sequence>
....</complexType>
...</element>
..</schema>
.</types>
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.MESSAGE TYPE DEFINITION - Definition of the message types used as
.part of the port type defintions
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<message name="HelloWorldRequestMessage">
..<part name="payload" element="client:HelloWorldProcessRequest"/>
.</message>
.<message name="HelloWorldResponseMessage">
..<part name="payload" element="client:HelloWorldProcessResponse"/>
.</message>
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.PORT TYPE DEFINITION - A port type groups a set of operations into
.a logical service unit.
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<!-- portType implemented by the HelloWorld BPEL process -->
.<portType name="HelloWorld">
..<operation name="process">
...<input message="client:HelloWorldRequestMessage" />
...<output message="client:HelloWorldResponseMessage"/>
..</operation>
.</portType>
.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.PARTNER LINK TYPE DEFINITION
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
.<plnk:partnerLinkType name="HelloWorld">
..<plnk:role name="HelloWorldProvider">
...<plnk:portType name="client:HelloWorld"/>
..</plnk:role>
.</plnk:partnerLinkType>
</definitions>
PK..
........3..............................META-INF/....PK..
........3...#......................+...META-INF/MANIFEST.MFPK..
........3..........................T...BPEL-INF/PK..
........3.\.Z......................{...bpel.xmlPK..
........3[...5...5.................i...build.xmlPK..
........3,.JaZ...Z.....................graphics.xmlPK..
........3O ........................I...HelloService.wsdlPK..
........3.....
....................HelloWorld.bpelPK..
........3.....
....................HelloWorld.wsdlPK...............&....
*****If anyone is interested, I've created a custom ant taks to leverage this HTTP post for deploying the BPEL suitcase jar to remote servers. We didn't want to use FTP, as we'd have to change permissions on the files.
To do this, I've leveraged the oracle.tip.pc.infra.deploy.DeployRemote class. You just have to pass it the path the the jar, server url (http://host:port/deploy/deployProcess.jsp), domain, and password.
This seems to work fine for us.
-Mike -
How to execute BC4J code on remote server using DBC Files
Hi People,
I have a requirement here that i do not know if it's possible to achieve. We have an Application Module that fetches some records and another Application Module that receives them as parameters and inserts these records in interface tables. However, the BC4J code is installed on the JAVA_TOP of the Development Instance, and will not be installed on the destination server. What i would like to do is to place the target instance DBC file on the FND_TOP/secure directory on the Dev instance, and instantiate the Application module pointing to this DBC file, so that the AM connections would point to the target instance (thus inserting the data on the correct tables). Is that possible?
Please let me know if you want further clarification. I have seen something similar working on iSetup (extract from source env -> Load on dest env) but have got no clue about implementing that.
Best regards
ThiagoHi,
you can follow this steps.
1. Create a database link to the remote server
CREATE DATABASE LINK remote_Server
CONNECT TO apps IDENTIFIED BY apps
USING 'remote';
2. Create a Synonym for the table in the remote server
CREATE SYNONYM po_headers_remote
FOR po_headers_all@remote_Server
3. Create entity object based on this synonym.
4. Create View Object based on above EO.
Through this view object you can udpate remote database...
Hope this helps.
--Prasanna -
Exception while trying to add new roles into Request template - OIM 11g R1
When I try to edit 'Allowed Roles' tab in the Request template, I am facing an exception saying *'oracle.iam.platform.utils.MaxLimitException'*. What is the maximum number of roles that can be added to a request template? Also, which OIM table contains data related to the roles attached to request template?
Hi Rajiv,
Thanks for the information. It did resolve the issue.
However, I have another query. Was their any reason for setting the max limit of roles in request template to 300? Will their be any issues(like system unstability, system performance drop) if the limit is increased? -
Trying to add website in compatibility view in IE 11 with powershell
Good morning everybody,
In our organization, we decided to do every script and maintenance job using powershell. I am trying to do a script to add websites to the compatibility view list in IE11 to worksaround a problem with microsoft update. In IE10, I was able to do it no problem
by creating a GPO in powershell and changing the value in the registry. However, this seems to have changed in IE11 .
Can anyone point me in the right way to do this in powershell. I didn't have much luck so far and I'm going in circles.
Thanks a lot.Hi,
You could push the group policy to add it to compatibility view:
How to add web site to Compatibility View List via GPO
http://blogs.msdn.com/b/asiatech/archive/2013/10/23/how-to-add-web-site-to-compatibility-view-list-via-gpo.aspx
Karen Hu
TechNet Community Support
Maybe you are looking for
-
I now get "auto fill is not available for this page" consistently. I am no longer able to click on a previous search entry and go to that site.
-
Why SIDs start with 2 in master data S Tables?
Hello All, When we create infoobjects, S table(/BIC/S...) is created to store SIDs and respective values. However, these SIDs start with 2 and not 1. Please, can anyone tell what is reason for this.
-
Actinic Version 7 into Dreamweaver
I need to import a web site created in Actinic Version 7 into Dreamweaver. I have a snapshop of the Actinic Site taken from the Application and also the files which are hosted, Can anyone advise if it is possible to import the site into dreamweaver a
-
It's possible to make an adobe air with a php files to save data?
Hi, I would to make a standalone version with Flash Adobe CS3. How is it possible to make that? A other question, I have a php file to save the data from the user's answer, how is it possible to integrate this file to the air program? Thanks for your
-
How to animate with no Bone tool ?
HI all. ow can I make my Draw walk with no Bone Tool option ? I cant find even one tutorial on youtube that not using bone tool