Hi

I am having same issue, any idea how to solve this. I am using  Eclipse
Platform
Version: 3.3.1.1, and  my axis2 runtime is axis2-1.4

I have also noticed that in  service.xml  says

<!-- This file was auto-generated from WSDL -->
<!-- by the Apache Axis2 version: 1.3  Built on : Aug 10, 2007 (04:45:47
LKT) -->

I was expecting to service.xml to say  <!-- This file was auto-generated
from WSDL -->
<!-- by the Apache Axis2 version: 1.34


On Wed, Jun 11, 2008 at 7:17 PM, Kraus, David <[EMAIL PROTECTED]>wrote:

> Yeah, something similar happened to me. The MTOMAwareXMLStreamWriter
> parameter is replaced by XMLStreamWriter in the stub code, which causes
> the compilation problems.
>
> I am not absolutely sure what is happening here. I tried enabling MTOM
> in my services.xml file, and found that wsdl2java generated different
> stubs, which did compile.
>
> However, when I went back and removed the services.xml setting, stub
> generation did not change, and I could still compile.
>
> I began to think that maybe my environment had been mixed between two
> different versions of Axis2 (I was upgrading from axis2 1.2 to 1.4). So,
> make sure you have your environment variables set correctly, and then
> your classpath is correct.
>
> Dave
>
> -----Original Message-----
> From: Adam Muller [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 11, 2008 4:02 AM
> To: axis-user@ws.apache.org
> Subject: WSDL2JAVA created uncompilable Stub
>
> Hi,
>
> with Axis2 1.4 - when I regenerate Stub, it cannot be compiled.
> I got errors like these all over it:
>
> The type WhoIsWhoServiceStub.AddressType must implement the inherited
> abstract method ADBBean.serialize(QName, OMFactory,
> MTOMAwareXMLStreamWriter, boolean)
>
> The type WhoIsWhoServiceStub.AsyncResponseType must implement the
> inherited abstract method ADBBean.serialize(QName, OMFactory,
> MTOMAwareXMLStreamWriter, boolean)
>
> etc. (there are about 100 errors in the file).
>
> What am I doing wrong? I just upgraded from axis2 1.3 - it worked there
> perfectly.
>
> Thanks for your reply!
>
>  Best regards
>  Adam
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to