[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> </div>
<div> <WSExternalEnquiryRequest></div>
<div> \
<firstName>testName</firstName></div> \
<div> \
<lastName>testName</lastName></div> \
<div> \
….</div> <div> \
</WSExternalEnquiryRequest></div> <div> </div>
<div>Request via SOAP UI looks like this.</div>
<div> </div>
<div><soap:Envelope xmlns:soap="<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>" \
xmlns:tes="<a href="http://www.fineos.com/wscomposer/TestSOAPInvocation"><font \
color="blue"><u>http://www.fineos.com/wscomposer/TestSOAPInvocation</u></font></a>"></div>
<div> <soap:Header/></div>
<div> <soap:Body></div>
<div> <tes:WSExternalEnquiryRequest></div>
<div> \
<firstName>testName</firstName></div> <div> \
</tes:WSExternalEnquiryRequest></div> <div> \
</soap:Body></div> <div></soap:Envelope></div>
<div> </div>
<div>I have called Axis service numerous time using Stubs but in this scenario I \
can’t.</div> <div>Any help would be much appreciated.</div>
<div> </div>
<div> </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;"> </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> +353-1-639-9921 <b>F</b> +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;"> </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"> </font><a \
href="https://www.facebook.com/FINEOS"><font \
color="#548DD4"><u>Facebook</u></font></a><font \
color="#548DD4"> </font><a \
href="http://www.linkedin.com/company/10801"><font \
color="#548DD4"><u>LinkedIn</u></font></a><font \
color="#548DD4"> </font><a \
href="http://twitter.com/fineos"><font \
color="#548DD4"><u>Twitter</u></font></a> </span></font></div>
<div style="text-indent:-42.55pt;padding-left:42.55pt;"><font \
color="#1F497D"> </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 – The Leading Claims Solution Delivering \
Customer Success</i></b></span></font></div> <div> </div>
<div> </div>
<div> </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