Hi, Yes, it does work with this dll. I was able to connect and send message. BTW I'm using SMPPSim from Selenium Software for testing: http://www.seleniumsoftware.com/downloads/SMPPSim.zip
On Sunday, September 16, 2012 10:19:58 PM UTC+2, Thanasis wrote: > > Can you please try once more with this dll: > http://smslib.org/download/files/smslib.dll > > I don't have an SMPP connection to test with, and it seems that some > library files were left out when I was building the .DLL ... > > On 7 September 2012 15:39, SMSLib Discussion Group on behalf of Oleg > Deribas < > smslib+noreply-apn2wqexty5icx5znfib8hciebuc9tqw3_s_sntapu524l...@googlegroups.com<javascript:> > > wrote: > >> Hi, >> >> Were anyone able to use JSMPPGateway from smslib .NET? >> I'm trying to run the same code as above in this thread using smslib >> 3.5.2: >> >> var jSmppGateway = new JSMPPGateway("smppclient1", "127.0.0.1", 2775, new >> BindAttributes("smppclient1", "password", "cp", >> BindAttributes.BindType.RECEIVER)); >> >> and get this exception: >> >> ExceptionType - System.TypeInitializationException >> ExceptionMessage - The type initializer for >> 'org.jsmpp.session.SMPPSession' threw an exception. >> ExceptionSource - smslib-v3.5.2 >> ExceptionStackTrace - at org.jsmpp.session.SMPPSession..ctor() >> at org.smslib.smpp.jsmpp.JSMPPGateway.initSession() >> at org.smslib.smpp.jsmpp.JSMPPGateway.init() >> at org.smslib.smpp.jsmpp.JSMPPGateway..ctor(String id, String host, >> Int32 port, BindAttributes bindAttributes) >> at >> SmsServer.Drivers.SmsLibSmpp.SmsLibSmppDriver.SubInitialize(IDictionary`2 >> config, String shortCode) in ... >> InnerExceptionType - System.TypeInitializationException >> InnerExceptionMessage - The type initializer for >> 'org.jsmpp.session.AbstractSession' threw an exception. >> InnerExceptionStackTrace - at >> org.jsmpp.session.AbstractSession.__<clinit>() >> at org.jsmpp.session.SMPPSession..cctor() >> >> And innermost exception is of type java.lang.NoClassDefFoundError with >> exception message "org.slf4j.LoggerFactory". So it looks like it tries to >> instantiate class which is not included in library. >> >> -- >> Oleg >> >> -- >> You received this message because you are subscribed to the Google Groups >> "SMSLib Discussion Group" group. >> To post to this group, send email to [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/smslib/-/bYyXMAm0YZQJ. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/smslib/-/rERVf_rnD5MJ. For more options, visit https://groups.google.com/groups/opt_out.
