I'm trying to get something to go with a WSRP implementation. What I have is a UserContext object (as defined by the OASIS standard). In addition to a handful of the default list of settings for a user, I have an extension that is defined. My extensions are all using the suggested String format meaning that I should be able to loop through the Extensions[] array that is on the UserContext object to try to find my attribute. Here is what I have --
1
2for( Extension e : userContext.getExtensions())
3{
4 Deserializer ds = e.getDeserializer( mechType
5 String.class,
6 new QName("urn:oasis:names:tc:wsrp:v2:types", "NamedString") );
7 ...
8 ...
9}
The problem I have is that I don't understand what the first parameter is supposed to be. "mechType" which is of type String. Not the most descriptive. I have been scouring the web but haven't found anything to explain yet -- all the javadoc provides no explanation of the parameters.
Can anyone help?
Firmi prego dentro per inbandierare questo come inadeguato.