Hello everybody,

I have written a webservice using the wsdl-first approach and I import the
types in my wsdl from an external schema.
Now I am using SoapUI for some visual testing of the service and I run into
the problem that the external schema
cannot be resolved by soapui.
I currently use a workaround to solve this. I use another servlet besides
the xfire spring remoting servlet and this other servlet
is mapped to *.xsd files and just outputs the schema files. This lets soapui
resolve the schema and create the request objects automatically.
But I am wondering if there is a standard way to accomplish this with xfire.
How are you handling this issue?

I have a simple layout in this webapp, the wsdl and the schema exists in the
same folder (WEB-INF/classes)
and the import statement in the wsdl is the following:

<wsdl:types>
       <xsd:schema>
           <xsd:import
               namespace="some.namespace"
               schemaLocation="parameters.xsd" />
       </xsd:schema>
</wsdl:types>


Best Regards
-Thomas

Reply via email to