Search

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

Matching Posts

  • Re: Soap header

    Hi, Please have a look at this article: http://www.c-sharpcorner.com/UploadFile/sovonnath/SOAPHeaderandSOAPExtensionsinaWebService11162005021034AM/SOAPHeaderandSOAPExtensionsinaWebService.aspx Above article develops a web service that would authenticate users for web sites. The web site needs to pass the user ID as well as the password for the user. Apart from this the web site also needs to pass the site’s ID and password. Since the data is very sensitive SOAP extension will be used to encrypt the
    Posted to XML Web Services (Forum) by Young Fang - MSFT on 10/3/2007
  • Re: Write xml from related DataTables

    Hi, Welcome to ASP.NET forum and thanks for your post. Both XmlDocument and XmlTextWriter can be used to create xml document. Take XmlDocument for example , here is sample code: XmlDocument xmlDoc = new XmlDocument(); // Create root element XmlElement rootElement = xmlDoc.CreateElement( "root" ); xmlDoc.AppendChild(rootElement); // Create config element XmlElement configElement = xmlDoc.CreateElement( "config" ); rootElement.AppendChild(configElement); // Append text nodes XmlElement
  • Re: Read xml

    Hi andrecarrilho , Yes. XmlDocument was significantly more expensive in terms of performance and memory consumption. XmlSerializer might be better in performance. You can create a class to hold Book data then serialize the class into xml and the client side can easily deserialize the xml into object to modify the data. Here is an article on Performance - Loading XML Documents: http://dotnetjunkies.com/WebLog/chris.taylor/archive/2004/10/01/27350.aspx Please feel free to let us know if you need more
  • Re: Web Service Stop's Working Need To Update web reference from within Visual Studio

    Hi stevegourley , >>The only way to fix it is to update the web reference from vs2005, but the location of the file hasn't changed? Update the web reference can fix the problem means the WSDL already changed but the programming interface is exactly the same. It could be the problem of your service provider. To solve this problem you can start a process to regenerate proxy class when you get the error message from remote server. Below thread has a detailed explanation of the issue: http
    Posted to XML Web Services (Forum) by Young Fang - MSFT on 10/3/2007
  • Re: create xml file using XSD from given xml with diff xsd

    Hi Hemil, Here is a straightforward way: 1. Generate proxy class from both source XSD and target XSD from existing Schemas. 2. Load original xml into proxy class for source XSD. 3. Manually fill the target proxy class with data from source proxy class. 4. Serialize target proxy class into XML data. If the xml data is very huge this approach might be inefficient. You can also create an XSLT file to transform xml data. This apporach requires you to manually control the format of target XML data and
  • Re: pass xml as string

    >>but instead of filepathname i want to pass xml after it is created as a string without storing it in an .xml file anywhere. As I understand you want to output the xml data into String instead of a file. If so you can use XMLTextWriter to write to a MemoryStream: MemoryStream msXml = new MemoryStream(); XmlTextWriter writer = new XmlTextWriter(msXml, System.Text.Encoding.UTF8); And don't miss ms.Position=0; after closing writer. If you need more assistance please feel free to let us know
  • Re: What happens when data is sent as text/xml

    Hi, Forms submitted with this content type must be encoded as follows: Control names and values are escaped. Space characters are replaced by `+', and then reserved characters are escaped as described in [RFC1738], section 2.2: Non-alphanumeric characters are replaced by `%HH', a percent sign and two hexadecimal digits representing the ASCII code of the character. Line breaks are represented as "CR LF" pairs (i.e., `%0D%0A'). The control names/values are listed in the order
  • Re: CXML vs .NET Web Services

    Hi, cXML is intended for communication of business documents. Based on my experience there is no built-in support for cXML in .NET Web Service. You can treat cXML data as standard XML with formal XML schemas and write a help class to deal with it.
    Posted to XML Web Services (Forum) by Young Fang - MSFT on 10/2/2007
  • Re: XSD with .NET web services

    Hi, XML Schema Definition Tool (Xsd.exe) can generate an XML schema from an XML file: http://msdn2.microsoft.com/en-us/library/x6c1kb0s(VS.71).aspx The following command generates an XML schema from myFile.xml and saves it to the specified directory. xsd myFile.xml /outputdir:myOutputDir If you need more assistance please feel free to let us know.Thanks.
    Posted to XML Web Services (Forum) by Young Fang - MSFT on 10/2/2007
  • Re: Encapsulating a Web Service in a .DLL

    Hi aaron.croft , >>but I wish the application itself didn't need to have the physical .asmx file sitting there. As I understand you don't want to expose .asmx file on product machine. When using Visual Studio .NET to create XML Web services in managed code, you use a standard deployment model: you compile your project and then you deploy the resulting files to a production server. The project .dll file contains the XML Web services code-behind class file (.asmx.vb or .asmx.cs) along
    Posted to XML Web Services (Forum) by Young Fang - MSFT on 10/2/2007
Page 1 of 161 (1606 items) 1 2 3 4 5 Next > ... Last »