L
Laurent Bugnion
Hi,
OK, I finally understand what you mean. You mean you created the web
service, and then you navigated with your browser to the ASMX page.
This "feature" is only there to help you check that your code is
working, without having to create any client. It is however very
primitive, and the reason why it doesn't work with "complex" types is
simply that it is not able to create a test UI for anything else than
simple types.
However, it doesn't say anything about the ability of the server to deal
with classes as parameters. The testing abilities are so primitive that
I almost never use it. Note that another way to test if your service is
running OK is to get the WSDL file and inspect it. You can do that from
the web browser by using the ASMX URL with a query string:
mywebservice.asmx?WSDL
I wouldn't worry about that if I were you. Create a simple UI to test
your web services and you'll see that it works fine.
Sorry for the misunderstanding,
Greetings,
Laurent
Jonathan said:Hi Laurent,
Thanks for following up on this. It took me a few days before I could get to
this.
I still think we're talking about different things here.
OK, I finally understand what you mean. You mean you created the web
service, and then you navigated with your browser to the ASMX page.
This "feature" is only there to help you check that your code is
working, without having to create any client. It is however very
primitive, and the reason why it doesn't work with "complex" types is
simply that it is not able to create a test UI for anything else than
simple types.
However, it doesn't say anything about the ability of the server to deal
with classes as parameters. The testing abilities are so primitive that
I almost never use it. Note that another way to test if your service is
running OK is to get the WSDL file and inspect it. You can do that from
the web browser by using the ASMX URL with a query string:
mywebservice.asmx?WSDL
I wouldn't worry about that if I were you. Create a simple UI to test
your web services and you'll see that it works fine.
Sorry for the misunderstanding,
Greetings,
Laurent