home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPBlue PPC client release 0.0.4
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MrSensitive" data-source="post: 29085" data-attributes="member: 10304"><p>Flipit,</p><p></p><p>I found out why the web references fail when you compile the server using VS2005..</p><p></p><p>apparently the wsdl is not generated correct when you write your classes like this</p><p>[code]</p><p>[serializable]</p><p>public class mpbMusic</p><p>{</p><p> private int m_AlbumID</p><p></p><p> public AlbumID</p><p> {</p><p> get{.....}</p><p> set{.....}</p><p> }</p><p>}</p><p>[/code]</p><p></p><p>instead use this:</p><p>[code]</p><p>[serializable]</p><p>public class mpbMusic</p><p>{</p><p> public int Albumid;</p><p>}</p><p>[/code]</p><p></p><p>tadaa, the wsdl is generated correctly, and you can update your webreferences again..</p></blockquote><p></p>
[QUOTE="MrSensitive, post: 29085, member: 10304"] Flipit, I found out why the web references fail when you compile the server using VS2005.. apparently the wsdl is not generated correct when you write your classes like this [code] [serializable] public class mpbMusic { private int m_AlbumID public AlbumID { get{.....} set{.....} } } [/code] instead use this: [code] [serializable] public class mpbMusic { public int Albumid; } [/code] tadaa, the wsdl is generated correctly, and you can update your webreferences again.. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPBlue PPC client release 0.0.4
Contact us
RSS
Top
Bottom