on 09-21-2006 5:19 PM
Hi,
I try to upload an external message definition (XSD) with a message belonging to a namespace with a name longer than 60 characters. Doing this, the Message does not appear on the "Messages" tab. If I manually edit the namespace and shorten it to under 60 characters it seems to work. This leads to the questions:
Is there a hard limit for name space names of 60 characters?
Is there a workaround available other than edit the original XSD (not an option since the XSD is controlled by another party...)
Kind regards Johan
The way I solved the problem on was by altering the XSD to an internal namespace(s). I then created a module which could do a search/replace for the internal to the external namespace. The module could then be reversed to convert the external namespaces to internal namespaces.
The best way to perform the transformation is to use SAX parser, because you are sure the resulting message validates as XML
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel
Thanks for your input. I thought the use of an extra java or XSLT mapping to convert between an internal namespace name and an external name might work, glad to hear it does. But it is not an appealing thought to edit all namespace declaration in some 90 external XSD files...
<REMOVED BY MODERATOR>
rgds Johan
Edited by: Prateek Raj Srivastava on Aug 16, 2011 10:34 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johan,
I am sure this is not due to the XSD.
Thanks & Regards
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johan,
This will help you
http://help.sap.com/saphelp_nw04/helpdata/en/bd/ddbe08ac5c11d2850e0000e8a57770/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/53/ec2c37b995184890c6d8ba5b668a86/frameset.htm
http://help.sap.com/saphelp_bw31/helpdata/en/bd/ddbe08ac5c11d2850e0000e8a57770/content.htm
Thanks & Regards
Agasthuri Doss
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.