Hi,
I've a web service that uses a wsdl of doc-literal style. I use Axis2 1.3, 
Spring and hibernate for this purpose.(Earlier, I had been using Axis 1.4).  
The method that I follow is to first create the data Transfer objects from the 
wsdl using the WSDL2Java tool. After that, I code the rest of the service 
(business, DAO...) and finally, at the time of building, I add the wsdl also 
into the .aar file. The service comes up on deployment, but on invocation, 
neither am I able to pass data to it, nor am I able to get anything from it. I 
use ADB kind of data binding. I'm attaching the services.xml with this mail for 
reference. Please help me. I got stuck here and am unable to proceed further.

Thanks in advance,
Regards,
Anumodh K.S.


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are 
not to copy, disclose, or distribute this e-mail or its contents to any other 
person and any such actions are unlawful. This e-mail may contain viruses. 
Infosys has taken every reasonable precaution to minimize this risk, but is not 
liable for any damage you may sustain as a result of any virus in this e-mail. 
You should carry out your own virus checks before opening the e-mail or 
attachment. Infosys reserves the right to monitor and review the content of all 
messages sent to or from this e-mail address. Messages sent to or from this 
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements. See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership. The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied. See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->
<serviceGroup>
  <service name="SpringInit" class="sample.spring.web.implSpringInit" scope="Application">
    <description>
      This web service initializes Spring.
    </description>
    <parameter name="ServiceClass" >sample.spring.web.impl.SpringInit</parameter>
    <parameter name="ServiceTCCL" >composite</parameter>
    <parameter name="load-on-startup" >true</parameter>
    <operation name="springInit">
      <messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
    </operation>
  </service>
  <service name="sampleService" scope="Application">
    <description>
      Weather Spring POJO Axis2 AAR deployment
    </description>
    <parameter name="doclitBare">true</parameter >
    <parameter name="ServiceClass" >sample.spring.web.impl.sampleService</parameter>
    <parameter name="ServiceObjectSupplier" >org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier</parameter>
    <parameter name="SpringBeanName" >sampleBean</parameter>
    <parameter name="useOrignalWSDL">true</parameter>
    <!-- parameter name="useOriginalwsdl">true</parameter-->
    <parameter name="modifyUserWSDLPortAddress">false</parameter>
    <operation name="searchMEIDByFilter" mep="http://www.w3.org/ns/wsdl/in-out";>
         <actionMapping>http://sample.spring/wsdl/service/2007/10/30#sampleService</actionMapping>
         <outputActionMapping>http://sample.spring/wsdl/service/2007/10/30/sampleServiceResponse</outputActionMapping>
    </operation>
    <messageReceivers>
      <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only";
                       class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
      <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out";
                       class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>
    <excludeOperations>
    </excludeOperations>
  </service>
</serviceGroup>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to