[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
If you know the address of the machine you need to hit at runtime, why not just hit it and get the WSDL that it has generated (which would have the appropriate substitution for REPLACE_WITH_ACTUAL_URL)? Instead of: File file = new File(C:/a.wsdl); | URL url = new URL(file.toURL().toString()); You would have something like: URL wsdlLocation = new URL(http://hostname:8080/webServiceName/WebServiceName?wsdl;); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953015#3953015 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953015 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
[EMAIL PROTECTED] wrote : Yes jboss-client.xml works but I have potentially up to a 1000 of endpoints for the same service. And they come and go. And the approach of | | Stub stub = (Stub)port; | stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, this.TARGET_ENDPOINT_ADDRESS); | | doesn't seem to work. Any other suggestions for the 1.0.0GA? This should work, if it doesn't it is a bug. We actually have an internal client that uses this feature (the jboss portal wsrp), so I am not sure how it could not be working. If you can make a simple test case that proves this and create a jira issue with it attached we can take a look at fixing it. -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3953043#3953043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3953043 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
Did you ever find a way to do this. I need the ability to change the url at runtime. Examples show using ENDPOINT_ADDRESS_PROPERTY, but it does not work. Any help would be great View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3952858#3952858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3952858 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
Yes jboss-client.xml works but I have potentially up to a 1000 of endpoints for the same service. And they come and go. And the approach of Stub stub = (Stub)port; stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, this.TARGET_ENDPOINT_ADDRESS); doesn't seem to work. Any other suggestions for the 1.0.0GA? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948804#3948804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948804 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
You can change the file _server_/deploy/jbossws14.sar/META-INF/jboss-service.xml from this: | attribute name=WebServiceHost${jboss.bind.address}/attribute | to this: | attribute name=WebServiceHostwww.example.com/attribute | And then use http://www.example.com:8080/jbossws/services to get a WSDL file for each of the published services. Hope this helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3948815#3948815 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3948815 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
Use the JSR-109 client deployment model, with wsdl-override in jboss-client.xml. There are plenty of examples in the testsuite. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3940302#3940302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3940302 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
Stub._setProperty(ENDPOINT_ADDRESS_PROPERTY, http://tulip.imagine-com.local:12124;) should be working. You might have to cast your Port to Stub though. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3938108#3938108 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938108 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user