[jboss-user] [JBoss Web Services Users] - wsdl generation for ejb3 webservice creates wsdl with import

KickMeToAndy do-not-reply at jboss.com
Wed Nov 4 03:18:10 EST 2009


Hi,

is it possible to tell jboss to generate the wsdl for an ejb3 webservice without any imports ?

for following wsdl is generated for our webservice. the main problem is
that the imported file contains another import. to generated the client
we have to download the 3 files manually and fix the imports (to use the local files), because in the deployment environment we cannot access 
the running webserivce.

so is there a way to tell jboss to generate just one wsdl file that contains all the information (thus not uses any import tags) ?

we are using jboss-4.2.3.GA with the metro stack 3.1.1.GA

<?xml version='1.0' encoding='UTF-8'?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.4-b01-. --><!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.4-b01-. -->
  | <definitions
  | 	xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
  | 	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
  | 	xmlns:tns="http://impl.backend.ffe.dbsystel.de/"
  | 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  | 	xmlns="http://schemas.xmlsoap.org/wsdl/"
  | 	targetNamespace="http://xxx.de/"
  | 	name="AuftragService">
  | 	<import namespace="http://xxx.de/"
  | 		location="http://127.0.0.1:9080/backend-0.1-SNAPSHOT-backend-process-0.1-SNAPSHOT/AuftraegeServiceImpl?wsdl=1" />
  | 	<binding xmlns:ns1="http://xxx.de/"
  | 

thanks in advance,
cheers,
andy



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

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



More information about the jboss-user mailing list