You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "chiranjib (JIRA)" <ji...@apache.org> on 2010/09/23 15:23:32 UTC

[jira] Created: (AXIS2-4829) need to put header information in skeleton response

need to put header information in skeleton response
---------------------------------------------------

                 Key: AXIS2-4829
                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
             Project: Axis2
          Issue Type: Bug
          Components: samples
         Environment: windows
            Reporter: chiranjib
            Priority: Blocker


Hi i wanted to return a header attached with the reply from skeleton.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header xmlns="http://webservices.amadeus.com/definitions">
      <SessionId>00TCPK3BL6|1</SessionId>
   </soap:Header>
   <soap:Body>
      <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
         <processStatus>
            <statusCode>P</statusCode>
         </processStatus>
      </Security_AuthenticateReply>
   </soap:Body>
</soap:Envelope>


But in skeleton code when i am putting the code:


 SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
                	 SOAPHeader header = envelope.getHeader();
                	 header.setAttribute("SessionId", "01OUPK40YW|1");
                	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
                	
                	 retDoc.addNewSecurityAuthenticateReply();


its saying a error that it cannot convert from SOAPHeader to SOAPHeader



I am able to generate the soap body part........but not the header part.

can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Assigned: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe reassigned AXIS2-4829:
----------------------------------------

    Assignee: Samisa Abeysinghe

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Blocker
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Assigned: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe reassigned AXIS2-4829:
----------------------------------------

    Assignee: Samisa Abeysinghe

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Blocker
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2-4829.
--------------------------------------

    Resolution: Fixed

Please refer: http://www.keith-chapman.org/2008/10/axis2-adding-custom-soap-headers-to.html

I think that provides a solution to the problem you have

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Assigned: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe reassigned AXIS2-4829:
----------------------------------------

    Assignee: Samisa Abeysinghe

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Blocker
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Reopened: (AXIS2-4829) need to put header information in skeleton response

Posted by "chiranjib (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chiranjib reopened AXIS2-4829:
------------------------------


My problem is not to add header information into request....my problem was totaly different.

I am generating a skeleton using apache axis 2.
 
but one of my requirement is to add header information in the reply message.
 
I got a post of yours in https://issues.apache.org/jira/browse/AXIS2-3948
 
which according to you has worked fine.
 
 
But can you please little bit elaborate and please send me the exact code and implementation that has worked.
 
My requirement is to only get the header inside the reply envelope.
 
<soap:Header xmlns="http://webservices.amadeus.com/definitions">
      <SessionId>00XB3K3D5O|1</SessionId>
   </soap:Header>

 
 

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Reopened: (AXIS2-4829) need to put header information in skeleton response

Posted by "chiranjib (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chiranjib reopened AXIS2-4829:
------------------------------


My problem is not to add header information into request....my problem was totaly different.

I am generating a skeleton using apache axis 2.
 
but one of my requirement is to add header information in the reply message.
 
I got a post of yours in https://issues.apache.org/jira/browse/AXIS2-3948
 
which according to you has worked fine.
 
 
But can you please little bit elaborate and please send me the exact code and implementation that has worked.
 
My requirement is to only get the header inside the reply envelope.
 
<soap:Header xmlns="http://webservices.amadeus.com/definitions">
      <SessionId>00XB3K3D5O|1</SessionId>
   </soap:Header>

 
 

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Reopened: (AXIS2-4829) need to put header information in skeleton response

Posted by "chiranjib (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chiranjib reopened AXIS2-4829:
------------------------------


My problem is not to add header information into request....my problem was totaly different.

I am generating a skeleton using apache axis 2.
 
but one of my requirement is to add header information in the reply message.
 
I got a post of yours in https://issues.apache.org/jira/browse/AXIS2-3948
 
which according to you has worked fine.
 
 
But can you please little bit elaborate and please send me the exact code and implementation that has worked.
 
My requirement is to only get the header inside the reply envelope.
 
<soap:Header xmlns="http://webservices.amadeus.com/definitions">
      <SessionId>00XB3K3D5O|1</SessionId>
   </soap:Header>

 
 

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe updated AXIS2-4829:
-------------------------------------

    Priority: Trivial  (was: Blocker)

This is a trivial query

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Reopened: (AXIS2-4829) need to put header information in skeleton response

Posted by "chiranjib (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chiranjib reopened AXIS2-4829:
------------------------------


My problem is not to add header information into request....my problem was totaly different.

I am generating a skeleton using apache axis 2.
 
but one of my requirement is to add header information in the reply message.
 
I got a post of yours in https://issues.apache.org/jira/browse/AXIS2-3948
 
which according to you has worked fine.
 
 
But can you please little bit elaborate and please send me the exact code and implementation that has worked.
 
My requirement is to only get the header inside the reply envelope.
 
<soap:Header xmlns="http://webservices.amadeus.com/definitions">
      <SessionId>00XB3K3D5O|1</SessionId>
   </soap:Header>

 
 

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2-4829.
--------------------------------------

    Resolution: Fixed

Please refer: http://www.keith-chapman.org/2008/10/axis2-adding-custom-soap-headers-to.html

I think that provides a solution to the problem you have

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe updated AXIS2-4829:
-------------------------------------

    Priority: Trivial  (was: Blocker)

This is a trivial query

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Assigned: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe reassigned AXIS2-4829:
----------------------------------------

    Assignee: Samisa Abeysinghe

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Blocker
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2-4829.
--------------------------------------

    Resolution: Fixed

Please refer: http://www.keith-chapman.org/2008/10/axis2-adding-custom-soap-headers-to.html

I think that provides a solution to the problem you have

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe updated AXIS2-4829:
-------------------------------------

    Priority: Trivial  (was: Blocker)

This is a trivial query

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2-4829.
--------------------------------------

    Resolution: Fixed

Please refer: http://www.keith-chapman.org/2008/10/axis2-adding-custom-soap-headers-to.html

I think that provides a solution to the problem you have

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Assigned: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe reassigned AXIS2-4829:
----------------------------------------

    Assignee: Samisa Abeysinghe

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Blocker
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe resolved AXIS2-4829.
--------------------------------------

    Resolution: Fixed

Please refer: http://www.keith-chapman.org/2008/10/axis2-adding-custom-soap-headers-to.html

I think that provides a solution to the problem you have

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe updated AXIS2-4829:
-------------------------------------

    Priority: Trivial  (was: Blocker)

This is a trivial query

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4829) need to put header information in skeleton response

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Samisa Abeysinghe updated AXIS2-4829:
-------------------------------------

    Priority: Trivial  (was: Blocker)

This is a trivial query

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Reopened: (AXIS2-4829) need to put header information in skeleton response

Posted by "chiranjib (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

chiranjib reopened AXIS2-4829:
------------------------------


My problem is not to add header information into request....my problem was totaly different.

I am generating a skeleton using apache axis 2.
 
but one of my requirement is to add header information in the reply message.
 
I got a post of yours in https://issues.apache.org/jira/browse/AXIS2-3948
 
which according to you has worked fine.
 
 
But can you please little bit elaborate and please send me the exact code and implementation that has worked.
 
My requirement is to only get the header inside the reply envelope.
 
<soap:Header xmlns="http://webservices.amadeus.com/definitions">
      <SessionId>00XB3K3D5O|1</SessionId>
   </soap:Header>

 
 

> need to put header information in skeleton response
> ---------------------------------------------------
>
>                 Key: AXIS2-4829
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4829
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>         Environment: windows
>            Reporter: chiranjib
>            Assignee: Samisa Abeysinghe
>            Priority: Trivial
>
> Hi i wanted to return a header attached with the reply from skeleton.
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Header xmlns="http://webservices.amadeus.com/definitions">
>       <SessionId>00TCPK3BL6|1</SessionId>
>    </soap:Header>
>    <soap:Body>
>       <Security_AuthenticateReply xmlns="http://xml.amadeus.com/VLSSLR_06_1_1A">
>          <processStatus>
>             <statusCode>P</statusCode>
>          </processStatus>
>       </Security_AuthenticateReply>
>    </soap:Body>
> </soap:Envelope>
> But in skeleton code when i am putting the code:
>  SOAPEnvelope envelope = MessageContext.getCurrentMessageContext().getEnvelope();
>                 	 SOAPHeader header = envelope.getHeader();
>                 	 header.setAttribute("SessionId", "01OUPK40YW|1");
>                 	 SecurityAuthenticateReplyDocument retDoc = SecurityAuthenticateReplyDocument.Factory.newInstance();
>                 	
>                 	 retDoc.addNewSecurityAuthenticateReply();
> its saying a error that it cannot convert from SOAPHeader to SOAPHeader
> I am able to generate the soap body part........but not the header part.
> can you please let me know the procedure to do it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org