i created a service-asset in CentraSite and attached the corresponding WSDL-file. CentraSite recognizes that the WSDL imports an external XML-Schema, downloads it and ceates a schema-asset for it. The import-tag in the WSDL is modified so it points to the schema within CentraSite.
Within WM Designer (8.0) i can see the service-asset and click on “create Web Service Descriptor”. A wizzard opens and i select the package and if it should create a consumer or a producer (doesn’t matter). But when i click on finish, i get the following error-message:
javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at ‘…/DataModel/BDataModel_1.0.xsd’, relative to ‘http://localhost:53305/CentraSite/CentraSite/ino:dav/ino:dav/projects/WSDL/smc/ServiceAddress/uddi_b58442fc-a15c-11df-ae0d-8da978c509b3/’.: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:53305/CentraSite/CentraSite/ino:dav/ino:dav/projects/WSDL/smc/DataModel/DataModel_1.0.xsd
Obviously accessing the XSD requires authentication (opening http://localhost:53305/CentraSite/CentraSite/ino:dav/ino:dav/projects/WSDL/smc/DataModel/DataModel_1.0.xsd in a browser shows an authentication-dialog), but that doesn’t make sense to me. Any ideas? What am i doing wrong?