with webservice's call results, eventually
applying a mapping to custom object using a WiseMapper passed to
getMapRequestAndResult(WiseMapper, Map)
methods
- Since:
- 29-07-2007
- Author:
- stefano.maestri@javalinux.it
Field Summary |
static java.lang.String |
HEADERS
|
static java.lang.String |
RESPONSE
|
static java.lang.String |
STATUS
|
Method Summary |
java.util.Map<java.lang.String,java.lang.Object> |
getMappedResult(WiseMapper mapper)
Apply WiseMapper provided with to returned Object as defined in
wsdl/wiseconsume generated objects. |
java.util.Map<java.lang.String,java.lang.Object> |
getMapRequestAndResult(WiseMapper mapper,
java.util.Map<java.lang.String,java.lang.Object> inputMap)
Apply WiseMapper provided to returned Object as defined in
wsdl/wiseconsume generated objects. |
java.util.Map<java.lang.String,java.lang.Object> |
getResult()
Return a Map containing objects returned by web service invocation. |
RESPONSE
static final java.lang.String RESPONSE
- See Also:
- Constant Field Values
STATUS
static final java.lang.String STATUS
- See Also:
- Constant Field Values
HEADERS
static final java.lang.String HEADERS
- See Also:
- Constant Field Values
getMapRequestAndResult
java.util.Map<java.lang.String,java.lang.Object> getMapRequestAndResult(WiseMapper mapper,
java.util.Map<java.lang.String,java.lang.Object> inputMap)
throws MappingException
- Apply WiseMapper provided to returned Object as defined in
wsdl/wiseconsume generated objects. If mapper parameter is null, no
mapping are applied and original object are returned. When no mapping
applied you will have this answer: For JAXWS the original object answer
are returned into this map; For JAXRS a Map contains 2 key/valuepair with
keys "ContentType" and "JAXRSStream"
- Parameters:
mapper
- a WiseMapper used to map JAX-WS generated object returned by
method call to arbitrary custom object model. It could be null
to don't apply any kind of mappingsinputMap
- It's the map of input object used to give them together with
output. It's useful when they are needed by wise's client in
same classLoader used by smooks (i.e when wise is used to
enrich set of objects like in ESB action pipeline)
- Returns:
- a Map containing the result of ws calls
eventually mapped using WiseMapper provided
- Throws:
MappingException
- rethrown exception got from provided WiseMapper
getMappedResult
java.util.Map<java.lang.String,java.lang.Object> getMappedResult(WiseMapper mapper)
throws MappingException
- Apply WiseMapper provided with to returned Object as defined in
wsdl/wiseconsume generated objects. If mapper parameter is null, no
mapping are applied and original object are returned. When no mapping
applied you will have this answer: For JAXWS the original object answer
are returned into this map; For JAXRS a Map contains 2 key/valuepair with
keys "ContentType" and "JAXRSStream"
- Parameters:
mapper
- a WiseMapper used to map JAX-WS generated object returned by
method call to arbitrary custom object model. It could be null
to don't apply any kind of mappings
- Returns:
- a Map containing the result of ws calls
eventually mapped using WiseMapper provided
- Throws:
MappingException
- rethrown exception got from provided WiseMapper
getResult
java.util.Map<java.lang.String,java.lang.Object> getResult()
- Return a Map containing objects returned by web service invocation. Both
return value and OUT Holders parameters are considered ; For JAXRS a Map
contains 2 key/valuepair with keys "ContentType" and "JAXRSStream"
- Returns:
- a Map containing the result of ws calls
eventually mapped using WiseMapper provided
Copyright © 2008-2009 Jboss.org. All Rights Reserved.