Hello Everyone, I have a problem with one of my operations I'd like some advice on.
For some reason after invoking operation 'validateConflictOfInterestResponse' via the stub results in the wrong operation 'declareConflictOfInterestResponse' receiving the request! The incorrect receiving operation is: (1) the first operation declared in the binding (2) similar to the target operation in that they both take the same single parameter transfer object type. But that it all. They return different objects and have different faults. If I swap the order of the operations I get different results. If I make a new complex type with a new name which is basically a clone of the existing input transfer object and make this the new input to the second operation, the correct target operation is located...very odd! It seems to me that the process of selecting the target operation is done by pattern matching the signature but not including the operation name or faults. (this is just a guess) Has anyone else come across this? Example of my problem WSDL below. <!-- MESSAGE SIGS without FAULTS --> <wsdl:message name="declareConflictOfInterestResponse"> <wsdl:part name="return" element="response:ConflictOfInterestScreen" /> </wsdl:message> <wsdl:message name="declareConflictOfInterestRequest"> <wsdl:part name="request" element="request:ConflictOfInterestRequest" /> <!-- SAME INPUT TYPE --> </wsdl:message> <wsdl:message name="validateConflictOfInterestResponse"> <wsdl:part name="return" element="response:ValidateConflictOfInterestScreen" /> </wsdl:message> <wsdl:message name="validateConflictOfInterestRequest"> <wsdl:part name="request" element="request:ConflictOfInterestRequest" /> <!-- SAME INPUT TYPE --> </wsdl:message> <!-- PORT TYPES --> <wsdl:operation name="declareConflictOfInterest"> <wsdl:input message="intf:declareConflictOfInterestRequest" /> <wsdl:output message="intf:declareConflictOfInterestResponse" /> <wsdl:fault ... /> </wsdl:operation> <wsdl:operation name="validateConflictOfInterest"> <wsdl:input message="intf:validateConflictOfInterestRequest" /> <wsdl:output message="intf:validateConflictOfInterestResponse" /> <wsdl:fault ... /> </wsdl:operation> <!-- BINDING --> <wsdl:operation name="declareConflictOfInterest"> <wsdlsoap:operation soapAction="" style="document" /> <wsdl:input> <wsdlsoap:body use="literal" /> </wsdl:input> <wsdl:output> <wsdlsoap:body use="literal" /> </wsdl:output> <wsdl:fault ..> </wsdl:operation> <wsdl:operation name="validateConflictOfInterest"> <wsdlsoap:operation soapAction="" style="document" /> <wsdl:input> <wsdlsoap:body use="literal" /> </wsdl:input> <wsdl:output> <wsdlsoap:body use="literal" /> </wsdl:output> <wsdl:fault ..> </wsdl:operation> Any help/advice would be greatly appreciated!! regards James ----------------------------------------------------- THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED FROM DISCLOSURE. IF YOU ARE NOT THE INTENDED RECIPIENT AND HAVE RECEIVED IT IN ERROR YOU ARE ON NOTICE OF ITS STATUS. PLEASE NOTIFY THE SENDER IMMEDIATELY BY RETURN EMAIL AND THEN DELETE THIS EMAIL AND ANY ATTACHMENT FROM YOUR SYSTEM. YOU MUST NOT RETAIN, COPY OR USE THIS E-MAIL OR ANY ATTACHMENT FOR ANY PURPOSE, NOR DISCLOSE ALL OR ANY PART OF ITS CONTENTS TO ANY OTHER PERSON: TO DO SO COULD BE A BREACH OF CONFIDENCE EMAIL MAY BE SUSCEPTIBLE TO DATA CORRUPTION, INTERCEPTION AND UNAUTHORISED AMENDMENT, AND WE DO NOT ACCEPT LIABILITY FOR ANY SUCH CORRUPTION, INTERCEPTION OR AMENDMENT OR THE CONSEQUENCES THEREOF. WE MAY MONITOR THE CONTENT OF EMAILS SENT AND RECEIVED VIA OUR NETWORK FOR VIRUSES OR UNAUTHORISED USE AND FOR OTHER LAWFUL BUSINESS PURPOSES. WE DO NOT ACCEPT RESPONSIBILITY FOR ANY LOSS OR DAMAGE ARISING FROM A VIRUS IN ANY EMAIL OR ATTACHMENT. ----------------------------------------------- [EMAIL PROTECTED]