cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with external reference importing wsdl definition

Former Member
0 Kudos

Hi experts.

We're facing some problems importing a wsdl file provied by a client.

We've imported the wsdl file as external definition and we've imported the referenced xsd files in the same namespace.

One example:

In wsdl file we have:

<s:import namespace="http://xxx/GeBonoServicio.xsd"/>

<s:import schemaLocation="http://xx/Afine/GestionIncidencia.BS/webservices/gestionincidenciaws.asmx?schema=GeServicioVis" namespace="http://xxx/GeServicioVis.xsd"/>

We've imported the xsd from shemaLocation as an external definition and we've populated "Source" field with this schemaLocation.

Now in "External Reference" tab I can see the "Name" column populeted and I can navegate to the external definition but I can't see the estructure populated in the main message in tab "Message" neither in a message mapping.

¿Any idea what could be wrong?

Thanks a lot.

Best regards.

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Christian,

Have you tried a massive import (image from SAP PI 7.1)?

You could try to select all the necessaries files. If you have any error to the end of the process, comment us.

Regards.

Former Member
0 Kudos

Hi.

I've already tried it but I'm getting the same problem.

I can navigate from external reference tab

But I can't see the sctructure in the main external definition.

Any idea?

Regards and thank you so much.

iaki_vila
Active Contributor
0 Kudos

Hi Christian,

No more ideas for me, that they aren't to include the xsd definition inside the wsdl.

Could you share your files?, you can change the namespaces and the endpoints and in this way the community can invesitigate any inconsitence.

Regards and good luck.

Former Member
0 Kudos

Thank you so much.

I've attached the main wsdl and one of the xsd external references as xml files.

Let's see if we're luky

Regards.

Former Member
0 Kudos

Hi experts.

Any idea how could I see this external xsd in my wsdl definition?

Thank you so much!!!

Former Member
0 Kudos

Hi Christian,

Tha SAP no recognizes when WSDL file has two tags in the same WSDL:MESSAGE.

Try to put one message and will show in WSDL file.


I Think this is a Bug in PI System.

Best Regards.

Maikel

allamudi_loordh
Active Participant
0 Kudos

Hi christian,,

what ever the screenshot shared above is correct..you have to go for massive import. but before going forward just import all xsd files that in external referencing in IE and save it as .xsd files. you import your wsdl file also into same location. Now change the xmlns filename path to your location filename like below

<s:import namespace="http://XXXXXXXX/GeServicioVis.xsd"/>

                              <s:import namespace="http://XXXXXXXX/GeBonoServicio.xsd"/>

should be

<s:import namespace="input1.xsd"/>

                              <s:import namespace="input2.xsd"/>

by this way i have tried. while going for mass import check only .wsdl file..it should automatically take .xsd files as we have referred in wsdl file..

Hope it helps..

Regards,

Loordh.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Christian,

I Fixed my problem using XSLT Mapping.

Thanks.

Former Member
0 Kudos
iaki_vila
Active Contributor
0 Kudos

Hi Christian,

If you are using an wsdl you must import it as WSDL putting WSDL in the category field.

Is your length namespace greater thant 60 characters?, check this  Note 901988 - Integration Builder: Namespace of external definitions

Regads.

Former Member
0 Kudos

Hi Iñaki.

Thank you for your quick reply.

I've already impored the main message as external definition wsdl category. The reference messages have been imported as xsd category.

The note dont' apply us because we are in 7.11.

Thank you so much.

Regards.