-
1. Re: Error when validating WSDL.
jalen Nov 11, 2010 5:52 AM (in response to jalen)I updated the above WSDL and added a line "<xsd:import...>" in 1130. It looks like:
...
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.artesia.com/ws/api">
<xsd:import namespace="http://www.artesia.com/api/xsd"/>
<xsd:complexType name="ArrayOfString">...
This file can be used to import as a web service model successfully. But when importing the WSDL as a Relational Source Model, error occurred.
Step: "import..."->"WSDL into Relational Source Model"->"Validate WSDL"->"Next >"
Attachement is the updated WSDL file.
-
MyWebServices-Updated.xml 65.0 KB
-
-
2. Re: Error when validating WSDL.
jdoyle Nov 11, 2010 10:50 AM (in response to jalen)HI Jalen,
I'm looking into this. It seems that we're not resolving the ref declaratons in the schema correctly.
~john
-
3. Re: Error when validating WSDL.
jalen Nov 11, 2010 11:29 AM (in response to jdoyle)Thank you John, I will wait for your response,
-
4. Re: Error when validating WSDL.
jdoyle Nov 11, 2010 4:09 PM (in response to jalen)Jalen,
Thanks for sending this WSDL along, it has uncovered a few of defects with the importer. I've created JIRAs for them.
https://jira.jboss.org/browse/TEIIDDES-705
https://jira.jboss.org/browse/TEIIDDES-706
https://jira.jboss.org/browse/TEIIDDES-707
I've made fixes for 705 and 706 in the 7.1.1 branch. I'm not sure when I'll get to 707, but it's easily resolved by changing the confilicing names that the importer generates in the model, you can choose another name or just add a trailing underscore to the existing name.
I'm attaching a model create with 705 and 706 fixed, since you won't be able to get your hands on a Designer with these fixes for a while.
~john
-
ArtesiaService.zip 93.2 KB
-
-
5. Re: Error when validating WSDL.
rareddy Nov 11, 2010 4:32 PM (in response to jdoyle)Does Designer have a nightly build he can pick up if needs to?
-
6. Re: Error when validating WSDL.
jdoyle Nov 11, 2010 4:59 PM (in response to rareddy)Just checked and it appears that our nightlys are not public. Will look into that as well.
-
7. Re: Error when validating WSDL.
jalen Nov 12, 2010 4:52 AM (in response to jdoyle)Hello John,
Thanks for your zip file.
For the procedure "retrieveAssets", there are two "extract_links" with the same name, can I just rename it? Needless to do anything else?
-
8. Re: Error when validating WSDL.
jdoyle Nov 12, 2010 10:01 AM (in response to jalen)Yes, just renaming it should be sufficient. But change only the name value, not the Name in Source value. The name is source is what is used to construct the XML and if you modify that it will cread a document that the service won't recognize.
~john
-
9. Re: Error when validating WSDL.
jalen Nov 12, 2010 11:10 AM (in response to jdoyle)Thanks, John.