What are the options you used here in generating the code? If you look at
[2], it explains about the options you can pass when generating code from
WSDL.

Kishanthan.
[2]
http://axis.apache.org/axis2/java/core/tools/CodegenToolReference.html#cmdref


On Tue, May 7, 2013 at 7:30 PM, Stephenson Ohimor <[email protected]>wrote:

> Thanks for getting back to me Kishanthan.  I've tried Wsdl2Java however
> the code generated in the stub has object types that do not exists in the
> types package (also generated).  I think its really odd that generating a
> client from a WSDL would result in non compiling code.  My thoughts are
> that there may be something wrong with the Wsdl or perhaps there is a
> setting I need to pass into wsdl2Java to generate different stub code?  Any
> thoughts?
>
> Thanks,
> Stephen
>
>
> On Mon, May 6, 2013 at 11:44 PM, Kishanthan Thangarajah <
> [email protected]> wrote:
>
>>
>>
>>
>> On Mon, May 6, 2013 at 10:09 PM, Stephenson Ohimor 
>> <[email protected]>wrote:
>>
>>> Hi,
>>>   I'm trying to create a client and embed it into a spring based web
>>> app.  The webservice is written with Axis2.  When I try to generate a
>>> client from the WSDL (via eclipse WSDL generation) I get a number of errors
>>> when the 'converter types' objects are created.  My question is, what is
>>> the recommended process for generating a java client based off of a WSDL?
>>>
>>
>> Try using axis2 code generation tools [1]. There number of
>> ways(command-line, ant task, maven plugin) to generate code from wsdl using
>> given axis2 tools.
>>
>> Kishanthan.
>> [1] http://axis.apache.org/axis2/java/core/tools/index.html
>>
>>>
>>> Thanks,
>>> Stephen
>>>
>>
>>
>

Reply via email to