on 10-28-2006 12:55 PM
Hi All,
I am testing the SPML interface of SAP Netweaver.
I want to know whether Netwaever has support for SPML 2.0 interface.
The code which i have written using the SPML 2.0 toolkit geneartes the xml as follows which is not accpeted by SAP Netwaever server.
<addRequest xmlns='urn:oasis:names:tc:SPML:2:0' requestID='add-1' executionMode=
'synchronous' returnData='everything'>
<data>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='objectclass'>
<dsml:value>sapuser</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='logonname'>
<dsml:value>yuvrajsingh</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='lastname'>
<dsml:value>Singh</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='firstname'>
<dsml:value>Yuvraj</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='password'>
<dsml:value>password</dsml:value>
</dsml:attr>
<dsml:attr xmlns:dsml='urn:oasis:names:tc:DSML:2:0:core' name='validto'>
<dsml:value>20051031000000Z</dsml:value>
</dsml:attr>
</data>
</addRequest>
SpmlClient: received
<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://
schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><addRespons
e result="urn:oasis:names:tc:SPML:1:0#failure" requestID="add-1" errorCode="urn:
oasis:names:tc:SPML:1:0#customError"><errorMessage>No such objectclass defined</
errorMessage></addResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://
schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><addRespons
e result="urn:oasis:names:tc:SPML:1:0#failure" requestID="add-1" errorCode="urn:
oasis:names:tc:SPML:1:0#customError"><errorMessage>No such objectclass defined</
errorMessage></addResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
error message 1
org.openspml.v2.util.Spml2ExceptionWithResponse: No such objectclass defined
at org.openspml.v2.client.Spml2Client.throwErrors(Spml2Client.java:282)
at org.openspml.v2.client.Spml2Client.send(Spml2Client.java:229)
at ManojTest.<init>(ManojTest.java:107)
Hi Manoj,
I could only find information on SPML 1.0, as I am looking at possibilities of implementing this standard as-well I would like to know if you have this solved by using the v1.0 standard.
Futher more I am still looking for a way to solve the SAP role object creation issue, as SPML 1.0 can not be used to create SAP roles as far as I could see. This could be solved by SPML 2.0, if you look at the document SAP Identity Management API's page 38(<a href="https://websmp203.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000668401&">here</a>). Features states you can create and delete roles, and Constrains tells you it cann't.
Let me know if you have any updates.
Regards,
Jasper Kuijten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.