You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ilkka Heinonen <il...@vtt.fi> on 2005/01/10 10:17:44 UTC
Is lower case first letters oblicatory always in wsdl?
Hello All,
Thank You, Anne, from your reply for last question.
http://www.newsarch.com/archive/mailinglist/axis/user/msg08622.html
Using WSDL2Java, seems that elements, attributes and e.g. complexType has to
have lower case first character. If I run WSDL2Java with capital first
letters in names, I will get an error. When I manually change all names to
start with lower case, I will get working SOAP service(?). Is this true?
e.g.
Originally names were Companies, CompanyData, SearchString, .
.
<s:complexType name="companies">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" form="unqualified"
name="companyData" type="s1:companiesCompanyData"/>
</s:sequence>
<s:attribute name="searchString" type="s:string"/>
<s:attribute name="catalogueID" type="s:string"/>
<s:attribute name="catalogueURI" type="s:anyURI"/>
</s:complexType>
.
I get from another organization Microsoft SOAP Toolkit compatible WSDL that
has every element, attributes and complexTypes names that starts with upper
case character. What I can do?
- we have to change all names to start with lower case name?
- is there a way to put WSDL2Java work with uppercase first letter in names?
Best regards
-Ilkka-
ilkka.heinonen@vtt.fi
+358 20 722 4995
Re: Is lower case first letters oblicatory always in wsdl?
Posted by Anne Thomas Manes <at...@gmail.com>.
It shouldn't matter.
What errors are you getting?
On Mon, 10 Jan 2005 11:17:44 +0200, Ilkka Heinonen
<il...@vtt.fi> wrote:
> Hello All,
>
> Thank You, Anne, from your reply for last question.
> http://www.newsarch.com/archive/mailinglist/axis/user/msg08622.html
>
> Using WSDL2Java, seems that elements, attributes and e.g. complexType has to
> have lower case first character. If I run WSDL2Java with capital first
> letters in names, I will get an error. When I manually change all names to
> start with lower case, I will get working SOAP service(?). Is this true?
>
> e.g.
>
> Originally names were Companies, CompanyData, SearchString, .
>
> .
> <s:complexType name="companies">
> <s:sequence>
> <s:element minOccurs="0" maxOccurs="unbounded" form="unqualified"
> name="companyData" type="s1:companiesCompanyData"/>
> </s:sequence>
> <s:attribute name="searchString" type="s:string"/>
> <s:attribute name="catalogueID" type="s:string"/>
> <s:attribute name="catalogueURI" type="s:anyURI"/>
> </s:complexType>
> .
>
> I get from another organization Microsoft SOAP Toolkit compatible WSDL that
> has every element, attributes and complexTypes names that starts with upper
> case character. What I can do?
>
> - we have to change all names to start with lower case name?
> - is there a way to put WSDL2Java work with uppercase first letter in names?
>
> Best regards
> -Ilkka-
>
> ilkka.heinonen@vtt.fi
> +358 20 722 4995
>
>
>