Hi All,
Thanks for the coming with ideas. Finally the issue is resolved.
Thanks to Ravi for showing interest in this issue.
Initially the WSDL contained the below line, and I was getting Malformed URL Exception for #UsernameTokenOverHTTPS
<portType name="CompanyPortTypeHTTP" xmlns:wsp="http://www.w3.org/ns/ws-policy" wsp:PolicyURIs="#UsernameTokenOverHTTPS">
After changing the above tag to
<portType name="CompanyPortTypeHTTP">
the issue was resolved. Now I can create client and server using this WSDL.