Forum Discussion

tomasz_belina's avatar
14 years ago

Incorrect schemaLocation

It seems that war with mock must be deployed on root context in servlet container. Event when context is different then root (in my case url for wsdl is http://localhost:8080/project/?WSDL) then schemaLocation attribute value in import points to root context (in my case /?WSDL&interface=ServiceBinding&part=errors.xsd). In result even soupUI is unable to import wsdl for this mock service. My soupUI version is 3.6.1

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    hmm.. did you specify "http://localhost:8080/project" as the MockService endpoint in the Deploy As War dialog?

    (As far as I remember there wasn't any way to figure out - in code - which path the war file was deployed under)

    regards!

    /Ole
    eviware.com
  • I try it with endpoint address but it does not work. Is there some workaround to deploy mock application into non root context of Tomcat.