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 "Srikanth Adibhatla (JIRA)" <ji...@apache.org> on 2008/12/15 06:33:44 UTC
[jira] Created: (AXIS2-4176) wsdl2java -sn and -pn options not
working
wsdl2java -sn and -pn options not working
-----------------------------------------
Key: AXIS2-4176
URL: https://issues.apache.org/jira/browse/AXIS2-4176
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: codegen
Affects Versions: 1.4.1
Environment: windows xp sp2
Reporter: Srikanth Adibhatla
There is a wsdl document with multiple services.
I am trying to generate java classes for a single service in this wsdl.
I am using wsdl2java -sn "xyz" option to do it , but it generates java classes for all the services in the wsdl
wsdl2java -pn option also generates code for all services.
each wsdl:service element contains only one wsdl:port element.
soap:address location is same for all services.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
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
Axis2 POJO samples
Posted by Irantha <ir...@wso2.com>.
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
[jira] Assigned: (AXIS2-4176) wsdl2java -sn and -pn options not
working
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe reassigned AXIS2-4176:
----------------------------------------
Assignee: Amila Chinthaka Suriarachchi
> wsdl2java -sn and -pn options not working
> -----------------------------------------
>
> Key: AXIS2-4176
> URL: https://issues.apache.org/jira/browse/AXIS2-4176
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.4.1
> Environment: windows xp sp2
> Reporter: Srikanth Adibhatla
> Assignee: Amila Chinthaka Suriarachchi
>
> There is a wsdl document with multiple services.
> I am trying to generate java classes for a single service in this wsdl.
> I am using wsdl2java -sn "xyz" option to do it , but it generates java classes for all the services in the wsdl
> wsdl2java -pn option also generates code for all services.
> each wsdl:service element contains only one wsdl:port element.
> soap:address location is same for all services.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.