cancel
Showing results for 
Search instead for 
Did you mean: 

Extenal Refence in External Definition

jakob_steen-petersen
Active Participant
0 Kudos

Hi,

I need to use an external WSDL as a External Definition. The WSDL contains this line:

<b><xsd:include schemaLocation="../service/FordringModtagSAP38Interface.xsd" /></b>

How do i import the includet schema? It´s not allowed to call it <b>../service</b>

How do i do it??

/Jakob

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Import the referred XSD. In the Source Field, in the XSD give the name of the main XSD which is actually referring to this XSD.

Regards

Bhavesh

jakob_steen-petersen
Active Participant
0 Kudos

So this should be in the source field:

../service/FordringModtagSAP38Interface.xsd

?

/Jakob

bhavesh_kantilal
Active Contributor
0 Kudos

Let me try to explain it better.

Assume the XSD A refers to XSD B.

1. Import XSD A.

2. In XSD A ( the main XSD ), you will find a tab EXTERNAL REFERENCES . In this you should find an entry for Source. Copy this.

3. Import XSD B.

4. When you import, you will find a field called Source after you import it. Paste the Copied Text of step 2 here.

5. Save and activate.

6. Now, XSD A, in External References should contain both Name and Source filled.

Regards

Bhavesh

henrique_pinto
Active Contributor
0 Kudos

> So this should be in the source field:

>

> ../service/FordringModtagSAP38Interface.xsd

Exactly, that should be the content of the source field in the external definition for the .xsd.

Once you set and save it, go to the "external references" tab of the wsdl. There you should see the proper reference being found.

Regards,

Henrique.

Answers (0)