[jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery
Never mind I figured out that the above way will work. The only problem is that I need to attach multiple WSDL's for different environments (dev, uat and prod) inside my ear and then use the logic to dynamically figure out which WSDL URL to load depending on environment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262764#4262764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery
Hello Alessio Thanks for your response. My current code looks like | URL wsdlURL = new URL ( "http://www.example.com/example.asmx?WSDL";); | QName serviceQName = new QName("http://www.example.com/example/";, "Calculate"); | Calculate calc = new Calculate(wsdlURL, serviceQName); | CalculateSoap calcSoap = calc.getCalculateSoap(); | calcSoap.execute(); | It fails on Line 3 with a FileNotFoundException. If I use a WSDL stored locally will I have to modify the WSDL to point to the correct soap address in the following WSDL fragment at the very tail end of the WSDl to let it know where the service is hosted? | | http://www.example.com/example.asmx"; /> | | Thanks for your help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262733#4262733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery
You can store the wsdl locally and point that copy instead of the remote one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262598#4262598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user