RE: Importing Schema in WSDL
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: axis-user@ws.apache.org > 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 - > > -- > > 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"> >schemaLocation="IFX170.xsd"/> > > > > > > > > > > > > > > > > > > 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]
RE: Importing Schema in WSDL
I am using Axis2 1.2. _ From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 30, 2007 2:37 PM To: axis-user@ws.apache.org 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 - -- http://www.w3.org/2001/XMLSchema> http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified"> 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. _
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 - -- http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified"> 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/