ws-wsrf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r239715 - in /webservices/wsrf/trunk/src/templates/jsr109: jaxrpc-mapping.vm webservices.vm
Date Wed, 24 Aug 2005 17:03:11 GMT
Author: scamp
Date: Wed Aug 24 10:03:08 2005
New Revision: 239715

URL: http://svn.apache.org/viewcvs?rev=239715&view=rev
Log:
fixes to the templates

Modified:
    webservices/wsrf/trunk/src/templates/jsr109/jaxrpc-mapping.vm
    webservices/wsrf/trunk/src/templates/jsr109/webservices.vm

Modified: webservices/wsrf/trunk/src/templates/jsr109/jaxrpc-mapping.vm
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/templates/jsr109/jaxrpc-mapping.vm?rev=239715&r1=239714&r2=239715&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/templates/jsr109/jaxrpc-mapping.vm (original)
+++ webservices/wsrf/trunk/src/templates/jsr109/jaxrpc-mapping.vm Wed Aug 24 10:03:08 2005
@@ -5,6 +5,8 @@
 #set( $portTypeName = $generated.PortTypeQName)
 #set( $bindingName = $generated.BindingName )
 #set( $methodMap = $generated.ServiceMethodMap )
+#set( $portName = $generated.PortName )
+#set( $wsdlServiceName = $generated.WsdlServiceName )
 <?xml version="1.0" encoding="UTF-8"?>
 
 <java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
@@ -21,11 +23,11 @@
 			${interfaceName}
 		</service-interface>
 		<wsdl-service-name
-			xmlns:serviceNS="${namespace}">
-			serviceNS:${serviceName}
+			xmlns:serviceNS="$wsdlServiceName.NamespaceURI">
+			serviceNS:$wsdlServiceName.LocalPart
 		</wsdl-service-name>
 		<port-mapping>
-			<port-name>${serviceName}</port-name>
+			<port-name>$portName</port-name>
 			<java-port-name>${serviceName}</java-port-name> 
 		</port-mapping>
 	</service-interface-mapping>

Modified: webservices/wsrf/trunk/src/templates/jsr109/webservices.vm
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/templates/jsr109/webservices.vm?rev=239715&r1=239714&r2=239715&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/templates/jsr109/webservices.vm (original)
+++ webservices/wsrf/trunk/src/templates/jsr109/webservices.vm Wed Aug 24 10:03:08 2005
@@ -2,6 +2,9 @@
 #set( $wsdlName = $generated.wsdlName )
 #set( $namespace = $generated.namespace )
 #set( $interfaceName = $jsr109EndpointInterfaceName )
+#set( $portTypeQName = $generated.PortTypeQName )
+#set( $portName = $generated.PortName )
+#set( $wsdlServiceName = $generated.WsdlServiceName )
 <?xml version="1.0" encoding="UTF-8"?>
 
 <webservices
@@ -12,7 +15,7 @@
 	version="1.1">
 
 	<webservice-description>	
-		<webservice-description-name>${serviceName}</webservice-description-name>	
+		<webservice-description-name>$wsdlServiceName.LocalPart</webservice-description-name>

 
 		<wsdl-file>WEB-INF/wsdl/${wsdlName}</wsdl-file>	
 		
@@ -20,7 +23,7 @@
 
 		<port-component>
 			<port-component-name>${serviceName}PortComponent</port-component-name>
-			<wsdl-port xmlns:service="${namespace}" >service:${serviceName}</wsdl-port>
+			<wsdl-port xmlns:pt="$portTypeQName.NamespaceURI" >pt:$portName</wsdl-port>
 			<service-endpoint-interface>$interfaceName</service-endpoint-interface>
 			<service-impl-bean>
 				<servlet-link>${serviceName}Endpoint</servlet-link>



Mime
View raw message