cancel
Showing results for 
Search instead for 
Did you mean: 

WSDL import in External definition - Structure not coming properly

former_member183906
Active Contributor
0 Kudos

Please open this URL

http://www.agenciatributaria.es/AEAT.internet/en_gb/Inicio/Ayuda/Modelos__Procedimientos_y_Servicios...

Please go to -> WSDL of web services - Supply Issued Invoices

I have downloaded this wsdl in SAP PO ESR, but this wsdl is having external references too.

Thus, I am not getting xsd contents of external reference in External definition created by importing wsdl.

can any one guide how to get this wsdl correct setup.

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Well I am able to import and activate that successfully.

former_member183906
Active Contributor
0 Kudos

yes, wsdl is imported successfully. But the content with proper nodes under it does not come.when we import the 5 xsd's , then xsd's are in error.

the wsdl should contain the structure of all these 5 xsd's

manoj_khavatkopp
Active Contributor
0 Kudos

I see the structures too.

former_member183906
Active Contributor
0 Kudos

can you please provide messages view of SuministroInformacion xsd.

https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fac...

I am getting blank mesages for it.

manoj_khavatkopp
Active Contributor
0 Kudos

Please share the screenshot of where u are seeing it blank.

manoj_khavatkopp
Active Contributor
0 Kudos

Yes it is blank . And it is supposed to be blank .

Because SuministroInformacion is not refering to any other XSD it doesn't has any import statement.Cross check with other XSD you will understand why it is blank.

All you need is check the WSDL file if you have everything.

Answers (4)

Answers (4)

manoj_khavatkopp
Active Contributor

Vijay,

If you open that WSDL it also has the location to find external XSD try to download them individually and the upload them into your PI system.

Br,

Manoj

gurudatta
Participant
0 Kudos

Hi Manoj,

PI does not do it automatically?

In all the cases we have to download manually and upload individually

?

Thanks,

Guru

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Guru,

Yes , As usually many of the webservice use the reusing concept of xsd file with the required wsdl file . So when you get the wsdl you need to get those xsd too PI wont be able to download them automatically it only takes what you upload.

Its like a Data type within another Data type or a data type enhancment with another data type.

Br,

Manoj

gurudatta
Participant
0 Kudos

Ok,

Thank you Manoj

former_member183906
Active Contributor
0 Kudos

When I am validating the xsd file ,it gives mentioned error. Seems there is issue in xsd file itself.

https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fac...

Error!!!
Undefined complexType 'https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroInformacion.xsd:RegistroSii' is used as a base for complex type extension.

weberpat
Contributor
0 Kudos

The XSD file is referencing another XSD file, which you would also need to download when validating:

<import namespace="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fact/ws/SuministroInformacion.xsd" schemaLocation="SuministroInformacion.xsd"/>
former_member183906
Active Contributor
0 Kudos

I downloaded the xsd file.

https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/ssii/fac...

But all xsd files are giving error while importing in PI - Unable to convert imported document to WSDL

When I open the xsd file, i do not find any xs or xsd tags in it. Can you please check xsd file and let me know how to rectify it.

Former Member
0 Kudos

Yup, as Manoj mentioned - Ensure all files/xsd's which are referred to in your WSDL are uploaded along with the WSDL.

Best,

Vibhu