<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XML Web Services</title><link>http://forums.asp.net/28.aspx</link><description>All about building XML Web Services with ASP.NET - SOAP, WSDL, WCF, etc. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=66&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Problem in web service's web method's parameters.</title><link>http://forums.asp.net/thread/2411798.aspx</link><pubDate>Mon, 09 Jun 2008 21:07:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2411798</guid><dc:creator>RogerRabbit</dc:creator><author>RogerRabbit</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2411798.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=2411798</wfw:commentRss><description>&lt;p&gt;Sorry, I just realized this is a Java web service.&amp;nbsp; I think you will find that the WSDL contains the attribute &lt;font color="#ff0000" size="2"&gt;nillable&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt;&lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font size="2"&gt;&amp;quot; where the response type for the web services is declared.&amp;nbsp; For every nillable parameter or return value in the web method, .Net generates a *specified property to indicate if the type is null.&amp;nbsp; In your example this means that the function returns the boolean value and a value indicating if the boolean value is null.&amp;nbsp; Since a function can only return one value and not two, the two return values are converted to ref or out parameters.&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Problem in web service's web method's parameters.</title><link>http://forums.asp.net/thread/2385878.aspx</link><pubDate>Wed, 28 May 2008 15:22:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2385878</guid><dc:creator>rashish12</dc:creator><author>rashish12</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2385878.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=2385878</wfw:commentRss><description>&lt;p&gt;No, I havent declared the return value as nullable.&lt;/p&gt;</description></item><item><title>Re: Problem in web service's web method's parameters.</title><link>http://forums.asp.net/thread/2383524.aspx</link><pubDate>Tue, 27 May 2008 16:35:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2383524</guid><dc:creator>RogerRabbit</dc:creator><author>RogerRabbit</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2383524.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=2383524</wfw:commentRss><description>&lt;p&gt;Is your return value (bool) declared as nullable?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;eg: bool?&amp;nbsp; or Nullable&amp;lt;bool&amp;gt;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Problem in web service's web method's parameters.</title><link>http://forums.asp.net/thread/2361835.aspx</link><pubDate>Fri, 16 May 2008 09:01:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2361835</guid><dc:creator>rashish12</dc:creator><author>rashish12</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2361835.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=2361835</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I am getting the&amp;nbsp; same number of parameters in WSDL too as I have defined in the web service i.e 2 string parameters.&lt;/p&gt;&lt;p&gt;&amp;nbsp;But still its prompting for 4 parameters while using in ASP.NET application.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Problem in web service's web method's parameters.</title><link>http://forums.asp.net/thread/2360441.aspx</link><pubDate>Thu, 15 May 2008 16:35:07 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2360441</guid><dc:creator>RogerRabbit</dc:creator><author>RogerRabbit</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2360441.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=2360441</wfw:commentRss><description>&lt;p&gt;What does is the WSDL for the method?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Problem in web service's web method's parameters.</title><link>http://forums.asp.net/thread/2359492.aspx</link><pubDate>Thu, 15 May 2008 10:21:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2359492</guid><dc:creator>rashish12</dc:creator><author>rashish12</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2359492.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=28&amp;PostID=2359492</wfw:commentRss><description>&lt;p&gt;Hello All,&lt;/p&gt;&lt;p&gt;I am tring to consume a Java web service in ASP.NET(c#) application.&lt;/p&gt;&lt;p&gt;In the web service, the web method &amp;#39;checklogin&amp;#39; accepts 2 string parameters only, with return type a boolean variable.&lt;/p&gt;&lt;p&gt;&amp;nbsp;But, when I use that method in my ASP.NET application it shows me 4 parameters in the definition namely 2 string parameters(which should be there) and extra 2&amp;nbsp; boolean type OUT parameters. Out of these 2 extra OUT parameters, in the 1st parameter I get the return variable of the web method which I called/used and in the 2nd parameter, its showing nothing (means its showing default value).&lt;/p&gt;&lt;p&gt;e.g. the actual definition for the web method is - &lt;/p&gt;&lt;p&gt;bool checkLogin(string username,string password)&lt;/p&gt;&lt;p&gt;and the definition I am getting at the time of calling that method is - &lt;/p&gt;&lt;p&gt;checkLogin(string username,string password, out bool return, out bool returnspecified).&lt;/p&gt;&lt;p&gt;Can anybody please figure out that where the actually
problem is? In the Java web service or in the .NET application and why its showing 2 extra parameters?&lt;/p&gt;&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;p&gt;Ashish R.&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>