An explication:
The exception is raised when I try to start the service not
in the command
wsdl.
The concrete exception is:
The XML element 'same_message’ from namespace
'urn:module-namespace'
references a method and a type. Change the method's message
name using
WebMethodAttribute or change the type's root element using
the
XmlRootAttribute.
_____
De: Javier Martínez Álvarez [mailto:jamaa tid.es]
Hi
It is possible in soap implementation of .net to use the
same message for
the response a soap operation? I try it but the runtime
throws an exception
(InvalidOperationException exception)
I have a wsdl with this node:
<portType name="MyPoert">
<operation name="Op1">
<input message="n:Op1"/>
<output message="n:same_message"/>
--> the same message
</operation>
<operation name="shutdownModule">
<operation name="Op2">
<input message="n:Op2"/>
<output message="n:same_message"/>
--> The same message
</operation>
</portType>
And the classes generated by the wsdl /serverinterface
command when I try
to invoke it the exception is released.
Thanks in advance
Javier
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
|