I'm using JBoss 4.0.3SP1.  I have to do a top-down implementation so I used the 
JAXB+JAXRPC method described at 
http://www.develop.com/us/downloads/SchemaDriven.pdf.

My WSDL's service element looks like this:


  | <service name="TestService">
  |   <port name="TestServicePort" binding="uc:TestServiceSoapBinding">
  |     <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
  |   </port>
  | </service>
  | 

The rest of the WSDL is valid (according to XMLSpy), and both xjc and wscompile 
run without a hitch.  I used the -nv, -extension, -xmlschema, -b, and -d flags 
for xjc and the -import, -f:wsi, -f:nodatabinding, -d, -s and -mapping flags 
for wscompile.  Everything builds.

My web.xml looks like this:


  | <?xml version="1.0" encoding="UTF-8"?>
  | <web-app xmlns="http://java.sun.com/xml/ns/j2ee";
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
  |     version="2.4">
  | 
  |   <servlet>
  |     <servlet-name>TestService</servlet-name>
  |     <servlet-class>com.example.wsapi.TestServicePort_Impl</servlet-class>
  |   </servlet>
  | 
  |   <servlet-mapping>
  |     <servlet-name>TestService</servlet-name>
  |     <url-pattern>/TestService</url-pattern>
  |   </servlet-mapping>
  | 
  | </web-app>
  | 

And my webservices.xml looks like this:


  | <webservices xmlns="http://java.sun.com/xml/ns/j2ee";
  |     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd";
  |     version="1.1">
  |   <webservice-description>
  |     <webservice-description-name>TestService</webservice-description-name>
  |     <wsdl-file>WEB-INF/wsdl/TestService.wsdl</wsdl-file>
  |     
<jaxrpc-mapping-file>WEB-INF/test-service-mapping.xml</jaxrpc-mapping-file>
  |     <port-component>
  |       <port-component-name>TestService</port-component-name>
  |       <wsdl-port>TestServicePort</wsdl-port>
  |       
<service-endpoint-interface>com.example.wsapi.TestServicePort</service-endpoint-interface>
  |       <service-impl-bean>
  |         <servlet-link>TestService</servlet-link>
  |       </service-impl-bean>
  |     </port-component>
  |   </webservice-description>
  | </webservices>
  | 

I changed log4j.xml to do DEBUG level logging for org.jboss, org.jboss.axis and 
my application.  There are no errors in the log, but there is also no 
indication that my service was deployed.  When I browse to 
http://localhost/ws4ee/services, my WSDL is not listed.  I have another web 
application that was deployed in the same .ear and it works just fine.

What else should I be checking for?



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

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


-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to