Need to clarify in webservices
Hi friends,
I am using Asp.Net 2.0 application. I am using web services in my application. Here i need your suggestion to answer for 3 questions. I list out my questions here.
1. Web services developed in Java. what configuration i have to do from .net to use java ws?
2. I don't have WS access. I just have wsdl alone only. I need to start the paralled
development until I get ws access from customer. How to understand the ouput type and....
3. As per my understanding Services are developed using JAX-WS programming APIs.
I believe this ws will return the output as xml.
4.Is there any option that i can convert this xml to dataset. that will be helpful to assign this as data
Regards
Guvera
Re: Need to clarify in webservices
Hello there,
1. Very little, all you need to do is to add a reference to the Web Service in your project, and Visual Studio should be able to create the proxy classes needed to use the Web Service.
2. If you only have the WSDL file, then I am fairly sure that there is a tool within Visual Studio which would allow you to generate the proxy classes from it, but for the live of me, I can't remember what it is called.
3. Return XML is fine, you will just need to consume that XML
4. Not directly from the Web Service, no, you would need to do this in your client side code.
Gary
Re: Need to clarify in webservices
You can use the Dataset.Readxml method to fill the dataset from that xml
This method excepts a string and populate the dataset with that xml