Creating Datasource in WLS 10.x using ant script

All,
We need to create datasource using ant script which uses wlconfig, has anyone done it before? tried the below script, it creates the datasource and connection pool seperately. In WLS 10.x the connection pool entries are part of the datasource itself but the script creating seperately.
<?xml version="1.0" encoding="windows-1252" ?>
<project name="deploy" default="all" basedir=".">
<!-- master build.properties -->
<property file="../../build/build.properties"/>
<property file="build.properties"/>
<echo> ${wls.home} </echo>
<echo> ${wls.url} </echo>
<path id="library.WL">
<pathelement location="${wls.home}/server/lib/weblogic.jar"/>
<pathelement location="${wls.home}/../modules/features/weblogic.server.modules_10.3.1.0.jar"/>
<pathelement location="${wls.home}/server/lib/webservices.jar"/>
<pathelement location="${wls.home}/../modules/org.apache.ant_1.7.0/lib/ant-all.jar"/>
<pathelement location="${wls.home}/../modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar"/>
</path>
<taskdef name="wldeploy" classpathref="library.WL"
classname="weblogic.ant.taskdefs.management.WLDeploy"/>
<taskdef name="wlconfig" classpathref="library.WL"
classname="weblogic.ant.taskdefs.management.WLConfig"/>
<target name="init">
<wlconfig username="${server.user}" password="${server.password}"
url="${wls.url}">
<query domain="base_domain" type="Server" name="soa_server1" property="soaServer"/>
<query domain="base_domain" type="Server" name="soa_server1" property="soaServers"/>
<create type="JDBCConnectionPool" name="${pool.name}"
property="pool">
<set attribute="CapacityIncrement" value="1"/>
<set attribute="DriverName" value="${database.driver}"/>
<set attribute="InitialCapacity" value="1"/>
<set attribute="MaxCapacity" value="10"/>
<set attribute="Password" value="${database.password}"/>
<set attribute="Properties" value="user=${database.user}"/>
<set attribute="RefreshMinutes" value="0"/>
<set attribute="ShrinkPeriodMinutes" value="15"/>
<set attribute="ShrinkingEnabled" value="true"/>
<set attribute="TestConnectionsOnRelease" value="false"/>
<set attribute="TestConnectionsOnReserve" value="false"/>
<set attribute="URL" value="${database.connectString}"/>
<set attribute="Targets" value="${soaServer}"/>
</create>
<create type="JDBCTxDataSource" name="${datasource.name}">
<set attribute="JNDIName" value="${datasource.jndi.name}"/>
<set attribute="PoolName" value="${pool}"/>
<set attribute="Targets" value="${soaServers}"/>
</create>
</wlconfig>
</target>
<target name="deploy" depends="init"></target>
</project>
database.connectString=jdbc:rmi://localhost/jdbc:odbc:RoosterDSN
database.user=admin
database.password=admin
database.driver=org.objectweb.rmijdbc.Driver
datasource.jndi.name=jdbc/MsAccessDataSource
datasource.name=MsAccessDataSource
pool.name=MsAccessDataSourcePool
Was wondering if anybody has done it? please let me know if it's possible.
Thanks in advance..

Hi Girish,
Please go through with below post.
http://rocksolutions.wordpress.com/2010/03/29/creating-a-connection-pool-using-ant-in-weblogic/
Let me know in case any issues observed.
Thanks

