axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alain Drolet" <adro...@nortel.com>
Subject Re: Message Receiver not found for AxisOperation error with Axis2 1.4.1 and service built using JAX-WS
Date Mon, 20 Apr 2009 18:31:15 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ramesh<br>
<br>
It looks like you got the server side pretty well figured out.<br>
<br>
Good for you.<br>
<br>
I just hope the client side does not cause too much problem.<br>
It should not (once you get the QName and URL correct.<br>
<br>
Good Luck<br>
Alain<br>
<pre class="moz-signature" cols="80">-----------------------------------------------------------------
Alain Drolet 
QT12 Layer 2 Provisioning Design  
email: <a class="moz-txt-link-abbreviated" href="mailto:adrolet@nortel.com">adrolet@nortel.com</a>
Location: CAR L10W F2 PJ6 Phone: (613) 763-4258; Fax: 763-4157  
Nortel, Ottawa, ON, Canada, K1Y 4H7
</pre>
<br>
<br>
Ramesh Vishwanatham wrote:
<blockquote
 cite="mid:OF440E2A8D.0258F64F-ON8525759E.006237B6-8525759E.00636BD2@dtcc.com"
 type="cite"><br>
  <font face="sans-serif" size="2">Alian/Philip</font>
  <br>
  <br>
  <font face="sans-serif" size="2">I was meant "aar" and not
"war" deployment inside axis2 war with Tomcat.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">I wanted to specify &nbsp;my own wsdl
file (with wsdlLocation attribute) and it works fine for both cases
&nbsp;aar
and jar deployment. With out this axis2 does create a wsdl with both
SOAP
11 and SOAP12 bindings and I do not want this behaviour.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">Thanks</font>
  <br>
  <font face="sans-serif" size="2">Ramesh</font>
  <br>
  <br>
  <br>
  <br>
  <table width="100%">
    <tbody>
      <tr valign="top">
        <td width="40%"><font face="sans-serif" size="1"><b>"Philip
Wilder"
<a class="moz-txt-link-rfc2396E" href="mailto:philipwi@nortel.com">&lt;philipwi@nortel.com&gt;</a></b>
</font>
        <p><font face="sans-serif" size="1">04/20/2009 01:07 PM</font>
        <table border="1">
          <tbody>
            <tr valign="top">
              <td bgcolor="white">
              <div align="center"><font face="sans-serif" size="1">Please
respond to<br>
<a class="moz-txt-link-abbreviated" href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a></font></div>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
        </p>
        </td>
        <td width="59%">
        <table width="100%">
          <tbody>
            <tr valign="top">
              <td>
              <div align="right"><font face="sans-serif" size="1">To</font></div>
              </td>
              <td><font face="sans-serif" size="1"><a class="moz-txt-link-rfc2396E"
href="mailto:axis-user@ws.apache.org">&lt;axis-user@ws.apache.org&gt;</a></font>
              </td>
            </tr>
            <tr valign="top">
              <td>
              <div align="right"><font face="sans-serif" size="1">cc</font></div>
              </td>
              <td><br>
              </td>
            </tr>
            <tr valign="top">
              <td>
              <div align="right"><font face="sans-serif" size="1">Subject</font></div>
              </td>
              <td><font face="sans-serif" size="1">RE: Message Receiver
not found for AxisOperation
error with Axis2 1.4.1 and service built using JAX-WS</font></td>
            </tr>
          </tbody>
        </table>
        <br>
        <table>
          <tbody>
            <tr valign="top">
              <td>
              <br>
              </td>
              <td><br>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
  <br>
  <br>
  <font color="blue" face="Arial" size="2">Hi Alain/Ramesh,</font>
  <br>
  <font size="3">&nbsp;</font>
  <br>
  <font color="blue" face="Arial" size="2">The wsdlLocation points to
the
location of our wsdl within our deployment jar file. Without it I think
Axis2 will either try to generate its own wsdl or possibly just fail.</font>
  <br>
  <font size="3">&nbsp;</font>
  <br>
  <font color="blue" face="Arial" size="2">Philip</font>
  <br>
  <br>
  <hr><font face="Tahoma" size="2"><b>From:</b> Drolet, Alain
(CAR:QT12) <b><br>
Sent:</b> Monday, April 20, 2009 1:01 PM<b><br>
To:</b> <a class="moz-txt-link-abbreviated" href="mailto:axis-user@ws.apache.org">axis-user@ws.apache.org</a><b><br>
Subject:</b> Re: Message Receiver not found for AxisOperation error
with
Axis2 1.4.1 and service built using JAX-WS</font><font size="3"><br>
  </font>
  <br>
  <font size="3">Hi Ramesh<br>
  <br>
You cannot deploy a war file in axis2.<br>
  <br>
war are for web container like Tomcat, or JBossAS...<br>
If you like war files you can deploy them in Tomcat, but then use <br>
the Glassfish Metro SOAP stack (instead of the axis2 one).<br>
  <br>
Tomcat by itself (alone) cannot do SOAP.<br>
  <br>
If you deploy as a jar file in axis2 servicesjar, then the attribute of
the @WebService<br>
are very important.<br>
  <br>
I make my service work by specifying the following attribute.<br>
&nbsp;endpointInterface<br>
&nbsp;targetNamespace<br>
&nbsp;wsdlLocation // not sure if it is useful<br>
&nbsp;serviceName<br>
&nbsp;portName<br>
  <br>
Make sure they match what you specified in your wsdl file.<br>
Search the web to find the documentation on &nbsp;the @WebService attributes.<br>
  <br>
To invoke the client, you use the class generated by wsimport.<br>
This should be the class with the same name as your serviceName
attribute.<br>
  <br>
You need to specify a QName. Its built from the attributes above,<br>
and a URL. If you get it wrong the axis2 web page, or the error text
you
receive should help you.<br>
  <br>
As for examples get the bin distribution of axis2. <br>
It has a nice set of jaxws examples in its samples directory.<br>
  <br>
Good luck<br>
Alain<br>
  <br>
  <br>
  <br>
Ramesh Vishwanatham wrote: </font>
  <br>
  <font face="sans-serif" size="2"><br>
Hi Alain</font><font size="3"> </font><font face="sans-serif" size="2"><br>
Thanks for clarifying the axis2 depliyment. I will take a look
JAXWSDeployer
class. The axis2 behaviour is different with war and aar. Below
Implementation
class deployed as war (services.xml is included) is successful with
tomcat:</font><font size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
@WebService(endpointInterface = "service.Prj71",</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp; &nbsp;serviceName = "Prj71Service",
wsdlLocation="META-INF/Prj71Service.wsdl")</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
public class Prj71Impl implements Prj71 {</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
...</font><font size="3"> </font><font face="sans-serif" size="2"><br>
}</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Same failed to deploy with jar with stand alone. When I added portName
attribute, then it deployed fine. Still I am having problems with
client
invocation. </font><font size="3"><br>
  </font><font face="sans-serif" size="2"><br>
I will try to figure it out.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Regards,</font><font size="3"> </font><font face="sans-serif" size="2"><br>
Ramesh</font><font size="3"> <br>
  <br>
  <br>
  <br>
  </font>
  <table width="100%">
    <tbody>
      <tr valign="top">
        <td width="28%"><font face="sans-serif" size="1"><b>"Alain
Drolet"
        </b></font><a moz-do-not-send="true"
 href="mailto:adrolet@nortel.com"><font color="blue" face="sans-serif"
 size="1"><b><u>&lt;adrolet@nortel.com&gt;</u></b></font></a><font
 face="sans-serif" size="1">
        </font>
        <p><font face="sans-serif" size="1">04/17/2009 05:17 PM</font><font
 size="3">
        </font><br>
        <table border="4" width="100%">
          <tbody>
            <tr valign="top">
              <td bgcolor="white" width="100%">
              <div align="center"><font face="sans-serif" size="1">Please
respond to</font><font color="blue" face="sans-serif" size="1"><u><br>
              </u></font><a moz-do-not-send="true"
 href="mailto:axis-user@ws.apache.org"><font color="blue"
 face="sans-serif" size="1"><u>axis-user@ws.apache.org</u></font></a></div>
              </td>
            </tr>
          </tbody>
        </table>
        </p>
        <p></p>
        </td>
        <td width="71%"><br>
        <table width="100%">
          <tbody>
            <tr valign="top">
              <td width="7%">
              <div align="right"><font face="sans-serif" size="1">To</font></div>
              </td>
              <td width="92%"><a moz-do-not-send="true"
 href="mailto:axis-user@ws.apache.org"><font color="blue"
 face="sans-serif" size="1"><u>axis-user@ws.apache.org</u></font></a><font
 size="3">
              </font></td>
            </tr>
            <tr valign="top">
              <td>
              <div align="right"><font face="sans-serif" size="1">cc</font></div>
              </td>
              <td><br>
              </td>
            </tr>
            <tr valign="top">
              <td>
              <div align="right"><font face="sans-serif" size="1">Subject</font></div>
              </td>
              <td><font face="sans-serif" size="1">Re: Message Receiver
not found for AxisOperation
error with Axis2 1.4.1 and service built using JAX-WS</font></td>
            </tr>
          </tbody>
        </table>
        <br>
        <br>
        <table width="100%">
          <tbody>
            <tr valign="top">
              <td width="50%">
              <br>
              </td>
              <td width="50%"><br>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
        </td>
      </tr>
    </tbody>
  </table>
  <br>
  <font size="3"><br>
  <br>
Hi Ramesh <br>
  <br>
The two options I mentioned have nothing to do with the way you run
axis2.
  <br>
It can run it stand alone, or deployed as a war in tomcat. <br>
  <br>
Once you have a running axis2 you can then deploy your jar or aar file
in the appropriate directory under axis2. <br>
If you downloaded the axis2 source, you can pick at the
org.apache.axis2.jaxws.framework.JAXWSDeployer
class. <br>
Its quite instructive. This is where I realized that services.xml and
jar/servicejars
do not mix. <br>
  <br>
Deploying as a aar file might work, if you figure out all the details
of
the services.xml file. Good luck! <br>
An example would be nice. <br>
Reading various sites I'm picking that the axis2 developers implemented
the jaxws support in a silo aside <br>
the other models they were already supporting. <br>
This is why I think it is an either-or thing. <br>
  <br>
If you are happy with simple pojo, then aar might be just fine. <br>
If you go all the way with the wsdl to java approach using wsimport,
then
my feeling is that <br>
the aar approach is no longer for you. You need to go the jar way,
which
I suspect was designed explicitly for jaxws. <br>
  <br>
If any one can share input on the history and purpose of aar vs jar it
would be nice. <br>
For now its looking like two ship cruising in the dark! <br>
  <br>
Regards Alain <br>
  <br>
Ramesh Vishwanatham wrote: </font><font face="sans-serif" size="2"><br>
Hi Alain</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Thanks for quick response.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
My understanding is, you deploy "jar" file (without services.xml)
in servicejars directory under axis2 distribution &nbsp;and run
axis2server.bat
and not under tomcat. </font><font size="3"><br>
  </font><font face="sans-serif" size="2"><br>
Use "aar" deployment (along with services.xml) with tomcat or
&nbsp;other application server.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Please correct if I am wrong.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
You are 100% correct about "The guide however provides zero info on
how to do this" deploying aar along with services.xml. I was playing
different combinations and norrow it down to following:</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
a) service implementation is wrong, some thing is missing</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
or</font><font size="3"> </font><font face="sans-serif" size="2"><br>
b) services.xml is missing some thing</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
or</font><font size="3"> </font><font face="sans-serif" size="2"><br>
c) axis2 1.4.1 version has bugs reagrding deploying aar for JAX-WS</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
I will try deploying jar with servicejars and see what happens.</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
But in real world, you write a wsdl (with policy and security info) and
deploy services under app server. I am trying to understand axis2 &nbsp;with
JAX-WS by wrting a simple service.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Regards,</font><font size="3"> </font><font face="sans-serif" size="2"><br>
Ramesh</font><font size="3"> <br>
  <br>
  <br>
  <br>
  </font>
  <table width="100%">
    <tbody>
      <tr valign="top">
        <td width="29%"><font face="sans-serif" size="1"><b>"Alain
