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 Bram Biesbrouck <b...@beligum.org> on 2006/01/04 20:54:38 UTC

wsdl java error

Hi,

Could someone point me the error in my WSDL file that causes WSDL2java to 
throw a NullPointerException? I'm looking for that error for over a day 
now...

thanks in advance.

Bram

<?xml version="1.0" encoding="UTF-8"?>

<definitions name="ScreenkastMetaOptionQueryService"
	     
targetNamespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
	     xmlns="http://schemas.xmlsoap.org/wsdl/"
	     xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
	     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	     xmlns:tns="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
	     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	     xmlns:myxsd="http://ws.test.com/screenkast/xsd"
	     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	
	<!-- TYPE DEFINITIONS -->
	
	<types>
		<schema targetNamespace="http://ws.test.com/screenkast/xsd"
		        xmlns="http://www.w3.org/2001/XMLSchema"
			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
			elementFormDefault="qualified">
			
			<complexType name="PlatformSelection">
				<all>
					<element name="id" type="xsd:int"/>
					<element name="title"  type="xsd:string"/>
				</all>
			</complexType>
			
			<complexType name="PlatformArray">
				<sequence>
					<element name="platform" minOccurs="1" maxOccurs="unbounded" 
type="myxsd:PlatformSelection"/>
				</sequence>
			</complexType>
			
			<complexType name="OsSelection">
				<all>
					<element name="id" type="xsd:int"/>
					<element name="title"  type="xsd:string"/>
				</all>
			</complexType>
			
			<complexType name="OsArray">
				<sequence>
					<element name="os" minOccurs="1" maxOccurs="unbounded" 
type="myxsd:OsSelection"/>
				</sequence>
			</complexType>
			
			<complexType name="OsVersionSelection">
				<all>
					<element name="id" type="xsd:int"/>
					<element name="title"  type="xsd:string"/>
				</all>
			</complexType>
			
			<complexType name="OsVersionArray">
				<sequence>
					<element name="osVersion" minOccurs="1" maxOccurs="unbounded" 
type="myxsd:OsVersionSelection"/>
				</sequence>
			</complexType>
			
		</schema>
	</types>
	
	<!-- MESSAGE DEFINITIONS -->
	
	<message name="getAvailablePlatformsRequest"/>
	<message name="getAvailablePlatformsResponse">
		<part name="return" element="myxsd:PlatformArray"/>
	</message>
	
	<message name="getAvailableOSsRequest">
		<part name="platform" element="myxsd:PlatformSelection"/>
	</message>
	<message name="getAvailableOSsResponse">
		<part name="return" element="myxsd:OsArray"/>
	</message>
	
	<message name="getAvailableOsVersionsRequest">
		<part name="platform" element="myxsd:PlatformSelection"/>
		<part name="os" element="myxsd:OsSelection"/>
	</message>
	<message name="getAvailableOsVersionsResponse">
		<part name="return" element="myxsd:OsVersionArray"/>
	</message>
	
	<!-- PORT DEFINITIONS -->
	
	<portType name="ScreenkastMetaOptionQueryPortType">
		<operation name="getAvailablePlatforms">
			<input message="tns:getAvailablePlatformsRequest"/>
			<output message="tns:getAvailablePlatformsResponse"/>
		</operation>
		
		<operation name="getAvailableOSs">
			<input message="tns:getAvailableOSsRequest"/>
			<output message="tns:getAvailableOSsResponse"/>
		</operation>
	
		<operation name="getAvailableOsVersions">
			<input message="tns:getAvailableOsVersionsRequest"/>
			<output message="tns:getAvailableOsVersionsResponse"/>
		</operation>
	</portType>
	
	<!-- BINDING DEFINITIONS -->
	
	<binding name="ScreenkastMetaOptionQueryBinding" 
type="tns:ScreenkastMetaOptionQueryPortType">
		<soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
		
		<operation name="getAvailablePlatforms">
			<soap:operation style="document" soapAction="getAvailablePlatforms"/>
			<input>
				<soap:body use="literal" 
namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
			</input>
			<output>
				<soap:body use="literal" 
namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
			</output>
		</operation>
		
		<operation name="getAvailableOSs">
			<soap:operation style="document" soapAction="getAvailableOSs"/>
			<input>
				<soap:body use="literal" 
namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
			</input>
			<output>
				<soap:body use="literal" 
namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
			</output>
		</operation>
		
		<operation name="getAvailableOsVersions">
			<soap:operation style="document" soapAction="getAvailableOsVersions"/>
			<input>
				<soap:body use="literal" 
namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
			</input>
			<output>
				<soap:body use="literal" 
namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
			</output>
		</operation>
	</binding>
	
	<!-- SERVICE DEFINITIONS -->
	
	<service name="ScreenkastMetaOptionQueryService">
		<documentation>ScreenKast web service</documentation>
		<port name="ScreenkastMetaOptionQueryPort" 
binding="tns:ScreenkastMetaOptionQueryBinding">
			<soap:address 
location="http://localhost/axis2/screenkast/wsdl/ScreenkastMetaOptionQuery.wsdl"/>
		</port>
	</service>
	
</definitions>

Re: wsdl java error

Posted by Bram Biesbrouck <b...@beligum.org>.
Thanks for the quick reply, Anne.

I followed your fix (didn't know that about document/literal, I just switched 
over recently from encoded/rpc), so I added the following to my schema:

<element name="PlatformSelection" type="myxsd:PlatformSelectionType"/>
<element name="PlatformArray" type="myxsd:PlatformArrayType"/>
			
<element name="OsSelection" type="myxsd:OsSelectionType"/>
<element name="OsArray" type="myxsd:OsArrayType"/>
			
<element name="OsVersionSelection" type="myxsd:OsVersionSelectionType"/>
<element name="OsVersionArray" type="myxsd:OsVersionArrayType"/>

And adjusted the preceding type names accordingly.
I still get the same NullPointerException though...

Bram

