Skip to content
Browse files

Changed ydernumber to ydernummer

  • Loading branch information...
1 parent 662bd75 commit d811d1f8a740765b3447590da61a7eea3e6e24b2 @krpiatkowski krpiatkowski committed Sep 5, 2012
View
4 minlog-ws/src/main/java/dk/nsi/minlog/ws/ws/MinlogudtraekserviceImpl.java
@@ -146,8 +146,8 @@ private DateTime nullableDateTime(XMLGregorianCalendar xmlDate) {
* @return the nameformat as a enum.
*/
private static NameFormat nfFromString(String str) {
- if (str.equals("YDERNUMBER")) {
- return NameFormat.MEDCOM_YDERNUMBER;
+ if (str.equals("YDERNUMMER")) {
+ return NameFormat.MEDCOM_YDERNUMMER;
} else if (str.equals("PNUMBER")) {
return NameFormat.MEDCOM_PNUMBER;
} else if (str.equals("SHAK")) {
View
2 minlog-ws/src/main/resources/schema/minlog.xsd
@@ -49,7 +49,7 @@
<xs:simpleType name="NameFormat">
<xs:restriction base="xs:string">
- <xs:enumeration value="medcom:ydernumber"/>
+ <xs:enumeration value="medcom:ydernummer"/>
<xs:enumeration value="medcom:pnumber"/>
<xs:enumeration value="medcom:shak"/>
<xs:enumeration value="medcom:cvrnumber"/>
View
2 minlog-ws/src/main/resources/wsdl/minlog.wsdl
@@ -46,7 +46,7 @@
<xs:simpleType name="NameFormat" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:restriction base="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:enumeration value="medcom:ydernumber" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
+ <xs:enumeration value="medcom:ydernummer" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
<xs:enumeration value="medcom:pnumber" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
<xs:enumeration value="medcom:shak" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
<xs:enumeration value="medcom:cvrnumber" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
View
2 minlog-ws/src/test/java/dk/nsi/minlog/ws/MinlogudtraekserviceImplTest.java
@@ -68,7 +68,7 @@
private XMLGregorianCalendar fromXml = new XMLGregorianCalendarImpl(from.toGregorianCalendar());
private XMLGregorianCalendar toXml = new XMLGregorianCalendarImpl(to.toGregorianCalendar());
- private final static String[] nameFormat = new String[]{"YNUMBER", "PNUMBER", "SHAK", "CVRNUMBER", "COMMUNALNUMBER", "SOR", "OTHER", "UNKNOWN_ORGANIZATION"};
+ private final static String[] nameFormat = new String[]{"YDERNUMMER", "PNUMBER", "SHAK", "CVRNUMBER", "COMMUNALNUMBER", "SOR", "OTHER", "UNKNOWN_ORGANIZATION"};
/**
* Create a mock dao with data.

0 comments on commit d811d1f

Please sign in to comment.
Something went wrong with that request. Please try again.