I have the following return:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
 <soapenv:Body>
    <getCampaignInfoResponse xmlns="http://www.openuri.org/";>
       <return type="org.openuri.www.CampaignInfo">
          <campaignDescription>Test</campaignDescription>
          <campaignID>10101</campaignID>
       </return>
    </getCampaignInfoResponse>
 </soapenv:Body>
</soapenv:Envelope>

I want to get rid of the <return type="org.openuri.www.CampaignInfo to just a type of CampaignInfo which I thought I described in my wsdl, but obviously wrong, can someone help me out. thanks... here's the wsdl... portion of concern only:

          <xs:element name="getCampaignInfo">
              <xs:complexType>
                  <xs:sequence>
<xs:element minOccurs="0" name="customerID" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="advertiserNumber" nillable="true" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
          </xs:element>
          <xs:element name="getCampaignInfoResponse">
      <xs:complexType>
                  <xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="getCampaignInfoResult" nillable="true" type="ns:CampaignInfo"/>
                  </xs:sequence>
           </xs:complexType>     </xs:element>
        <xs:complexType name="CampaignInfo">
          <xs:sequence>
<xs:element minOccurs="0" name="campaignDescription" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="campaignID" nillable="true" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:schema>


Claude

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to