Skip to Content
0

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

Mar 16 at 02:30 AM

94

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

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

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

Share
10 |10000 characters needed characters left characters exceeded