The jsr181 ochestration sample gave the same error (.... current event is not
START_ELEMENT ....)
In the CityTimeImpl.java class
[...]
public GetCityTimeResponse getCityTime(GetCityTimeRequest
GetCityTimeRequest) {
GetInfoByCity GetInfoByCity = new GetInfoByCity();
GetInfoByCity.setUSCity(GetCityTimeRequest.getCity());
GetInfoByCityResponse r = usZip.getInfoByCity(GetInfoByCity);
Element e = (Element)
r.getGetInfoByCityResult().getContent().get(0);
e = (Element) e.getElementsByTagName("Table").item(0);
e = (Element) e.getElementsByTagName("ZIP").item(0);
String ZipCode = e.getTextContent();
//String lt = localTime.localTimeByZipCode(ZipCode); // at this
part it errored
GetCityTimeResponse rep = new GetCityTimeResponse();
rep.getString().add("23:23");
//rep.setTime(lt); // wsgen didn't generate "setTime" function
return rep;
}
[...]
ender wrote:
>
> I tried it with the latest trunk from the SVN, as well as the latest 3.1
> branch, and it gives the same error with each of them.
>
> Greetings
> Stein Desmet
>
>
>
> gnodet wrote:
>>
>> Which exact version do you use ?
>> I think some bugs that could be relatd have been fixed in 3.1 branch,
>> so if you could compile and try with the latest 3.1 source code,
>> this may fix the problem.
>> Else, you should raise a JIRA and attach all the files needed to
>> reproduce
>> the problem. Thanks.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Error-calling--JSR181-component-tf3433923s12049.html#a10869039
Sent from the ServiceMix - User mailing list archive at Nabble.com.