Try put parameters login.username and login.password http://docs.ofbiz.org/display/OFBTECH/Service+Engine+Guide
ya jaki wrote / napísal(a): > Actually I'm trying to run the services from an external java soap client (as > given here : > http://www.opensourcestrategies.com/ofbiz/OFBIZ_SOAP_RMI_Tutorial.pdf) and > am not sure on how to access the ofbiz session in order to retrieve the user > details from it > > > yanick wrote: > >> Hi, >> put userLogin as parameter to service, example in java: >> >> GenericValue userLogin = null; >> userLogin = (GenericValue) request.getSession().getAttribute("userLogin"); >> >> serviceContext.put("userLogin", userLogin); >> Map serviceReturn = dispatcher.runSync(serviceName, serviceContext); >> >> ya >> >> jaki wrote / napísal(a): >> >>> I am trying to use ofbiz webservices from an external app but some of >>> these >>> servcies require you to be logged in. Is there anyway to bypass this? We >>> want our own login system to be used in place of that of ofbiz. >>> >>> >> >> > >