|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
XMLSchemaException when including XSD in WSDLI am attempting to proxy Axis services using Synapse. The <types> section of my WSDL has the following instruction (which works perfectly in Axis):
<xsd:include schemaLocation="PartSelectService.xsd"/> When I point Synapse at the WSDL and XSD, I get the following exception: org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace: http://www.whisolutions.com/PartSelectService/2008-10-07 This is the only namespace for my service. Both the WSDL and XSD have the same namespace. This is why I am using an xsd:include rather than an xsd:import. Is Synapse treating this like an import? This all worked before I extracted my types into a separate XSD file. Here is my WSDL: PartSelectService.wsdl Here is my XSD: PartSelectService.xsd Here is my Synapse configuration: synapse_config.xml |
|
|
Re: XMLSchemaException when including XSD in WSDLThis seems like a bug we need to fix.. but I guess there is a workaround
for you for now.. Could you raise this on the JIRA? asankha > I am attempting to proxy Axis services using Synapse. The <types> section of > my WSDL has the following instruction (which works perfectly in Axis): > > <xsd:include schemaLocation="PartSelectService.xsd"/> > > When I point Synapse at the WSDL and XSD, I get the following exception: > > org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in > collection. > Namespace: http://www.whisolutions.com/PartSelectService/2008-10-07 > > This is the only namespace for my service. Both the WSDL and XSD have the > same namespace. This is why I am using an xsd:include rather than an > xsd:import. Is Synapse treating this like an import? This all worked > before I extracted my types into a separate XSD file. > > Here is my WSDL: > > http://www.nabble.com/file/p20671355/PartSelectService.wsdl > PartSelectService.wsdl > > Here is my XSD: > > http://www.nabble.com/file/p20671355/PartSelectService.xsd > PartSelectService.xsd > > Here is my Synapse configuration: > > http://www.nabble.com/file/p20671355/synapse_config.xml synapse_config.xml > -- Asankha C. Perera http://adroitlogic.org http://esbmagic.blogspot.com |
|
|
Re: XMLSchemaException when including XSD in WSDLJira issue #SYNAPSE-486
|
|
|
Re: XMLSchemaException when including XSD in WSDLIs this one fixed ? I am running into the same issue.
I have few xsds sharing the same tns.
|
|
|
Re: XMLSchemaException when including XSD in WSDLOn Fri, Sep 11, 2009 at 8:53 PM, Rajesh_lakhotia <lakhotiar@...>wrote:
> > Is this one fixed ? I am running into the same issue. > I have few xsds sharing the same tns. > According to [1] it is fixed. However if you are still facing issues may be you could reopen the JIRA issue and provide your WSDLs, XSDs and other configurations. Thanks, Hiranya [1] - http://issues.apache.org/jira/browse/SYNAPSE-486 > > jcaristi wrote: > > > > Jira issue #SYNAPSE-486 > > > > > > Asankha C. Perera wrote: > >> > >> This seems like a bug we need to fix.. but I guess there is a workaround > >> for you for now.. > >> > >> Could you raise this on the JIRA? > >> > >> > >> > > > > > > > -- > View this message in context: > http://www.nabble.com/XMLSchemaException-when-including-XSD-in-WSDL-tp20671355p25403059.html > Sent from the Synapse - User mailing list archive at Nabble.com. > > -- Hiranya Jayathilaka Software Engineer; WSO2 Inc.; http://wso2.org E-mail: hiranya@...; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com |
|
|
Re: XMLSchemaException when including XSD in WSDLHere is my config file and other xsds which are causing this ....
could generate a client using wsdl to java and this service is working everywhere.. .. Need to configure Synpase to do the routing piece.... Mysynapse.xml
|
| Free embeddable forum powered by Nabble | Forum Help |