[ http://jira.codehaus.org/browse/XFIRE-652?page=comments#action_83992 ] Jakub Mendys commented on XFIRE-652: ------------------------------------
This seems to be similar (if not the same) as http://jira.codehaus.org/browse/XFIRE-774. And yes, the problem exists when XmlBeans are used and does not if default aegis is used. > Duplicate entries in wsdl when using FaultInfoException to generate fault > responses > ----------------------------------------------------------------------------------- > > Key: XFIRE-652 > URL: http://jira.codehaus.org/browse/XFIRE-652 > Project: XFire > Issue Type: Bug > Components: XMLBeans > Affects Versions: 1.2.1 > Environment: Weblogic 9.1, Java 1.5 > Reporter: Eirik Lilleaas > Assigned To: Dan Diephouse > Priority: Minor > Attachments: Fault-0.1.war, faulttest.zip > > > I am using XMLBeans and I am trying to be able to return faults from my web > service requests. The result of this is that each time I reload the wsdl I > get new duplicate entries in the wsdl. > I have included a test case where I have used the XFire purchase-order > example as a base and I have used the fault handling techniques described in > http://xfire.codehaus.org/Fault+and+Exception+Handling ("Custom Exceptions to > SOAP Faults" part). I have included both the source and the final build. I > build the war file with "mvn install war:war" > When I deploy the resulting web service on my Weblogic application server and > access the wsdl with http://localhost:8001/Fault-0.1/services/FS?wsdl the > wsdl looks as expected. But when I reload the wsdl, it changes and appends a > new entry of <xsd:element name="SomeFault" type="tns:SomeFaultDetail"/> each > time. The result is that there are several of these identical entries. > SomeFaultDetail is here the equivalent of WeatherFaultDetail in > http://xfire.codehaus.org/Fault+and+Exception+Handling and SomeFault matches > WeatherFault. > These duplicates cannot be correct. But I do not know if they are a result of > a bug or if I have done something wrong in my xsd or elsewhere -- 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
