//weather.idl //Simple mapping example - Weather Service module weather{ interface WeatherService{ string getReport(in string city); }; }; // 2 package weather; public interface WeatherServiceOperations{ public java.lang.String getReport(java.lang.String city); }
// 1) weather.idl interface WeatherService // 2) package package weather; public interface WeatherServiceOperations{ public java.lang.String getReport(java.lang.String city); }
// 1) weather.idl string getReport(in string city); // 2) package weather; public interface WeatherServiceOperations{ public java.lang.String getReport(java.lang.String city); }