Which version of axis are you using?

Thanks,
Keith.

On 5/30/07, snehil Brajpuriya <[EMAIL PROTECTED]> wrote:

Hi,
I am importing ince scema in WSDL. Imported Scema inturn import some other
schemas. They all are in propr location.FOlowing is the part of WSDL which
imports schema -
--------------------------------------------------------------------------------------------------

<wsdl:types>
       <xsd:schema
          targetNamespace="urn:ifxforum-org:WSDL:1:PortType:types"
            xmlns:ifx="urn:ifxforum-org:XSD:1"
          xmlns:xsd=" http://www.w3.org/2001/XMLSchema";
elementFormDefault="qualified">
            <xsd:import namespace="urn:ifxforum-org:XSD:1"
              schemaLocation="IFX170.xsd"/>
            <xsd:element name="DoIFXRq">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element ref="ifx:IFX" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="DoIFXRs">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element ref="ifx:IFX" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
        </xsd:schema>
    </wsdl:types>

However when trying to create Java code from this WSDL  I am getting
errors -
-----------------------------------------------------------------------------------------------------------------------------------------

generate.service:
[wsdl2java] Retrieving schema at 'IFX170_XSD.xsd', relative to
'file:/C:/axis2/s
amples/IFX/resources/META-INF/'.
[wsdl2java] Retrieving schema at 'RemitDetail_Type.xsd', relative to
'file:/C:/a
xis2/samples/IFX/resources/META-INF/IFX170_XSD.xsd'.

BUILD FAILED
C:\axis2\samples\IFX\build.xml:56:
org.apache.axis2.wsdl.codegen.CodeGenerationE
xception: Error parsing WSDL
--------------------------------------------------------------------------------------------------------------------

Error I am getting seems to be to generic.  All files are present in the
correct location. How can i get the exact point of error.

Thanks
Snehil




--
Keith Chapman
WSO2 Inc.
Oxygen for Web Services Developers.
http://wso2.org/

Reply via email to