Click here to Skip to main content
16,016,770 members
Home / Discussions / C#
   

C#

 
AnswerRe: dropdownlist data fetch [modified] Pin
nelsonpaixao24-Jul-08 13:39
nelsonpaixao24-Jul-08 13:39 
QuestionProblem booking timeslots within a range of dates Pin
Twyce23-Jul-08 7:18
Twyce23-Jul-08 7:18 
AnswerRe: Problem booking timeslots within a range of dates Pin
Luc Pattyn23-Jul-08 8:01
sitebuilderLuc Pattyn23-Jul-08 8:01 
QuestionWizard Control Suggestions Pin
jchalfant23-Jul-08 7:13
jchalfant23-Jul-08 7:13 
AnswerRe: Wizard Control Suggestions Pin
Pete O'Hanlon23-Jul-08 9:45
mvePete O'Hanlon23-Jul-08 9:45 
GeneralRe: Wizard Control Suggestions Pin
jchalfant23-Jul-08 11:15
jchalfant23-Jul-08 11:15 
GeneralRe: Wizard Control Suggestions Pin
Pete O'Hanlon24-Jul-08 10:07
mvePete O'Hanlon24-Jul-08 10:07 
QuestionXmlSchemaProvider XSD import problem Pin
Guinness4Strength23-Jul-08 5:52
Guinness4Strength23-Jul-08 5:52 
I'm implementing the XmlSchemaProvider attribute and am having some issues defining my XSD. I've created a XSD file which will be an embedded resource in an assembly. I'm attempting to import the MS WSDL types schema so that I can provide a defintion for char datatype, but every way I try and add the namespace and import the schema I get resolution errors. I'm VERY new to XSDs and have some working knowledge of XML so I'm not 100% positive I can do what I want to here, but this is the basic pattern I have seen in many WSDLs for adding support for char datatypes.

I posted this question in the XML message board as well, but was hoping some C#ers out there have come across this same issue while implementing the XmlSchemaProvider attribute.

Any answers or shoves in the right direction would be appreciated.

Below is a sample format for my XSD:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://tempuri.org/XMLSchema.xsd"
    elementFormDefault="qualified"
    xmlns="http://tempuri.org/XMLSchema.xsd"
    xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:xs0="http://microsoft.com/wsdl/types/"
>
	<xs:import namespace="http://microsoft.com/wsdl/types/"/> <!--cannot resolve "http://microsoft.com/wsdl/types/" error here-->
	<xs:complexType name="MyComplexType">
		<xs:sequence>
			<xs:element name="Value" nillable="true">
				<xs:complexType>
					<xs:choice>
						<xs:element name="boolean" type="xs:boolean" />
						<xs:element name="byte" type="xs:byte" />
						<xs:element name="unsignedByte" type="xs:unsignedByte" />
						<xs:element name="short" type="xs:short" />
						<xs:element name="unsignedShort" type="xs:unsignedShort" />
						<xs:element name="int" type="xs:int" />
						<xs:element name="unsignedInt" type="xs:unsignedInt" />
						<xs:element name="long" type="xs:long" />
						<xs:element name="unsignedLong" type="xs:unsignedLong" />
						<xs:element name="float" type="xs:float" />
						<xs:element name="double" type="xs:double" />
						<xs:element name="decimal" type="xs:decimal" />
						<xs:element name="dateTime" type="xs:dateTime" />
						<xs:element name="string" type="xs:string" />
						<xs:element name="char" type="xs0:char" /> <!--Type http:=//microsoft.com/wasdl/types/:char is not declared error here -->
					</xs:choice>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>

QuestionWindows Service - Access is denied. Pin
dataminers23-Jul-08 5:23
dataminers23-Jul-08 5:23 
AnswerRe: Windows Service - Access is denied. Pin
mark_w_23-Jul-08 5:46
mark_w_23-Jul-08 5:46 
GeneralRe: Windows Service - Access is denied. Pin
dataminers23-Jul-08 8:22
dataminers23-Jul-08 8:22 
AnswerRe: Windows Service - Access is denied. Pin
Frank Horn23-Jul-08 6:52
Frank Horn23-Jul-08 6:52 
AnswerRe: Windows Service - Access is denied. Pin
dataminers24-Jul-08 7:22
dataminers24-Jul-08 7:22 
Questionuse the loudspeakers with C# Pin
amityo23-Jul-08 5:08
amityo23-Jul-08 5:08 
AnswerRe: use the loudspeakers with C# Pin
mark_w_23-Jul-08 5:24
mark_w_23-Jul-08 5:24 
GeneralRe: use the loudspeakers with C# Pin
amityo23-Jul-08 5:28
amityo23-Jul-08 5:28 
GeneralRe: use the loudspeakers with C# Pin
mark_w_23-Jul-08 5:32
mark_w_23-Jul-08 5:32 
GeneralRe: use the loudspeakers with C# Pin
Luc Pattyn23-Jul-08 7:01
sitebuilderLuc Pattyn23-Jul-08 7:01 
GeneralRe: use the loudspeakers with C# Pin
amityo23-Jul-08 13:23
amityo23-Jul-08 13:23 
GeneralRe: use the loudspeakers with C# Pin
Luc Pattyn23-Jul-08 13:44
sitebuilderLuc Pattyn23-Jul-08 13:44 
GeneralRe: use the loudspeakers with C# Pin
amityo23-Jul-08 13:29
amityo23-Jul-08 13:29 
AnswerRe: use the loudspeakers with C#-one more question Pin
amityo23-Jul-08 13:41
amityo23-Jul-08 13:41 
QuestionDLLImport problem Pin
teejayem23-Jul-08 4:35
teejayem23-Jul-08 4:35 
AnswerRe: DLLImport problem Pin
Luc Pattyn23-Jul-08 4:43
sitebuilderLuc Pattyn23-Jul-08 4:43 
GeneralRe: DLLImport problem Pin
teejayem23-Jul-08 5:01
teejayem23-Jul-08 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.