cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to recognize document as valid XSDCheck the selected category

Former Member
0 Kudos

w.r.t the thread below, any solution expert..

in Pi 7.0 XSD is working perfectly... in XML spy its not showing any error. but when i want to upload in 7.1 its giving errror like


Unable to convert imported document to WSDL
Reason: 
Unable to recognize document as valid XSDCheck the selected category

what change i should make in the xsd... so that it can be imported in 7.1

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Sam,

Did Ole's suggestion work for you ?

If not, were you able to find a solution for this issue.

If so , can you pls post, since I am having the same issue.

Thks

Joe

Former Member
0 Kudos

I don't know if your issue is resolved already. IIf it is not, please do a Check (F7) or try to activate this object. It looks like if you have an extra space within an element's name, it will throw an error and not generate the WSDL. Remove the extra space or correct any other errors shown during Check/Activate process and it should work fine. Surprisingly XMLSpy does not report this as an error.

Hope it helps.

Regards,

Badari

Former Member
0 Kudos

I don't know if your issue is resolved already. IIf it is not, please do a Check (F7) or try to activate this object. It looks like if you have an extra space within an element's name, it will throw an error and not generate the WSDL. Remove the extra space or correct any other errors shown during Check/Activate process and it should work fine. Surprisingly XMLSpy does not report this as an error.

Hope it helps.

Regards,

Badari

Former Member
0 Kudos

Hi Sam,

I had the same error today and I was also wondering why XML Spy doesn´t indicates any error.

In my case the problem was that there was one element with a SPACE at the end of the name.

After deleting this SPACE I was able to import the xsd as an external definition to PI 7.11

maybe in your xsd is something similar.

Kind regards

Jochen

Former Member
0 Kudos

Hi

What you can do is (in XML Spy) generate a sample XML file from your schema. Make sure you tick of for "Generate all elements".

From the sample XML file that you get, generate a schema (Generate DTD/Schema). This new schema will be different to the one you have, but importing it in PI should work.

When you use it in your message mapping, just make sure that you choose the correct field as the top node and also check that all fields are there (they were in my case and worked as a glove..:).

regards Ole