cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "suresh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6207) While Parsing wsdl url getting NAMESPACE_ERR
Date Mon, 16 Feb 2015 12:31:11 GMT

    [ https://issues.apache.org/jira/browse/CXF-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14322708#comment-14322708
] 

suresh commented on CXF-6207:
-----------------------------

Thanks Daniel Kulp,
When I will get the latest version

> While Parsing wsdl url getting NAMESPACE_ERR
> --------------------------------------------
>
>                 Key: CXF-6207
>                 URL: https://issues.apache.org/jira/browse/CXF-6207
>             Project: CXF
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 3.0.3
>         Environment: Software platform
>            Reporter: suresh
>            Assignee: Daniel Kulp
>              Labels: test
>             Fix For: 3.0.4
>
>   Original Estimate: 0.2h
>  Remaining Estimate: 0.2h
>
> Hi,
> I tried to create connector using mulesoft, in the mulesoft parsing wsdl file using apache.cxf
 while parsing the wsdl file , we are getting Namespace_ERR, I researched in the cxf but I
came to problem in the apache cxf, because of particuler xsd file only we got this error.
> Input information:
> Wsdl URL: https://cagc-test.crm.us1.oraclecloud.com:443/foundationParties/LocationService?wsdl
> Problem while parse xsd file:
> https://cagc-test.crm.us1.oraclecloud.com/foundationParties/LocationService?XSD=/xml/sdoModel.xsd
> Following error I got:
> java.lang.RuntimeException: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made
to create or change an object in a way which is incorrect with regard to namespaces.
> 	at org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding.addSchemas(JAXBDataBinding.java:649)
> 	at org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:441)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.generateTypes(WSDLToJavaContainer.java:719)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:274)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:165)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:416)
> 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:114)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
> 	at org.apache.cxf.tools.wsdlto.WSDLToJava.main(WSDLToJava.java:189)
> Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change
an object in a way which is incorrect with regard to namespaces.
> 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.checkDOMNSErr(CoreDocumentImpl.java:2530)
> 	at com.sun.org.apache.xerces.internal.dom.AttrNSImpl.setName(AttrNSImpl.java:117)
> 	at com.sun.org.apache.xerces.internal.dom.AttrNSImpl.<init>(AttrNSImpl.java:78)
> 	at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createAttributeNS(CoreDocumentImpl.java:2142)
> 	at com.sun.org.apache.xerces.internal.dom.ElementImpl.setAttributeNS(ElementImpl.java:659)
> 	at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeAttribute(XmlSchemaSerializer.java:470)
> 	at org.apache.ws.commons.schema.XmlSchemaSerializer.setupAttr(XmlSchemaSerializer.java:2201)
> 	at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeComplexType(XmlSchemaSerializer.java:938)
> 	at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchemaChild(XmlSchemaSerializer.java:2400)
> 	at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchemaElement(XmlSchemaSerializer.java:1659)
> 	at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchema(XmlSchemaSerializer.java:132)
> 	at org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding.addSchemas(JAXBDataBinding.java:642)
> 	... 9 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message