Author: kstam
Date: Fri May 13 15:22:54 2011
New Revision: 1102790
URL: http://svn.apache.org/viewvc?rev=1102790&view=rev
Log:
JUDDI-377 use the lang from the properties
Modified:
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java
Modified:
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java
URL:
http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java?rev=1102790&r1=1102789&r2=1102790&view=diff
==============================================================================
---
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java
(original)
+++
juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java
Fri May 13 15:22:54 2011
@@ -214,7 +214,7 @@ public class WSDL2UDDI {
tModel.setTModelKey(keyDomainURI + localpart);
// Set the Name
Name name = new Name();
- name.setLang("en");
+ name.setLang(lang);
name.setValue(localpart);
tModel.setName(name);
// Set the OverviewURL
@@ -347,7 +347,7 @@ public class WSDL2UDDI {
// Set the Name. The uddi:name element of the tModel MUST be
the value of
// the name attribute of the wsdl:portType.
Name name = new Name();
- name.setLang("en");
+ name.setLang(lang);
name.setValue(localpart);
tModel.setName(name);
// Set the OverviewURL. The tModel MUST contain an overviewDoc
with an
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]