[jboss-user] [JBossWS] - Use my own WSDL -> Cannot publish WSDL

jimpo991 do-not-reply at jboss.com
Wed Jul 9 07:46:57 EDT 2008


Using JBossAS 2.4.1.GA and jbossws-3.0.1-native-2.0.4.GA

Trying to create a JAX-WS web service which uses my own hand written WSDL. WSDL includes .xsd type definitions using imports. Part of WSDL:



<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  | <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  | 	xmlns:tns="http://www.city.fi/soa-poc/EmployeeServiceWSDL"
  | 	xmlns:elems="http://www.city.fi/soa-poc/EmployeeService"
  | 	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
  | 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  | 	name="EmployeeService"
  | 	targetNamespace="http://www.city.fi/soa-poc/EmployeeServiceWSDL">
  | 	<wsdl:types>
  | 		<xsd:schema
  | 			targetNamespace="http://www.city.fi/soa-poc/EmployeeServiceWSDL">
  | 			<xsd:import
  | 				namespace="http://www.city.fi/soa-poc/EmployeeService"
  | 				schemaLocation="schema/EmployeeService.xsd">
  | 			</xsd:import>
  | 		</xsd:schema>
  | 	</wsdl:types>

Endpoint interface:


  | @WebService(name = "EmployeeService"
  |     , targetNamespace = "http://www.city.fi/soa-poc/EmployeeServiceWSDL"
  |     ,wsdlLocation = "file:/D:/svn/poc/muokattu2/trunk/xml/wsdl/EmployeeService.wsdl")
  | 
  | public interface EmployeeService {

Endpoint implementation:


  | @WebService(endpointInterface = "com.foo.soapoc.webservice.employee.EmployeeService"
  |     , targetNamespace = "http://www.city.fi/soa-poc/EmployeeServiceWSDL"
  |     , portName = "EmployeeServiceSOAP"
  | )
  | public class EmployeeServiceImpl implements EmployeeService {
  | 

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

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



More information about the jboss-user mailing list