userLogin object is of type generic value (key:value pair) and another object userLoginSession also out from the service. I think both can be easily mapped to Map or easily converted if not directly.
Rishi Solanki Sr Manager, Enterprise Software Development HotWax Systems Pvt. Ltd. Direct: +91-9893287847 http://www.hotwaxsystems.com www.hotwax.co On Mon, May 28, 2018 at 6:38 PM, Rajesh Mallah <[email protected]> wrote: > Hello Mr Rishi , > > the context is XML/RPC so i am not sure how to trap the OUT param. > > Its a remote application that will maintain its own user session post > a successful Auth or username and password. > > I have been happily using webservices that respond back with basic types > like strings or numbers and compound types like Maps and Lists > > regds > mallah. > > > > > On Mon, May 28, 2018 at 6:19 PM, Rishi Solanki <[email protected]> > wrote: > > > Rajesh, > > > > You need to pass the login.username and login.password strings > > respectively. The service will out the userLogin object which can be used > > in further communication if required, or simply use it to login into the > > application. > > > > Rishi Solanki > > Sr Manager, Enterprise Software Development > > HotWax Systems Pvt. Ltd. > > Direct: +91-9893287847 > > http://www.hotwaxsystems.com > > www.hotwax.co > > > > On Sat, May 26, 2018 at 10:33 PM, Rajesh Mallah <[email protected] > > > > wrote: > > > > > Hello Praveen/List , > > > > > > Thanks for the response but it has proved bit tricky to me and I have > not > > > been > > > able to get it working . > > > > > > I am reproducing below the argument notes for this service. > > > > > > > > > isServiceAuth True Boolean > > IN > > > False > > > locale True java.util.Locale > > > INOUT True > > > login.password True String > > IN > > > True > > > login.username True String > > IN > > > True > > > timeZone True java.util.TimeZone > > > INOUT True > > > userLogin True org.apache.ofbiz.entity.GenericValue > > > INOUT True > > > visitId True String > > IN > > > False > > > > > > > > > Are we supposed to specify the username and password > > > in 'login.username' and 'login.password' respectively or in > 'userLogin' ? > > > > > > > > > if it is the latter it is very difficult owning to > > > > > > https://issues.apache.org/jira/browse/OFBIZ-10317 > > > > > > > > > regds > > > mallah > > > > > > > > > On Sat, May 26, 2018 at 6:10 PM, Praveen Sharma < > > > [email protected]> wrote: > > > > > > > Hi Rajesh, > > > > > > > > In order to authenticate a 'USERNAME' and 'PASSWORD', You can refer > to > > > > service "userLogin". > > > > > > > > > > > > > > > > > > > > On Wed, May 23, 2018 at 8:07 PM, Rajesh Mallah < > > [email protected]> > > > > wrote: > > > > > > > > > Hi , > > > > > > > > > > How do we authenticate a 'username' and 'password' ( plain text > > > > > user-inputted) > > > > > against OFBiz UserLogin. Is there any Webservice for that which > just > > > > > returns > > > > > boolean or reply in any format about the combination ( auth was > > > failure > > > > or > > > > > success). > > > > > > > > > > > > > > > > > > > > Kind Regds > > > > > mallah. > > > > > > > > > > > > > > > > > > > > > -- > > > > *Praveen Sharma* | Enterprise Software Engineer > > > > HotWax Systems <https://www.hotwaxsystems.com> > > > > > > > > > >
