mace-opensaml-users - Re: [OpenSAML] return SAMLASsertion on webservice method
Subject: OpenSAML user discussion
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: [OpenSAML] return SAMLASsertion on webservice method
- Date: Thu, 26 Jun 2008 23:25:22 +0200
- Openpgp: id=146B2514
- Organization: SWITCH
This is a question for the Axis list.
wrote:
Hi
I am implementing the webservice method which will take saml artifact and
retireves the authentication assertion and retunr to the client calling as
follows
public SAMLAssertion getSAMLAuhtenticationAssertion(String SAMLArt) throws
AxisFault
but when i try to create webservice i got the following errors
<em>
The service class
"com.tta.checkpoint.webservices.server.service.SAMLAssertionGenerationServiceImpl"
does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may
not deploy or function correctly.
The value type "org.opensaml.SAMLObject" used via the service class
"com.tta.checkpoint.webservices.server.service.SAMLAssertionGenerationServiceImpl" does
not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a
value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service
engine may be unable to construct an instance of the value type during deserialization.
The field or property "conditions" on the value type "org.opensaml.SAMLAssertion" used via the
service class "com.tta.checkpoint.webservices.server.service.SAMLAssertionGenerationServiceImpl" has a data
type, "java.util.Iterator", that is not supported by the JAX-RPC 1.1 specification. Instances of the type
may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
The field or property "advice" on the value type "org.opensaml.SAMLAssertion" used via the
service class "com.tta.checkpoint.webservices.server.service.SAMLAssertionGenerationServiceImpl" has a data
type, "java.util.Iterator", that is not supported by the JAX-RPC 1.1 specification. Instances of the type
may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
The field or property "statements" on the value type "org.opensaml.SAMLAssertion" used via the
service class "com.tta.checkpoint.webservices.server.service.SAMLAssertionGenerationServiceImpl" has a data
type, "java.util.Iterator", that is not supported by the JAX-RPC 1.1 specification. Instances of the type
may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
</em>
How do i return the SAMLassertion to client? what shud be my method signature?
--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch
- return SAMLASsertion on webservice method, lavanya505, 06/26/2008
- Re: [OpenSAML] return SAMLASsertion on webservice method, Chad La Joie, 06/26/2008
- RE: [OpenSAML] return SAMLASsertion on webservice method, Scott Cantor, 06/26/2008
Archive powered by MHonArc 2.6.16.