You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Irantha <ir...@wso2.com> on 2008/12/17 08:26:14 UTC

Axis2 POJO samples

Wouldn't it be better to build all pojo service samples with debug "on" for 
consistency (or debug off) ?

Currently quickstart sample ant build file set debug mode and
 WSDL has correct method parameter names.
i.e: <xs:element minOccurs="0" name="symbol" nillable="true" 
type="xs:string"/>

Other pojo sample WSDLs'  have generic names for parameters (args0,args1, 
etc.).
i.e.<xs:element minOccurs="0" name="args0" nillable="true" 
type="ax24:Weather"/>

This might confuse somebody just looking at these samples.

Thanks,
Irantha







Re: Axis2 POJO samples

Posted by Deepal jayasinghe <de...@gmail.com>.
Irantha wrote:
> Wouldn't it be better to build all pojo service samples with debug
> "on" for consistency (or debug off) ?
yes, unless you build the debug on you will not be able to generate the
correct WSDL.
>
> Currently quickstart sample ant build file set debug mode and
> WSDL has correct method parameter names.
> i.e: <xs:element minOccurs="0" name="symbol" nillable="true"
> type="xs:string"/>
>
> Other pojo sample WSDLs'  have generic names for parameters
> (args0,args1, etc.).
> i.e.<xs:element minOccurs="0" name="args0" nillable="true"
> type="ax24:Weather"/>
>
> This might confuse somebody just looking at these samples.
>
> Thanks,
> Irantha
>
>
>
>
>
>
>


-- 
Thank you!


http://blogs.deepal.org
http://deepal.org


Re: Axis2 Book samples

Posted by Irantha <ir...@wso2.com>.
Guess it wont hurt to have another working sample. attched the patch with 
JIRA issue AXIS2-4181

Thanks,
Irantha


----- Original Message ----- 
From: "Deepal jayasinghe" <de...@gmail.com>
To: <ax...@ws.apache.org>
Sent: Wednesday, December 17, 2008 9:05 PM
Subject: Re: Axis2 Book samples


> Irantha wrote:
>> Book sample on Axis2 trunk works fine except for transport jars are
>> not included in created war .
>> Just need to copy transport dependencies to Book-sample pom from
>> axis2/parent pom to make this working.
>>
>> Book sample is currently not included in Axis2 release zip files.
> Good, if you think that a suitable sample for new users then let's add
> that axis2 distribution. If you can create a patch.
>
> Deepal
>>
>> -Irantha
>>
>>
>>
>>
>>
>>
>
>
> -- 
> Thank you!
>
>
> http://blogs.deepal.org
> http://deepal.org
>
> 



Re: Axis2 Book samples

Posted by Deepal jayasinghe <de...@gmail.com>.
Irantha wrote:
> Book sample on Axis2 trunk works fine except for transport jars are
> not included in created war .
> Just need to copy transport dependencies to Book-sample pom from
> axis2/parent pom to make this working.
>
> Book sample is currently not included in Axis2 release zip files.
Good, if you think that a suitable sample for new users then let's add
that axis2 distribution. If you can create a patch.

Deepal
>
> -Irantha
>
>
>
>
>
>


-- 
Thank you!


http://blogs.deepal.org
http://deepal.org


Axis2 Book samples

Posted by Irantha <ir...@wso2.com>.
Book sample on Axis2 trunk works fine except for transport jars are not 
included in created war .
 Just need to copy transport dependencies to Book-sample pom from 
axis2/parent pom to make this working.

Book sample is currently not included in Axis2 release zip files.

-Irantha