Op woensdag 4 januari 2006 21:54, schreef Anne Thomas Manes:
> Bram,
>
> Your message parts reference elements (which is appropriate for
> document/literal), but you have not defined elements in your schema (only
> types). You need to define those elements, e.g.:
>
> <element name="PlatformArray" type="myxsd:PlatformArray"/>
>
> Anne
>
> (surprisingly, the Cape Clear SOA Editor did not pick up this error)
>
> On 1/4/06, Bram Biesbrouck <b...@beligum.org> wrote:
> > Hi,
> >
> > Could someone point me the error in my WSDL file that causes WSDL2java to
> > throw a NullPointerException? I'm looking for that error for over a day
> > now...
> >
> > thanks in advance.
> >
> > Bram
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <definitions name="ScreenkastMetaOptionQueryService"
> >
> > targetNamespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
> >              xmlns="http://schemas.xmlsoap.org/wsdl/"
> >              xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> >              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> >              xmlns:tns="
> > http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
> >              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> >              xmlns:myxsd="http://ws.test.com/screenkast/xsd"
> >              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> >
> >         <!-- TYPE DEFINITIONS -->
> >
> >         <types>
> >                 <schema
> > targetNamespace="http://ws.test.com/screenkast/xsd "
> >                         xmlns="http://www.w3.org/2001/XMLSchema"
> >                         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> >                         elementFormDefault="qualified">
> >
> >                         <complexType name="PlatformSelection">
> >                                 <all>
> >                                         <element name="id"
> > type="xsd:int"/>
> >                                         <element
> > name="title"  type="xsd:string"/>
> >                                 </all>
> >                         </complexType>
> >
> >                         <complexType name="PlatformArray">
> >                                 <sequence>
> >                                         <element name="platform"
> > minOccurs="1" maxOccurs="unbounded"
> > type="myxsd:PlatformSelection"/>
> >                                 </sequence>
> >                         </complexType>
> >
> >                         <complexType name="OsSelection">
> >                                 <all>
> >                                         <element name="id"
> > type="xsd:int"/>
> >                                         <element
> > name="title"  type="xsd:string"/>
> >                                 </all>
> >                         </complexType>
> >
> >                         <complexType name="OsArray">
> >                                 <sequence>
> >                                         <element name="os" minOccurs="1"
> > maxOccurs="unbounded"
> > type="myxsd:OsSelection"/>
> >                                 </sequence>
> >                         </complexType>
> >
> >                         <complexType name="OsVersionSelection">
> >                                 <all>
> >                                         <element name="id"
> > type="xsd:int"/>
> >                                         <element
> > name="title"  type="xsd:string"/>
> >                                 </all>
> >                         </complexType>
> >
> >                         <complexType name="OsVersionArray">
> >                                 <sequence>
> >                                         <element name="osVersion"
> > minOccurs="1" maxOccurs="unbounded"
> > type="myxsd:OsVersionSelection"/>
> >                                 </sequence>
> >                         </complexType>
> >
> >                 </schema>
> >         </types>
> >
> >         <!-- MESSAGE DEFINITIONS -->
> >
> >         <message name="getAvailablePlatformsRequest"/>
> >         <message name="getAvailablePlatformsResponse">
> >                 <part name="return" element="myxsd:PlatformArray"/>
> >         </message>
> >
> >         <message name="getAvailableOSsRequest">
> >                 <part name="platform" element="myxsd:PlatformSelection"/>
> >         </message>
> >         <message name="getAvailableOSsResponse">
> >                 <part name="return" element="myxsd:OsArray"/>
> >         </message>
> >
> >         <message name="getAvailableOsVersionsRequest">
> >                 <part name="platform" element="myxsd:PlatformSelection"/>
> >                 <part name="os" element="myxsd:OsSelection"/>
> >         </message>
> >         <message name="getAvailableOsVersionsResponse">
> >                 <part name="return" element="myxsd:OsVersionArray"/>
> >         </message>
> >
> >         <!-- PORT DEFINITIONS -->
> >
> >         <portType name="ScreenkastMetaOptionQueryPortType">
> >                 <operation name="getAvailablePlatforms">
> >                         <input
> > message="tns:getAvailablePlatformsRequest"/>
> >                         <output
> > message="tns:getAvailablePlatformsResponse"/>
> >                 </operation>
> >
> >                 <operation name="getAvailableOSs">
> >                         <input message="tns:getAvailableOSsRequest"/>
> >                         <output message="tns:getAvailableOSsResponse"/>
> >                 </operation>
> >
> >                 <operation name="getAvailableOsVersions">
> >                         <input
> > message="tns:getAvailableOsVersionsRequest"/>
> >                         <output
> > message="tns:getAvailableOsVersionsResponse"/>
> >                 </operation>
> >         </portType>
> >
> >         <!-- BINDING DEFINITIONS -->
> >
> >         <binding name="ScreenkastMetaOptionQueryBinding"
> > type="tns:ScreenkastMetaOptionQueryPortType">
> >                 <soap:binding style="document"
> > transport="http://schemas.xmlsoap.org/soap/http"/>
> >
> >                 <operation name="getAvailablePlatforms">
> >                         <soap:operation style="document"
> > soapAction="getAvailablePlatforms"/>
> >                         <input>
> >                                 <soap:body use="literal"
> > namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> >                         </input>
> >                         <output>
> >                                 <soap:body use="literal"
> > namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> >                         </output>
> >                 </operation>
> >
> >                 <operation name="getAvailableOSs">
> >                         <soap:operation style="document"
> > soapAction="getAvailableOSs"/>
> >                         <input>
> >                                 <soap:body use="literal"
> > namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> >                         </input>
> >                         <output>
> >                                 <soap:body use="literal"
> > namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> >                         </output>
> >                 </operation>
> >
> >                 <operation name="getAvailableOsVersions">
> >                         <soap:operation style="document"
> > soapAction="getAvailableOsVersions"/>
> >                         <input>
> >                                 <soap:body use="literal"
> > namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> >                         </input>
> >                         <output>
> >                                 <soap:body use="literal"
> > namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> >                         </output>
> >                 </operation>
> >         </binding>
> >
> >         <!-- SERVICE DEFINITIONS -->
> >
> >         <service name="ScreenkastMetaOptionQueryService">
> >                 <documentation>ScreenKast web service</documentation>
> >                 <port name="ScreenkastMetaOptionQueryPort"
> > binding="tns:ScreenkastMetaOptionQueryBinding">
> >                         <soap:address
> > location="
> > http://localhost/axis2/screenkast/wsdl/ScreenkastMetaOptionQuery.wsdl"/>
> >                 </port>
> >         </service>
> >
> > </definitions>

