forget to add wsdl file
here it is

  | <definitions name='ServService' targetNamespace='http://a.test.com/jaws' 
xmlns='http://schemas.xmlsoap.org/wsdl/' 
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' 
xmlns:tns='http://a.test.com/jaws' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
  |  <types>
  |   <schema elementFormDefault='qualified' 
targetNamespace='http://a.test.com/jaws' 
xmlns='http://www.w3.org/2001/XMLSchema' 
xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' 
xmlns:tns='http://a.test.com/jaws' 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
  |    <complexType name='Value'>
  |     <sequence/>
  |    </complexType>
  |   </schema>
  |  </types>
  |  <message name='Serv_getValue'></message>
  | 
  |  <message name='Serv_getValueResponse'>
  |   <part name='result' type='tns:Value'/>
  |  </message>
  |  <portType name='Serv'>
  |   <operation name='getValue'>
  |    <input message='tns:Serv_getValue'/>
  |    <output message='tns:Serv_getValueResponse'/>
  |   </operation>
  |  </portType>
  | 
  |  <binding name='ServBinding' type='tns:Serv'>
  |   <soap:binding style='rpc' 
transport='http://schemas.xmlsoap.org/soap/http'/>
  |   <operation name='getValue'>
  |    <soap:operation soapAction=''/>
  |    <input>
  |     <soap:body namespace='http://a.test.com/jaws' use='literal'/>
  |    </input>
  |    <output>
  |     <soap:body namespace='http://a.test.com/jaws' use='literal'/>
  | 
  |    </output>
  |   </operation>
  |  </binding>
  |  <service name='ServService'>
  |   <port binding='tns:ServBinding' name='ServPort'>
  |    <soap:address location='http://myhost:8080/ws/Serv'/>
  |   </port>
  |  </service>
  | </definitions>
  | 

generated by WSDLFilePublisher from java class

  | package com.test.a;
  | 
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | import javax.jws.soap.SOAPBinding;
  | 
  | import com.test.b.Value;
  | 
  | @WebService
  | @SOAPBinding(style=SOAPBinding.Style.RPC)
  | public class Serv {
  | 
  |     @WebMethod
  |     public Value getValue() {
  |             return null;
  |     }
  |     
  | }
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953962#3953962

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953962

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=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to