Skip to Content
Former Member
Aug 19, 2011 at 07:22 PM

Calling web service -authentication using passwordtext



My requirement is to call a web service . WS which I consume need password type as Passwordtext.

I did following step

1.From SE80 created Enterprise Services using WSDL file.

2.In SOAMANAGER select my consumer proxy.

3.Created Logical port ZXYZ by selecting WSDL based configuration and gave WSDL url.

When I execute this proxy Iu2019m getting login error.

I check the blog /people/wolfgang.bauer2/blog/2009/07/08/call-wcf-service-net-from-sap-with-usernametoken-and-ssl

If use web.config file then I'm getting error in Method: IF_SIDL_DESERIALIZER~DESERIALIZE of program CL_SIDL_DESERIALIZER==========CP. Reason is this method check for url in the file.

When checked the soapui using the password type as passwordtext, Soap header is formed like below and it work fine without any issue.



PASSWORDhttp:// PASSWORD" target="_blank">">PASSWORD>

5oHK2KjEop8a6OPsl3pw6Q== 5oHK2KjEop8a6OPsl3pw6Q" target="_blank">">5oHK2KjEop8a6OPsl3pw6Q==>





Can any one help me how to pass password type as passwordtext. And also can you help me on custom binding.

Thanks in advance