That's pretty clear, I just do not know how to access to the tag:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
  <soapenv:Body>
This is axis2c generated.

What I need to create is the following:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <soap:Body>

Sorry for my demur, but I can't figure it out.

Regards,
mAkos

Nandika Jayawardana wrote:
> You can how to add namespaces from this sample client. 
> 
> https://svn.apache.org/repos/asf/axis/axis2/c/core/trunk/samples/client/google/
> 
> Regards
> Nandika
> 
> On Mon, May 10, 2010 at 10:05 PM, Akos Marton <makos...@gmail.com
> <mailto:makos...@gmail.com>> wrote:
> 
>     Could you describe me those functions or give a useful link where it is
>     explaned as well?
> 
>     Nandika Jayawardana wrote:
>     > You can obtain the soap envelope and add the namespaces. This can be
>     > done by writing a message receiver. I think it should work ok even if
>     > you declare the namespaces on soap body's first child which you can
>     > access from the service.
>     >
>     > Regards
>     > Nandika.
>     >
>     > On Mon, May 10, 2010 at 4:25 PM, Akos Marton <makos...@gmail.com
>     <mailto:makos...@gmail.com>
>     > <mailto:makos...@gmail.com <mailto:makos...@gmail.com>>> wrote:
>     >
>     >     Dear List,
>     >
>     >     The default option for axis2c is to set up the soap envelope
>     header like
>     >     this:
>     >     <soapenv:Envelope
>     >     xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
>     >
>     >     I have a predefined wsdl and I have to align my server to
>     that. During
>     >     the xml communication there is a section:
>     >
>     >     <soap:Envelope
>     xmlns:soap="http://www.w3.org/2003/05/soap-envelope";
>     >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     >     xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>     >
>     >     I need to realize this xml somehow in to the stream.
>     >     The question is how can I change the default to my version?
>     >
>     >     Regards,
>     >     mAkos
>     >
>     >    
>     ---------------------------------------------------------------------
>     >     To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
>     <mailto:c-user-unsubscr...@axis.apache.org>
>     >     <mailto:c-user-unsubscr...@axis.apache.org
>     <mailto:c-user-unsubscr...@axis.apache.org>>
>     >     For additional commands, e-mail: c-user-h...@axis.apache.org
>     <mailto:c-user-h...@axis.apache.org>
>     >     <mailto:c-user-h...@axis.apache.org
>     <mailto:c-user-h...@axis.apache.org>>
>     >
>     >
>     >
>     >
>     > --
>     > http://nandikajayawardana.blogspot.com/
>     > WSO2 Inc: http://www.wso2.com
> 
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
>     <mailto:c-user-unsubscr...@axis.apache.org>
>     For additional commands, e-mail: c-user-h...@axis.apache.org
>     <mailto:c-user-h...@axis.apache.org>
> 
> 
> 
> 
> -- 
> http://nandikajayawardana.blogspot.com/
> WSO2 Inc: http://www.wso2.com


---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscr...@axis.apache.org
For additional commands, e-mail: c-user-h...@axis.apache.org

Reply via email to