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 "Paul Fremantle (JIRA)" <ji...@apache.org> on 2008/02/27 10:08:51 UTC
[jira] Created: (AXIS2-3551) Java2WSDL creates WSDLs that fail
Eclipse validation
Java2WSDL creates WSDLs that fail Eclipse validation
----------------------------------------------------
Key: AXIS2-3551
URL: https://issues.apache.org/jira/browse/AXIS2-3551
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: codegen, wsdl
Affects Versions: 1.3
Reporter: Paul Fremantle
Fix For: 1.4
I recently used the Eclipse WebTools WSDL validator. It doesn't like
the way that Axis2 creates Schemas. If you look at the AddressBook
WSDL that gives you a good example.
<wsdl:types>
<xs:schema xmlns:ns="http://service.addressbook.sample"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://service.addressbook.sample">
<xs:element name="findEntry">
.... wrapper elements here
</xs:schema>
<xs:schema xmlns:ax21="http://entry.addressbook.sample/xsd"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://entry.addressbook.sample/xsd">
<xs:complexType name="Entry">
.... data type elements here
The problem is that the wrapper elements refer to the data-type
complextypes, which are defined in two separate schema chunks. So the
Eclipse WSDL validator sees these as separate and cannot resolve the
cross references.
Now the reason - I'm guessing - that Axis2 generates these in separate
schema chunks, is because it wants to give them separate target
namespaces.
So either this needs to create a single Schema chunk or a link between them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: [jira] Resolved: (AXIS2-3551) Java2WSDL creates WSDLs that fail
Eclipse validation
Posted by Deepal jayasinghe <de...@gmail.com>.
Hi Nadeem ,
> Deepal,
>
> This may also fix:
>
> https://issues.apache.org/jira/browse/AXIS2-3444
>
> I need to do further testing, but my initial results seem very
> promising.
>
Good , please test and verify , if that is working for you then please
resolve the issue
Thank you,
Deepal
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
RE: [jira] Resolved: (AXIS2-3551) Java2WSDL creates WSDLs that fail Eclipse validation
Posted by "Hoda, Nadeem [USA]" <ho...@bah.com>.
Deepal,
This may also fix:
https://issues.apache.org/jira/browse/AXIS2-3444
I need to do further testing, but my initial results seem very
promising.
Thanks,
Nadeem
-----Original Message-----
From: Deepal Jayasinghe (JIRA) [mailto:jira@apache.org]
Sent: Monday, March 10, 2008 1:38 PM
To: axis-dev@ws.apache.org
Subject: [jira] Resolved: (AXIS2-3551) Java2WSDL creates WSDLs that fail
Eclipse validation
[
https://issues.apache.org/jira/browse/AXIS2-3551?page=com.atlassian.jira
.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe resolved AXIS2-3551.
--------------------------------------
Resolution: Fixed
Issue should be fixed in the current SVN head
Thank you,
Deepal
> Java2WSDL creates WSDLs that fail Eclipse validation
> ----------------------------------------------------
>
> Key: AXIS2-3551
> URL: https://issues.apache.org/jira/browse/AXIS2-3551
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen, wsdl
> Affects Versions: 1.3
> Reporter: Paul Fremantle
> Assignee: Deepal Jayasinghe
> Fix For: 1.4
>
>
> I recently used the Eclipse WebTools WSDL validator. It doesn't like
> the way that Axis2 creates Schemas. If you look at the AddressBook
> WSDL that gives you a good example.
> <wsdl:types>
> <xs:schema xmlns:ns="http://service.addressbook.sample"
> attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="http://service.addressbook.sample">
> <xs:element name="findEntry">
> .... wrapper elements here
> </xs:schema>
> <xs:schema xmlns:ax21="http://entry.addressbook.sample/xsd"
> attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="http://entry.addressbook.sample/xsd">
> <xs:complexType name="Entry">
> .... data type elements here The problem is that the
> wrapper elements refer to the data-type complextypes, which are
> defined in two separate schema chunks. So the Eclipse WSDL validator
> sees these as separate and cannot resolve the cross references.
> Now the reason - I'm guessing - that Axis2 generates these in separate
> schema chunks, is because it wants to give them separate target
> namespaces.
> So either this needs to create a single Schema chunk or a link between
them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-3551) Java2WSDL creates WSDLs that fail
Eclipse validation
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-3551:
------------------------------------
Assignee: Deepal Jayasinghe
> Java2WSDL creates WSDLs that fail Eclipse validation
> ----------------------------------------------------
>
> Key: AXIS2-3551
> URL: https://issues.apache.org/jira/browse/AXIS2-3551
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen, wsdl
> Affects Versions: 1.3
> Reporter: Paul Fremantle
> Assignee: Deepal Jayasinghe
> Fix For: 1.4
>
>
> I recently used the Eclipse WebTools WSDL validator. It doesn't like
> the way that Axis2 creates Schemas. If you look at the AddressBook
> WSDL that gives you a good example.
> <wsdl:types>
> <xs:schema xmlns:ns="http://service.addressbook.sample"
> attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="http://service.addressbook.sample">
> <xs:element name="findEntry">
> .... wrapper elements here
> </xs:schema>
> <xs:schema xmlns:ax21="http://entry.addressbook.sample/xsd"
> attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="http://entry.addressbook.sample/xsd">
> <xs:complexType name="Entry">
> .... data type elements here
> The problem is that the wrapper elements refer to the data-type
> complextypes, which are defined in two separate schema chunks. So the
> Eclipse WSDL validator sees these as separate and cannot resolve the
> cross references.
> Now the reason - I'm guessing - that Axis2 generates these in separate
> schema chunks, is because it wants to give them separate target
> namespaces.
> So either this needs to create a single Schema chunk or a link between them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3551) Java2WSDL creates WSDLs that fail
Eclipse validation
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe resolved AXIS2-3551.
--------------------------------------
Resolution: Fixed
Issue should be fixed in the current SVN head
Thank you,
Deepal
> Java2WSDL creates WSDLs that fail Eclipse validation
> ----------------------------------------------------
>
> Key: AXIS2-3551
> URL: https://issues.apache.org/jira/browse/AXIS2-3551
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen, wsdl
> Affects Versions: 1.3
> Reporter: Paul Fremantle
> Assignee: Deepal Jayasinghe
> Fix For: 1.4
>
>
> I recently used the Eclipse WebTools WSDL validator. It doesn't like
> the way that Axis2 creates Schemas. If you look at the AddressBook
> WSDL that gives you a good example.
> <wsdl:types>
> <xs:schema xmlns:ns="http://service.addressbook.sample"
> attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="http://service.addressbook.sample">
> <xs:element name="findEntry">
> .... wrapper elements here
> </xs:schema>
> <xs:schema xmlns:ax21="http://entry.addressbook.sample/xsd"
> attributeFormDefault="qualified" elementFormDefault="qualified"
> targetNamespace="http://entry.addressbook.sample/xsd">
> <xs:complexType name="Entry">
> .... data type elements here
> The problem is that the wrapper elements refer to the data-type
> complextypes, which are defined in two separate schema chunks. So the
> Eclipse WSDL validator sees these as separate and cannot resolve the
> cross references.
> Now the reason - I'm guessing - that Axis2 generates these in separate
> schema chunks, is because it wants to give them separate target
> namespaces.
> So either this needs to create a single Schema chunk or a link between them.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org