I have a WSDL file, upon importing this WSDL as provider. I get the provider descriptor, services and documents. I issue here is that the documents contains namespaces.
I want to create a publishable document without namespace. Could you please advice on this?
As per my understanding a publishable document cannot contain namespace. correct me if I am wrong.
Also if i need to extract XSD from WSDL. Please suggest the steps for the same.
Thanks for reply RMG, after using pub.schema:createXSD service I am getting getting three schemas, since three namespaces are used in the input document.
Don’t use the resulting document type (created from the XSD within the WSDL) as the publishable document type. Instead, define a publishable document type of your own. Then in your services that use those doc types to manipulate documents, map to/from the document defined by the WSDL.
The createXSD service will just take you full circle, creating an XSD that is the same as the one you imported from the WSDL. That won’t help you.
Death to namespaces. They get in the way far more often than they help.
I just framed createXSD and don’t use WSDL reference it does gets namespace ofcourse …so Instead define a publishable custom document type based on your Mapping specifications as Rob mentioned above: