I'm trying to create a client proxy in .NET (2.0) against the MTOM sample for jbossws. However, when I run the WSDL tool here's the comments I get in the generated proxy class:
// CODEGEN: The operation binding 'sendMimeImageGIF' from namespace 'http://org.jboss.ws/samples/mtom' was ignored. Each message part in a use=literal style=rpc message must specify a type. // CODEGEN: The operation binding 'sendMimeImageJPEG' from namespace 'http://org.jboss.ws/samples/mtom' was ignored. Each message part in a use=literal style=rpc message must specify a type. // CODEGEN: The operation binding 'sendMimeTextPlain' from namespace 'http://org.jboss.ws/samples/mtom' was ignored. Each message part in a use=literal style=rpc message must specify a type. // CODEGEN: The operation binding 'sendMimeMultipart' from namespace 'http://org.jboss.ws/samples/mtom' was ignored. Each message part in a use=literal style=rpc message must specify a type. // CODEGEN: The operation binding 'sendMimeTextXML' from namespace 'http://org.jboss.ws/samples/mtom' was ignored. Each message part in a use=literal style=rpc message must specify a type. // CODEGEN: The operation binding 'sendMimeApplicationXML' from namespace 'http://org.jboss.ws/samples/mtom' was ignored. Each message part in a use=literal style=rpc message must specify a type. It appears that the usage of 'element' within the operation bindings (instead of type) is causing an issue. Questions: 1. Is it necessary to define the operation XOP parts as elements (as in the current WSDL), or is it possible to re-craft the WSDL so that it has 'type' for each operation part? 2. Can the different element types be re-defined as complex types and then used as 'type' within the operation parts? Any assistance/insight into this would be appreciated. Thanks. Kevin Wittkopf - Solutions Architect .NET ISV Platform Adoption Team - Java Developer and Platform Evangelism office: 425 703 8440 mobile: 206 218 7662 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948603#3948603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948603 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user