Drolet"
        </b></font><a moz-do-not-send="true"
 href="mailto:adrolet@nortel.com"><font color="blue" face="sans-serif"
 size="1"><b><u>&lt;adrolet@nortel.com&gt;</u></b></font></a><font
 face="sans-serif" size="1">
        </font><font size="3">&nbsp; <br>
        </font><font face="sans-serif" size="1"><br>
04/17/2009 03:38 PM</font><font size="3"> </font>
        <br>
        <table border="4" width="100%">
          <tbody>
            <tr valign="top">
              <td bgcolor="white" width="100%">
              <div align="center"><font face="sans-serif" size="1">Please
respond to</font><font size="3">
              </font><font color="blue" size="3"><u><br>
              </u></font><a moz-do-not-send="true"
 href="mailto:axis-user@ws.apache.org"><font color="blue"
 face="sans-serif" size="1"><u>axis-user@ws.apache.org</u></font></a></div>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
        <font size="3"><br>
        </font>
        </td>
        <td width="70%">
        <table width="100%">
          <tbody>
            <tr valign="top">
              <td width="7%">
              <div align="right"><font face="sans-serif" size="1">To</font></div>
              </td>
              <td width="92%"><a moz-do-not-send="true"
 href="mailto:axis-user@ws.apache.org"><font color="blue"
 face="sans-serif" size="1"><u>axis-user@ws.apache.org</u></font></a><font
 size="3">
              </font></td>
            </tr>
            <tr valign="top">
              <td>
              <div align="right"><font face="sans-serif" size="1">cc</font></div>
              </td>
              <td><br>
              </td>
            </tr>
            <tr valign="top">
              <td>
              <div align="right"><font face="sans-serif" size="1">Subject</font></div>
              </td>
              <td><font face="sans-serif" size="1">Re: Message Receiver
