Avatar of Dinesh Kumar
Dinesh Kumar
Flag for India asked on

web services asmx

Hi I am keen to know that when webservices sends response,  does that response converts to binary data? I think that should be done becuase on network wire,  xml cannot go directly  and data should be wired in  binary only as at lower level let us say on physical layer we deal only with binary data. so if I say that webservice sends xml in soap that means its the responsibility of physical layer to convert in binary right?

Moreover Do wsdl and soap both are sent to client? or wsdl is created automatically on the basis of soap sent.
Web ServicesWCFMicrosoft IIS Web ServerSOAP Protocol

Avatar of undefined
Last Comment
Dinesh Kumar

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dave_Dietz

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dinesh Kumar

ASKER
Thanks Dave for to the point answers.

but some related query are also there, if you can help!

http://www.webservicex.net/CurrencyConvertor.asmx?op=ConversionRate

In the last of this link, there is some SOAP shown,  what the use of that?

1) what can be the situations that I need to actually make a soap request to pass soap xml to the server to get response but there I need to parse xml also.

2) and when add service reference where I don't care about the SOAP then the process should be this

request changes to SOAP(and who changes this?) and SOAP changes to Binary right?
SOLUTION
Dave_Dietz

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dinesh Kumar

ASKER
In general you would only need to send a SOAP request if you need to provide some sort of data to the server or if the web service specifically requires (when it will be specifically required.)the request to be sent in SOAP format.  Please see the attachment for  which I was asking why that is written there?

second question I was trying to say that if I am having a proxy class generated then I will communicate with the server webservice using objects e.g

Service1Client srv=new Service1Client();
List<employees> ListEmp=srv.GetEmployees('1') // 1 for managers
so srv.GetEmployees('1')  is the request so this must become a soap request internally who does this conversion to soap request?

thanks for your help until now.
refering-to-here-for-SOAP.png
SOLUTION
Dave_Dietz

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Dinesh Kumar

ASKER
Hi Dave it would be great if you can pass me some url for part one. I will be thankful to you and part 2 I understood.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Dinesh Kumar

ASKER
thank you.