axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Morehouse II (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Updated: (AXIS-2272) Duplicated operation names
Date Sat, 13 Mar 2010 00:19:27 GMT

     [ https://issues.apache.org/jira/browse/AXIS-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dave Morehouse II updated AXIS-2272:
------------------------------------

    Attachment: JavaServiceDesc.patch

Here's a patch to JavaServiceDesc that properly synchronizes the internal state.

> Duplicated operation names
> --------------------------
>
>                 Key: AXIS-2272
>                 URL: https://issues.apache.org/jira/browse/AXIS-2272
>             Project: Axis
>          Issue Type: Bug
>          Components: WSDL processing
>    Affects Versions: 1.2.1
>         Environment: Server - jakarta tomcat 5.0.28, spring framework 1.2.5
> OS - Windows server 2003
> Java - java full version "1.4.2_07-b05"
> Client - Macromedia flex running in MS IE 6.0
>            Reporter: Alex Grivnin
>         Attachments: axis.zip, JavaServiceDesc.patch
>
>
> Axis generates invalid WSDL - more specifically operation names appears to be duplicated
in WSDL.
> This happens sporadically and I do not have a specific scenario to reproduce it.  But
I'll try to describe the application flow and may be it will provide some hint... 
> Our application runs on a Tomcat server 5.0.28, it uses spring framework 1.2.5 for binding
Axis beans which are exposed to the client. See wsdd fragment at the end of the message as
well as spring context.
> At some point client (Macromedia flesh) requests wsdl before calling a web service and
gets an exception that fetched WSDL is not supported (as it contains duplicated operation
names).
> Configuration files:
> --------------------------
>  ------- WSDD fragment ----------
> 	<service name="filtersWS" provider="Handler" style="java:RPC">
> 		<parameter name="handlerClass" value="com.mercury.onyx.client.services.axis.SpringBeanRPCProvider"/>
> 		<parameter name="methodName" value="deleteFilter,getFilter,saveUserFilter,getUserViews,getUserFilterCategories"/>
> 		<parameter name="springBean" value="filtersWS"/>
> 		<beanMapping languageSpecificType="java:com.mercury.onyx.client.services.vo.FilterCategoryVO"
qname="ns3:FilterCategoryVO" xmlns:ns3="someNamespace"/>
> 		<beanMapping languageSpecificType="java:com.mercury.onyx.client.services.vo.FilterVO"
qname="ns3:FilterVO" xmlns:ns3="someNamespace"/>
> 		<beanMapping languageSpecificType="java:com.mercury.onyx.client.services.vo.FilterDefinitionVO"
qname="ns3:FilterDefinitionVO" xmlns:ns3="someNamespace"/>
> 		<beanMapping languageSpecificType="java:com.mercury.onyx.client.services.vo.FilterConstraintVO"
qname="ns3:FilterConstraintVO" xmlns:ns3="someNamespace"/>
> 		<beanMapping languageSpecificType="java:com.mercury.onyx.client.services.vo.ViewVO"
qname="ns3:ViewVO" xmlns:ns3="someNamespace"/>
> 		<beanMapping languageSpecificType="java:com.mercury.onyx.client.services.vo.AttributeVO"
qname="ns3:AttributeVO" xmlns:ns3="someNamespace"/>
> 	</service>
>  ------- End of WSDD fragment ----------
>  ------- Spring bean context -------------
> 	<bean id="filtersWS" class="com.mercury.onyx.client.services.webservices.FiltersWS">
> 		<property name="filterDAO">
> 			<ref bean="filterDAO"/>
> 		</property>
> 		<property name="viewDAO">
> 			<ref bean="viewDAO"/>
> 		</property>
> 		<property name="userDAO">
> 			<ref bean="userDAO"/>
> 		</property>
> 	</bean>
>  ------- End of Spring bean context -------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message