not found for AxisOperation
error with Axis2 1.4.1 and service built using JAX-WS</font></td>
            </tr>
          </tbody>
        </table>
        <br>
        <br>
        <table width="100%">
          <tbody>
            <tr valign="top">
              <td width="50%">
              <br>
              </td>
              <td width="50%"><br>
              </td>
            </tr>
          </tbody>
        </table>
        <br>
        <font size="3"><br>
        </font></td>
      </tr>
    </tbody>
  </table>
  <br>
  <font size="3"><br>
  <br>
  <br>
Hi Rameh <br>
  <br>
I have very limited time to answer to you. <br>
Also I am not an axis2 guru, but I typically make it do what I need if
I fight for long enough. <br>
  <br>
Having said that here are a few quick pointers I can provide. <br>
These are based on experience and what I think I know about axis2 ways
to do things. <br>
Axis2 real gurus, feel free to correct me. <br>
  <br>
There is 2 general ways to deploy a web service in axis2: <br>
  <br>
- deploy as a jar file <br>
That seems to be the natural approach provided by axis2 if you build
your
project using the JAXWS programming model. <br>
With this approach you generate code from the wsdl using wsimport (not
wsdl2java). <br>
You package as a jar files (see the </font><font face="sans-serif"
 size="2">jaxws-guide).</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
