The following XML document was generated by the BEA WebLogic WorkShop tool for describing the FeaturedNPOQueryService Web service to the clients. Complete discussion on WSDL and the creation of FeaturedNPOQueryService is covered in Chapter 8.
<?xml version="1.0" encoding="utf-8"?> <definitions xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:xm="http://www.bea.com/2002/04/xmlmap/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:s0="http://www.GreaterCause.com/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.GreaterCause.com/"> <types> <s:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.GreaterCause.com/"> <s:element name="getCampaigns"> <s:complexType> <s:sequence> <s:element name="portalID" maxOccurs="1" type="s:string" minOccurs="0"/> <s:element name="regionCode" maxOccurs="1" type="s:string" minOccurs="0"/> </s:sequence> </s:complexType> </s:element> <s:element name="getCampaignsResponse"> <s:complexType> <s:sequence> <s:element name="getCampaignsResult" maxOccurs="1" type="s0:ArrayOfFeaturedNPODTO" minOccurs="0"/> </s:sequence> </s:complexType> </s:element> <s:complexType name="ArrayOfFeaturedNPODTO"> <s:sequence> <s:element name="FeaturedNPODTO" maxOccurs="unbounded" type="s0:FeaturedNPODTO" minOccurs="0" nillable="true"/> </s:sequence> </s:complexType> <s:complexType name="FeaturedNPODTO"> <s:sequence> <s:element name="startDate" maxOccurs="1" type="s:string" minOccurs="0"/> <s:element name="regionCode" maxOccurs="1" type="s:string" minOccurs="0"/> <s:element name="ein" maxOccurs="1" type="s:string" minOccurs="0"/> <s:element name="endDate" maxOccurs="1" type="s:string" minOccurs="0"/> <s:element name="npoName" maxOccurs="1" type="s:string" minOccurs="0"/> </s:sequence> </s:complexType> <s:element name="ArrayOfFeaturedNPODTO" type="s0:ArrayOfFeaturedNPODTO" nillable="true"/> </s:schema> </types> <message name="getCampaignsSoapIn"> <part name="parameters" element="s0:getCampaigns"/> </message> <message name="getCampaignsSoapOut"> <part name="parameters" element="s0:getCampaignsResponse"/> </message> <message name="getCampaignsHttpGetIn"> <part name="portalID" type="s:string"/> <part name="regionCode" type="s:string"/> </message> <message name="getCampaignsHttpGetOut"> <part name="Body" element="s0:ArrayOfFeaturedNPODTO"/> </message> <message name="getCampaignsHttpPostIn"> <part name="portalID" type="s:string"/> <part name="regionCode" type="s:string"/> </message> <message name="getCampaignsHttpPostOut"> <part name="Body" element="s0:ArrayOfFeaturedNPODTO"/> </message> <portType name="FeaturedNPOQueryServiceSoap"> <operation name="getCampaigns"> <input message="s0:getCampaignsSoapIn"/> <output message="s0:getCampaignsSoapOut"/> </operation> </portType> <portType name="FeaturedNPOQueryServiceHttpGet"> <operation name="getCampaigns"> <input message="s0:getCampaignsHttpGetIn"/> <output message="s0:getCampaignsHttpGetOut"/> </operation> </portType> <portType name="FeaturedNPOQueryServiceHttpPost"> <operation name="getCampaigns"> <input message="s0:getCampaignsHttpPostIn"/> <output message="s0:getCampaignsHttpPostOut"/> </operation> </portType> <binding name="FeaturedNPOQueryServiceSoap" type="s0:FeaturedNPOQueryServiceSoap"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="getCampaigns"> <soap:operation style="document" soapAction="http://www.GreaterCause.com/getCampaigns"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <binding name="FeaturedNPOQueryServiceHttpGet" type="s0:FeaturedNPOQueryServiceHttpGet"> <http:binding verb="GET"/> <operation name="getCampaigns"> <http:operation location="/getCampaigns"/> <input> <http:urlEncoded/> </input> <output> <mime:mimeXml part="Body"/> </output> </operation> </binding> <binding name="FeaturedNPOQueryServiceHttpPost" type="s0:FeaturedNPOQueryServiceHttpPost"> <http:binding verb="POST"/> <operation name="getCampaigns"> <http:operation location="/getCampaigns"/> <input> <mime:content type="application/x-www-form-urlencoded"/> </input> <output> <mime:mimeXml part="Body"/> </output> </operation> </binding> <service name="FeaturedNPOQueryService"> <port name="FeaturedNPOQueryServiceSoap" binding="s0:FeaturedNPOQueryServiceSoap"> <soap:address location="http://nadir1:7001/GreaterCauseWebService/FeaturedNPOQueryService.jws"/> </port> <port name="FeaturedNPOQueryServiceHttpGet" binding="s0:FeaturedNPOQueryServiceHttpGet"> <http:address location="http://nadir1:7001/GreaterCauseWebService/FeaturedNPOQueryService.jws"/> </port> <port name="FeaturedNPOQueryServiceHttpPost" binding="s0:FeaturedNPOQueryServiceHttpPost"> <http:address location="http://nadir1:7001/GreaterCauseWebService/FeaturedNPOQueryService.jws"/> </port> </service> </definitions>