locked
WSDL To XML RRS feed

  • Question

  • User1402990982 posted

    Hi,

    Could someone please explain me when webservice is soap based i mean when output is wsdl.how to convert that wdsl in to xml.Is there any simple way to do it?

    Regards

    Tuesday, October 1, 2013 1:16 PM

Answers

  • User2019981500 posted

    understand both are xml but it is not POX i mean plain old xml which i can consume using ipad where i don't have option of creating proxy/stub.Correct me if i am wrong.but i am sure i am right.

    makes sense and we have different flavors in webservices also :) like POX and soap we have.Fact is that you need to create your own template to convert it to xml .there is nothing available on web.

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 1, 2013 4:19 PM
  • User753101303 posted

    Is this a third party service or do you have control on this service ? If this is a browser app and your own service, rather than using a SOAP service, you'll want something like http://www.asp.net/web-api as you can consume this with simple HTTP requests without having to parse more or less complex XML payloads...

    If you are forced to use a SOAP service :
    - if you want to consume this service from a native app,  try rather an iOS dev forum. You may have some tools to do this etc...
    - if you want to consume this service from a browser, you could try tools such as : http://javascriptsoapclient.codeplex.com/ or see perhaps http://www.webdeveloper.com/forum/showthread.php?257744-Connect-to-quot-HelloWorld-quot-Web-Service-Using-JavaScript-SOAP (if you have to do it yourself)

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 2, 2013 3:51 AM

All replies

  • User753101303 posted

    Hi,

    See : http://msdn.microsoft.com/en-us/library/bb628649.aspx

    The WSDL is already an XML document which is a detailed description of the web service. When you'll use the procedure above, Visual Studio will use this description to create a client side "proxy" class. You'll just call into the methods made available by this class and the class takes care of calling the corresponding web service method for you and to transmit back its result (it does th"e "plumbing" and you don't have to do anything with the WSDL yourself)...

     

    Tuesday, October 1, 2013 2:30 PM
  • User1402990982 posted

    I understand both are xml but it is not POX i mean plain old xml which i can consume using ipad where i don't have option of creating proxy/stub.Correct me if i am wrong.but i am sure i am right.

    Tuesday, October 1, 2013 3:13 PM
  • User2019981500 posted

    understand both are xml but it is not POX i mean plain old xml which i can consume using ipad where i don't have option of creating proxy/stub.Correct me if i am wrong.but i am sure i am right.

    makes sense and we have different flavors in webservices also :) like POX and soap we have.Fact is that you need to create your own template to convert it to xml .there is nothing available on web.

    thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 1, 2013 4:19 PM
  • User753101303 posted

    Is this a third party service or do you have control on this service ? If this is a browser app and your own service, rather than using a SOAP service, you'll want something like http://www.asp.net/web-api as you can consume this with simple HTTP requests without having to parse more or less complex XML payloads...

    If you are forced to use a SOAP service :
    - if you want to consume this service from a native app,  try rather an iOS dev forum. You may have some tools to do this etc...
    - if you want to consume this service from a browser, you could try tools such as : http://javascriptsoapclient.codeplex.com/ or see perhaps http://www.webdeveloper.com/forum/showthread.php?257744-Connect-to-quot-HelloWorld-quot-Web-Service-Using-JavaScript-SOAP (if you have to do it yourself)

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 2, 2013 3:51 AM