You do not use a services.xml file. That makes you life easier.</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
You deploy in the servicejars directory.</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
This directory uses a different deployer class.</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
Look in the axis2 configuration file to learn more.</font><font size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
That's the approach I use.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
- deploy as a aar file</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
That's for all the other programming models supported by axis2.</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
Here you build your archive the axis2 way. That's why its not a war
file.</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
You generate code using wsdl2java. That also produce a services.xml
file.</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
You deploy in the services directory.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
In theory aar files can be used as well for JAXWS project.</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
The guide however provides zero info on how to do this.</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
For instance you need to specify the message receivers.</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
I just gave up and deploy as aar in servicejars - easy!</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
Hoping this helps</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
Alain</font><font size="3"> <br>
  <br>
Ramesh Vishwanatham wrote: &nbsp; <br>
  </font><font face="sans-serif" size="2"><br>
Hi Axis2 Developers and Gurus</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Recently I have sent &nbsp;below request to "axis2-user" group
and did not get any responses at all. I am evalutaing axis2 and JAX-WS
programming model &nbsp;and struck with simple sample application. I found
there is not much material out there like "how-to" step by step
guild to build web applications using axis2 and JAX-WS. I have read
following
link </font><a moz-do-not-send="true"
 href="http://ws.apache.org/axis2/1_4_1/jaxws-guide.html"><font
 color="blue" face="sans-serif" size="2"><u>"http://ws.apache.org/axis2/1_4_1/jaxws-guide.html"</u></font></a><font
 face="sans-serif" size="2">
