> How can I include an external schema in the WSDL generated by Axis?
In the WSDD file, specify a location for wsdl file which inturn may
import an external schema.
example:
<service name="PurchaseService" provider="java:RPC">
<wsdlFile>/srv/webapps/axis/order-message.wsdl</wsdlFile>
- - - - - - - -
</service>
> What is the proper return type so the retrieved XML shows up in the SOAP
> message properly
What kind of problem did you face while using java.lang.String as the
return type for your service method?
- venkat
On 6/1/05, Marc Rabil <[EMAIL PROTECTED]> wrote:
>
>
> We are designing a web service that will connect to a back-end system and
> retrieve a chunk of XML and will simply return that XML. The .JWS definition
> may look something like this:
>
>
>
> public class CallBackendSystem {
>
> public String invoke(String arg1, String arg2) {
>
> String xmlString = // contact another system and retrieve XML
>
> return xmlString;
>
> }
>
> }
>
>
>
> We want the returned XML to be part of the SOAP body in the normal way (not
> escaped, or in a CDATA, etc.). We also want to include the XML schema
> (which we have from the back-end system) in the WSDL for this service. In
> short, we would like this web service to look to the outside world like it
> was all generated from the same system.
>
>
>
> Here are my questions:
>
>
> How can I include an external schema in the WSDL generated by Axis?
> What is the proper return type so the retrieved XML shows up in the SOAP
> message properly
>
>
>
> Any help or advice will be greatly appreciated.
>
>
>
> Marc