----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: PrasantaBiswal Message 1 in Discussion Hi I am encountering an issue like I am declaring my own targetnamespace in the wsdl file as well as schema file. From the VS command prompt I have generated my class file for server implementation. When I compiled and run the code in the browser it say "This web service is using http://tempuri.org/ as its default namespace." But I have already created my target namespace as well as all the necessary types in the wsdl. Can any one tell me how to resolve the issue, how it will take my own namespace. For examples in my wsdl I am putting <wsdl:definitions targetNamespace="http://xxxx/definitions" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:tns="http://xxxx/definitions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:bc="http://xxxx/types"></wsdl:definition> But when I checked it in the browser for service description ( http://xxxx/test.asmx?wsdl ) . It got changed as follows <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://xxxx/types" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> Any help can be highly appreciated. <DIR> Thanks & With Regards Prasanta Kumar Biswal</DIR> ----------------------------------------------------------- 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]
