• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Error while accessing secure web service

 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
i am creating a web service client for a secure web service (requiring user name , password for access). but while generating the client in eclipse by right clicking the wsdl i am getting the error

"schema_reference.4: Failed to read schema document 'http://xyz.com:80/cvb/abc?xsd=1', because 1) could not find the document; 2) the
document could not be read; 3) the root element of the document is not <xsd:schema>."

So I cannot create the client (in an eclipse web project) to access the web service.

Kindly help
Praveen
 
praveen shinde
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I downloaded the wsdl and have given the path of the xsd in my mcahine. even then it gives the same error.

reagrds,
Praveen
 
praveen shinde
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have given the xsd path as follows:

<xsd:schema>
<xsd:import namespace="http://ccc.cc.ccc.com/" schemaLocation="f://praveen//docs//ppp.xsd"></xsd:import>
</xsd:schema>

in the wsdl file imported in the client web project in eclips

regards,
Praveen
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic