----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: KeangLoan Message 1 in Discussion Can you please help me to do the following?? When i sent the request as Below it will sent a respond where webmethod is num*2 .. both client and server are in C# and with Header sent and response?? Thanks.. =) i know it is simple but i failed.. =(.. ignore the namespace if too troublesome to type.. ha. actually i just need to send soap part at client side ans the header response ni server side.. both C#... can somebody give me the code?? i keep failed on this.. And Lastly, how can we get the 10 from the response and stored it as a variable in client side?? Thanks A Lot. =) Request: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> A </soap:Header> <soap:Body> <Times xmlns="http://tempuri.org/"> <num>5</num> </Times> </soap:Body> </soap:Envelope> Response: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header>A</soap:Header><soap:Body> <TimesResponse xmlns="http://tempuri.org/"> <TimesResult>10</TimesResult></TimesResponse> </soap:Body></soap:Envelope> ----------------------------------------------------------- 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]
