changing the axis2/c message encoding

2009-07-21 Thread Haszlakiewicz, Eric

I want to change the character encoding that axis2/c uses to send
messages to ISO-8859-1.  I am using adb generated code to send and
receive the requests.  I figured there'd probably be something I can set
either in the axis2_stub_t service object, or maybe in axis2_options_t,
but I can't find anything that looks appropriate.  
How do I do this?

eric


problem axiom nodes - axiom elements

2009-07-21 Thread DANIEL
Hi list. I will explain my problem.
I have developed an aplication with axis.I receive a xml text with this
axiom node: 


http://sports.espn.go.com/espn/rss/nba/news"; text="ESPN.com -
NBA" htmlUrl="http://espn.go.com/nba/"; ng:subscriberCount="3231"
ng:unread="True" ng:username="" ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/13043";
ng:updated="True" ng:passwordenc="" ng:folderId="0"/>http://backends.barrapunto.com/barrapunto.rss"; text="Barrapunto"
htmlUrl="http://barrapunto.com/"; ng:subscriberCount="334"
ng:unread="True" ng:username="" ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/35905";
ng:updated="True" ng:passwordenc="" ng:folderId="20464569"/>http://bulma.net/xml.php"; text=" BULMA "
htmlUrl="http://bulma.net/"; ng:subscriberCount="64" ng:unread="True"
ng:username="" ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/41547";
ng:updated="True" ng:passwordenc="" ng:folderId="20464569"/>http://www.hispalinux.es/node/feed"; text="Hispalinux"
htmlUrl="http://www.hispalinux.es"; ng:subscriberCount="25"
ng:unread="True" ng:username="" ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/431693";
ng:updated="True" ng:passwordenc="" ng:folderId="20464569"/>http://libertonia.escomposlinux.org/backend.rdf";
text="Libertonia" htmlUrl="http://libertonia.escomposlinux.org/";
ng:subscriberCount="29" ng:unread="True" ng:username=""
ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/562052";
ng:updated="True" ng:passwordenc="" ng:folderId="20464569"/>http://libertonia.escomposlinux.org/diary.rdf"; text="Diarios de
Libertonia" htmlUrl="http://libertonia.escomposlinux.org/section/Diary";
ng:subscriberCount="10" ng:unread="True" ng:username=""
ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/858413";
ng:updated="True" ng:passwordenc="" ng:folderId="20464569"/>http://feeds.feedburner.com/PlanetUbuntuEs"; text="Feed de
PlanetUbuntu.Es" htmlUrl="http://www.planetubuntu.es";
ng:subscriberCount="16" ng:unread="False" ng:username=""
ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/1777825";
ng:updated="True" ng:passwordenc="" ng:folderId="20464569"/>http://magarto.com/blog/feed/"; text="Magarto"
htmlUrl="http://magarto.com/blog"; ng:subscriberCount="30"
ng:unread="True" ng:username="" ng:useDefaultCredentials="False"
ng:syncXmlUrl="http://services.newsgator.com/ngws/svc/Feed.aspx/1920685";
ng:updated="True" ng:passwordenc=""
ng:folderId="20464569"/>
.

I need to extract all elements of this node (outlines), and the
attributes of this.

Iam trying with the following code:
(child_body is the previus node )

child_body=axiom_node_get_next_sibling(child_head,env);
element_node_return=axiom_node_get_data_element(child_body_outline,env);
_first_element_body=axiom_element_get_first_element(element_node_return,env,child_body,&first_element_node);

children_iter=axiom_element_get_children(element_node_return,env,child_body); 


if(NULL != children_iter )
{
while(axiom_children_iterator_has_next(children_iter, env))
{
 child=NULL;
 axiom_element_t *child_ele = NULL;

child = axiom_children_iterator_next(children_iter, env);
child_ele = (axiom_element_t *)axiom_node_get_data_element(child, env);

 if(axiom_node_get_node_type(child_body_outline, env)== AXIOM_ELEMENT)
 {
printf ("\nChilds body:%s
\n",axiom_element_to_string(child_ele,env,child_body_outline)); 

while( 
axiom_util_get_next_sibling_element(_first_element_body,env,child_body,&next_node));
{
   sibling_ele =(axiom_element_t
*)axiom_util_get_next_sibling_element(_first_element_body,env,child_body,&next_node);
 printf("sibling: %s
\n",axiom_element_to_string(sibling_ele,env,child_body));   
}
} 
}

}

Somebody can help me?? I think my problem is I dont understand the
differences between axiom nodes and axiom elements.
Regards



Windows 32 bit client SSL Support

2009-07-21 Thread David F. Bakker
I have a HTTPS SOAP service that does not need a client certificate. It seems 
from the logs I need to generate a client certificate for SSL to work? I have 
.net clients that work with this service without any issues. I am using Axis2C 
1.6


[Tue Jul 21 10:23:09 2009] [info]  [ssl client] CA certificate not specified
[Tue Jul 21 10:23:09 2009] [error] 
..\..\src\core\transport\http\sender\ssl\ssl_utils.c(51) Cannot find 
certificates
[Tue Jul 21 10:23:09 2009] [error] 
..\..\src\core\transport\http\sender\ssl\ssl_stream.c(101) Error occurred in 
SSL engine
[Tue Jul 21 10:23:09 2009] [error] 
..\..\src\core\transport\http\sender\http_client.c(287) Data stream creation 
failed for Host blah.blah.com and 443 port
[Tue Jul 21 10:23:09 2009] [error] 
..\..\src\core\transport\http\sender\http_client.c(550) client data stream  
null or socket error for host blah.blah.com and 443 port
[Tue Jul 21 10:23:09 2009] [error] 
..\..\src\core\transport\http\sender\http_client.c(554) A read attempt(HTTP) 
for the reply without sending the request
[Tue Jul 21 10:23:09 2009] [error] 
..\..\src\core\transport\http\sender\http_sender.c(1384) status_code < 0
[Tue Jul 21 10:23:09 2009] [error] ..\..\src\core\engine\engine.c(179) 
Transport sender invoke failed

Regards,
-David