on 11-30-2005 4:10 PM
Hallo all!
I am using a web service framework which creates WSDL files for each web service method I am using. From that WSDl file the XI-mapping tool expects the elements of the XML message which I want to transform to be namespace-qualified. My problem is that the child elements of the root element in the messages send from my web service are NOT namespace-qualified.
How can I make the XI mapping tool to ommit any checks for namespaces? Right now I can not use the mapping tool at all and I am thinking of using XSL which is more flexible here.
Any help is highly appreciated!
Denis
Message was edited by: Denis Schlesinger
Hello Denis,
Normally Message Mapping can handle this kind of problems. If your wsdl has been developped according to w3c.org specifications, Message Mapping will add/remove namespaces according to your wsdl.
Best regards
Joachim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Denis,
the question whether child elements have to be namespace qualified or not, is specified in the XSD description of the message (in case of WSDL this XSD description can be found in the types-section of that WSDL). XSD knows several possibilities to provide this information. The most commonly used one is the usage of the attribute <i>elementFormDefault</i> which may have values <i>qualified</i> and <i>unqualified</i>. The second value is default. As the Mapping Tool expects namespace-qualified child elements I assume that the XSD contains <i>elementFormDefault="qualified"</i>. When the message you get contains unqualified elements this means, that it is not compliant with the WSDL.
Therefore you should negotiate with the sender of the message either to adapt the WSDL or to adapt the web service such that they fit together.
Greetings
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Denis,
Inorder to avoid namespace problems,you use external definitions for the message types in mapping. this will solve your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.