You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-commits@ws.apache.org by ip...@apache.org on 2005/08/02 23:39:19 UTC
svn commit: r227085 - in /webservices/wsrf/trunk/src:
java/org/apache/ws/resource/tool/GenerationUtils.java
template/_TEMPLATE_.wsdl
Author: ips
Date: Tue Aug 2 14:39:16 2005
New Revision: 227085
URL: http://svn.apache.org/viewcvs?rev=227085&view=rev
Log:
added import of WS-MEX WSDL
Modified:
webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/GenerationUtils.java
webservices/wsrf/trunk/src/template/_TEMPLATE_.wsdl
Modified: webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/GenerationUtils.java
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/GenerationUtils.java?rev=227085&r1=227084&r2=227085&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/GenerationUtils.java (original)
+++ webservices/wsrf/trunk/src/java/org/apache/ws/resource/tool/GenerationUtils.java Tue Aug 2 14:39:16 2005
@@ -60,7 +60,8 @@
Operation op = resourceDef.getPortType( ).getOperation( opNames[i], null, null );
OperationInfo opInfo = new OperationInfo( op,
resourceDef.getDefinition( ).getTargetNamespace( ) );
- opInfoMap.put( opInfo.getRequestElementName( ),
+ // TODO: handle operations that have no input element (e.g. wsx:Get) - we can't have a null key
+ opInfoMap.put( opInfo.getRequestElementName( ),
opInfo );
}
Modified: webservices/wsrf/trunk/src/template/_TEMPLATE_.wsdl
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/template/_TEMPLATE_.wsdl?rev=227085&r1=227084&r2=227085&view=diff
==============================================================================
--- webservices/wsrf/trunk/src/template/_TEMPLATE_.wsdl (original)
+++ webservices/wsrf/trunk/src/template/_TEMPLATE_.wsdl Tue Aug 2 14:39:16 2005
@@ -18,6 +18,9 @@
<import namespace="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.wsdl"
location="../spec/wsrf/WS-ResourceLifetime-1_2-Draft_01.wsdl"/>
+ <import namespace="http://schemas.xmlsoap.org/ws/2004/09/mex"
+ location="../spec/wsx/WS-MetadataExchange-2004_09.wsdl"/>
+
<types>
<schema elementFormDefault="qualified"
targetNamespace="http://ws.apache.org/resource/example/filesystem"