cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with namespace prefix

Former Member
0 Kudos

Dear all,

I'm using code generated by NW Developer Studio 2004s for use inside Portal components acting as a web service consumer. The problem is that the code generated includes a namespace prefix for each element in the body of the message, but ECC (ERP 6.0) doesn't like the namespace prefixes (the namespace was not recognised by the ECC mapping tool.)and throws back a DeliveryException.

The SOAP message created by the generated NWDS code is:

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

- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wn3="http://www.w3.org/1999/XMLSchema" xmlns:wn2="http://www.w3.org/2000/10/XMLSchema" xmlns:wn1="http://www.w3.org/2001/XMLSchema" xmlns:wn0="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wn4="urn:sap-com:document:sap:rfc:functions" xmlns:tns="urn:sap-com:document:sap:rfc:functions">

- <SOAP-ENV:Body>

- <wn4:Z_APPOINTMENT_GET_JCO_ORG>

<wn4:DATE_FROM>2007.01.01</wn4:DATE_FROM>

<wn4:DATE_TO>2008-02-02</wn4:DATE_TO>

<wn4:USERID>EGREO</wn4:USERID>

</wn4:Z_APPOINTMENT_GET_JCO_ORG>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

I've had a very good look around the generated code - the serializers for creating the soap request - but could not find what exactly might be changed to leave off the prefixes.

I am using portal server 2004s

Many thanks for any advice/help

Reza

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I find out how should I do that.

/Reza