Please could you check the logs below and let me know if I'm doing something wrong? Thanks in advance!
D:\I+D\HARMONY\SIRI>java -jar onebusaway-siri-client-cli-1.0.5.jar Url=http://localhost:9090/Siri/SiriServiceIfz,ModuleType=GENERAL_MESSAGE
2017-11-16 17:43:05,737 INFO [SiriCommon.java:136] : Loading JAXB context. This may take a few seconds...
2017-11-16 17:43:09,174 INFO [SiriCommon.java:138] : Loading JAXB context complete.
2017-11-16 17:43:09,326 INFO [Slf4jLog.java:67] : Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
2017-11-16 17:43:09,354 INFO [Slf4jLog.java:67] : jetty-6.1.x
2017-11-16 17:43:09,387 INFO [Slf4jLog.java:67] : Started SocketConnector@0.0.0.0:8080
java.lang.UnsupportedOperationException
at org.onebusaway.siri.core.SiriClientRequestFactory.createServiceRequestForModuleType(SiriClientRequestFactory.java:298)
at org.onebusaway.siri.core.SiriClientRequestFactory.processServiceRequestArgs(SiriClientRequestFactory.java:270)
at org.onebusaway.siri.core.SiriClientRequestFactory.createRequest(SiriClientRequestFactory.java:96)
at org.onebusaway.siri.client.cli.SiriClientMain.getLineAsRequest(SiriClientMain.java:242)
at org.onebusaway.siri.client.cli.SiriClientMain.run(SiriClientMain.java:202)
at org.onebusaway.siri.client.cli.SiriClientMain.main(SiriClientMain.java:103)
2017-11-16 17:43:09,408 INFO [SiriClientSubscriptionManager.java:241] : terminate all subscriptions
2017-11-16 17:43:09,412 INFO [Slf4jLog.java:67] : Stopped SocketConnector@0.0.0.0:8080
First of all, thanks for the library yor have developed and apologies if this is not the place for posting this issue.
I have an issue with the ModuleType=GENERAL_MESSAGE. When I execute the command line below I get an UnsupportedOperationException.
I am testing this against a Mock WS using SoapUI, it works correctly if I test it with sample request and responses in there (see xml attached)
request.txt response.txt
Please could you check the logs below and let me know if I'm doing something wrong? Thanks in advance!
D:\I+D\HARMONY\SIRI>java -jar onebusaway-siri-client-cli-1.0.5.jar Url=http://localhost:9090/Siri/SiriServiceIfz,ModuleType=GENERAL_MESSAGE 2017-11-16 17:43:05,737 INFO [SiriCommon.java:136] : Loading JAXB context. This may take a few seconds... 2017-11-16 17:43:09,174 INFO [SiriCommon.java:138] : Loading JAXB context complete. 2017-11-16 17:43:09,326 INFO [Slf4jLog.java:67] : Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog 2017-11-16 17:43:09,354 INFO [Slf4jLog.java:67] : jetty-6.1.x 2017-11-16 17:43:09,387 INFO [Slf4jLog.java:67] : Started SocketConnector@0.0.0.0:8080 java.lang.UnsupportedOperationException at org.onebusaway.siri.core.SiriClientRequestFactory.createServiceRequestForModuleType(SiriClientRequestFactory.java:298) at org.onebusaway.siri.core.SiriClientRequestFactory.processServiceRequestArgs(SiriClientRequestFactory.java:270) at org.onebusaway.siri.core.SiriClientRequestFactory.createRequest(SiriClientRequestFactory.java:96) at org.onebusaway.siri.client.cli.SiriClientMain.getLineAsRequest(SiriClientMain.java:242) at org.onebusaway.siri.client.cli.SiriClientMain.run(SiriClientMain.java:202) at org.onebusaway.siri.client.cli.SiriClientMain.main(SiriClientMain.java:103) 2017-11-16 17:43:09,408 INFO [SiriClientSubscriptionManager.java:241] : terminate all subscriptions 2017-11-16 17:43:09,412 INFO [Slf4jLog.java:67] : Stopped SocketConnector@0.0.0.0:8080