From: <pka...@us...> - 2009-07-27 22:08:12
|
Revision: 379 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=379&view=rev Author: pkasprzak Date: 2009-07-27 22:07:54 +0000 (Mon, 27 Jul 2009) Log Message: ----------- * Stuff :) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml 2009-07-25 09:17:44 UTC (rev 378) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml 2009-07-27 22:07:54 UTC (rev 379) @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system systemId="file:/home/pete/dipl/devel/cse-ip/CSECore-ejb/../Common/src/CDDM.xsd" uri="src/conf/xml-resources/jaxb/cddm/CDDM.xsd"/> + <system systemId="file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl" uri="src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl"/> </catalog> \ No newline at end of file Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml 2009-07-25 09:17:44 UTC (rev 378) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml 2009-07-27 22:07:54 UTC (rev 379) @@ -290,7 +290,7 @@ <target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps"/> <target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps"/> <target depends="init, -deps-module-jar, -deps-ear-jar" name="deps-jar"/> - <target depends="init,deps-jar,jaxb-code-generation" name="-pre-pre-compile"> + <target depends="init,deps-jar,wsimport-client-generate,jaxb-code-generation" name="-pre-pre-compile"> <mkdir dir="${build.classes.dir}"/> <mkdir dir="${build.ear.classes.dir}"/> </target> @@ -315,7 +315,7 @@ <fileset dir="${meta.inf}" excludes="**/*.dbschema **/xml-resources/** ${meta.inf.excludes}"/> </copy> </target> - <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf" if="have.sources" name="-do-compile"> + <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf,wsimport-client-compile" if="have.sources" name="-do-compile"> <ejbjarproject2:javac destdir="${classes.dir}"/> <copy todir="${classes.dir}"> <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/> @@ -330,7 +330,7 @@ <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single"> + <target depends="init,deps-jar,-pre-pre-compile,wsimport-client-compile" name="-do-compile-single"> <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail> <ejbjarproject2:javac excludes="" includes="${javac.includes}"/> </target> Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties 2009-07-25 09:17:44 UTC (rev 378) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties 2009-07-27 22:07:54 UTC (rev 379) @@ -1,9 +1,9 @@ -build.xml.data.CRC32=8344d0cf +build.xml.data.CRC32=c7301153 build.xml.script.CRC32=54243c03 build.xml.stylesheet.CRC32=e5f4c432 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=8344d0cf -nbproject/build-impl.xml.script.CRC32=91803eb0 +nbproject/build-impl.xml.data.CRC32=c7301153 +nbproject/build-impl.xml.script.CRC32=1447b5e1 nbproject/build-impl.xml.stylesheet.CRC32=36c39d59 nbproject/jaxws-build.xml.stylesheet.CRC32=f49c6152 Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-25 09:17:44 UTC (rev 378) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-27 22:07:54 UTC (rev 379) @@ -11,5 +11,30 @@ <implementation-class>de.campussource.cse.core.RelationManagerWS</implementation-class> </service> </services> - <clients/> + <clients> + <client name="DependencyManagerNotification"> + <wsdl-url>file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl</wsdl-url> + <local-wsdl-file>DependencyManagerNotification.wsdl</local-wsdl-file> + <package-name>org.netbeans.j2ee.wsdl.common.dependencymanagernotification</package-name> + <catalog-file>catalog.xml</catalog-file> + <wsimport-options> + <wsimport-option> + <wsimport-option-name>extension</wsimport-option-name> + <wsimport-option-value>true</wsimport-option-value> + </wsimport-option> + <wsimport-option> + <wsimport-option-name>verbose</wsimport-option-name> + <wsimport-option-value>true</wsimport-option-value> + </wsimport-option> + <wsimport-option> + <wsimport-option-name>wsdlLocation</wsimport-option-name> + <wsimport-option-value>file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl</wsimport-option-value> + </wsimport-option> + <wsimport-option> + <wsimport-option-name>xnocompile</wsimport-option-name> + <wsimport-option-value>true</wsimport-option-value> + </wsimport-option> + </wsimport-options> + </client> + </clients> </jax-ws> Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-25 09:17:44 UTC (rev 378) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-27 22:07:54 UTC (rev 379) @@ -36,4 +36,31 @@ JAX-WS WSIMPORT SECTION =================== --> + <target name="wsimport-init" depends="init"> + <mkdir dir="${build.generated.dir}/wsimport/client"/> + <mkdir dir="${build.generated.dir}/wsimport/binaries"/> + <mkdir dir="${classes.dir}"/> + <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport"> + <classpath path="${j2ee.platform.wsimport.classpath}"/> + </taskdef> + </target> + <target name="wsimport-client-check-DependencyManagerNotification" depends="wsimport-init"> + <condition property="wsimport-client-DependencyManagerNotification.notRequired"> + <available file="${build.generated.dir}/wsimport/client/org/netbeans/j2ee/wsdl/common/dependencymanagernotification/DependencyManagerNotification.java"/> + </condition> + </target> + <target name="wsimport-client-DependencyManagerNotification" depends="wsimport-init,wsimport-client-check-DependencyManagerNotification" unless="wsimport-client-DependencyManagerNotification.notRequired"> + <property name="wsdl-DependencyManagerNotification" location="${meta.inf}/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl"/> + <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/binaries" wsdl="${wsdl-DependencyManagerNotification}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl" xnocompile="true"/> + </target> + <target name="wsimport-client-clean-DependencyManagerNotification" depends="-init-project"> + <delete dir="${build.generated.dir}/wsimport/client/org/netbeans/j2ee/wsdl/common/dependencymanagernotification"/> + </target> + <target name="wsimport-client-generate" depends="wsimport-client-DependencyManagerNotification"/> + <target name="wsimport-client-compile" depends="wsimport-client-generate"> + <ejbjarproject2:javac srcdir="${build.generated.dir}/wsimport/client" classpath="${j2ee.platform.wsimport.classpath}:${javac.classpath}" destdir="${classes.dir}"/> + <copy todir="${classes.dir}"> + <fileset dir="${build.generated.dir}/wsimport/binaries" includes="**/*.xml"/> + </copy> + </target> </project> Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml 2009-07-25 09:17:44 UTC (rev 378) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml 2009-07-27 22:07:54 UTC (rev 379) @@ -3,7 +3,11 @@ <type>org.netbeans.modules.j2ee.ejbjarproject</type> <configuration> <buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1"> - <extension file="jaxws-build.xml" id="jaxws"/> + <extension file="jaxws-build.xml" id="jaxws"> + <dependency dependsOn="wsimport-client-compile" target="-do-compile"/> + <dependency dependsOn="wsimport-client-compile" target="-do-compile-single"/> + <dependency dependsOn="wsimport-client-generate" target="-pre-pre-compile"/> + </extension> <extension file="xml_binding_build.xml" id="jaxb"> <dependency dependsOn="jaxb-code-generation" target="-pre-pre-compile"/> </extension> Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl 2009-07-27 22:07:54 UTC (rev 379) @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="windows-1252"?> +<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> + <types/> + <message name="notifyRequest"> + <part name="entityId" type="xsd:int"/> + <part name="system" type="xsd:string"/> + </message> + <portType name="DependencyManagerNotificationPortType"> + <operation name="notify"> + <input name="input1" message="tns:notifyRequest"/> + </operation> + </portType> + <binding name="DependencyManagerNotificationBinding" type="tns:DependencyManagerNotificationPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <operation name="notify"> + <soap:operation/> + <input name="input1"> + <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"/> + </input> + </operation> + </binding> + <service name="DependencyManagerNotificationService"> + <port name="DependencyManagerNotificationPort" binding="tns:DependencyManagerNotificationBinding"> + <soap:address location="http://localhost:${HttpDefaultPort}/DependencyManagerNotificationService/DependencyManagerNotificationPort"/> + </port> + </service> + <plnk:partnerLinkType name="DependencyManagerNotification"> + <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes. +In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type. +A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.--> + <plnk:role name="DependencyManagerNotificationPortTypeRole" portType="tns:DependencyManagerNotificationPortType"/> + </plnk:partnerLinkType> +</definitions> Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl 2009-07-27 22:07:54 UTC (rev 379) @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="windows-1252"?> +<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> + <types/> + <message name="notifyRequest"> + <part name="entityId" type="xsd:int"/> + <part name="system" type="xsd:string"/> + </message> + <portType name="DependencyManagerNotificationPortType"> + <operation name="notify"> + <input name="input1" message="tns:notifyRequest"/> + </operation> + </portType> + <binding name="DependencyManagerNotificationBinding" type="tns:DependencyManagerNotificationPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <operation name="notify"> + <soap:operation/> + <input name="input1"> + <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"/> + </input> + </operation> + </binding> + <service name="DependencyManagerNotificationService"> + <port name="DependencyManagerNotificationPort" binding="tns:DependencyManagerNotificationBinding"> + <soap:address location="http://localhost:${HttpDefaultPort}/DependencyManagerNotificationService/DependencyManagerNotificationPort"/> + </port> + </service> + <plnk:partnerLinkType name="DependencyManagerNotification"> + <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes. +In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type. +A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.--> + <plnk:role name="DependencyManagerNotificationPortTypeRole" portType="tns:DependencyManagerNotificationPortType"/> + </plnk:partnerLinkType> +</definitions> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |