[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-dev
Subject:    Calling Axis2 Service without using Stubs - setting payload
From:       John Forde <John.Forde () FINEOS ! com>
Date:       2013-08-29 8:59:12
Message-ID: 21BAE4358AE7AB498FE950983FD1A1EE994414B4 () EXCHANGE-DB ! FINEOS ! com
[Download RAW message or body]

Hi Folks,
I am looking to use axis2 Client to send following XML as payload to Axis2 services.
The service type is doc-literal and binding would be jaxbri.
The number of elements in WSExternalEnquiryRequest can change also.

     <WSExternalEnquiryRequest>
         <firstName>testName</firstName>
         <lastName>testName</lastName>
                   ....
      </WSExternalEnquiryRequest>

Request via SOAP UI looks like this.

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" \
xmlns:tes="http://www.fineos.com/wscomposer/TestSOAPInvocation">  <soap:Header/>
   <soap:Body>
      <tes:WSExternalEnquiryRequest>
         <firstName>testName</firstName>
      </tes:WSExternalEnquiryRequest>
   </soap:Body>
</soap:Envelope>

I have called Axis service numerous time using Stubs but in this scenario I can't.
Any help would be much appreciated.


       John Forde
       SPG Research and Design Engineer

       FINEOS Corporation
       FINEOS House, EastPoint Business Park, Dublin 3, Ireland
       T +353-1-639-9921 F +353-1-639-9701 W www.FINEOS.com<http://www.FINEOS.com>
       E john.forde@FINEOS.com<mailto:john.forde@FINEOS.com>

       Follow us: Blog<http://www.fineos.com/blog/>     \
Facebook<https://www.facebook.com/FINEOS>     \
LinkedIn<http://www.linkedin.com/company/10801>     \
Twitter<http://twitter.com/fineos>

       FINEOS - The Leading Claims Solution Delivering Customer Success




__________________________________________________________
FINEOS Corporation is the global brand name of FINEOS Corporation and its affiliated 
group companies worldwide.

The information contained in this e-mail is confidential, may be privileged and is \
intended  only for the use of the recipient named above. If you are not the intended \
recipient or a  representative of the intended recipient, you have received this \
e-mail in error and must  not copy, use or disclose the contents of this e-mail to \
anybody else.  

If you have received this e-mail in error, please notify the sender immediately by \
return  e-mail and permanently delete the copy you received.  This e-mail has been \
swept for  computer viruses. However, you should carry out your own virus checks. 
Registered in Ireland, No. 205721.  http://www.FINEOS.com
__________________________________________________________


[Attachment #3 (text/html)]

<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 \
2px solid; } --></style> </head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi Folks,</div>
<div>I am looking to use axis2 Client to send following XML as payload to Axis2 \
services.</div> <div>The service type is doc-literal and binding would be \
jaxbri.</div> <div>The number of elements in WSExternalEnquiryRequest can change \
also.</div> <div>&nbsp;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp; &lt;WSExternalEnquiryRequest&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;firstName&gt;testName&lt;/firstName&gt;</div> \
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;lastName&gt;testName&lt;/lastName&gt;</div> \
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&#8230;.</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/WSExternalEnquiryRequest&gt;</div> <div>&nbsp;</div>
<div>Request via SOAP UI looks like this.</div>
<div>&nbsp;</div>
<div>&lt;soap:Envelope xmlns:soap=&quot;<a \
href="http://www.w3.org/2003/05/soap-envelope"><font \
color="blue"><u>http://www.w3.org/2003/05/soap-envelope</u></font></a>&quot; \
xmlns:tes=&quot;<a href="http://www.fineos.com/wscomposer/TestSOAPInvocation"><font \
color="blue"><u>http://www.fineos.com/wscomposer/TestSOAPInvocation</u></font></a>&quot;&gt;</div>
 <div>&nbsp;&nbsp; &lt;soap:Header/&gt;</div>
<div>&nbsp;&nbsp; &lt;soap:Body&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tes:WSExternalEnquiryRequest&gt;</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;firstName&gt;testName&lt;/firstName&gt;</div> <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
&lt;/tes:WSExternalEnquiryRequest&gt;</div> <div>&nbsp;&nbsp; \
&lt;/soap:Body&gt;</div> <div>&lt;/soap:Envelope&gt;</div>
<div>&nbsp;</div>
<div>I have called Axis service numerous time using Stubs but in this scenario I \
can&#8217;t.</div> <div>Any help would be much appreciated.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" \
size="2"><span style="font-size:10pt;"><b>John Forde</b></span></font></div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" size="2"><span \
style="font-size:10pt;"><b>SPG Research and Design Engineer</b></span></font></div> \
<div style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" \
size="2"><span style="font-size:10pt;">&nbsp;</span></font></div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" size="2"><span \
style="font-size:10pt;"><b>FINEOS Corporation</b></span></font></div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" size="2"><span \
style="font-size:10pt;">FINEOS House, EastPoint Business Park, Dublin 3, \
Ireland</span></font></div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" size="2"><span \
style="font-size:10pt;"><b>T</b> &#43;353-1-639-9921 <b>F</b> &#43;353-1-639-9701 \
<b>W</b> <a href="http://www.FINEOS.com"><font \
color="#548DD4"><u>www.FINEOS.com</u></font></a></span></font></div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" size="2"><span \
style="font-size:10pt;"><b>E </b><a href="mailto:john.forde@FINEOS.com"><font \
color="blue"><b><u>john.forde@FINEOS.com</u></b></font></a><b> \
</b></span></font></div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;">&nbsp;</div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" size="2"><span \
style="font-size:10pt;">Follow us:<font color="#1F497D"> </font><a \
href="http://www.fineos.com/blog/"><font color="#548DD4"><u>Blog</u></font></a><font \
color="#548DD4">&nbsp;&nbsp;&nbsp;&nbsp; </font><a \
href="https://www.facebook.com/FINEOS"><font \
color="#548DD4"><u>Facebook</u></font></a><font \
color="#548DD4">&nbsp;&nbsp;&nbsp;&nbsp; </font><a \
href="http://www.linkedin.com/company/10801"><font \
color="#548DD4"><u>LinkedIn</u></font></a><font \
color="#548DD4">&nbsp;&nbsp;&nbsp;&nbsp; </font><a \
href="http://twitter.com/fineos"><font \
color="#548DD4"><u>Twitter</u></font></a>&nbsp;&nbsp; </span></font></div>
<div style="text-indent:-42.55pt;padding-left:42.55pt;"><font \
color="#1F497D">&nbsp;</font></div> <div \
style="text-indent:-42.55pt;padding-left:42.55pt;"><font face="Arial" size="2"><span \
style="font-size:10pt;"><b><i>FINEOS &#8211; The Leading Claims Solution Delivering \
Customer Success</i></b></span></font></div> <div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</span></font>
<p>
<font face="arial,helvetica,sans-serif" \
size="2">__________________________________________________________<br />FINEOS \
Corporation is the global brand name of FINEOS Corporation and its affiliated <br \
/>group companies worldwide.<br /><br />The information contained in this e-mail is \
confidential, may be privileged and is intended <br />only for the use of the \
recipient named above. If you are not the intended recipient or a <br \
/>representative of the intended recipient, you have received this e-mail in error \
and must <br />not copy, use or disclose the contents of this e-mail to anybody else. \
<br /><br />If you have received this e-mail in error, please notify the sender \
immediately by return <br />e-mail and permanently delete the copy you received.  \
This e-mail has been swept for <br />computer viruses. However, you should carry out \
your own virus checks. <br />Registered in Ireland, No. 205721.  \
http://www.FINEOS.com<br \
/>__________________________________________________________<br /></font></p> </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic