Announcement Announcement Module
No announcement yet.
Issue with spring jaxrpc web service on weblgoic server 8.1 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Issue with spring jaxrpc web service on weblgoic server 8.1


    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

    <!-- Proxy for the HelloWorld service -->
    <bean id="helloWorld"
    class="org.springframework.remoting.jaxrpc.JaxRpcP ortProxyFactoryBean">
    <property name="serviceInterface">
    <property name="portInterface">

    <!-- optional -->
    <property name="serviceFactoryClass">

    <property name="wsdlDocumentUrl">
    <property name="namespaceUri">
    <property name="serviceName">
    <property name="portName">
    <property name="servicePostProcessors">
    <bean class="com.test.BeanMappingServicePostProcessor"/>


    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

  • #2
    I had resolved the issue