cancel
Showing results for 
Search instead for 
Did you mean: 

Web service using XI

Former Member
0 Kudos

I have created a web service using XI.

But i have following issues.

1. I am not able to have annoynimus logon for the web service.

i have tried modifying web.xml but it gives me a class cast Exception.

2. Where should i keep my WSDL which generated by XI. So that it is available for other to use it. For Example when we create web service in J2EE we can get the WSDL from WSNavaigator. But for web service in XI what are possible options

I have few options for this like we can unable Directory Listing enabled on j2ee server and keep the WSDL in a folder on XI server and expose that server. but it is not a secure option.

Accepted Solutions (1)

Accepted Solutions (1)

sam_raju
Contributor
0 Kudos

Hi Divyakumar,

Refer to the solution proposed in the following thread

/message/116692#116692 [original link is broken]

Hope this helps.

Rgds,

Sam Raju

Former Member
0 Kudos

Thanks for your reply

Raju i am not able to open the post

/message/116692#116692 [original link is broken]

it says you are not authorised to view this.

sam_raju
Contributor
0 Kudos

Hi DivyaKumar,

Here it is. This was posted by Holger Kunitz.

This is for (your question#1) making anonymous soap calls.

"You can try the following in a test/dev-system: Extract the SOAP-adapters WAR-file from the corresponding sda. Then extract the deployment-descriptor from the war-file and delete there the related security-constraint, login-config and security-role sections (makes absolutely sense to save the original descriptor beforehand). ZIP the files again with the new deployment descriptor and deploy the SDA via SDM.

Obviously, there seems not to be any mechanism to carry out a similar action via the J2EE Admin."

Rgds,

Sam Raju

Message was edited by: Sam Raju

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

This blog might help you:

/people/sap.user72/blog/2005/11/17/xi-how-to-publish-wsdl-generated-from-xi-to-uddi

It makes no sense to have anonymus logon for a webservice provided by XI. That would contradict security issues of XI.

You can easliy provide logon data to any web service client.

Regards

Stefan

Former Member
0 Kudos

Thanks Stefan,

I have seen this Blog but in ths blog we have to enable Directory listing which one feels is unsafe.

I can think of one solution in which we create a servlet and have a WSDL name as paramter. This servlet will give WSDL as response