Tim, Is your question how to change the namespace or the namespace qualifier?
You can change the namespace qualifier as long as you change it both in the place where it's defined and in all places its being used. The namespace qualifier is defined in the xmlns:xxx="uri" attribute. It's used in every element or attribute that begins with xxx:. So you could change this element to read: > <myns:VerifyCreditCard xmlns:myns="http://tempuri.org/" > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> If you want to change the namespace, simply change the uri to point to your namespace. A namespace uri can be a relative or absolute reference, but if it's a relative reference, you'll probably need to import the namespace so that the WSDL processor can look up the definition of your VerifyCreditCard element. Regards, Anne -----Original Message----- > From: Tim Wei [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 2:22 PM > To: [EMAIL PROTECTED] > Subject: default Namespace URI - ns1 > > > Hi, > > How can I change the "ns1" in the following to some thing I > define using Apache Soap? > > <ns1:VerifyCreditCard xmlns:ns1="http://tempuri.org/" > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > > I want to change both "ns1". > > Thank you very much. > > > Tim > > > ===== > Tim's home page: > http://www.geocities.com/timwei > > __________________________________________________ > Do You Yahoo!? > Send FREE video emails in Yahoo! Mail! > http://promo.yahoo.com/videomail/
