axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maria Rosa Jordán (JIRA) <j...@apache.org>
Subject [jira] [Created] (AXIS2-5422) org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
Date Mon, 17 Sep 2012 07:05:07 GMT
Maria Rosa Jordán created AXIS2-5422:
----------------------------------------

             Summary:  org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
WSDL
                 Key: AXIS2-5422
                 URL: https://issues.apache.org/jira/browse/AXIS2-5422
             Project: Axis2
          Issue Type: Wish
          Components: codegen, databinding
    Affects Versions: 1.4.1
            Reporter: Maria Rosa Jordán
            Priority: Critical


Hello I'm trying to compile with Ant a project and I have this error E:\dev\apps\workspace\GlobalCentralServices\bin\build.xml:60:
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL.

Here below ther is my WSDL file:

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="GCS" targetNamespace="http://www.axa.com/GCS"  
    xmlns="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:tns="http://www.axa.com/GCS" 
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"   
    xmlns:gcs="http://www.axa.com/schemas/GCS"
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" 
    xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <types>
        <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:import namespace="http://www.axa.com/schemas/GCS" schemaLocation="globalcentralservices.xsd"/>
        </xsd:schema>
        <xsd:schema>
			<xsd:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
schemaLocation="oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
		</xsd:schema>
    </types>    
    <message name="AuthenticateRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:AuthenticateRequest"/>
    </message>
    <message name="AuthenticateResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:AuthenticateResponse"/>
    </message>
    <message name="AuthorizeRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:AuthorizeRequest"/>
    </message>
    <message name="AuthorizeResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:AuthorizeResponse"/>
    </message>
    <message name="ChangePasswordRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:ChangePasswordRequest"/>
    </message>
    <message name="ChangePasswordResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:ChangePasswordResponse"/>
    </message>
    <message name="CreateAccountRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:CreateAccountRequest"/>
    </message>
    <message name="CreateAccountResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:CreateAccountResponse"/>
    </message>
    <message name="GCSFault">
		<part name="fault" element="gcs:GCSFault" />
	</message>
    <message name="GetAccountRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:GetAccountRequest"/>
    </message>
    <message name="GetAccountResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:GetAccountResponse"/>
    </message>
    <message name="GetProposalIdRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:GetProposalIdRequest"/>
    </message>
    <message name="GetProposalIdResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:GetProposalIdResponse"/>
    </message>
    <message name="GetUserSecretRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:GetUserSecretRequest"/>
    </message>
    <message name="GetUserSecretResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:GetUserSecretResponse"/>
    </message>
    <message name="IsTokenValidRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:IsTokenValidRequest"/>
    </message>
    <message name="IsTokenValidResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:IsTokenValidResponse"/>
    </message>
    <message name="IsUserSecretValidRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:IsUserSecretValidRequest"/>
    </message>
    <message name="IsUserSecretValidResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:IsUserSecretValidResponse"/>
    </message>
    <message name="ResetPasswordRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:ResetPasswordRequest"/>
    </message>
    <message name="ResetPasswordResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:ResetPasswordResponse"/>
    </message>
    <message name="UpdateAccountRequest">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:UpdateAccountRequest"/>
    </message>
    <message name="UpdateAccountResponse">
    	<part name="header" element="wsse:Security"/>
        <part name="body" element="gcs:UpdateAccountResponse"/>
    </message>
   	<portType name="GCSPort">
        <operation name="Authenticate">
            <input message="tns:AuthenticateRequest" wsaw:Action="http://www.axa.com/services/gcs/authenticate"/>
            <output message="tns:AuthenticateResponse" wsaw:Action="http://www.axa.com/services/gcs/authenticate"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="Authorize">
            <input message="tns:AuthorizeRequest" wsaw:Action="http://www.axa.com/services/gcs/authorize"/>
            <output message="tns:AuthorizeResponse" wsaw:Action="http://www.axa.com/services/gcs/authorize"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="ChangePassword">
            <input message="tns:ChangePasswordRequest" wsaw:Action="http://www.axa.com/services/gcs/changePassword"/>
            <output message="tns:ChangePasswordResponse" wsaw:Action="http://www.axa.com/services/gcs/changePassword"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="CreateAccount">
            <input message="tns:CreateAccountRequest" wsaw:Action="http://www.axa.com/services/gcs/createAccount"/>
            <output message="tns:CreateAccountResponse" wsaw:Action="http://www.axa.com/services/gcs/createAccount"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="GetAccount">
            <input message="tns:GetAccountRequest" wsaw:Action="http://www.axa.com/services/gcs/getAccount"/>
            <output message="tns:GetAccountResponse" wsaw:Action="http://www.axa.com/services/gcs/getAccount"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="GetProposalId">
            <input message="tns:GetProposalIdRequest" wsaw:Action="http://www.axa.com/services/gcs/getProposalId"/>
            <output message="tns:GetProposalIdResponse" wsaw:Action="http://www.axa.com/services/gcs/getProposalId"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="GetUserSecret">
            <input message="tns:GetUserSecretRequest" wsaw:Action="http://www.axa.com/services/gcs/getUserSecret"/>
            <output message="tns:GetUserSecretResponse" wsaw:Action="http://www.axa.com/services/gcs/getUserSecret"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="IsTokenValid">
            <input message="tns:IsTokenValidRequest" wsaw:Action="http://www.axa.com/services/gcs/isTokenValid"/>
            <output message="tns:IsTokenValidResponse" wsaw:Action="http://www.axa.com/services/gcs/isTokenValid"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="IsUserSecretValid">
            <input message="tns:IsUserSecretValidRequest" wsaw:Action="http://www.axa.com/services/gcs/isUserSecretValid"/>
            <output message="tns:IsUserSecretValidResponse" wsaw:Action="http://www.axa.com/services/gcs/isUserSecretValid"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="ResetPassword">
            <input message="tns:ResetPasswordRequest" wsaw:Action="http://www.axa.com/services/gcs/resetPassword"/>
            <output message="tns:ResetPasswordResponse" wsaw:Action="http://www.axa.com/services/gcs/resetPassword"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
        <operation name="UpdateAccount">
            <input message="tns:UpdateAccountRequest" wsaw:Action="http://www.axa.com/services/gcs/updateAccount"/>
            <output message="tns:UpdateAccountResponse" wsaw:Action="http://www.axa.com/services/gcs/updateAccount"/>
            <fault message="tns:GCSFault" name="GCSFaultException"/>
        </operation>
    </portType>
    <binding name="GCSSOAP" type="tns:GCSPort"> 
        <documentation>This is the HTTP SOAP binding</documentation>
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="Authenticate">
            <documentation>Authenticate the userId and password and provide a token</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/authenticate"/>
            <input>
                <soap:header message="tns:AuthenticateRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
            	<soap:header message="tns:AuthenticateResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="Authorize">
            <documentation>Authorize the user for resource access</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/authorize"/>
            <input>
                <soap:header message="tns:AuthorizeRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:AuthorizeResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="ChangePassword">
            <documentation>Change the user's password. Must provide old password</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/changePassword"/>
            <input>
                <soap:header message="tns:ChangePasswordRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:ChangePasswordResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="CreateAccount">
            <documentation>Create an account in LDAP</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/createAccount"/>
            <input>
            	<soap:header message="tns:CreateAccountRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
            	<soap:header message="tns:CreateAccountResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="GetAccount">
            <documentation>Retrieve an account from LDAP</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/getAccount"/>
            <input>
            	<soap:header message="tns:GetAccountRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:GetAccountResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="GetProposalId">
            <documentation>Makes a proposal id request</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/getProposalId"/>
            <input>
            	<soap:header message="tns:GetProposalIdRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:GetProposalIdResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="GetUserSecret">
            <documentation>Makes a request for a user one time secret</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/getUserSecret"/>
            <input>
            	<soap:header message="tns:GetUserSecretRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:GetUserSecretResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="IsTokenValid">
            <documentation>Verify the validity of a user session token</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/isTokenValid"/>
            <input>
                <soap:header message="tns:IsTokenValidRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:IsTokenValidResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="IsUserSecretValid">
            <documentation>Verify the validity of a user one time secret</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/isUserSecretValid"/>
            <input>
                <soap:header message="tns:IsUserSecretValidRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:IsUserSecretValidResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="ResetPassword">
            <documentation>Reset a password.  Old password not required.</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/resetPassword"/>
            <input>
            	<soap:header message="tns:ResetPasswordRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:ResetPasswordResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
        <operation name="UpdateAccount">
            <documentation>Update an account in LDAP</documentation>
            <soap:operation soapAction="http://www.axa.com/services/gcs/updateAccount"/>
            <input>
            	<soap:header message="tns:UpdateAccountRequest" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </input>
            <output>
                <soap:header message="tns:UpdateAccountResponse" part="header" use="literal"/>
                <soap:body parts="body" use="literal"/>
            </output>
            <fault name="GCSFaultException">
				<soap:fault name="GCSFaultException" use="literal"/>
			</fault>
        </operation>
    </binding>
    <service name="GCS">
        <port name="GCSPort" binding="tns:GCSSOAP">
            <soap:address location="http://localhost:9080/gcsweb/services/GCS"/>
        </port>  
    </service>
</definitions>


Many thanks.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message