I had exactly the same problem. To fix it add elementFormDefault="qualified" to the schema element in your wsdl, and then rerun wsdl2java.
On Friday 07 May 2004 6:38 am, Satrusalya, Prassana wrote: > In my response axis sends back the response the following way. Notice the ' > xmlns="" ' . .NET does not like it. My WSDL is generated on the fly and I > am using > Simple types. Any idea how to avoid this. > > <?xml version="1.0" encoding="UTF-8" ?> > - <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > - <soapenv:Body> > - <getWSResponse xmlns=""> > <getWSReturn>kk</getWSReturn> > </getWSResponse> > </soapenv:Body> > </soapenv:Envelope> > > Thanks, > Kumar > > > > > --------------------------------------------------------------------------- >--- Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New > Jersey, USA 08889), and/or its affiliates (which may be known outside the > United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan as > Banyu) that may be confidential, proprietary copyrighted and/or legally > privileged. It is intended solely for the use of the individual or entity > named on this message. If you are not the intended recipient, and have > received this message in error, please notify us immediately by reply > e-mail and then delete it from your system. > --------------------------------------------------------------------------- >---