on 08-01-2014 7:59 AM
Hi,
My requirement is as follows:
After i logon into portal 1 will click on a button which should trigger the action of Removing the role in portal 2 of the logged-in user
SSO is already configured between portal 1 and portal 2
Pls let me know how to achieve the same.
Thanks
vijay
Try exploring user management webservice or fpn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Able to create the webservices.
Currently i am unable to read the webservices from servlet with the following code:
URL url = new URL("http://portal:50000/dynamicweb/userAuthorization?wsdl");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
//conn.setRequestMethod("GET");
conn.setRequestProperty("Accept", "application/xml");
BufferedReader br = new BufferedReader(new InputStreamReader((conn.getInputStream())));
String apiOutput = br.readLine();
System.out.println(apiOutput);
//conn.disconnect();
JAXBContext jaxbContext = JAXBContext.newInstance(userAuthorization.class);
Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller();userAuthorization user = (userAuthorization) jaxbUnmarshaller.unmarshal(new StringReader(apiOutput));
System.out.println(user.getmethod());
The Error am getting is javax.xml.bind.UnmarshalException: unexpected element (uri:"http://schemas.xmlsoap.org/wsdl/", local:"definitions"). Expected elements are (none)
Pls suggest the possible suggestion.
Thanks,
mano.
You must have implemented thath one wrong, test the service with SOAP UI e.g. resp look here: UnmarshalException (Java Platform SE 7 )
cheers
Dear Mano,
If you are using portal federation between 2 portals using FPN, then:
Best Regards,
Rajendra
develop a app in portal 2 to do the job
create iview in portal 1 for that app
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.