ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

How to specify schema Locations locally

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to specify schema Locations locally

    Hello,

    Im trying to run a webservice but I have to store the clients schema's locally.

    I cant get my webservice to access the schema's on a locally stored file.

    How do I specify the location of a local schema. The segment in question is highlighted.

    Thank You

    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="DocumentCompassWSService" targetNamespace="http://ws.wservicebkbl.ccni.cl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.wservicebkbl.ccni.cl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema>
    <xsd:import namespace="http://ws.wservicebkbl.ccni.cl/" schemaLocation="DocumentCompassWSService_schema1.x sd"/>
    </xsd:schema>
    </types>
Working...
X