I cannot test it because when I see the method SOAP definition, using this
URL, http://localhost/AlcahuetNet/alcahuetnet.asmx?op=ValidaUsuario, at Test
area, this message is displayed:
"The test form is only available for methods with primitive types or arrays
of primitive types as parameters."
That's strange too, since the definition has string types, this way:
<ValidaUsuario xmlns="http://cursoaspnet1.com/webservices/">
<usuario>string</usuario>
<pass>string</pass>
<osigno>string</osigno>
</ValidaUsuario>
Maybe I would have to program the web service from scratch using the wizard
and then copy and paste each method bodies. Fortunately they are only 2.
The fact is that I downloaded this code as part of a tutorial. When I have
programmed web services using the wizard, I haven't had any problems on
invocation (using and not using primitive types).
One particularity with this web service is that all code is contained in the
ASMX file. The web services generated by the wizard contain a ASMX file with
only 1 line, and a the corresponding code behind, for example, ASMX.CS.
Maybe this is the problem, but according to the tutorial say, the webservice
should work.
Thanks
Jaime
> Can u invoke the web method call from IE but not from ur VB code? If yes
> then it may be the problem with ur proxy settings. It may help u...
[quoted text clipped - 175 lines]
>>>>>> Thanks
>>>>>> Jaime
B Deepak - 09 Oct 2005 12:26 GMT
You can not use ref keyword in parameter list which u r passing it into the
web method. Becoz when I tried it by passing parameter with ref keyword and
running it through IE, i was not able to invoke the method. Than means, web
service method does support only primitive datatypes but not datatypes with
keywords.
if u delete ref keyword frm parameter list, everything should work fine.
Please try it once..
Regards,
Deepak
>I cannot test it because when I see the method SOAP definition, using this
>URL, http://localhost/AlcahuetNet/alcahuetnet.asmx?op=ValidaUsuario, at
[quoted text clipped - 208 lines]
>>>>>>> Thanks
>>>>>>> Jaime