Re: wsdl java error

Posted by Anne Thomas Manes <at...@gmail.com>.
Bram,

Your message parts reference elements (which is appropriate for
document/literal), but you have not defined elements in your schema (only
types). You need to define those elements, e.g.:

<element name="PlatformArray" type="myxsd:PlatformArray"/>

Anne

(surprisingly, the Cape Clear SOA Editor did not pick up this error)

On 1/4/06, Bram Biesbrouck <b...@beligum.org> wrote:
>
> Hi,
>
> Could someone point me the error in my WSDL file that causes WSDL2java to
> throw a NullPointerException? I'm looking for that error for over a day
> now...
>
> thanks in advance.
>
> Bram
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <definitions name="ScreenkastMetaOptionQueryService"
>
> targetNamespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
>              xmlns="http://schemas.xmlsoap.org/wsdl/"
>              xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
>              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>              xmlns:tns="
> http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
>              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>              xmlns:myxsd="http://ws.test.com/screenkast/xsd"
>              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
>         <!-- TYPE DEFINITIONS -->
>
>         <types>
>                 <schema targetNamespace="http://ws.test.com/screenkast/xsd
> "
>                         xmlns="http://www.w3.org/2001/XMLSchema"
>                         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>                         elementFormDefault="qualified">
>
>                         <complexType name="PlatformSelection">
>                                 <all>
>                                         <element name="id"
> type="xsd:int"/>
>                                         <element
> name="title"  type="xsd:string"/>
>                                 </all>
>                         </complexType>
>
>                         <complexType name="PlatformArray">
>                                 <sequence>
>                                         <element name="platform"
> minOccurs="1" maxOccurs="unbounded"
> type="myxsd:PlatformSelection"/>
>                                 </sequence>
>                         </complexType>
>
>                         <complexType name="OsSelection">
>                                 <all>
>                                         <element name="id"
> type="xsd:int"/>
>                                         <element
> name="title"  type="xsd:string"/>
>                                 </all>
>                         </complexType>
>
>                         <complexType name="OsArray">
>                                 <sequence>
>                                         <element name="os" minOccurs="1"
> maxOccurs="unbounded"
> type="myxsd:OsSelection"/>
>                                 </sequence>
>                         </complexType>
>
>                         <complexType name="OsVersionSelection">
>                                 <all>
>                                         <element name="id"
> type="xsd:int"/>
>                                         <element
> name="title"  type="xsd:string"/>
>                                 </all>
>                         </complexType>
>
>                         <complexType name="OsVersionArray">
>                                 <sequence>
>                                         <element name="osVersion"
> minOccurs="1" maxOccurs="unbounded"
> type="myxsd:OsVersionSelection"/>
>                                 </sequence>
>                         </complexType>
>
>                 </schema>
>         </types>
>
>         <!-- MESSAGE DEFINITIONS -->
>
>         <message name="getAvailablePlatformsRequest"/>
>         <message name="getAvailablePlatformsResponse">
>                 <part name="return" element="myxsd:PlatformArray"/>
>         </message>
>
>         <message name="getAvailableOSsRequest">
>                 <part name="platform" element="myxsd:PlatformSelection"/>
>         </message>
>         <message name="getAvailableOSsResponse">
>                 <part name="return" element="myxsd:OsArray"/>
>         </message>
>
>         <message name="getAvailableOsVersionsRequest">
>                 <part name="platform" element="myxsd:PlatformSelection"/>
>                 <part name="os" element="myxsd:OsSelection"/>
>         </message>
>         <message name="getAvailableOsVersionsResponse">
>                 <part name="return" element="myxsd:OsVersionArray"/>
>         </message>
>
>         <!-- PORT DEFINITIONS -->
>
>         <portType name="ScreenkastMetaOptionQueryPortType">
>                 <operation name="getAvailablePlatforms">
>                         <input
> message="tns:getAvailablePlatformsRequest"/>
>                         <output
> message="tns:getAvailablePlatformsResponse"/>
>                 </operation>
>
>                 <operation name="getAvailableOSs">
>                         <input message="tns:getAvailableOSsRequest"/>
>                         <output message="tns:getAvailableOSsResponse"/>
>                 </operation>
>
>                 <operation name="getAvailableOsVersions">
>                         <input
> message="tns:getAvailableOsVersionsRequest"/>
>                         <output
> message="tns:getAvailableOsVersionsResponse"/>
>                 </operation>
>         </portType>
>
>         <!-- BINDING DEFINITIONS -->
>
>         <binding name="ScreenkastMetaOptionQueryBinding"
> type="tns:ScreenkastMetaOptionQueryPortType">
>                 <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
>                 <operation name="getAvailablePlatforms">
>                         <soap:operation style="document"
> soapAction="getAvailablePlatforms"/>
>                         <input>
>                                 <soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
>                         </input>
>                         <output>
>                                 <soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
>                         </output>
>                 </operation>
>
>                 <operation name="getAvailableOSs">
>                         <soap:operation style="document"
> soapAction="getAvailableOSs"/>
>                         <input>
>                                 <soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
>                         </input>
>                         <output>
>                                 <soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
>                         </output>
>                 </operation>
>
>                 <operation name="getAvailableOsVersions">
>                         <soap:operation style="document"
> soapAction="getAvailableOsVersions"/>
>                         <input>
>                                 <soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
>                         </input>
>                         <output>
>                                 <soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
>                         </output>
>                 </operation>
>         </binding>
>
>         <!-- SERVICE DEFINITIONS -->
>
>         <service name="ScreenkastMetaOptionQueryService">
>                 <documentation>ScreenKast web service</documentation>
>                 <port name="ScreenkastMetaOptionQueryPort"
> binding="tns:ScreenkastMetaOptionQueryBinding">
>                         <soap:address
> location="
> http://localhost/axis2/screenkast/wsdl/ScreenkastMetaOptionQuery.wsdl"/>
>                 </port>
>         </service>
>
> </definitions>
>

