To clarify, is it correct to say that blanks are not allowed in the neither of the following in the WSDL:
1. name attribute of the Service element 2. name attribute of the port element specified in the Service element. It seems that on WSDL2Java, axis generates the name of wsdd service from the name of port specified in the wsdl. So, if space is allowed in the port name, we have the same problem. Thanks, Shantanu --- Jeff Greif <[EMAIL PROTECTED]> wrote: > I think so, and if you just run the WSDL file > through xerces with validation > turned on, it will tell you definitively. > Jeff > ----- Original Message ----- > From: "Anne Thomas Manes" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, August 14, 2003 6:33 PM > Subject: Re: question regarding axis in tomcat > > > > In any case, blanks are not permitted in a service > name... > > Right? > > > > At 10:24 AM 8/14/2003 -0700, you wrote: > > >Actually, there seems to a spec-to-spec > inconsistency. In XML Namespaces > > >1.0, the start characters for NcName are limited > to '_' and Letter, so > '.' > > >is not allowed. In XML Namespaces 1.1 (with > Candidate Recommendation > > >status), they apparently are going to say that > the start character for an > > >NcName is any NameStartCharacter except ':', so > Anne's chapter and verse > > >below, allowing '.', will apply. > > > > > >But nobody is confused, right? > > > > > >Jeff > > >----- Original Message ----- > > >From: "Anne Thomas Manes" <[EMAIL PROTECTED]> > > >To: <[EMAIL PROTECTED]> > > >Sent: Thursday, August 14, 2003 6:45 AM > > >Subject: RE: question regarding axis in tomcat > > > > > > > > > > A service name is an NCname -- so the question > is, are blanks allowed > in > > > > an NCname. From the XML spec, here are the > requirements for an NCname > > > > (anyone here know how to interpret Unicode?): > > > > > > > > > > > > The character classes defined here can be > derived from the Unicode 2.0 > > > > character database as follows: > > > > > > > > * Name start characters must have one of > the categories Ll, Lu, > Lo, > > >Lt, Nl. > > > > * Name characters other than Name-start > characters must have one > of > > >the > > > > categories Mc, Me, Mn, Lm, or Nd. > > > > * Characters in the compatibility area > (i.e. with character code > > > > greater than #xF900 and less than #xFFFE) are > not allowed in XML > names. > > > > * Characters which have a font or > compatibility decomposition > (i.e. > > > > those with a "compatibility formatting tag" in > field 5 of the > database -- > > > > marked by field 5 beginning with a "<") are > not allowed. > > > > * The following characters are treated as > name-start characters > rather > > > > than name characters, because the property > file classifies them as > > > > Alphabetic: [#x02BB-#x02C1], #x0559, #x06E5, > #x06E6. > > > > * Characters #x20DD-#x20E0 are excluded > (in accordance with > Unicode > > > > 2.0, section 5.14). > > > > * Character #x00B7 is classified as an > extender, because the > property > > > > list so identifies it. > > > > * Character #x0387 is added as a name > character, because #x00B7 is > its > > > > canonical equivalent. > > > > * Characters ':' and '_' are allowed as > name-start characters. > > > > * Characters '-' and '.' are allowed as > name characters. > > > > > > > > > > > > At 10:26 AM 8/14/2003 +0100, you wrote: > > > > >Guys, > > > > > > > > > >Is this not an argument about web service > namimg conventions? I have > > >never > > > > >seen a web service name with spaces (although > I am fairly new to this > > >game) > > > > >so could someone on the list advise whether > spaces in service names > are > > > > >advisable at all? > > > > > > > > > >Jim > > > > > > > > > > > -----Original Message----- > > > > > > From: Shantanu Sen > [mailto:[EMAIL PROTECTED] > > > > > > Sent: 14 August 2003 00:23 > > > > > > To: [EMAIL PROTECTED] > > > > > > Subject: Re: question regarding axis in > tomcat > > > > > > > > > > > > > > > > > > Chris, > > > > > > > > > > > > I agree that this will be easier. But > customers may > > > > > > want spaces in their service names for > whatever > > > > > > reason. > > > > > > > > > > > > Also, this brings out a problem with the > > > > > > MessageContext properties initialization > in > > > > > > AxisServlet. It forces me to override the > get/post > > > > > > methods where I could just override the > > > > > > createMessageContext method if it was > protected. > > > > > > > > > > > > Probably I should post this axis-dev. > > > > > > > > > > > > Shantanu > > > > > > > > > > > > --- chaddad <[EMAIL PROTECTED]> wrote: > > > > > > > Shantanu - > > > > > > > > > > > > > > If you have control over the service, it > would be > > > > > > > easier to just remove the space from the > service > > > > > > > name. > > > > > > > > > > > > > > > > > > > > > /Chris > > > > > > > > > > > > > > > > > > > > > ---------- Original Message > > > > > > > ---------------------------------- > > > > > > > From: Shantanu Sen <[EMAIL PROTECTED]> > > > > > > > Reply-To: [EMAIL PROTECTED] > > > > > > > Date: Wed, 13 Aug 2003 14:05:55 -0700 > (PDT) > > > > > > > > > > > > > > >Now if the service name has spaces e.g. > "My > > > > > > > Service", > > > > > > > >I see a problem > > > > > > > > > > > > > > > > > > > > > > > > >