On Thu, Dec 31, 2009 at 6:41 PM, Senaka Fernando <sen...@wso2.com> wrote:
> On Thu, Dec 31, 2009 at 6:32 PM, Charith Wickramarachchi < > charith.dhanus...@gmail.com> wrote: > > > On Thu, Dec 31, 2009 at 5:52 PM, Senaka Fernando <sen...@wso2.com> > wrote: > > > > > Hi Charith, > > > > > > I'm a bit confused. A few questions to clarify. :-).. > > > > > > Now, you can write Axis2 Services that can be invoked by sending an > sms. > > > Also, can't you write Axis2 clients capable of sending an sms? > > > > > > Yes using the current implementation we can send a sms using a Axis2 > > client. > > > > > > > If so, can't > > > we combine these two to send an sms and receive a response. I'm using > the > > > SMPP implementation btw. > > > > > > > > > > Nope that case isn't implemented the current implementation.Since its > > hard > > > to identify which message came as a reply for which message. > > > > > > > How does this this affect a client. If you have an echo service, and send a > UUID from the client, you should be able to determine whether the server > responded isn't it? I don't think that the server has problems determining > where to reply, isn't it? > I'll look in to that and provide a sample > > > > > > > Also, is it possible to use a JSMPP sample (with some modifications to > > ports > > > etc.) to interact with the service that we have published in Axis2? > > > > > > > Yes you can. If you look at the unit test for the SMPP implementation > > it > > starts a Simple SMSC using the JSMPP and sends a message to invoke a > > Service and validate the response it receive. > > > > Did a quick run through, but it seems that the tests use an in-memory > implementation of client and server, isn't it? > > Even though its in memory, client and server communicate using the SMPP > protocol on top of TCP. But here the client is a jsmpp client to sent the SMS to the SMSC (MessageCenter) so since Axis 2 is binded to the SMSC it will receive the message. and reply to the senders mobile number. In a real world scenario what will be happen is jsmpp client is replaced by a mobile phone. > > Thanks, > Senaka. > > > > > > > > > And, AFAIU, the GSM implementation requires some device conneted via > USB > > > (or > > > some other modem), to be functional (or perhaps a simulator). Am I > > correct > > > here? > > > Yes GSM modem needed to be connected to use the GSM implementation > > > > > > > > > > Thanks, > > > Senaka. > > > > > > On Thu, Dec 31, 2009 at 1:32 PM, Charith Wickramarachchi < > > > charith.dhanus...@gmail.com> wrote: > > > > > > > Hi Senaka , > > > > > > > > Current implementation of SMS transport allows you to invoke Web > > Services > > > > using a RPC style SMS message format.So basically the client will be > a > > > > mobile device.So there will be no Axis2 client in that senario since > > > Axis2 > > > > is currretly not ported to mobile platforms. > > > > So either you have to send a SMS by hand to the Axis2 or you can > write > > a > > > > Simple Mobile client (ex: J2ME) to send SMS using > > > > the message format provided. > > > > > > > > Idea of having the above described message format is to enable users > to > > > > easily write mobile clients. > > > > > > > > this link< > > > > > > > > > > http://charithwiki.blogspot.com/2009/12/invoking-webservices-using-axis2-sms.html > > > > >will > > > > provide some example service invocation using the GSM implementation. > > > > > > > > and Also you can use this transport to Write an Axis2 client to push > > SMSs > > > > out (ex: in a nortification senario). > > > > > > > > cheers, > > > > Charith > > > > > > > > On Thu, Dec 31, 2009 at 11:10 AM, Senaka Fernando <sen...@wso2.com> > > > wrote: > > > > > > > > > Hi Charith, > > > > > > > > > > I was able to successfully setup the sms transport and deploy the > > > service > > > > > (SampleInOutService.aar) , as you have explained. But, is there any > > > > sample > > > > > client that I could use to try this out? > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > Senaka. > > > > > > > > > > On Fri, Sep 25, 2009 at 11:45 AM, Charith Wickramarachchi < > > > > > charith.dhanus...@gmail.com> wrote: > > > > > > > > > > > Hi , > > > > > > > > > > > > You can find the xdoc of the Transport guide of SMS Transport > > > > > > > > > > > > > > > > > > > > > > > > > > > https://svn.apache.org/repos/asf/webservices/commons/trunk/modules/transport/src/site/xdoc/sms.xml > > > > > > > > > > > > Hope that would help you to use it. > > > > > > > > > > > > > > > > > > thanks, > > > > > > > > > > > > Charith > > > > > > > > > > > > On Fri, Sep 25, 2009 at 9:56 AM, Heshan Suriyaarachchi < > > > > > > heshan.s...@gmail.com> wrote: > > > > > > > > > > > > > Hi, > > > > > > > I need to use the sms transport in WS-commons. Is there any > > > > > > > documentation or reference guide relating to it? If so point me > > to > > > > it. > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > -- > > > > > > > Regards, > > > > > > > Heshan Suriyaarachchi > > > > > > > > > > > > > > http://heshans.blogspot.com/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Charith Dhanushka Wickramarachchi > > > > > > http://charithwiki.blogspot.com/ > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Senaka Fernando > > > > > Software Engineer > > > > > WSO2 Inc. > > > > > E-mail: sen...@wso2.com; Mobile: +94 77 322 1818 > > > > > > > > > > http://www.wso2.com/ - "The Open Source SOA Company" > > > > > > > > > > > > > > > > > > > > > -- > > > > Charith Dhanushka Wickramarachchi > > > > http://charithwiki.blogspot.com/ > > > > > > > > > > > > > > > > -- > > > Senaka Fernando > > > Software Engineer > > > WSO2 Inc. > > > E-mail: sen...@wso2.com; Mobile: +94 77 322 1818 > > > > > > http://www.wso2.com/ - "The Open Source SOA Company" > > > > > > > > > > > -- > > Charith Dhanushka Wickramarachchi > > http://charithwiki.blogspot.com/ > > > > > > -- > Senaka Fernando > Software Engineer > WSO2 Inc. > E-mail: sen...@wso2.com; Mobile: +94 77 322 1818 > > http://www.wso2.com/ - "The Open Source SOA Company" > -- Charith Dhanushka Wickramarachchi http://charithwiki.blogspot.com/