Results 1 to 2 of 2

Thread: Issue with spring jaxrpc web service on weblgoic server 8.1

  1. #1
    Join Date
    May 2005
    Location
    Pune, India
    Posts
    4

    Default Issue with spring jaxrpc web service on weblgoic server 8.1

    Hi,

    I am stuck with this problem since a day, any type of help will be very useful

    I had developed a jaxrpc web service based on pojo. Using weblogic servicegen i had generated the code for web service and deoployed on the weblogic server. I tested this with weblgoic client and it works fine for simple and complex data types.

    When i change my client to Axis, it works with simple data type like string, int etc but fails for List, Employee.

    I cannot use weblogic client factory as it gives error of not implementing the required interface.
    My spring configuration file is as below

    <beans>
    <!-- Proxy for the HelloWorld service -->
    <bean id="helloWorld"
    class="org.springframework.remoting.jaxrpc.JaxRpcP ortProxyFactoryBean">
    <property name="serviceInterface">
    <value>com.test.HelloWorldService</value>
    </property>
    <property name="portInterface">
    <value>com.test.HelloWorldRemote</value>
    </property>

    <!-- optional -->
    <property name="serviceFactoryClass">
    <value>org.apache.axis.client.ServiceFactory</value>
    </property>


    <property name="wsdlDocumentUrl">
    <value>http://localhost:7001/remoting/HelloWorldService?WSDL</value>
    </property>
    <property name="namespaceUri">
    <value>http://localhost:7001/remoting/HelloWorldService.wsdl</value>
    </property>
    <property name="serviceName">
    <value>HelloWorldService</value>
    </property>
    <property name="portName">
    <value>HelloWorldServicePort</value>
    </property>
    <property name="servicePostProcessors">
    <list>
    <bean class="com.test.BeanMappingServicePostProcessor"/>
    </list>
    </property>
    </bean>

    </beans>


    I had done same thing as in case of JPetStore example but didn't worked for me. I had also given the custom mappings for axis but still no luck with it

    I get the Deserailization Exception when returning an Employee object and class cast exception when retruning a list.


    Please provide any inputs or suggestions.


    Thanks in Advance
    MJ

  2. #2
    Join Date
    May 2005
    Location
    Pune, India
    Posts
    4

    Default

    I had resolved the issue

    Regards
    MJ

Similar Threads

  1. HSQL server wrapped into a Spring bean
    By sebastien in forum Data
    Replies: 9
    Last Post: Dec 1st, 2009, 10:32 AM
  2. Replies: 6
    Last Post: Sep 29th, 2005, 04:25 AM
  3. Spring code remarks
    By Alarmnummer in forum Architecture
    Replies: 18
    Last Post: Apr 7th, 2005, 07:17 AM
  4. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM
  5. Replies: 6
    Last Post: Oct 8th, 2004, 02:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •