cancel
Showing results for 
Search instead for 
Did you mean: 

Soap Sender

Former Member
0 Kudos

Hi,

I have an Soap to RFC interface which is working fine...when it comes to the configuration and sending part. But I'm getting mapping error which is strange since it is a simple field to field mapping.

I noticed though that there are some strange namespaces in the incomming message which could be the reason...Anyone who has had any experience of this.

<ns1:ReadSoft_Req_Msg xmlns:ns1="http://volvo.com/xi/Volvo/RTP/ReadSoft" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

But when I test in my own message mapping then there only is

<ns0:ReadSoft_Req_Msg xmlns:ns0="http://volvo.com/xi/Volvo/RTP/ReadSoft"

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

> I noticed though that there are some strange namespaces in the incomming message which could be the reason...Anyone who has had any experience of this.

The additional namespace declarations are irrelevant.

But you should use the payload from real message processing for testing.

Answers (2)

Answers (2)

henrique_pinto
Active Contributor
0 Kudos

Sonny,

without you saying which was the exact error you had in the mapping, it will be hard to even guess the problem.

There are several possibilities, and all the guys here will be able to do is to speculate.

One general thing that might happen, though, is that your sender uses qualified names for the inner tags, but you're using unqualified names (e.g. data type defined within PI). If you need to use qualified names (i.e. have the namespace also declared for the inner tags), you'll need to work from an XSD (external definition) in order to define your outbound message interface.

Best regards,

Henrique.

vkaushik82
Active Participant
0 Kudos

try changing ns1 to ns0 using adapter module it will work fine or

check

Edited by: Vikrant Kaushik on Aug 23, 2010 3:05 PM

.

stefan_grube
Active Contributor
0 Kudos

> try changing ns1 to ns0 using adapter module it will work fine or

It is irrelevant how the prefixes are named.

Former Member
0 Kudos

Hi,

Try removing SOAP envelope.

1- Using option in SOAP sender communication channel.

or deploying custom code to do this.

2-

Anand More