Similar Messages

  • How to deploy jar file in WLS using ant script

    Hi,
    Im trying to deploy a jar file in weblogic 10.3 using ant script and am running into the below error.
    +[wldeploy] weblogic.management.DeploymentException: [J2EE:160177]The application at "/u01//RSJBObjects.jar" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, please consult the WebLogic Server documentation.+
    When i try to deploy the same manually from the console, i get a warning stating that WLS thought this as a library and hence proceeding to deploy as a library. After this warning the deployment continues and completes.
    Problem is when i try to deploy using ant, it breaks at this point.
    Is there any means that we can deploy a jar to WLS using ant script. This has to be deployed as a library as other apps would be using this jar.
    Im unable to create a ear file for this single jar file.
    If there is any suggestion on can this be done, please share.
    Thanks,
    Vijay.

    Hi Sunil,
    Thanks for the reply, it worked.
    Another doubt on the same lines. Now that the jar has been deployed as a library in WLS, when i try to deploy a WAR which refers to this deployed jar library, im unable to. I run into and error stating that the library is inaccessible.
    I have to bounce the server and before doing that, i have to manually copy the library.jar from <WLS_domain>/servers/AdminServer/upload/ directory to <WLS_domain>/lib/ directory, once copied i then try to deploy the WAR, then the deployment goes fine.
    Is there any means that this deployed library jar be made available soon after deployment and also to avoid copying the file.
    Thanks,
    Vijay.

  • Creating SDA (or other suitable archives) using ANT

    I have just competed writing a LoginModule that calls our product from WebAS. Until now I was using the NetWeaver Developer Studio to create the SDA file. But we need to create the SDA file (or onother suitable archive file) using ANT scripts so our automated build process can create it along with deployment files for other platforms. Please let me know if anyone can provide any info on this. Search of the forums and help has not yielded any result the whole day.
    Thanks in advance.
    Roshan

    Yes, about a month back I discovered that I dont have to rename the zip file, but was too lazy to write it here.
    About " do you have a task which deploys the sda to the server?" :
    Search the forum. I remember reading something about deploying. There is also a PDF doc "Deploying J2EE Applications on SAP NetWeaver". I can email it to you if you cant find it.
    I have some scripts that I copied from the forum but never used. You can check it out if it works:
    <target name="deploy">
         <property name="webas.j2ee.home" value="D:/usr/sap/TWD/JC00/j2ee" />
         <property name="webas.deploying.dir" value="${webas.j2ee.home}/deploying" />
         <property name="app.name" value="SALoginModule" />
         <property name="webas.user" value="Administrator" />
         <property name="webas.password" value="Integra7" />
         <exec dir="${webas.deploying.dir}" executable="${webas.deploying.dir}/deploymanager.bat">
              <arg value="$/sap/Deployer.xml"/>
         </exec>
         <telnet server="localhost" port="50008">
              <read>Login:</read>
              <write>${webas.user}</write>
              <read>Password:</read>
              <write>${webas.password}</write>
              <read>&gt;</read>
              <write>JUMP 0</write>
              <read>You jumped on node</read>
              <write>ADD DEPLOY</write>
              <read>&gt;</read>
              <write>START_APP ${app.name}</write>
              <read>&gt;</read>
         </telnet>
    </target>
    <project name="test_sdm" basedir="." default="deploy">
    <!--
    AUTHOR: David Beisert http://www.beisert-btc.de
    -->
    <!--property name="server" value="localhost"/>
    <property name="httpport" value="56000"/>
    <property name="sdmport" value="56018"/-->
    <property name="server" value="vmw0004"/>
    <property name="httpport" value="54100"/>
    <property name="sdmport" value="54118"/>
    <property name="SDM_HOME" value="C:/usr/sap/SNE/JC60/SDM"/>
    <target name="deploy">
         <taskdef name="sdm" classname="dbeisert.ant.ext.sap.SDMRemoteDeployTask" >
              <classpath >
                   <pathelement location="$/sdmAnt.jar"/>
                   <pathelement location="$\program\bin\SDM.jar"/>
                   <fileset dir="$\program\lib">
                   <include name="*/.jar"/>
                   </fileset>
              </classpath>
         </taskdef>
         <sdm
              host="$"
              port="$"
              password="sdm"
              archive="../MY_EAR/MY_EAR.ear"/>
    </target>
    </project>

  • OSB - Deploying a java service on different servers using Ant script

    Hi All,
    My scenario is, I have two installations of OSB(with workshop), one on unix machine and other on windows machine...Now the problem is like, I have one java code exposed as a weblogic service ( this is created in workshop of windows machine), I need to deploy this service on my unix server using ANT script....
    Could any one pls let me know how to do this ( deploying services using Ant on different boxes).....
    Any help is appreciated....
    Thanks & Regards
    Feroz Tasha.

    Use the "targets" option to set the server where you want deploy your app.
    More info in [http://edocs.bea.com/wls/docs81/deployment/tools.html#1000477]

  • Deploying a java service on different servers using Ant script

    Hi All,
    My scenario is, I have two installations of OSB(with workshop), one on unix machine and other on windows machine...Now the problem is like, I have one java code exposed as a weblogic service ( this is created in workshop of windows machine), I need to deploy this service on my unix server using ANT script....
    Could any one pls let me know how to do this ( deploying services using Ant on different boxes).....
    Any help is appreciated....
    Thanks & Regards
    Feroz Tasha.

    Use the "targets" option to set the server where you want deploy your app.
    More info in [http://edocs.bea.com/wls/docs81/deployment/tools.html#1000477]

  • Deploying BPEL project using ant script in 11g

    Hi,
    i am just trying to deploy a single BPEL project using ant script.
    please specify what are all the needed jar's to be needed for deploying the project using ant
    and where exactly they have to placed, i mean into which directory i need to place those jar's...
    if u have any specific blog which describes step by step procedurs for single project deployment via ant, please tell me...
    its very urgent..
    thanks in advance...

    Hi',
    The .jar file required will be of the project/composite you want to deploy to server, this jar is inside deploy folder (11G).
    This .jar file gets created when you try to deploy your composite using right click on the project in JDev.
    This .jar can be picked from any location.
    Try this its little more descriptive.
    http://shrikworld.blogspot.com/2011/03/deploying-soa-11g-application-using-ant.html
    -Yatan

  • Remote deploy a war file in weblogic using ant script

    Hi,
    How do I remote deploy a war file in weblogic using ant script
    Thanks

    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/wldeploy.html

  • How to remotely deploy adf application using ant script

    Please suggest some pointer on how to remotely deploy adf application using ant script.
    I have created automatic inbuild ant script using jdevloper and ojdeploy that create a war file into my adf application deploy folder.
    Now i want my war to be deploy remotely on weblogic server.
    Is there any inbuld functionality provided by jdeveloper for same.
    Can any one please share build.xml for adf application for deploying application remotely.
    I try to use wlserver but not much success.
    Thanks in advance.
    Sumit Bhasin

    [url http://download.oracle.com/docs/cd/E12839_01/web.1111/e13706/wldeploy.htm]the docs are pretty good.
    John

  • Export OSB configuration from eclipse using ant script

    I am trying to export an OSB project from eclipse using ant script
    I followed the link below http://biemond.blogspot.com/2010/07/osb-11g-ant-deployment-scripts.html
    It is using com.bea.alsb.core.ConfigExport to do the export. This export is always set to resource level.
    I see it generates a file ExportInfo setting some properties. It has a property that set the export level as below
    <imp:property name="projectLevelExport" value="false"/>*
    How can I export the project in project level? basically setting projectLevelExport to true?
    So that if a file does not exist in the sbconfig.jar file , then while importing the jar to OSB server it will delete the file from the server instead of skipping it?
    I appreciate any help
    here is the ant script snippet that gets executed to export from eclipse
    <target name="exportFromWorkspace">
         <delete failonerror="false" includeemptydirs="true"
    dir="${metadata.dir}"/>     
                   <!--eclipse.refreshLocal resource="${config.project}" depth="infinite"/-->
    <java dir="${eclipse.home}"
    jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar"
    fork="true" failonerror="true" maxmemory="768m">
    <jvmarg line="-XX:MaxPermSize=256m"/>
    <arg line="-data ${workspace.dir}"/>
    <arg line="-application com.bea.alsb.core.ConfigExport"/>
    <arg line="-configProject ${config.project}"/>
    <arg line="-configJar ${config.jar}"/>
    <arg line="-configSubProjects ${config.subprojects}"/>
              <arg line="-exportLevel true"/>
    <arg line="-includeDependencies ${config.includeDependencies}"/>
    <sysproperty key="weblogic.home" value="${weblogic.home}"/>
    <sysproperty key="osb.home" value="${osb.home}"/>
    <sysproperty key="osgi.bundlefile.limit" value="500"/>
    <sysproperty key="harvester.home" value="${osb.home}/harvester"/>
    <sysproperty key="osgi.nl" value="en_US"/>
    <sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
    </java>
    </target>

    yes, I specified the project name to export the whole project.
    Here is few lines from my properties file
    # properties for workspace export
    config.project="OSB Configuration-GW"
    config.jar=D:/workspace/osb/scripts/gateway/mycode2/ant_osb/dist/sbconfig.jar
    config.subprojects="GatewaySecurity"
    config.includeDependencies=true
    workspace.dir=D:/workspace/osb/gateway-workspace
    But this property does not make it to export at project level ,it export the specified project at resource level.
    And while importing this jar to OSB server, if a file is missing it skips the file instead of deleting the file from the OSB server
    If I unjar sbconfig.jar file, open ExportInfo file and update the line in bold below to true then it deletes the file from OSB server, if not exist in sbconfig.jar
    <imp:property name="exporttime" value="Thu Dec 29 13:57:44 EST 2011"/>
    <imp:property name="productname" value="Oracle Service Bus"/>
    <imp:property name="productversion" value="11.1.1.4"/>
    *<imp:property name="projectLevelExport" value="false"/>*
    Here is few lines from Oracle API java doc
    http://docs.oracle.com/cd/E13171_01/alsb/docs26/javadoc/com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html
    public static final ALSBImportOperation.Operation Delete
    Indicates that the resource is deleted in the importing domain. This is the default operation when the project is exported in its entirety and the resource exists in the target domain but not in the jar file
    public static final ALSBImportOperation.Operation Skip
    Indicates that the resource is skipped meaning the resource is not touched in the importing domain. This is the default operation if the jar file was exported at the resource level, and a resource that exists in the target domain, does not exist in the jar file.

  • How t o create breadcrumbs in flash cs 5 using action script 2.0?

    how t o create breadcrumbs in flash cs 5 using action script 2.0?
    If the user is going throungh some buttons then at last there is breadcrumb on last scene (like it is selected 1,2 or 3 button etc..)then final display should show last used button.
    Am besically looking for breadcrumb.Can anyone know how to create breadcrumb with using movie clip?or any other code?
    Can any one help me?

    My problem is when i cross first,second and then third scene then on third scene if there is any crieteria like to show the value which user have used like if user have selected "a" on first scene and "b" on second scene.then on third scene if there is criteria-
    first scene-
    second scene-
    then it should show value like-
    first scene-"a"
    second scene-"b"
    This "a","b", have separet sound file.It should show "a","b" text and also sound should play after click on button.
    Can any on help?

  • ANT_HOME is set incorrectly while deploying BPEL 11g using Ant script

    Hi All,
    I am new to ant script, i am deploying BPEL process(11g) using ant script. I set ANT_HOME to G:\Oracle\Middleware\jdeveloper\ant (the location of ant ) and i set PATH to G:\Oracle\Middleware\jdeveloper\ant\bin
    while excecuting 'call ant -f build.soa.xml deployeComposite -Dtargetenv dev
    i am getting the this error
    "ANT_HOME is set incorrectly or ant could not be located please set ANT_HOME"
    please help me in this issue..
    Thanks in advance

    Why? Just copy/paste the error into Google and help yourself.
    For further assistance with your SOA suite deployment issue, refer to a SOA suite related forum. This has absolutely -nothing- to do with general Java development and especially not the java compiler.

  • Metadat file upgrade using ANT script

    Hi,
    I would like to upgrade weblogic portal 10.2 application to 10.3.
    To do this, I need to update the metadata file. I'm able to do this uising workspace.
    Please let me know how to do the same using ant script.

    O/S-Error: (OS 3) The system cannot find the path specified.
    I've tried running it with and without the .dbf file in place, and yes the path does >>exist.If the path really really exist then make sure the oracle user has proper permission on that directory.
    Daljit Singh

  • Deploy application using ant script vs shell script

    Hi,
    I work with OAS 10.1.2 and I'm using shell script with dcmctl command to deploy EAR into OC4J but I know that ant script do the same things. I want to know if my choice is good or is it better to use ant script ?
    Regards

    This is difficult to decide.
    When you have just a few ear files you deploy once in a while a shell script might be sufficient. When developing more complex systems you should use ant as this is easier to maintain.
    cu
    Andreas

  • B2B SelfService Error creating Trading Partner .zip import file using ant

    SOA 11g 11.1.1.5 B2B - We are trying to create an import file for out trading partners into SOA B2B 11g but are getting errors when we run the ant script to build the import zip file.
    We ran the ant-b2b-util to get the b2bselfservice.xsd file, loaded that into jDev to show the selfservice.xml structure.
    We have built a trading partner xml file and at this point have stripped it down to one TP just to see if we could get it to work and we keep getting the same error messages.
    From the $SOA_ORACLE_HOME/bin directory (where we have placed our TP xml file: TPD_NA.xml) here is the command and results from running the ant script:
    [oracle@nalinoap05 bin]$ ant -f ant-b2b-util.xml b2bselfservice -Dinput=$ORACLE_HOME/bin/TPD_NA.xml -Doutput=$ORACLE_HOME/bin/TP_Docs.zip
    Buildfile: ant-b2b-util.xml
    b2bselfservice:
    weblogic_dependencies:
    [echo]
    [echo] Weblogic server location: /oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/wlserver_10.3
    [echo] JNDI properties folder location: /oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin
    [echo]
    verifyargs:
    utility:
    [echo]
    [echo] java.naming.provider.url=${java.naming.provider.url}
    [echo] java.naming.factory.initial=${java.naming.factory.initial}
    [echo] java.naming.security.principal=${java.naming.security.principal}
    [echo] java.naming.security.credentials=*****
    [echo]
    [echo]
    [echo] args=selfservice
    [echo]
    [java] Commandline arguments 1: [selfservice]
    [java] 2012.04.10 at 13:27:35:559: main: (INFO) Input file location(s) :[oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin/TPD_NA.xml]
    [java] 2012.04.10 at 13:27:35:559: main: (INFO) Output file location :/oracle/SOAWDEV/11.1.1.5/Oracle/Middleware/Oracle_SOAWDEV/bin/TP_Docs.zip
    [java] 2012.04.10 at 13:27:35:596: main: (INFO) TradingPartner created :/soa/b2b/tp_id1AC191488133.xml
    [java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010VICS docType=852 docDef=852Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010 docType=997 docDef=997Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:600: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=850 docDef=850Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=860 docDef=860Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=4010VICS docType=864 docDef=864Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=864 docDef=864Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:601: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=997 docDef=997Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:602: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=856 docDef=856Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:602: main: (SEVERE) TPD_NA.xml: Combination of Documentprotocol=EDI_X12 docVersion=5010 docType=810 docDef=810Def not found in doc_*.xml file
    [java] 2012.04.10 at 13:27:35:691: main: (SEVERE) TPD_NA.xml: Error in Validation:
    [java] [org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef',
                   org.xml.sax.SAXParseException: XML-24536: (Error) Missing Attribute 'documentDefinitionRef']
    [java] Java Result: 255
    BUILD SUCCESSFUL
    Total time: 1 second
    Here is the contents of TPD_NA.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <SelfService xmlns="http://xmlns.oracle.com/integration/b2b/selfservice/profile">
    <TradingPartners>
    <TradingPartner hosted="false" name="OvvvvvvvX" >
    <Identification name="EDI Interchange ID" value="18xxxxxxxxxX" />
    <Identification name="EDI Interchange ID Qualifier" value="14" />
    <Identification name="DUNS" value="18xxxxxxxxxX" />
    <Identification name="Generic Identifier" value="18xxxxxxxxxX" />
    <Identification name="AS2 Identifier" value="18xxxxxxxxxX" />
    <SupportedDocumentDefinition initiator="true" docTypeName="852" docProtocolVersion="4010VICS" docProtocolName="EDI_X12" docDefName="852Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="997" docProtocolVersion="4010" docProtocolName="EDI_X12" docDefName="997Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="850" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="850Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="860" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="860Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="864" docProtocolVersion="4010VICS" docProtocolName="EDI_X12" docDefName="864Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="864" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="864Def" />
    <SupportedDocumentDefinition initiator="true" docTypeName="997" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="997Def" />
    <SupportedDocumentDefinition initiator="false" docTypeName="856" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="856Def" />
    <SupportedDocumentDefinition initiator="false" docTypeName="810" docProtocolVersion="5010" docProtocolName="EDI_X12" docDefName="810Def" />
    </TradingPartner>
    </TradingPartners>
    </SelfService>
    We have exported our metadata and looked at the doc_EDI_X12.xml file and ALL of these referenced documents exist in that file and can be seen by going to Administration --> Document and under the Document Protocols navigation --> EDI_X12 --> 5010 --> 810 --> 810Def (as an example).
    If we strip out all of the SupportedDocumentDefiinition lines then the ant script will build an import file with just the trading partners and Identifications.
    What are we doing incorrectly or what is not working properly to get the ant script to build the import zip file??
    Thanks for any assistance,
    Ken

    Does that mean we have to create all of the document type definitions in the selfservice file?
    We have created (installed) all of the document types by installing them from the B2B Administration --> Document page.
    The definitions in the Trading Partner xml file exactly match the definitions of the installed documents.
    In the selfservice.xsd the <element> SelfService shows the profile:DocumentProtocols as minOccurs as 0 :
         <element name="SelfService">
              <complexType>
                   <sequence>
                        <element minOccurs="0" maxOccurs="1"
                             ref="profile:DocumentProtocols" />
                        <element minOccurs="0" maxOccurs="1"
                             ref="profile:TradingPartners" />
                        <element minOccurs="0" maxOccurs="1"
                             ref="profile:Agreements" />
                   </sequence>
                   <attribute name="version" type="profile:non-empty-string"
                        use="optional" />
              </complexType>
         </element>
    so we thought that since the documents had already been defined (created/installed) to B2B they would not have to be redefined in the selfservice xml.
    If we have to define all of the document types in the selfservice xml file that we are using for the trading partners what are the minimum values that we need to include?
    Could we use minimal definitions such as this:
    <DocumentProtocols>
    <DocumentProtocol name="EDI_X12">
    <DocumentProtocolVersion name="4010">
    <DocumentType name="850">
    <DocumentDefinition name="850def" />
    </DocumentType>
    <DocumentType name="997">
    <DocumentDefinition name="997def" />
    </DocumentType>
    </DocumentProtocolVersion>
    </DocumentProtocol>
    </DocumentProtocols>
    before the <TradingPartners> section of the seflxervice xml file?
    Thanks for your assistance!

  • Modifying JCA Operation in WSDL's using ant script

    Hi
    I have written ant script which would deploy BPEL processes to mutliple environments based on ant-orabpel.properties.....i used customizewsdl tag for modifying url that points to other enviroments...i need some info how to change the jca operation values inside the wsdl that gets created when we configure any adapter like the file adapter or MQ adapter.
    Regards,
    Ravi.

    Its possible to parameterize the jca properties and then at deployment time specify which values to use via different property files. See this thread...
    Re: Partner Link properties BPEL.XML 10.1.3.1

Maybe you are looking for