Re: How do I create a saml_response_t from a string?

2008-10-23 Thread Chris Rose

Let me amend my question to give a bit more detail:

I have a SAML 1.1 response from a service as a UTF-8 string.
I want to get a list of the assertions in that response, also as UTF-8 
strings, preserving all of the signatures.


How can I accomplish this?  I believe that the process involves 
deserializing the SAML response, iterating over its assertions, and 
serializing those individually, but when I attempt to do so I am unable 
to get the process to work.  If it makes a difference, I am using 
saml_assertion_build to construct the assertion object, and 
saml_assertion_free is issuing a segment violation when attempting to 
free the saml_status part of the response.


Chris Rose wrote:
What is the correct method for creating a saml_response_t from a string? 
 I have a SAML 1.1 response (and, probably, I'll have to do this with 
SAML 1.0 as well, so if there's anything relevant there, I'd like to do 
both).


I will have these as UTF-8 char* data.

How can I create a saml_response_t object from these, and ideally clean 
up all of the xml processing bits after it?  I'm still a bit fuzzy on 
memory management within Axis2/C and Rampart/C, so a detailed response 
would be fantastic.




--
Chris Rose
DeveloperPlanet Consulting Group
(780) 577-8433
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How do I create a saml_response_t from a string?

2008-10-22 Thread Chris Rose
What is the correct method for creating a saml_response_t from a string? 
 I have a SAML 1.1 response (and, probably, I'll have to do this with 
SAML 1.0 as well, so if there's anything relevant there, I'd like to do 
both).


I will have these as UTF-8 char* data.

How can I create a saml_response_t object from these, and ideally clean 
up all of the xml processing bits after it?  I'm still a bit fuzzy on 
memory management within Axis2/C and Rampart/C, so a detailed response 
would be fantastic.


--
Chris Rose
DeveloperPlanet Consulting Group
(780) 577-8433
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Embedding the Axis2/C HTTP server in an application

2008-10-04 Thread Chris Rose
Right.  I've read that, and it's a bit... PHP-oriented.  I don't want 
the PHP solution, I want an idea of what the bare Axis2/C API way of 
doing this is.  Is there a code sample somewhere that will show me what 
the PHP code is doing under the hood?


Rajika Kumarasiri wrote:

On Sat, Oct 4, 2008 at 3:12 AM, Chris Rose
[EMAIL PROTECTED]wrote:
http://wso2.org/library/271

-Rajika


What is the right way to embed Axis2/C in my application?  I want to

make use of Axis2/C to provide web services, but within our own
application framework.

So, I want to start up a thread with the HTTP server listening on a
specified port, and then eventually be able to shut it down at some
later time when our service management framework tells the server to
quit gracefully.  In the meantime I want it to dispatch all incoming
service requests to a library of my devising.

Code samples would be fantastic, if anyone has any...

--
Chris Rose
DeveloperPlanet Consulting Group
(780) 577-8433
[EMAIL PROTECTED]







--
Chris Rose
DeveloperPlanet Consulting Group
(780) 577-8433
[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Embedding the Axis2/C HTTP server in an application

2008-10-03 Thread Chris Rose
What is the right way to embed Axis2/C in my application?  I want to
make use of Axis2/C to provide web services, but within our own
application framework.

So, I want to start up a thread with the HTTP server listening on a
specified port, and then eventually be able to shut it down at some
later time when our service management framework tells the server to
quit gracefully.  In the meantime I want it to dispatch all incoming
service requests to a library of my devising.

Code samples would be fantastic, if anyone has any...

-- 
Chris Rose
DeveloperPlanet Consulting Group
(780) 577-8433
[EMAIL PROTECTED]



signature.asc
Description: OpenPGP digital signature