[ https://issues.apache.org/jira/browse/AXIS-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIS-1181. ----------------------------------- Resolution: Won't Fix > Long file names of source files with WSDL2Java > ---------------------------------------------- > > Key: AXIS-1181 > URL: https://issues.apache.org/jira/browse/AXIS-1181 > Project: Axis > Issue Type: Bug > Components: WSDL processing > Affects Versions: 1.1 > Environment: Operating System: Windows NT/2K > Platform: All > Reporter: Saurabh Mehta > Attachments: > ASF.LICENSE.NOT.GRANTED--OTA_AirLowFareSearchLLSRQRS.xsd, > ASF.LICENSE.NOT.GRANTED--OTA_AirLowFareSearchLLSRQ.wsdl, > ASF.LICENSE.NOT.GRANTED--OTA_AirLowFareSearchLLSRQ.xsd, > ASF.LICENSE.NOT.GRANTED--OTA_AirLowFareSearchLLSRS.xsd > > > When I am running WSDL2Java it genarates file names of more than 230 chars. > In > windows system I am not able to save these big file names. While running > WSDL2Java it stops giving the following error: > {http://www.w3.org/1999/xlink}>show already exists > java.io.FileNotFoundException: com\sabre\webservices\sabreXML\_2003\_07 > \_OTA_TravelItineraryRS_TravelItinerary_Itinerary > Info_ReservationItems_Item_Hotel_Reservation_Guarantee_GuaranteesAccepted_Guaran > teeAccepted_PaymentCard.java (The system > cannot find the path specified) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.<init>(FileOutputStream.java:176) > at java.io.FileOutputStream.<init>(FileOutputStream.java:131) > at java.io.FileWriter.<init>(FileWriter.java:73) > at org.apache.axis.wsdl.toJava.JavaWriter.getPrintWriter > (JavaWriter.java:194) > at > org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:146) > at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate > (JavaTypeWriter.java:138) > at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate > (JavaGeneratorFactory.java:284) > at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:364) > at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:289) > at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:82) > at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:246) > at java.lang.Thread.run(Thread.java:536) > Is there a way in WSDL2Java where I can get it to create shorter file names > and > not names > like > "Info_ReservationItems_Item_Hotel_Reservation_Guarantee_GuaranteesAccepted_ > GuaranteeAccepted_PaymentCard.java " as shown above? Appreciate your help > with > this. > Thanks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org