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 Sam <ch...@yahoo.com> on 2003/04/08 00:22:25 UTC

Bad WSDl or ??

Hi,

I'm trying to generate a WSDl for a Java Program which expects java bean as input parameter & return a java bean object.

I'm getting following error 

cvc-complex-type.2.4.c:The matching wildcard is strict , but no declaration can be found for "schema"

 

any help would be greatful

Here is the WSDL  i had generated 

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="MRShoppingWebService" targetNamespace="http://localhost/mr/wsdl/MRShoppingWebService.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://localhost/mr/wsdl/MRShoppingWebService.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.help.com/schemas/MR/MRShoppingWebService" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
 <types>
<schema attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http://www.help.com/schemas/MR/MRShoppingWebService"  xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://www.help.com/schemas/MR/MRShoppingWebService">
<complexType name="MRWebServiceRequest">
   <all>
     <element name="clientID" nillable="true" type="xsd:string"/>
     <element name="mrAccount" nillable="true" type="xsd:string"/>
     <element name="requestId" nillable="true" type="xsd:string"/>
     <element name="stoken" nillable="true" type="xsd:string"/>
    </all>
   </complexType>
<complexType name="MRPointsResponse">
        <all>
            <element name="errorMessage" nillable="true" type="string"/>
            <element name="eerrorNumber" nillable="true" type="string"/>
            <element name="errorNumber" nillable="true" type="string"/>
            <element name="pointsBalance" type="int"/>
            <element name="mrTier" nillable="true" type="string"/>
            <element name="wishListCount" type="int"/>
        </all>
    </complexType>
</schema>
</types>
    <message name="getPointsBalanceRequest">
  <part name="request" type="xsd1:MRWebServiceRequest"/>
    </message>
    <message name="getPointsBalanceResponse">
        <part name="result" type="xsd1:MRPointsResponse"/>
    </message>
    <portType name="MRShoppingWebService">
        <operation name="getPointsBalance" parameterOrder="request">
            <input message="tns:getPointsBalanceRequest" name="getPointsBalanceRequest"/>
            <output message="tns:getPointsBalanceResponse" name="getPointsBalanceResponse"/>
        </operation>
    </portType>
    <binding name="MRShoppingWebServiceBinding" type="tns:MRShoppingWebService">
        <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="getPointsBalance">
            <soap:operation soapAction="" style="rpc"/>
            <input name="getPointsBalanceRequest">
                <soap:body
                    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                    namespace="urn:points" parts="request" use="encoded"/>
            </input>
            <output name="getPointsBalanceResponse">
                <soap:body
                    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
                    namespace="urn:points" use="encoded"/>
            </output>
        </operation>
    </binding>
     <service name="MRShoppingWebService">
        <port binding="tns:MRShoppingWebServiceBinding" name="MRShoppingWebServicePort">
            <soap:address location="http://localhost/mr/rpcrouter"/>
        </port>
    </service>
</definitions>




---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more