axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Houman Babai-Amameh" <hbabai_ama...@hotmail.com>
Subject RE: WSDL2Java - incompatible type build error
Date Tue, 20 Mar 2007 00:53:16 GMT
OK I think fixed it by including -u when I run wsdl2java.

But now I'm getting 166 classes instead of the 4 I was getting before.

Is there another way to solve this problem.

Thanks
Houman


>From: "Houman Babai-Amameh" <hbabai_amameh@hotmail.com>
>Reply-To: axis-user@ws.apache.org
>To: axis-user@ws.apache.org
>Subject: WSDL2Java - incompatible type build error Date: Mon, 19 Mar 2007 
>17:26:03 -0700
>
>Hello,
>
>This problem is happening when I run WSDL2Java on a service that is 
>exposing types that may clash with java types such as:
>
>found   : java.lang.String
>required: myPkg.MyServiceStub.String
>                                                       String prefix2 = 
>org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
>                                                                            
>                                                        ^
>
>cannot find symbol
>symbol  : method 
>writeStartElement(myPkg.MyServiceStub.String,java.lang.String,java.lang.String)
>location: interface javax.xml.stream.XMLStreamWriter
>                                                        
>xmlWriter.writeStartElement(prefix2,"string", namespace);
>                                                                 ^
>
>Could somebody please help?
>
>Thanks
>
>_________________________________________________________________
>5.5%* 30 year fixed mortgage rate. Good credit refinance. Up to 5 free 
>quotes - *Terms 
>https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h2a5d&s=4056&p=5117&disc=y&vers=910
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>

_________________________________________________________________
i'm making a difference. Make every IM count for the cause of your choice. 
Join Now. 
http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://im.live.com/messenger/im/home/?source=hmtagline


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message