and gives an overall high level view but lacks details.</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
May be some thing is wrong with my implementation class and/or
services.xml
file. Also there is a possibility there is bug in Axis2 1.4.1 for
JAX-WS.
  </font><font size="3"><br>
  </font><font face="sans-serif" size="2"><br>
I am hoping some one will clarify this issue.</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Thanks in Advance</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
Ramesh</font><font size="3"> </font><font face="sans-serif" size="2"><br>
------------------------------------------------------------------------------------------------------------------------------------------------------------</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
Hi All</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
I am getting below error when a client calls a web service operation
built
using Axis2 1.4.1, Java 1.6, JAX-WS <br>
and Tomcat 6.0.18:</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
[ERROR] Message Receiver not found for AxisOperation: {</font><a
 moz-do-not-send="true" href="http://service/"><font color="blue"
 face="sans-serif" size="2"><u>http://service/</u></font></a><font
 face="sans-serif" size="2">}getQuote</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
org.apache.axis2.AxisFault: Message Receiver not found for
AxisOperation:
{http:</font><font size="3"> </font><font face="sans-serif" size="2"><br>
//service/}getQuote</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Here are the steps followed:</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
1) Axis2 war file is deployed in Tomcat 6.0.18. </font><font size="3"><br>
  </font><font face="sans-serif" size="2"><br>
2) Using top-down model with existing wsdl. Generated server and client
side code using wsimport tool part of <br>
Java 1.6. Added Java implementation class for interface and deployed
the
service under services folder in axis2 <br>
WEB-INF.The service is deployed and it is active. </font><font size="3"><br>
  </font><font face="sans-serif" size="2"><br>
3) When I run the client I get an exception with above exception message</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
4) I also built service using axis2 WSDL2Java tool (adb as data
binding)
and deployed it. When I ran the <br>
client (which is built using JAX-WS api) it works fine.</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
So the error is in service side with JAX-WS. Is it a bug in axis2 1.4.1
implememtation or some thing I am missing?</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Please help me resolve this issue. </font><font size="3"><br>
  </font><font face="sans-serif" size="2"><br>
Below are the service implementation class, services.xml and wsdl files:</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
Prj71Impl.java</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
---------------</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
package service;</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
import javax.jws.WebService;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
import javax.xml.ws.BindingType;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
import javax.xml.ws.soap.SOAPBinding;</font><font size="3"> <br>
  <br>
  </font><font face="sans-serif" size="2"><br>
