[ifmapdev] wsdl points to wrong xsd file.

28 views
Skip to first unread message

Terry Simons

unread,
May 16, 2010, 4:06:11 AM5/16/10
to ifmapdev
The current WSDL file is pointing to the wrong xsd file.

The WSDL file is here:

http://ifmapdev.com/wp-content/uploads/ifmap.wsdl

And it's pointing to a non-existent file "http://ifmapdev.com/wp-
content/uploads/ifmap-base-1.0v23.xsd"

It looks like it should be pointing to "http://ifmapdev.com/wp-content/
uploads/ifmap-base-1.0v28.xsd"

- Terry

Andrew Benton

unread,
May 16, 2010, 3:44:07 PM5/16/10
to ifma...@googlegroups.com
hmm, that is the wsdl that i was given. not sure what exactly needs to
change since all of the uri's point to the tcg. thoughts?

Terry Simons

unread,
May 16, 2010, 4:22:44 PM5/16/10
to ifmapdev
Ok so here's what needs to change:

The current WSDL file has these lines:

xsi:schemaLocation="http://www.trustedcomputinggroup.org/2006/IFMAP/1
ifmap-base-1.0v23.xsd
<wsdl:import namespace="http://www.trustedcomputinggroup.org/2006/
IFMAP/1" location="ifmap-base-1.0v23.xsd"></wsdl:import>

We just need to change the "3" in "ifmap-based-1.0v23.xsd" to an "8"
in both cases, I think.


On May 16, 1:44 pm, Andrew Benton <andrewmben...@gmail.com> wrote:
> hmm, that is the wsdl that i was given. not sure what exactly needs to
> change since all of the uri's point to the tcg. thoughts?
>

Andrew Benton

unread,
May 16, 2010, 5:02:07 PM5/16/10
to ifma...@googlegroups.com
the wsdl:import is commented out is it not? not that it would hurt to
change that line. i'll make both changes now.

Terry Simons

unread,
May 16, 2010, 5:37:46 PM5/16/10
to ifma...@googlegroups.com
No, I wasn't talking about that one.

So we have 3 files right?

ifmap.wsdl
ifmap-base-1.0v28.xsd
ifmap-metadat-1.0v23.xsd

Those are the files that are downloadable from the website.

Problem is, the ifmap.wsdl document is referencing
ifmap-base-1.0v23.xsd - which doesn't exist.

So the file looks like this:

<wsdl:definitions
targetNamespace="http://www.trustedcomputinggroup.org/2008/IFMAP/1/ifmap.wsdl"
xmlns:ifmapwsdl="http://www.trustedcomputinggroup.org/2008/IFMAP/1/ifmap.wsdl"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ifmap="http://www.trustedcomputinggroup.org/2006/IFMAP/1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.trustedcomputinggroup.org/2006/IFMAP/1
ifmap-base-1.0v23.xsd">
<wsdl:import
namespace="http://www.trustedcomputinggroup.org/2006/IFMAP/1"
location="ifmap-base-1.0v23.xsd"></wsdl:import>
<!-- <wsdl:import
namespace="http://www.trustedcomputinggroup.org/2006/IFMAP-METADATA/1"
location="ifmap-metadata-1.0v23.xsd"></wsdl:import>-->


But should look like this:

<wsdl:definitions
targetNamespace="http://www.trustedcomputinggroup.org/2008/IFMAP/1/ifmap.wsdl"
xmlns:ifmapwsdl="http://www.trustedcomputinggroup.org/2008/IFMAP/1/ifmap.wsdl"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ifmap="http://www.trustedcomputinggroup.org/2006/IFMAP/1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.trustedcomputinggroup.org/2006/IFMAP/1
ifmap-base-1.0v28.xsd">
<wsdl:import
namespace="http://www.trustedcomputinggroup.org/2006/IFMAP/1"
location="ifmap-base-1.0v28.xsd"></wsdl:import>
<!-- <wsdl:import
namespace="http://www.trustedcomputinggroup.org/2006/IFMAP-METADATA/1"
location="ifmap-metadata-1.0v23.xsd"></wsdl:import>-->

Note that I haven't touched the commented out
ifmap-metadata-1.0v23.xsd reference - just the references to
ifmap-base... which were wrong.

Make sense now?

I'm not sure what to do with the ifmap-metadata-1.0v32.xsd, but it
definitely doesn't seem like it should be commented out... was
somebody troubleshooting a problem? ;)

Andrew Benton

unread,
May 16, 2010, 6:57:20 PM5/16/10
to ifma...@googlegroups.com
could be. i had fixed the other two lines, but i will uncomment that one too.

Andrew Benton

unread,
May 16, 2010, 6:59:33 PM5/16/10
to ifma...@googlegroups.com
ok so all references should be fixed now, and i uncommented the line
importing the metadata schema.
Reply all
Reply to author
Forward
0 new messages