RI WSDLS (it works with wsdl.exe)
KevinBenson
kmb at mssl.ucl.ac.uk
Thu Jun 22 02:37:59 PDT 2006
Hi Gretchen okay this morning I assumed you were probably using wsdl.exe
and gave it a try. Took me a little while to figure out how the
executable works, but it did work. (had to make 2 changes) I think
maybe you were not placing all the schema and wsdls to the executable.
**Main change the targetNamespace at the top of the definitions in
RegistrySearch.wsdl and RegistryPublish.wsdl needs to be changed to
something else. Currently it is the same as the imported schema which
caused the main problem. I will change it in the next version.
**In the current ADQL.xsd being imported there is a attribute (just 1)
of use="alias" wsdl.exe did not like this and I just changed it to
"required" for the moment we don't use this part of the ADQL anyways.
Commands I used once I made the changes:
C:\Temp\contracts3>wsdl.exe
.\schema\registry\RegistrySearch\v1.0\RegistrySearch.wsdl
.\schema\registry\RegistrySearch\v1.0\Search.wsdl
.\schema\vo-resource-types\VOResource\v1.0\VOResource.xsd
.\schema\adql\ADQL\v1.0\ADQL.xsd
.\schema\stc\STCRegion\v1.10\STCregion.xsd
.\schema\stc\STCcoords\v1.10\STCcoords.xsd
C:\Temp\contracts3>wsdl.exe
.\schema\registry\RegistryPublish\v1.0\RegistryPublish.wsdl
.\schema\registry\RegistryPublish\v1.0\Publish.wsdl
.\schema\oai\OAI\v2.0\OAI.xsd
**Note WSDL2Java will pick up all those extension schemas in
RegistrySearch.wsdl I did not try it with wsdl.exe since it was not
quite needed.
cheers,
Kevin
Gretchen Greene wrote:
> Hey Kevin,
>
> I'm starting to look into the zip 0.8.4 registry search wsdl(s) for
> v1.0. Firstly I noticed that the newer zip is not synchronized on the
> twiki between the attachment and the reference at the top of the doc
> (it's still linked to 0.8.1).
>
> Are you running a validator over these? I'm hitting a lot of binding
> errors. Maybe it's premature to run the wsdl to c#, I thought maybe we
> were getting close with your reference to running wsdl2java.
>
> Also could the relative paths for the import schemaLocations change to
> an ivoa location?
>
> -Gretchen
>
>
More information about the registry
mailing list