[jboss-user] [JBoss Seam] - problem about WSDL
chibi
do-not-reply at jboss.com
Wed Dec 5 07:39:49 EST 2007
I have a webservice in a seam project. jbossws in seam with SOAPRequestHandler will generate my webservice to WSDL. Here is a part of it.
| <service name="PayService">
| <port binding="tns:PayServiceBinding" name="PayServicePort">
| <soap:address location="http://webservice.onesite.com:8080/project-project/PayService"/>
| </port>
| </service>
|
I have 2 question about this.
1. From jboss seam 2.0.0GA, WebContext annotation disappeared. So i cannot use it with contextRoot and urlPattern to control the webservice endpoint URL.
2. I am using apache to proxy my seam project with Jk, the port is not 8080 in jbossAS-tomcat but 80 in apache. 8080 port has been blocked for security reason. I must change it into webservice.onesite.com:8080 or webservice.onesite.com clearly.
I have a dirty solution that is copy and modify the WSDL and save into a file. Then use @WebService(wsdlLocation = "/WEB-INF/wsdl/sysmon.wsdl").
Any better solution else?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110499#4110499
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110499
More information about the jboss-user
mailing list