You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2006/11/17 07:49:37 UTC
[jira] Assigned: (AXISCPP-898) simple problem with simpleTypes
[ http://issues.apache.org/jira/browse/AXISCPP-898?page=all ]
nadir amra reassigned AXISCPP-898:
----------------------------------
Assignee: nadir amra
> simple problem with simpleTypes
> -------------------------------
>
> Key: AXISCPP-898
> URL: http://issues.apache.org/jira/browse/AXISCPP-898
> Project: Axis-C++
> Issue Type: Bug
> Components: Client - Stub
> Affects Versions: 1.6 Alpha
> Environment: W2KSP4 JDK 1.5.0_06
> Reporter: Franz Fehringer
> Assigned To: nadir amra
> Attachments: PegsTour.wsdl, PegsTour.xsd
>
>
> Given the construct
> <xsd:simpleType xmlns="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1"
> name="t_NonNegativeInt">
> <xsd:restriction base="xsd:integer">
> <xsd:minInclusive value="0"/>
> <xsd:maxExclusive value="2147483647"/>
> </xsd:restriction>
> </xsd:simpleType>
> <xsd:simpleType xmlns="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1"
> name="t_Age">
> <xsd:restriction base="t_NonNegativeInt"/>
> </xsd:simpleType>
> wsdl2ws generates for the first case
> typedef xsd__integer t_NonNegativeInt;
> which seems absolutely correct to me
> but for the second case an empty class t_Age, so the underlying integer is
> not accessible.
> I would expect
> typedef t_NonNegativeInt t_Age;
> for the second case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: [jira] Assigned: (AXISCPP-898) simple problem with simpleTypes
Posted by Franz Fehringer <fe...@isogmbh.de>.
One of my colleagues accidentally reactivated the problematic XSD
construct several days ago and the generation yielded the same warning i
got when i created the issue.
So it seems to me that the problem still persists.
Franz
Fred Preston schrieb:
>
> Hi Nadir,
> I may have already fixed this problem in the WSDL2Ws code...
> Checkout the *RestrictedPattern17667Client* test in
> \ws-axis\c\tests\auto_build\testcases\client.
>
> Regards,
>
> Fred Preston.
> Software Engineer
> WSCC
>
> Mail Point 127, IBM Hursley Park
> Winchester, Hampshire, SO21 2JN, UK
> Notes id: Fred Preston/UK/IBM @ IBMGB
> Internet: prestonf@uk.ibm.com
> Tel: +44 1962 817180
> Internal: 247180
>
>
>
> *"nadir amra (JIRA)" <ax...@ws.apache.org>*
>
> 17/11/2006 06:49
> Please respond to
> "Apache AXIS C Developers List" <ax...@ws.apache.org>
>
>
>
> To
> axis-c-dev@ws.apache.org
> cc
>
> Subject
> [jira] Assigned: (AXISCPP-898) simple problem with simpleTypes
>
>
>
>
>
>
>
>
>
> [ http://issues.apache.org/jira/browse/AXISCPP-898?page=all ]
>
> nadir amra reassigned AXISCPP-898:
> ----------------------------------
>
> Assignee: nadir amra
>
> > simple problem with simpleTypes
> > -------------------------------
> >
> > Key: AXISCPP-898
> > URL: http://issues.apache.org/jira/browse/AXISCPP-898
> > Project: Axis-C++
> > Issue Type: Bug
> > Components: Client - Stub
> > Affects Versions: 1.6 Alpha
> > Environment: W2KSP4 JDK 1.5.0_06
> > Reporter: Franz Fehringer
> > Assigned To: nadir amra
> > Attachments: PegsTour.wsdl, PegsTour.xsd
> >
> >
> > Given the construct
> > <xsd:simpleType
> xmlns="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1"
> > name="t_NonNegativeInt">
> > <xsd:restriction base="xsd:integer">
> > <xsd:minInclusive value="0"/>
> > <xsd:maxExclusive value="2147483647"/>
> > </xsd:restriction>
> > </xsd:simpleType>
> > <xsd:simpleType
> xmlns="http://www.pegs-pegstour.com/API/XMLSchema/1.0.1"
> > name="t_Age">
> > <xsd:restriction base="t_NonNegativeInt"/>
> > </xsd:simpleType>
> > wsdl2ws generates for the first case
> > typedef xsd__integer t_NonNegativeInt;
> > which seems absolutely correct to me
> > but for the second case an empty class t_Age, so the underlying
> integer is
> > not accessible.
> > I would expect
> > typedef t_NonNegativeInt t_Age;
> > for the second case.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the
> administrators: http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
Re: [jira] Assigned: (AXISCPP-898) simple problem with simpleTypes
Posted by Fred Preston <PR...@uk.ibm.com>.
Hi Nadir,
I may have already fixed this problem in the WSDL2Ws code...
Checkout the RestrictedPattern17667Client test in
\ws-axis\c\tests\auto_build\testcases\client.
Regards,
Fred Preston.
Software Engineer
WSCC
Mail Point 127, IBM Hursley Park
Winchester, Hampshire, SO21 2JN, UK
Notes id: Fred Preston/UK/IBM @ IBMGB
Internet: prestonf@uk.ibm.com
Tel: +44 1962 817180
Internal: 247180
"nadir amra (JIRA)" <ax...@ws.apache.org>
17/11/2006 06:49
Please respond to
"Apache AXIS C Developers List" <ax...@ws.apache.org>
To
axis-c-dev@ws.apache.org
cc
Subject
[jira] Assigned: (AXISCPP-898) simple problem with simpleTypes
[ http://issues.apache.org/jira/browse/AXISCPP-898?page=all ]
nadir amra reassigned AXISCPP-898:
----------------------------------
Assignee: nadir amra
> simple problem with simpleTypes
> -------------------------------
>
> Key: AXISCPP-898
> URL: http://issues.apache.org/jira/browse/AXISCPP-898
> Project: Axis-C++
> Issue Type: Bug
> Components: Client - Stub
> Affects Versions: 1.6 Alpha
> Environment: W2KSP4 JDK 1.5.0_06
> Reporter: Franz Fehringer
> Assigned To: nadir amra
> Attachments: PegsTour.wsdl, PegsTour.xsd
>
>
> Given the construct
> <xsd:simpleType xmlns="
http://www.pegs-pegstour.com/API/XMLSchema/1.0.1"
> name="t_NonNegativeInt">
> <xsd:restriction base="xsd:integer">
> <xsd:minInclusive value="0"/>
> <xsd:maxExclusive value="2147483647"/>
> </xsd:restriction>
> </xsd:simpleType>
> <xsd:simpleType xmlns="
http://www.pegs-pegstour.com/API/XMLSchema/1.0.1"
> name="t_Age">
> <xsd:restriction base="t_NonNegativeInt"/>
> </xsd:simpleType>
> wsdl2ws generates for the first case
> typedef xsd__integer t_NonNegativeInt;
> which seems absolutely correct to me
> but for the second case an empty class t_Age, so the underlying integer
is
> not accessible.
> I would expect
> typedef t_NonNegativeInt t_Age;
> for the second case.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org