-
1. Re: Accessing a .NET web service from JBoss 4.0.4
tonycruickshank Apr 5, 2007 12:39 PM (in response to tonycruickshank)Hi All,
Resolved. The WSDL file I was generating from contained soap12
artefacts. Though the JBoss wstools generated the mapping and
java successfully, at run time the server log contained the
warning
WARN [org.jboss.ws.metadata.wsdl.WSDLDefinitions] Multiple WSDL bindings referrence the same interface:
Removing all the soap12 information from the WSDL and starting
again with wstools fixed the problem.
TonyC -
2. Re: Accessing a .NET web service from JBoss 4.0.4
mdwallis Aug 8, 2007 12:18 PM (in response to tonycruickshank)Tony (and other interested parties),
Along the same topic of yielding the warning of "Multiple WSDL bindings ...", you were able to remove the soap12 artifacts from the WSDL. Thus, you have your local copy to modify for your own processing. In a more dynamic approach, do you know of any way to programmatically control the "ignoring" of the soap12 information?After using wsconsume with my WSDL file, a warning was provided about using an extension flag (i.e., -extension) but the wsconsume online documentation, from what I can find, does not disclose such information. I am using wsconsume to hit a web service for it's WSDL and during it's processing, the following information / warning is provided:
[WARNING] Ignoring SOAP port "LKMLookupWebServiceSoap12": it uses non-standard SOAP 1.2 binding.
You must specify the "-extension" option to use this binding.
line 528 of http://localhost/LKMLookup/LKMLookupWebService.asmx?WSDL
Any advice would be greatly appreciated.
Michael -
3. Re: Accessing a .NET web service from JBoss 4.0.4
tonycruickshank Aug 9, 2007 3:26 AM (in response to tonycruickshank)Hi Michael,
In my case I didn't need a dynamic way of modifying the WSDL. I pulled it from the URI, modified it by hand, added it directly to my web application and in my code set WSDL URI to my local copy instead of to the remote (broken) copy.
Sorry I can't be more help.
Tony.