[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Why does a nillable="true" appear in the WSDL?
- From: "Pete Cordell" <petexmldev@codalogic.com>
- To: "Ben Stover" <bxstover@yahoo.co.uk>,"xml-dev" <xml-dev@lists.xml.org>
- Date: Thu, 30 Oct 2008 19:56:58 -0000
Original Message From: "Ben Stover"
> After generating and deploying a web service to the JBoss appserver
> the WSDL shows a nillable="true".
>
> Why?
As you've not had much response to this, my guess would be that it's because
Java types can be null, which maps reasonably well to XML schema nilled
types. But I'm afraid it is just a guess!
Hopefully that's at least some help!
Pete Cordell
Codalogic Ltd
Interface XML to C++ the easy way using XML C++
data binding to convert XSD schemas to C++ classes.
Visit http://www.codalogic.com/lmx/ for more info
----- Original Message -----
From: "Ben Stover" <bxstover@yahoo.co.uk>
To: "xml-dev" <xml-dev@lists.xml.org>
Sent: Wednesday, October 29, 2008 7:58 PM
Subject: [xml-dev] Why does a nillable="true" appear in the WSDL?
>
> After generating and deploying a web service to the JBoss appserver
> the WSDL shows a nillable="true".
>
> Why?
>
>
> <xs:element name="aaaRequest" nillable="true" type="tns:aaaRequestType" />
> <xs:element name="aaaResponse" nillable="true" type="tns:aaaResponseType"
> />
> <xs:complexType name="aaaRequestType">
> <xs:sequence>
> <xs:element name="name" type="xs:string" />
> </xs:sequence>
> </xs:complexType>
> <xs:complexType name="aaaResponseType">
> <xs:sequence>
> <xs:element name="return" type="xs:string" />
> </xs:sequence>
> </xs:complexType>
> </xs:schema>
> </types>
> <message name="TestWs_aaaResponse">
> <part element="tns:aaaResponse" name="aaaResponse" />
> </message>
> <message name="TestWs_aaa">
> <part element="tns:aaaRequest" name="aaaRequest" />
> </message>
>
> Ben
>
>
>
>
>
>
>
> _______________________________________________________________________
>
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
>
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
> subscribe: xml-dev-subscribe@lists.xml.org
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]