@WebService(endpointInterface = "service.Prj71",</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;serviceName = "Prj71Service",
wsdlLocation="META-INF/Prj71Service.wsdl",
portName= "Prj71Port")</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
public class Prj71Impl implements Prj71 {</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;public &nbsp; &nbsp; &nbsp; &nbsp; GetQuoteResponse</font><font
size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;getQuote(GetQuoteRequest req) {</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;GetQuoteResponse
res =
new GetQuoteResponse();</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;res.setReturn(100);</font><font
size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return res;</font><font
size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;}</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
}</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
services.xml</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
------------</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&lt;serviceGroup&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp;&lt;service name="Prj71Service" scope="application"&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;messageReceiver&gt;</font><font size="3">
</font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;messageReceiver mep=</font><a
moz-do-not-send="true"
 href="http://www.w3.org/2004/08/wsdl/in-out"><font color="blue"
 face="sans-serif" size="2"><u>"http://www.w3.org/2004/08/wsdl/in-out"</u></font></a><font
 face="sans-serif" size="2">
  <br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;/messageReceiver&gt;</font><font size="3">
</font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;parameter
name="ServiceClass"&gt;service.Prj71Impl&lt;/parameter&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;parameter name="useOriginalwsdl"&gt;true&lt;/parameter&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;!-- Below entries are added but no difference
in resolving the problem --&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;parameter
name="modifyUserWSDLPortAddress"&gt;true&lt;/parameter&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;operation name="getQuote" mep=</font><a moz-do-not-send="true"
 href="http://www.w3.org/2004/08/wsdl/in-out"><font color="blue"
 face="sans-serif" size="2"><u>"http://www.w3.org/2004/08/wsdl/in-out"</u></font></a><font
 face="sans-serif" size="2">
namespace=</font><a moz-do-not-send="true" href="http://service/"><font
 color="blue" face="sans-serif" size="2"><u>"http://service/"</u></font></a><font
 face="sans-serif" size="2">&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;actionMapping&gt;tns:getQuote&lt;/actionMapping&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;outputActionMapping&gt;</font><a
moz-do-not-send="true"
 href="http://service/Prj71/getQuoteResponse"><font color="blue"
 face="sans-serif" size="2"><u>http://service/Prj71/getQuoteResponse</u></font></a><font
 face="sans-serif" size="2">&lt;/outputActionMapping&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;/operation&gt;</font><font size="3">
</font><font
 face="sans-serif" size="2"><br>
&nbsp;&lt;/service&gt;</font><font size="3"> </font><font
face="sans-serif"
 size="2"><br>
&lt;/serviceGroup&gt;</font><font size="3"> <br>
  <br>
  </font><font face="sans-serif" size="2"><br>
Prj7Service.wsdl</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
-----------------</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;</font><font
 size="3">
  <br>
  </font><font face="sans-serif" size="2"><br>
&lt;wsdl:definitions &nbsp;name="Prj71Service" targetNamespace=</font><a
 moz-do-not-send="true" href="http://service/"><font color="blue"
 face="sans-serif" size="2"><u>"http://service/"</u></font></a><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;xmlns:wsdl=</font><a moz-do-not-send="true"
 href="http://schemas.xmlsoap.org/wsdl/"><font color="blue"
 face="sans-serif" size="2"><u>"http://schemas.xmlsoap.org/wsdl/"</u></font></a><font
 face="sans-serif" size="2">
xmlns:tns=</font><a moz-do-not-send="true" href="http://service/"><font
 color="blue" face="sans-serif" size="2"><u>"http://service/"</u></font></a><font
 face="sans-serif" size="2">
  <br>
&nbsp; &nbsp; &nbsp;xmlns:xsd=</font><a moz-do-not-send="true"
 href="http://www.w3.org/2001/XMLSchema"><font color="blue"
 face="sans-serif" size="2"><u>"http://www.w3.org/2001/XMLSchema"</u></font></a><font
 face="sans-serif" size="2">
  <br>
