2011 Aug 18 3:47 PM
Hi Gurus,
We are publishing webservices from SAP and Java team is consuming them. For accessing the webservice from java , we are maintaining User name and Password in SICF for that service.
Now if we donot maintain the User name and Password in SICF for that service then Exception "Unauthorised " is coming in Java.
We want to pass the User name and Password from Java. How to achieve this.
Thanks
Jitendra
2011 Aug 18 4:10 PM
J,
When you created the Web Service in SAP, there should have been a WSDL created by SAP. Give that WSDL to the Java developers. They will find a Logon service in the WSDL. They need to create a Proxy that leverages that service - and pass the UserID and passwords as Credentials to the Proxy.
This "opens" the door into SAP.
Hi Gurus,
We are publishing webservices from SAP and Java team is consuming them. For accessing the webservice from java , we are maintaining User name and Password in SICF for that service.
Now if we donot maintain the User name and Password in SICF for that service then Exception "Unauthorised " is coming in Java.
We want to pass the User name and Password from Java. How to achieve this.
Thanks
Jitendra
2011 Aug 18 4:10 PM
J,
When you created the Web Service in SAP, there should have been a WSDL created by SAP. Give that WSDL to the Java developers. They will find a Logon service in the WSDL. They need to create a Proxy that leverages that service - and pass the UserID and passwords as Credentials to the Proxy.
This "opens" the door into SAP.
2011 Aug 18 4:31 PM
Hi John,
thnx for quick response. i have given WSDL to Java team but they are unable to find " Logon service in the WSDL".
Can u tell us for which XML tags we should search.
Thanks
Jitendra
2011 Aug 18 4:57 PM
J,
If you created the WS correctly in SAP, you should see something like this in the WSDL:
<wsdl:service name="service">
This is the service that the Java developers need to create as a Proxy and pass Credentials in it.
2011 Aug 19 4:00 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |