I did go through that, The setUserObject returns 1 only if the username is admin, for others it gives -36
On Oct 3, 3:36 pm, "Sebastian Wagner" <[EMAIL PROTECTED]> wrote: > setUserObject > see:http://code.google.com/p/openmeetings/wiki/DirectLoginSoapGeneralFlow > > 2008/10/3 Xaria <[EMAIL PROTECTED]> > > > > > > > Alrite, I am now able to get the session_id from the getsession() > > method,then SetUserObject() and loginuser(). Loginuser returns a > > positive value indicating that username password is correct, and I > > checked the database also, the provided session id is set to the > > correct user_id. > > However, when I try to browse to the URL > > http:// > > $YOUR_RED5_HOST:$YOUR_RED5_HTTP_PORT/openmeetings/main.lzx.lzr=swf8.swf?roomid=1&sid=(session_id > > returne > > > I get an Error: Unknown error. please report it to your service team. > > Even if I provide a language_id, I still get the same error. > > > Any ideas what could cause this? > > > On Sep 30, 3:16 pm, "Sebastian Wagner" <[EMAIL PROTECTED]> wrote: > > > a way yes but no simple. > > > Also you could try to configure Axis2 to generate different WSDL > > Versions, > > > maybe that helps. > > > > sebastian > > > > 2008/9/30 Xaria <[EMAIL PROTECTED]> > > > > > Is there a way to manually generate WSDL so that I can modify it and > > > > then consume through .NET > > > > > On Sep 29, 5:35 pm, Xaria <[EMAIL PROTECTED]> wrote: > > > > > I checked on axis2 forums.. they have a patch for axis2 1.4 where > > this > > > > > issue is addressed. Wondering if I could make use of that here? > > > > >http://markmail.org/message/5vc62z5ujdf3jhurhttp://markmail.org/messa.. > > .. > > > > .. > > > > > > Thanks > > > > > > On Sep 29, 5:33 pm, Xaria <[EMAIL PROTECTED]> wrote: > > > > > > > yes I know the function has return type Long but the way .net > > consumes > > > > > > the wsdl, it's return type is changed to void because minOccurs=0 > > and > > > > > > there is no nillable="true". Hence .Net treats it as optional, and > > > > > > therefore the return type is void. > > > > > > > Below is the generated method: > > > > > > > public System.Void > > > > > > addRoom([System.Xml.Serialization.XmlElementAttribute] > > System.String > > > > > > param0, [System.Xml.Serialization.XmlElementAttribute] > > System.String > > > > > > param1, System.Int64 param2, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param2Specified, [System.Xml.Serialization.XmlElementAttribute] > > > > > > System.String param3, System.Int64 param4, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param4Specified, System.Boolean param5, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param5Specified, System.Int32 param6, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param6Specified, System.Int32 param7, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param7Specified, System.Int32 param8, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param8Specified, System.Int32 param9, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param9Specified, System.Int32 param10, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param10Specified, System.Boolean param11, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param11Specified, System.Int32 param12, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param12Specified, System.Int32 param13, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param13Specified, System.Int32 param14, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param14Specified, System.Int32 param15, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param15Specified, System.Boolean param16, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param16Specified, System.Int32 param17, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param17Specified, System.Int32 param18, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param18Specified, System.Int32 param19, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param19Specified, System.Int32 param20, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > param20Specified, System.Int64 return, > > > > > > [System.Xml.Serialization.XmlIgnoreAttribute] System.Boolean > > > > > > returnSpecified) > > > > > > Member of VideoConferenceService.RoomService.RoomService > > > > > > > On Sep 29, 4:25 pm, "Sebastian Wagner" <[EMAIL PROTECTED]> > > wrote: > > > > > > > > the method has a return Type of type Long (Number) not void. > > > > > > > If you do invoke it correctly it will give you a number as return > > > > value. > > > > > > > > sebastian > > > > > > > > 2008/9/29 Xaria <[EMAIL PROTECTED]> > > > > > > > > > I tried using the Soap methodes in .NET. > > > > > > > > When I added the refernce for RoomService?wsdl, the return type > > for > > > > > > > > the addroom method is void because the XML generated from the > > > > service > > > > > > > > is > > > > > > > > <xs:element name="addRoomResponse"> > > > > > > > > - <xs:complexType> > > > > > > > > - <xs:sequence> > > > > > > > > <xs:element minOccurs="0" name="return" type="xs:long" /> > > > > > > > > </xs:sequence> > > > > > > > > </xs:complexType> > > > > > > > > </xs:element> > > > > > > > > > Since there is no nillable="true" the generated method ha s > > areturn > > > > > > > > tpe Void. > > > > > > > > How can I change this wsdl, or the java file so that the > > generated > > > > > > > > wsdl has a nillable true. also How can i change the minOccurs > > > > value? > > > > > > > > Maybe this is not the correct place to ask this question, but > > still > > > > > > > > trying my luck. > > > > > > > > > Thanks > > > > > > > > -- > > > > > > > Sebastian > > > Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://... > > > > > > > [EMAIL PROTECTED] > > > > -- > > > Sebastian > > Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp:// > >www.laszlo-forum.de > > > [EMAIL PROTECTED] > > -- > Sebastian > Wagnerhttp://www.webbase-design.dehttp://openmeetings.googlecode.comhttp://www.laszlo-forum.de > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenMeetings developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openmeetings-dev?hl=en -~----------~----~----~----~------~----~------~--~---
