cancel
Showing results for 
Search instead for 
Did you mean: 

External references in XSD

Former Member
0 Kudos

Hi,

I have DtReport.xsd with external references as attachments.xsd, dtglobaltypes.xsd and dtarchiving.xsd

And dtarchiving.xsd with external references as attachments.xsd.

How do I link themor tie them together?

When I use DtReport.xsd in mapping, I dont find sub-elements of attachments.xsd. I mean there was a way in web-services and in xsd's to link these external references, can someone help me to figure out.

Regards,

Riya Patil

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Riya,

When you double-click on an external definition, you will be able to see the:

File

Source

under the source, there are four tabs, namely: Imported Document, Messages, WSDL and External References.

1. Click on the External References tab

2. There are two columns, one is the Source and the other one is the Name

3. Click the Name even if it is blank

4. Press ctrl+c (copy), then find it's equivalent xsd then paste it under the Source

This should make that xsd visible as an external reference.

Hope this helps,

Edited by: Mark Dihiansan on Feb 9, 2010 4:49 AM

Answers (2)

Answers (2)

former_member190389
Active Contributor
0 Kudos

Hi,

You need to put the XSD files on server in the Server0 directory.

This way they can be linked.

Path C:\usr\sap\<SID>\DVEBMGS<NO>\j2ee\cluster\server0

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi ,

There are two ways you can refer external references

1)Easy approach alredy explained by Mark

2)Other one is take all XSD's source in to XML Spy,where ever referece element present in the Main XSD copy the reference XSD source.you have to edid/and small changes in Main XSD file.

its bit complexs procedure,but this way we can make one XSD as source,no references.

after making changed ,just validated the XSD document.

Regards,

Raj