axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surridge, Christopher S \(Titan\) @ TITAN" <christopher.surri...@L-3Com.com>
Subject RE: data binding error -- stub invokes wrong operation on server side
Date Wed, 05 Jul 2006 14:57:34 GMT
Anne,
	I'm not sure what there is in the service configuration for me to get wrong, since I am using
the services.xml file that Axis 2 generated from the wsdl for me.

Thanks,

--chris

-----Original Message-----
From: Anne Thomas Manes [mailto:atmanes@gmail.com]
Sent: Saturday, July 01, 2006 1:25 PM
To: axis-user@ws.apache.org
Subject: Re: data binding error -- stub invokes wrong operation on
server side


My guess is that there's a problem in your service configuration.

Anne

On 6/30/06, Surridge, Christopher S (Titan) @ TITAN
<christopher.surridge@l-3com.com> wrote:
> I'm having a problem with symptoms similar to one I found in the message archives (http://marc.theaimsgroup.com/?|=axis-user&m=113696879828613&w=2),
but the conditions are different. In that case, there were two operations receiving the same
input. In my situation, I do not believe that is the case. The wsdl I'm starting with was
generated using Java2WSDL from Axis 1, and now I'm trying to generate a new version of the
service from that wsdl using WSDL2Java from Axis 2. When my test client calls the findMessages
method, the server invokes the nextMessages method instead. The methods do not have the same
signatures, so it seems like a different problem than in the thread referenced above. Any
ideas?
>
> Thanks in advance,
>
> Chris Surridge
> Sr. Software Engineer
> L-3 Titan Corporation
> 11955 Freedom Drive, Suite 14101
> Reston, VA 20190
> 703-434-5307
>
> <wsdl:definitions targetNamespace="http://sis.titan.com/actd/asap">
>
>         <!--
> WSDL created by Apache Axis version: 1.2.1
> Built on Jun 17, 2005 (01:45:06 EDT)
> -->
>
>         <wsdl:types>
>
>         <schema elementFormDefault="qualified" targetNamespace="http://sis.titan.com/actd/asap">
>
>         <element name="filterCapabilities">
> <complexType/>
> </element>
>
>         <element name="filterCapabilitiesResponse">
>
>         <complexType>
>
>         <sequence>
> <element name="filterCapabilitiesReturn" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="findMessages">
>
>         <complexType>
>
>         <sequence>
> <element name="query" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="findMessagesResponse">
>
>         <complexType>
>
>         <sequence>
> <element name="findMessagesReturn" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="nextMessages">
>
>         <complexType>
>
>         <sequence>
> <element name="key" type="xsd:string"/>
> <element name="numResults" type="xsd:int"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="nextMessagesResponse">
>
>         <complexType>
>
>         <sequence>
> <element maxOccurs="unbounded" name="nextMessagesReturn" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="closeMessages">
>
>         <complexType>
>
>         <sequence>
> <element name="key" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="closeMessagesResponse">
> <complexType/>
> </element>
>
>         <element name="findQueries">
>
>         <complexType>
>
>         <sequence>
> <element name="query" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="findQueriesResponse">
>
>         <complexType>
>
>         <sequence>
> <element name="findQueriesReturn" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="nextQueries">
>
>         <complexType>
>
>         <sequence>
> <element name="key" type="xsd:string"/>
> <element name="numResults" type="xsd:int"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="nextQueriesResponse">
>
>         <complexType>
>
>         <sequence>
> <element maxOccurs="unbounded" name="nextQueriesReturn" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="closeQueries">
>
>         <complexType>
>
>         <sequence>
> <element name="key" type="xsd:string"/>
> </sequence>
> </complexType>
> </element>
>
>         <element name="closeQueriesResponse">
> <complexType/>
> </element>
> </schema>
> </wsdl:types>
>
>         <wsdl:message name="filterCapabilitiesRequest">
> <wsdl:part element="impl:filterCapabilities" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="closeQueriesRequest">
> <wsdl:part element="impl:closeQueries" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="findMessagesResponse">
> <wsdl:part element="impl:findMessagesResponse" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="nextMessagesResponse">
> <wsdl:part element="impl:nextMessagesResponse" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="findQueriesResponse">
> <wsdl:part element="impl:findQueriesResponse" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="filterCapabilitiesResponse">
> <wsdl:part element="impl:filterCapabilitiesResponse" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="nextMessagesRequest">
> <wsdl:part element="impl:nextMessages" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="closeMessagesResponse">
> <wsdl:part element="impl:closeMessagesResponse" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="findQueriesRequest">
> <wsdl:part element="impl:findQueries" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="nextQueriesResponse">
> <wsdl:part element="impl:nextQueriesResponse" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="closeMessagesRequest">
> <wsdl:part element="impl:closeMessages" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="nextQueriesRequest">
> <wsdl:part element="impl:nextQueries" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="closeQueriesResponse">
> <wsdl:part element="impl:closeQueriesResponse" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:message name="findMessagesRequest">
> <wsdl:part element="impl:findMessages" name="parameters"/>
> </wsdl:message>
>
>         <wsdl:portType name="ASAP">
>
>         <wsdl:operation name="filterCapabilities">
> <wsdl:input message="impl:filterCapabilitiesRequest" name="filterCapabilitiesRequest"/>
> <wsdl:output message="impl:filterCapabilitiesResponse" name="filterCapabilitiesResponse"/>
> </wsdl:operation>
>
>         <wsdl:operation name="findMessages">
> <wsdl:input message="impl:findMessagesRequest" name="findMessagesRequest"/>
> <wsdl:output message="impl:findMessagesResponse" name="findMessagesResponse"/>
> </wsdl:operation>
>
>         <wsdl:operation name="nextMessages">
> <wsdl:input message="impl:nextMessagesRequest" name="nextMessagesRequest"/>
> <wsdl:output message="impl:nextMessagesResponse" name="nextMessagesResponse"/>
> </wsdl:operation>
>
>         <wsdl:operation name="closeMessages">
> <wsdl:input message="impl:closeMessagesRequest" name="closeMessagesRequest"/>
> <wsdl:output message="impl:closeMessagesResponse" name="closeMessagesResponse"/>
> </wsdl:operation>
>
>         <wsdl:operation name="findQueries">
> <wsdl:input message="impl:findQueriesRequest" name="findQueriesRequest"/>
> <wsdl:output message="impl:findQueriesResponse" name="findQueriesResponse"/>
> </wsdl:operation>
>
>         <wsdl:operation name="nextQueries">
> <wsdl:input message="impl:nextQueriesRequest" name="nextQueriesRequest"/>
> <wsdl:output message="impl:nextQueriesResponse" name="nextQueriesResponse"/>
> </wsdl:operation>
>
>         <wsdl:operation name="closeQueries">
> <wsdl:input message="impl:closeQueriesRequest" name="closeQueriesRequest"/>
> <wsdl:output message="impl:closeQueriesResponse" name="closeQueriesResponse"/>
> </wsdl:operation>
> </wsdl:portType>
>
>         <wsdl:binding name="ASAPSoapBinding" type="impl:ASAP">
> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
>
>         <wsdl:operation name="filterCapabilities">
> <wsdlsoap:operation soapAction=""/>
>
>         <wsdl:input name="filterCapabilitiesRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
>
>         <wsdl:output name="filterCapabilitiesResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
>
>         <wsdl:operation name="findMessages">
> <wsdlsoap:operation soapAction=""/>
>
>         <wsdl:input name="findMessagesRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
>
>         <wsdl:output name="findMessagesResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
>
>         <wsdl:operation name="nextMessages">
> <wsdlsoap:operation soapAction=""/>
>
>         <wsdl:input name="nextMessagesRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
>
>         <wsdl:output name="nextMessagesResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
>
>         <wsdl:operation name="closeMessages">
> <wsdlsoap:operation soapAction=""/>
>
>         <wsdl:input name="closeMessagesRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
>
>         <wsdl:output name="closeMessagesResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
>
>         <wsdl:operation name="findQueries">
> <wsdlsoap:operation soapAction=""/>
>
>         <wsdl:input name="findQueriesRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
>
>         <wsdl:output name="findQueriesResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
>
>         <wsdl:operation name="nextQueries">
> <wsdlsoap:operation soapAction=""/>
>
>         <wsdl:input name="nextQueriesRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
>
>         <wsdl:output name="nextQueriesResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
>
>         <wsdl:operation name="closeQueries">
> <wsdlsoap:operation soapAction=""/>
>
>         <wsdl:input name="closeQueriesRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
>
>         <wsdl:output name="closeQueriesResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
>
>         <wsdl:service name="ASAPService">
>
>         <wsdl:port binding="impl:ASAPSoapBinding" name="ASAP">
> <wsdlsoap:address location="http://weathertop.sis.titan.com:8080/asap/services/ASAP"/>
> </wsdl:port>
> </wsdl:service>
> </wsdl:definitions>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

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

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


Mime
View raw message