any luck with that. Iam also facing the same problem
snehil wrote: > > > > I am using Axis2 1.2. > > _____ > > From: keith chapman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 30, 2007 2:37 PM > To: [email protected] > Subject: Re: Importing Schema in WSDL > > > > 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> > 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/ > > > http://www.patni.com > World-Wide Partnerships. World-Class Solutions. > _____________________________________________________________________ > > This e-mail message may contain proprietary, confidential or legally > privileged information for the sole use of the person or entity to > whom this message was originally addressed. Any review, e-transmission > dissemination or other use of or taking of any action in reliance upon > this information by persons or entities other than the intended > recipient is prohibited. If you have received this e-mail in error > kindly delete this e-mail from your records. If it appears that this > mail has been forwarded to you without proper authority, please notify > us immediately at [EMAIL PROTECTED] and delete this mail. > _____________________________________________________________________ > > -- View this message in context: http://www.nabble.com/Importing-Schema-in-WSDL-tf3838605.html#a10975715 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