Re: wsdl java error

Posted by iksrazal <ik...@gmail.com>.
Try the 'free as in beer'  soa editor from cape clear - it may spot your 
error. wsdl --> validate in the menu. 

HTH,
iksrazal
http://www.braziloutsource.com/

Em Quarta 04 Janeiro 2006 17:54, o Bram Biesbrouck escreveu:
> Hi,
>
> Could someone point me the error in my WSDL file that causes WSDL2java to
> throw a NullPointerException? I'm looking for that error for over a day
> now...
>
> thanks in advance.
>
> Bram
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <definitions name="ScreenkastMetaOptionQueryService"
>
> targetNamespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
> 	     xmlns="http://schemas.xmlsoap.org/wsdl/"
> 	     xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> 	     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> 	     xmlns:tns="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"
> 	     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> 	     xmlns:myxsd="http://ws.test.com/screenkast/xsd"
> 	     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
> 	<!-- TYPE DEFINITIONS -->
>
> 	<types>
> 		<schema targetNamespace="http://ws.test.com/screenkast/xsd"
> 		        xmlns="http://www.w3.org/2001/XMLSchema"
> 			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> 			elementFormDefault="qualified">
>
> 			<complexType name="PlatformSelection">
> 				<all>
> 					<element name="id" type="xsd:int"/>
> 					<element name="title"  type="xsd:string"/>
> 				</all>
> 			</complexType>
>
> 			<complexType name="PlatformArray">
> 				<sequence>
> 					<element name="platform" minOccurs="1" maxOccurs="unbounded"
> type="myxsd:PlatformSelection"/>
> 				</sequence>
> 			</complexType>
>
> 			<complexType name="OsSelection">
> 				<all>
> 					<element name="id" type="xsd:int"/>
> 					<element name="title"  type="xsd:string"/>
> 				</all>
> 			</complexType>
>
> 			<complexType name="OsArray">
> 				<sequence>
> 					<element name="os" minOccurs="1" maxOccurs="unbounded"
> type="myxsd:OsSelection"/>
> 				</sequence>
> 			</complexType>
>
> 			<complexType name="OsVersionSelection">
> 				<all>
> 					<element name="id" type="xsd:int"/>
> 					<element name="title"  type="xsd:string"/>
> 				</all>
> 			</complexType>
>
> 			<complexType name="OsVersionArray">
> 				<sequence>
> 					<element name="osVersion" minOccurs="1" maxOccurs="unbounded"
> type="myxsd:OsVersionSelection"/>
> 				</sequence>
> 			</complexType>
>
> 		</schema>
> 	</types>
>
> 	<!-- MESSAGE DEFINITIONS -->
>
> 	<message name="getAvailablePlatformsRequest"/>
> 	<message name="getAvailablePlatformsResponse">
> 		<part name="return" element="myxsd:PlatformArray"/>
> 	</message>
>
> 	<message name="getAvailableOSsRequest">
> 		<part name="platform" element="myxsd:PlatformSelection"/>
> 	</message>
> 	<message name="getAvailableOSsResponse">
> 		<part name="return" element="myxsd:OsArray"/>
> 	</message>
>
> 	<message name="getAvailableOsVersionsRequest">
> 		<part name="platform" element="myxsd:PlatformSelection"/>
> 		<part name="os" element="myxsd:OsSelection"/>
> 	</message>
> 	<message name="getAvailableOsVersionsResponse">
> 		<part name="return" element="myxsd:OsVersionArray"/>
> 	</message>
>
> 	<!-- PORT DEFINITIONS -->
>
> 	<portType name="ScreenkastMetaOptionQueryPortType">
> 		<operation name="getAvailablePlatforms">
> 			<input message="tns:getAvailablePlatformsRequest"/>
> 			<output message="tns:getAvailablePlatformsResponse"/>
> 		</operation>
>
> 		<operation name="getAvailableOSs">
> 			<input message="tns:getAvailableOSsRequest"/>
> 			<output message="tns:getAvailableOSsResponse"/>
> 		</operation>
>
> 		<operation name="getAvailableOsVersions">
> 			<input message="tns:getAvailableOsVersionsRequest"/>
> 			<output message="tns:getAvailableOsVersionsResponse"/>
> 		</operation>
> 	</portType>
>
> 	<!-- BINDING DEFINITIONS -->
>
> 	<binding name="ScreenkastMetaOptionQueryBinding"
> type="tns:ScreenkastMetaOptionQueryPortType">
> 		<soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
>
> 		<operation name="getAvailablePlatforms">
> 			<soap:operation style="document" soapAction="getAvailablePlatforms"/>
> 			<input>
> 				<soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> 			</input>
> 			<output>
> 				<soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> 			</output>
> 		</operation>
>
> 		<operation name="getAvailableOSs">
> 			<soap:operation style="document" soapAction="getAvailableOSs"/>
> 			<input>
> 				<soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> 			</input>
> 			<output>
> 				<soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> 			</output>
> 		</operation>
>
> 		<operation name="getAvailableOsVersions">
> 			<soap:operation style="document" soapAction="getAvailableOsVersions"/>
> 			<input>
> 				<soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> 			</input>
> 			<output>
> 				<soap:body use="literal"
> namespace="http://ws.test.com/screenkast/ScreenkastMetaOptionQuery"/>
> 			</output>
> 		</operation>
> 	</binding>
>
> 	<!-- SERVICE DEFINITIONS -->
>
> 	<service name="ScreenkastMetaOptionQueryService">
> 		<documentation>ScreenKast web service</documentation>
> 		<port name="ScreenkastMetaOptionQueryPort"
> binding="tns:ScreenkastMetaOptionQueryBinding">
> 			<soap:address
> location="http://localhost/axis2/screenkast/wsdl/ScreenkastMetaOptionQuery.
>wsdl"/> </port>
> 	</service>
>
> </definitions>

--