on 10-05-2005 3:52 PM
Hello.
The error "SOAP: error occured: org.w3c.dom.DOMException: QName is 'xmlns', but URI is not 'http://www.w3.org/2000/xmlns/' in the qualified name, 'xmlns'" occurs in Adapter Engine. It happens in the scenario, when IDOC from SAP is mapped to XML in XI 3.0 (SP14) and transfered to our web service using SOAP adapter.
We watch this error in Message Display Tool.
We had not such error before SP14.
A result of mapping is the following xml message:
<?xml version="1.0" encoding="utf-8"?>
<CurrencyRatesAdd xmlns="http://tempuri.org/">
<dsRT>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" id="dsCurrencyRates" targetNamespace="http://tempuri.org/dsCurrRates.xsd" elementFormDefault="qualified" attributeFormDefault="qualified" xmlns="http://tempuri.org/dsCurrRates.xsd" xmlns:mstns="http://tempuri.org/dsCurrRates.xsd" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="dsCurrencyRates" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="CurrencyRates">
<xs:complexType>
<xs:sequence>
<xs:element name="Currency" type="xs:string" minOccurs="0"/>
<xs:element name="Date" type="xs:date" minOccurs="0"/>
<xs:element name="Value" type="xs:decimal" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
<dsCurrencyRates xmlns="http://tempuri.org/dsCurrRates.xsd">
<CurrencyRates>
<Currency></Currency>
<Date>2005-10-05</Date>
<Value>34.6</Value>
</CurrencyRates>
<CurrencyRates>
<Currency>$</Currency>
<Date>2005-10-05</Date>
<Value>28.65</Value>
</CurrencyRates>
</dsCurrencyRates>
</dsRT>
</CurrencyRatesAdd>
Best regards,
Alexander Gannochka.
This XML looks really weird. Do you have a link to the WSDL of the web service? How did you do the mapping? It looks like Java Mapping. In this case, I would assume, there is an error in the code.
Usually, the XML starts with:
<?xml version="1.0" encoding="utf-8"?>
<ns:AnyName xmlns=...
xmlns as simple attribute cannot be understood by the SOAP adapter.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The note has been released, as has patch 2 for Adapter Frameworkm Core. I just installed this and it fixed the problem!
-
-
Hi
Any idea when this note will be released and when the fix will be available. I have the exact same problem in SP14.
Regards,
Thorsten
Message was edited by: Thorsten Søbirk
Why is your XML message having the XSD (XML schema definition) constructs? Probably you need to explain a little bit more about your scenario.
Regards,
Suresh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
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.