&nbsp; &nbsp; &nbsp;xmlns:soap=</font><a moz-do-not-send="true"
 href="http://schemas.xmlsoap.org/wsdl/soap/"><font color="blue"
 face="sans-serif" size="2"><u>"http://schemas.xmlsoap.org/wsdl/soap/"</u></font></a><font
 face="sans-serif" size="2">&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&lt;wsdl:types&gt;</font><font size="3"> </font><font face="sans-serif"
 size="2"><br>
&nbsp;&lt;xsd:schema&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;xsd:import namespace=</font><a moz-do-not-send="true"
 href="http://service/"><font color="blue" face="sans-serif" size="2"><u>"http://service/"</u></font></a><font
 face="sans-serif" size="2">
schemaLocation="Prj71Service_schema1.xsd"/&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp;&lt;/xsd:schema&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;/wsdl:types&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;wsdl:message name="getQuoteRequest"&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp;&lt;wsdl:part name="parameters" element="tns:GetQuoteRequest"/&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&lt;/wsdl:message&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;wsdl:message name="getQuoteResponse"&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp;&lt;wsdl:part name="parameters" element="tns:GetQuoteResponse"/&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&lt;/wsdl:message&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;wsdl:portType name="Prj71"&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp;&lt;wsdl:operation name="getQuote"&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;wsdl:input message="tns:getQuoteRequest"/&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;wsdl:output message="tns:getQuoteResponse"/&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp;&lt;/wsdl:operation&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;/wsdl:portType&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;wsdl:binding name="Prj71PortBinding" type="tns:Prj71"&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp;&lt;soap:binding transport=</font><a moz-do-not-send="true"
 href="http://schemas.xmlsoap.org/soap/http"><font color="blue"
 face="sans-serif" size="2"><u>"http://schemas.xmlsoap.org/soap/http"</u></font></a><font
 face="sans-serif" size="2">
style="document"/&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp;&lt;wsdl:operation name="getQuote"&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;soap:operation soapAction="tns:getQuote"/&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;wsdl:input&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;soap:body use="literal"/&gt;</font><font
size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;/wsdl:input&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;wsdl:output&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp; &nbsp; &nbsp;&lt;soap:body use="literal"/&gt;</font><font
size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;/wsdl:output&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&nbsp;&lt;/wsdl:operation&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;/wsdl:binding&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;wsdl:service name="Prj71Service"&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp;&lt;wsdl:port name="Prj71Port" binding="tns:Prj71PortBinding"&gt;</font><font
 size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp; &nbsp;&lt;soap:address location=</font><a moz-do-not-send="true"
 href="http://localhost:8080/axis2/services/Prj71Service"><font
 color="blue" face="sans-serif" size="2"><u>"http://localhost:8080/axis2/services/Prj71Service"</u></font></a><font
 face="sans-serif" size="2">/&gt;</font><font size="3">
  </font><font face="sans-serif" size="2"><br>
&nbsp;&lt;/wsdl:port&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;/wsdl:service&gt;</font><font size="3"> </font><font
 face="sans-serif" size="2"><br>
&lt;/wsdl:definitions&gt;</font><font size="3"> <br>
  </font><font face="sans-serif" size="2"><br>
Thanks</font><font size="3"> </font><font face="sans-serif" size="2"><br>
Ramesh</font><font size="3"> <br>
________________________________________________________ </font><font
 size="2"><br>
DTCC DISCLAIMER: This email and any files transmitted with it are
confidential
and intended solely for the use of the individual or entity to whom
they
are addressed. If you have received this email in error, please notify
us immediately and delete the email and any attachments from your
system.
The recipient should check this email and any attachments for the
presence
of viruses. The company accepts no liability for any damage caused by
any
virus transmitted by this email.</font><font size="3"> &nbsp; <br>
  </font>
  <br>
</blockquote>
</body>
</html>

Mime
View raw message