Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:699386
More Search Options
RSS Available
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
Posted to
XML and XmlDataSource Control
(Forum)
by
Young Fang - MSFT
on 10/3/2007
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
Posted to
XML and XmlDataSource Control
(Forum)
by
Young Fang - MSFT
on 10/3/2007
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
Posted to
XML and XmlDataSource Control
(Forum)
by
Young Fang - MSFT
on 10/2/2007
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
Posted to
XML and XmlDataSource Control
(Forum)
by
Young Fang - MSFT
on 10/2/2007
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
Posted to
XML and XmlDataSource Control
(Forum)
by
Young Fang - MSFT
on 10/2/2007
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 »
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
ASP.NET:
Hanselminutes Podcast 186: .NET Debugging 101 with Tess Ferrandez
TechNet Edge:
WinRE and free stuff with Sean Kearney
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online