Search

You searched for the word(s): userid:865781

Matching Posts

  • Re: consuming webservice when it is using proxy adress l

    Can you make sure the Proxy URL is correct or not? If not, you may ask your system admin to provide you the correct poxy address for example, http://192.168.1.200:8000. I am assuming you are behind proxy and trying to access web service hosted somewhere out side your network on internet.
    Posted to XML Web Services (Forum) by raxitr on 9/24/2009
  • Re: XML structure in WebService C#

    It is not considered a good practise to return simply a string array from web method, Its a nightmare for the consumer of the web service unless you tell them what does each element mean at each index in your string array. Try rather creating more meaningful complex object as I said earlier. For Example, A Web method which returns object of type public class ResponseInfo { public string DisplayName; public string EmailAddress; public string haslo; public string confirmHaslo; } will have xml like
    Posted to XML Web Services (Forum) by raxitr on 9/22/2009
  • Re: Calling web service with complex in parameters

    Seems you have got the solution here :)
    Posted to XML Web Services (Forum) by raxitr on 9/22/2009
  • Re: Calling web service with complex in parameters

    You may consider using Json2.js for passing complex types to your WCF service. Please refer http://encosia.com/2009/04/07/using-complex-types-to-make-calling-services-less-complex/ and http://www.west-wind.com/weblog/posts/324917.aspx articles which uses JQuery's AJAX methods to call web services from client side. Edit: Refer http://west-wind.com/weblog/posts/896411.aspx as well HTH
    Posted to XML Web Services (Forum) by raxitr on 9/21/2009
  • Re: XML structure in WebService C#

    Instead of returning string from the webmethod return complex object with desired properties from the web method as follows: Change public string LiveEduAccount(string DisplayName, string EmailAdress, string haslo, string confirmHaslo) to public ResponseInfo LiveEduAccount(string DisplayName, string EmailAdress, string haslo, string confirmHaslo) ResponseInfo should look like: public class ResponseInfo { public string DisplaName; public string EmailAddress; public string haslo; public string confirmHaslo;
    Posted to XML Web Services (Forum) by raxitr on 9/18/2009
  • Re: consuming webservice when it is using proxy adress l

    Assuming you are adding web reference, following sample code calls HelloWorld web service with proxy http://srv-ws03:9080 ConsoleApplication1.localhost.Service1 s = new ConsoleApplication1.localhost.Service1(); s.Proxy = new System.Net.WebProxy("http://srv-ws03:9080"); Console.WriteLine(s.HelloWorld()); HTH
    Posted to XML Web Services (Forum) by raxitr on 9/18/2009
  • Re: sample soap envalope for xml

    Thats a bit difficult as there are many web methods exposed by WSDL and each method might accept/return different objects. If possible you may ask for the documentation to the web service provider which describes how to implement the web service Or Just add a web reference or create a proxy class out of wsdl provided to you. Instantiate an object of proxy class and call method(s) by passing the objects. Use the Fiddler to see what soap message looks like. HTH
    Posted to XML Web Services (Forum) by raxitr on 9/17/2009
  • Re: sample soap envalope for xml

    Since you have wsdl file better you add web reference or create proxy class( using wsdl.exe) and then instantiate the object set required values which createQuote method accepts and call the method, use fiddler to see what request/response was generated.
    Posted to XML Web Services (Forum) by raxitr on 9/17/2009
  • Re: how can read value from single node ??

    Ticket element does not belong to http://schemas.xmlsoap.org/soap/envelope/ namespace, try adding http://tempuri.org/ in namespace manager and write you XPath over it. See the highlighted code doc= new XmlDocument(); doc.Load(path); XmlNamespaceManager nsmgr = new XmlNamespaceManager(doc.NameTable); nsmgr.AddNamespace( "ab" , "http://schemas.xmlsoap.org/soap/envelope/" ); nsmgr.AddNamespace( "tu" , " http://tempuri.org/ " ); XmlNode temp = doc.SelectSingleNode
    Posted to XML Web Services (Forum) by raxitr on 9/16/2009
  • Re: how to access original request parameters after Response is serialized in SoapExtension?

    First of all make sure the out parameters are present. If you are writing the client side SOAP extension then out parameters are available in AfterDeserialize and if you are writing server side SOAP extension out parameters are available in BeforeSerialize of the SoapMessageStage.
    Posted to XML Web Services (Forum) by raxitr on 9/15/2009
Page 1 of 7 (63 items) 1 2 3 4 5 Next > ... Last »