Skip to Content
avatar image
Former Member

SOAP:SXML reader/writer exception.Error while parsing an XML stream: 'undeclared namespace prefix'

Hello Experts,

I have consumed one java webservice in SE80 and created logical port in SOAMANAGER(Ping is successful) and i can able to run in SoapUI successfully.When i am calling web service method from SAP(ECC6.0) i am getting exception as mentioned in the subject. I am suspecting the issue is with my header which is building in my abap code before calling the method. Could you please help me out on this issue . Below code which i am using now for enabling header.

CONCATENATE ' ' ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">' ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">' ' hp-client-MDAS-PMG-ITG ' ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">' lv_password ' ' ' ' ' ' ' ' INTO l_string .

Thank you.

Regards,

Balaji

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 20 at 07:28 AM

    Hello..

    The same code is working in ECC5.0 but getting below exception in ECC6.0.

    SOAP:1001 CX_SXML_PARSE_ERROR:An exception occurred.SXML reader/writer exception.Error while parsing an XML stream: 'undeclared namespace prefix'.

    Any additional configuration required in SOAMANAGER in ECC6.0 - to resolve the same ?

    Regards,

    Balaji P

    Add comment
    10|10000 characters needed characters exceeded