cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP: error occurs in AE

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

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

Former Member
0 Kudos

We haven't a link to the WSDL of web service.

We do the mapping using XSLT.

This scenario had worked correctly with this message before SP14 for XI3.0 was installed.

We use XSD in XML because it is necessary for our web service.

stefan_grube
Active Contributor
0 Kudos

Copy the wsdl directly into a form post.

Stefan

Former Member
0 Kudos

We don't use WSDL at all.

In SOAP adapter SOAP action is entered.

stefan_grube
Active Contributor
0 Kudos

I am sorry, I have no SP14 system for testing in the moment (In SP13 it works fine).

You should open an OSS ticket for that, as it sounds like a bug.

Regards

Stefan

Former Member
0 Kudos

Thank you for your advice!

Regards

Alexander

stefan_grube
Active Contributor
0 Kudos

A bugfix will be available soon.

The error occurs only in SP14.

Regards

Stefan

0 Kudos

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

Former Member
0 Kudos

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.