Please help. Actually, this CRM provides two WSDL files. Even though  I
could use -ss -g option for the attached WSDL file, I can not use the same
for other WSDL, since -ss -g options is resulting in generation of
stubs*larger than 50 MB of disk space
*.

Axis 1.x remains same, creates all required ones, with reasonable disk
space. But, the goal itself is to *upgrade *from Axis 1.x to Axis2.

Any ideas?

Thanks.

On Thu, Apr 21, 2011 at 9:04 AM, fire fox <[email protected]> wrote:

> Yeah, even I observed that. The problem is apparent since* we can't use -g
> with out -ss option. *
> *
> *
> Please help.
>
> On Wed, Apr 20, 2011 at 6:38 PM, Supun Malinga <[email protected]> wrote:
>
>> Hi All,
>>
>> On Wed, Apr 20, 2011 at 6:08 PM, fire fox <[email protected]> wrote:
>>
>>> Hi All,
>>>
>>>      I've attached the WSDL file I'm working on.
>>>
>>> I've generated stubs using following commands
>>>
>>> Axis: java org.apache.axis.wsdl.WSDL2Java CrmDiscoveryServiceWsdl.xml :
>>> Generates all classes
>>>
>>> Axis2 : wsdl2java.bat -u -uri CrmDiscoveryServiceWsdl.xml : Generates
>>> only a few classes.
>>>
>>>            Pattern I observed is, in the *wsdl:types* section,* it has
>>> created classes for the <s:element> types* but not  <s:complexTypes>. I
>>> don't get why. I have to use those complexType elements to consume
>>> webservice.
>>>
>>> I've also tried -pn, -ap options, thought they might work, but ports had
>>> nothing to with this. I understood after I did it.
>>>
>>> *Note*: I could generate all with Axis2 when I use -ss -g options,
>>>
>>
>> when using only -ss without -g option the classes are not generated
>> either. So it seems -g (generate all classes) option is required. I'm also
>> interested to know a probable explanation to this.
>>
>> thanks,
>>
>> which also generates server side. Obviously, it's a workaround and I don't
>>> need atleast some of them.
>>>
>>> Please help.
>>>
>>> Thanks.
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>>
>>
>> --
>> Supun Malinga,
>>
>> Software Engineer,
>> WSO2 Inc.
>> http://wso2.com
>> http://wso2.org
>> email - [email protected] <[email protected]>
>> mobile - 071 56 91 321
>>
>>
>

Reply via email to