[JBoss-user] [JBossWS] - Re: WSDL duplicate operations
Hi Max, After reading your article I made sure that the message parts had different names in their definitions and used them for overloading the same WSDL method: getModel(). The WSDL bindings for the method uses the different message parts as appropriate. Here is the binding generated by Java2WSDL. It shows that the input and outputs refer to different message names: | wsdl:operation name=getModel | | wsdlsoap:operation soapAction=/ | | wsdl:input name=getModelRequest | | wsdlsoap:body namespace=http://url.com; use=literal/ | | /wsdl:input | | wsdl:output name=getModelResponse | | wsdlsoap:body namespace=http://url.com; use=literal/ | | /wsdl:output | | /wsdl:operation | | wsdl:operation name=getModel | | wsdlsoap:operation soapAction=/ | | wsdl:input name=getModelRequest1 | | wsdlsoap:body namespace=http://url.com; use=literal/ | | /wsdl:input | | wsdl:output name=getModelResponse1 | | wsdlsoap:body namespace=http://url.com; use=literal/ | | /wsdl:output | | /wsdl:operation | JBoss WS deployer just doesn't like duplicate operation names, it seems. Your articles points out that WSDL 1.2 dropped method overloading and WS-I Basic Profile 1.0 has no method overloading. Am I trying to do something here that cannot be achieved in JBossWS? Any ideas? Claire. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882862#3882862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882862 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDL duplicate operations
J2EE webservices must adhere to WS-I Basic Profile 1.0, which JBossWS does. -Jason View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882865#3882865 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882865 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDL duplicate operations
We all want to do advanced stuff in wsdl files, based on our business requirements. But the eventual goal should be to make your webservices portable(across containers) and interoperable(with .Net). J2EE 1.4 web services (which JBossWS supports) has support for WSDL 1.1 (which allows method overloading). But J2EE 1.4 also has strict WS-I BP 1.0 compliance. As you can see in section 5.4.3, method name overloading, is discouraged. http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html Try to do a workaround and be happy that your webservices will be interoperable/portable. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882866#3882866 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882866 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDL duplicate operations
Thanks for the feedback. I shall simply rename WS operations (for use within the same portType at least). Claire. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882873#3882873 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882873 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDL duplicate operations
Have a look at my article over here: http://www.devsource.com/article2/0,1759,1828651,00.asp It is mostly related to .NET, but everything about WSDL, messages, and methods would still apply to Axis / JBoss. Hope this helps [EMAIL PROTECTED] http://www.jbossfaq.com is hosted on http://www.thebeancontainer.com View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882616#3882616 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882616 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: WSDL duplicate operations
Thanks Max. I'll take a look at the article and see how it works out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882620#3882620 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882620 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user