I'm using  Sun's WSDPack's  JAX-WS tool(wsimport) to create server side 
artifacts for my web service. . 

This does not create jaxrpc-mapping.xml file. (But wscompile from jaxrpc does 
create that ). 

If I understand it correct, I don't need the jaxprc-mapping file at all because 
the schema types are annotated in the created java classes itself. 

Also, I don't need webservices.xml to define my services when I deploy the 
services. ( visit http://blogs.sun.com/roller/page/vijaysr/20060117 for more 
info). 


But there should be a way to define the webservices when I deploy the services. 
This is what I've done in my web.xml. 

    
        <servlet-name>OrderProcess</servlet-name>
        
<servlet-class>org.jboss.webservice.server.ServiceEndpointServlet</servlet-class>
 
        <load-on-startup>1</load-on-startup>
    

  <servlet-mapping>
    <servlet-name>OrderProcess</servlet-name>
    <url-pattern>/OrderProcess</url-pattern>
  </servlet-mapping>

  <service-ref>
  
        <service-ref-name>OrderProcessService</service-ref-name>
        
<service-interface>webservice.test.jboss.org.samples2.OrderProcessService</service-interface>
        <wsdl-file>WEB-INF/wsdl/order.wsdl</wsdl-file> 
        <service-qname 
xmlns:servicens="urn:OrderProcessService">servicens:OrderProcessService</service-qname>
 
  </service-ref>




And in jboss-web.xml

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE jboss-web PUBLIC
    "-//JBoss//DTD Web Application 2.4//EN"
    "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd";>

<jboss-web>

  
  <context-root>jaxws1</context-root>
        <service-ref>
        <service-ref-name>OrderProcessService</service-ref-name>
        <port-component-ref>
          
<service-endpoint-interface>webservice.test.jboss.org.samples2.OrderProcess</service-endpoint-interface>
        </port-component-ref>
                
<wsdl-override>http://localhost:8080/jaxws1/OrderProcess?wsdl</wsdl-override>
                
    </service-ref>
</jboss-web>


..
With the above, I couldn't deploy the service. I don't know if I'm missing 
something . 
I get 'page not found' on the url :-  
http://localhost:8080/jaxws1/OrderProcess?wsdl

Has anybody used jax-ws from WSDP to deploy the service on Jboss4.0.4RC1. 


Advance Thanks for your help. 





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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to