cancel
Showing results for 
Search instead for 
Did you mean: 

problem with the namespace in the soap message ' xmlns:p1'

Former Member
0 Kudos

Hi,

I have released a WSDL file which the siebel system is consuming to send the data to SAP XI .

the extract of the WSDL file is as below

<b><?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions name="MI_Customer" targetNamespace="http://ofcom.co.uk/unify/CustomerMaster" xmlns:p1="http://ofcom.co.uk/unify/CustomerMaster" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:types><xsd:schema targetNamespace="http://ofcom.co.uk/unify/CustomerMaster" xmlns="http://ofcom.co.uk/unify/CustomerMaster" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="MT_Customer" </b>

if we see in the there is a attribute called xmlns:p1 which is creaing the problem as data sent is as below

<b> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <MT_Customer xmlns="http://www.siebel.com/xml/MT_Customer" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

- <Customer>

<Cust_No>0005000013</Cust_No>

<Title>Mr.</Title>

</b>

due to this the XI system is not triggring the mapping.

as XI expects the data in the below format which we generated with the stylus studio tool

<b> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <p1:MT_Customer xmlns:p1="http://ofcom.co.uk/unify/CustomerMaster" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

- <Customer>

<Cust_No>1232</Cust_No>

<Title>mr.</Title>

</b>

If anyone has any Idea as to how can we overcome this problem

Thanks

Nikhil

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

just a thought..... did u try removing xmlns:p1="http://ofcom.co.uk/unify/CustomerMaster" from your WSDL file ?

Try to remove that and proceed in your development.

Former Member
0 Kudos

Hi ,

I did try it but it did not work that way .

Is there any work around

Thanks

Nikhil