[ 
http://jira.codehaus.org/browse/XFIRE-821?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_95675
 ] 

Dan Dubinsky commented on XFIRE-821:
------------------------------------

One more update.

I changed the WSDL Factory using:

System.setProperty("javax.wsdl.factory.WSDLFactory","com.ibm.wsdl.factory.WSDLFactoryImpl");

Now the cast class exception went away and I see no exceptions on the server, 
but the WSDL generation still failed in the middle, just before the 
</wsdl:types> element.

Everything works fine in OC4J 10.1.2 no matter what TransformerFactory or 
WSDLFactory I use. Very strange...


> duplicate attribute 'xmlns:xsd' in <xsd:schema element under oc4j
> -----------------------------------------------------------------
>
>                 Key: XFIRE-821
>                 URL: http://jira.codehaus.org/browse/XFIRE-821
>             Project: XFire
>          Issue Type: Bug
>    Affects Versions: 1.2.3
>         Environment:  xfire: 1.2.3
> oc4j - Oracle Containers for J2EE 10g (10.1.3.1)
> Tomcat - apache-tomcat-5.5.20 
>            Reporter: Michal Pavlasek
>            Assignee: Dan Diephouse
>
> debugged using soap ui 1.6.
> using xfire: 1.2.3
> I have my application using xfire for web services and I found strange thing.
> Under Tomcat everything works fine and the same WAR under OC4J generates 
> duplicate attribute 'xmlns:xsd' in <xsd:schema element.
> I had similar problem width Tomcat too but it was fixed in 1.2.1 or 1.2.2.
> error log message:
> Wed Jan 03 08:54:50 CET 2007:ERROR:Error importing wsdl: 
> org.apache.xmlbeans.XmlException: error: duplicate attribute 'xmlns:xsd'
> oc4j - Oracle Containers for J2EE 10g (10.1.3.1)
> Wed Jan 03 08:54:50 CET 2007:DEBUG:<< "<xsd:schema 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> targetNamespace="http://xxxx.axonpro.sk"; elementFormDefault="qualified" 
> attributeFormDefault="qualified" 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>[\r][\n]"
> i have search-local-classes-first="true" in my deployment plan, 
> <web-app-class-loader search-local-classes-first="true">
> I added xalan to my classpath to fix
> java.lang.ClassCastException: oracle.xml.jaxp.JXSAXTransformerFactory
>         at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
> now it works widthout exception, but it generates duplicate attribute 
> 'xmlns:xsd' in <xsd:schema element
> ---------------------
> Tomcat - apache-tomcat-5.5.20 
> Wed Jan 03 09:29:58 CET 2007:DEBUG:<< "<xsd:schema 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; attributeFormDefault="qualified" 
> elementFormDefault="qualified" 
> targetNamespace="http://xxxx.axonpro.sk";>[\r][\n]"
> everything works fine...
> ---------------------
> I'm really confused.
> thanx for any help

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to