12 years ago
HOW TO Import the FFE ApplicantEnrollment WSDL
Foreword:
This is for folks trying to integrate with the new federal exchange.
Problem:
The distributed wsdl and xsds have a bunch of retaliative pathing in the import statements that soapUI doesn't like.
Solution:
Host the WSDL and xsds on a local web server and use absolute pathing in the import statements.
Detailed instructions:
step 0) Get the WSDL from CMS.
step 1) install Apache on your local.
step 2) find the htdocs directory, on Open Indiana, and likely most linux distros, it is /var/apache2/2.2/htdocs
step 3) copy the wsdl and xsds to htdocs/ffe
step 4) strip out the relative pathing on the xsds and wsdl, in this case it is everything to the left of the /XMLschemas in the paths for everything except the structures.xsd and xsd.xsd. (note: sed saved me a lot of time with this.)
step 5) replace the striped out part of the path with http://localhost/ffe
step 6) for xsd.xsd the the import statements look like this:
<xsd:import namespace="http://niem.gov/niem/structures/2.0" schemaLocation="http://localhost/ffe/XMLschemas/subset/niem/structures/2.0/structures.xsd"/>
<xsd:import namespace="http://niem.gov/niem/appinfo/2.0" schemaLocation="http://localhost/ffe/XMLschemas/subset/niem/appinfo/2.0/appinfo.xsd"/>
step 7) for structures.xsd the imports look like this:
<import namespace="http://niem.gov/niem/appinfo/2.0" schemaLocation="http://localhost/ffe/XMLschemas/subset/niem/appinfo/2.0/appinfo.xsd"/>
step
import the modified wsdl into soapUI.
This is for folks trying to integrate with the new federal exchange.
Problem:
The distributed wsdl and xsds have a bunch of retaliative pathing in the import statements that soapUI doesn't like.
Solution:
Host the WSDL and xsds on a local web server and use absolute pathing in the import statements.
Detailed instructions:
step 0) Get the WSDL from CMS.
step 1) install Apache on your local.
step 2) find the htdocs directory, on Open Indiana, and likely most linux distros, it is /var/apache2/2.2/htdocs
step 3) copy the wsdl and xsds to htdocs/ffe
step 4) strip out the relative pathing on the xsds and wsdl, in this case it is everything to the left of the /XMLschemas in the paths for everything except the structures.xsd and xsd.xsd. (note: sed saved me a lot of time with this.)
step 5) replace the striped out part of the path with http://localhost/ffe
step 6) for xsd.xsd the the import statements look like this:
<xsd:import namespace="http://niem.gov/niem/structures/2.0" schemaLocation="http://localhost/ffe/XMLschemas/subset/niem/structures/2.0/structures.xsd"/>
<xsd:import namespace="http://niem.gov/niem/appinfo/2.0" schemaLocation="http://localhost/ffe/XMLschemas/subset/niem/appinfo/2.0/appinfo.xsd"/>
step 7) for structures.xsd the imports look like this:
<import namespace="http://niem.gov/niem/appinfo/2.0" schemaLocation="http://localhost/ffe/XMLschemas/subset/niem/appinfo/2.0/appinfo.xsd"/>
step
