----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Apurv Message 1 in Discussion I have created a web services. Inside the web services I am passing my parameter as a xmlnode. So when I am running my web services and created the wsdl it generate a <any /> wild information on the fly . I have created a xsd for validating the xml inside my web services. What I want is how can I import my xsd information inside the wsdl. My question is that 1. If I will replace < any /> with <import namespace="" schemalocation=""> will it be fine My current wsdl looks like <types> <s:schema elementFormDefault="qualified" targetNamespace="http://xxx.fmr.com/bc/"> <s:element name="CreateNewProject"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="RemoteSystemRequest"> <s:complexType mixed="true"> <s:sequence> <s:any /> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> </s:complexType> </s:schema> </types> I want to replace With following one <types> <s:schema elementFormDefault="qualified" targetNamespace="http://xxx.fmr.com/bc/"> <s:element name="CreateNewProject"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="RemoteSystemRequest"> <s:complexType mixed="true"> <s:sequence> <s:import namespace="http://xxx.fmr.com/bc/" schemaLocation="test.xsd"/> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> </s:complexType> </s:schema> </types> Can I replace this way ? If I can then is there any way I can generate dynamically from inside my web service code? Any help can be highly appriciated ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDOTNET/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
