You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/01/12 00:25:17 UTC

DO NOT REPLY [Bug 26048] New: - Long file names of source files with WSDL2Java

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26048>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26048

Long file names of source files with WSDL2Java

           Summary: Long file names of source files with WSDL2Java
           Product: Axis
           Version: 1.1
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: Saurabh.Mehta@sabre.com


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.