I'm just starting with Axis2 (v1.1.1) and I'm working through the User's Guide. I've generated the client using the command shown in Code Listing 6:

%AXIS2_HOME%\bin\wsdl2java -uri Axis2UserGuide.wsdl -p org.apache.axis2.axis2userguide -d adb -s

However, the Java class generated by this code does not compile because it has no import statements.

----------
package org.apache.axis2.axis2userguide;

/*
 * Axis2UserGuideServiceStub java implementation
 */

public class Axis2UserGuideServiceStub extends org.apache.axis2.client.Stub {
        protected org.apache.axis2.description.AxisOperation[] _operations;

        // hashmaps to keep the fault mapping
        private java.util.HashMap faultExeptionNameMap = new 
java.util.HashMap();

private java.util.HashMap faultExeptionClassNameMap = new java.util.HashMap();
---------

Is this expected behavior? Is there a work-around, other than manually fixing up the generated file?

Thanks,

Jared Nedzel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to