1 Reply Latest reply on Jan 8, 2008 11:55 AM by marius.oancea

    problem about WSDL

    chibi

      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?