‎2012 Jun 04 2:51 PM
Hello,
I am facing an issue in calling my web service. I am trying to use a password digest for which i am constructing the SAP header and using the FM SDIXML_XML_TO_DOM.
On calling the web service i get the error-
SOAP:1.001 CX_SXML_PARSE_ERROR:SXML reader/writer exception.Error while parsing an XML stream: 'undeclared namespace prefix'.
I have searched through SCN and the response to this has mostly been to turn on the Trace in SOAMANAGER. However in my case i do not have authorization to turn it on. Is there some other way in which i can identify where the parsing fails?
Thanks for your help.
Regards,
Deepti
‎2012 Jun 05 2:42 PM
Hi,
why are you trying to build the request your self?
If you got a webservice definition file (....wsdl) you can easily generate
a class using transaction SPROXY/SE80 thats will call it and transform to the proper XML.
For the generattion just go SE80, right click on a package and select Create\enterprise service.
Select "Consumer" and It will ask for the file and do everthing else.
For the user and passwod,
-> please open transacrion SOAMANAGER,
-> go to web services,
-> query for your generated class and
-> create a so called "logical port" via the btutton on the second tab
Regards
‎2012 Jun 07 7:09 AM
Hello Marcel,
Thanks for your response.
The reason i am regenerating the header is because i need to support a password digest and that cannot be set via SOAMANAGER.
Regards,
Deepti
‎2012 Oct 02 6:30 PM
Deepti, did you fix this issue? I am facing the same.
Thanks,
Pieter