Hi,
I am using JBoss 4.2.2.GA installed on HP-UX machine.
When I deploy a WAR file (annotated one, so that a WebService is deployed), the WSDL file
has the XSD embedded into it.
Is there any way I can get the XSD in a different location and have the WSDL import it ?
For example, when I deploy a service I get something like this in the WSDL:
| <types>
| - <xs:schema
targetNamespace="http://ws.numberavailability.com/"
version="1.0" xmlns:ns1="http://com.numberavailability.ws/"
xmlns:tns="http://ws.numberavailability.com/"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
| <xs:import namespace="http://com.numberavailability.ws/" />
| <xs:element name="getAvailableNumbers"
type="tns:getAvailableNumbers" />
| <xs:element name="getAvailableNumbersResponse"
type="tns:getAvailableNumbersResponse" />
| ...................................................
|
But I want something like this :
| <types>
| - <xsd:schema>
| <xsd:import namespace="http://com.numberavailability.ws/"
schemaLocation="http://inhydunix04:54362/CompositeWebServiceForServiceOrder/CompositeWebServiceForServiceOrderService?xsd=1"
/>
| </xsd:schema>
|
Where should the configurations be changed to reflect this? In Sun One server, the
WSDL's are generated like this by default and our application is now migrated on to
JBoss and we want the same WSDL structure.
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166604#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...