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://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
-~----------~----~----~----~------~----~------~--~---