« Return to Thread: get back the response message

Re: get back the response message

by Davide Ling :: Rate this Message:

| View in Thread

On Monday 06 February 2006 09:11, Davide Ling wrote:
> On Monday 06 February 2006 01:10, tnguyen@... wrote:
> > Davide,
> >
> > <xsd:complexType name="itemType">
> >    <xsd:sequence>
> >        <xsd:element name="productCode" type="xsd:string" />
>

If you decide to use wscompile, I recommend You to set the searchschema flag:
wscompile -gen:server -d <class destination dir> -f:wsi,strict,searchschema
                 -keep -mapping <path to generated mapping file>
                 <configFile>

The searchschema flag says to wscompile to search schema "aggressively".

where configFile is a file like this:
<?xml version="1.0" encoding="UTF-8"?>

<configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="META-INF/wsdl/orderRegistrationService.wsdl"
                   packageName="orderRegistrationService"/>
</configuration>

I hope this help You.

--
Davide Ling
Sito Personale - http://davideling.altervista.org
Key fingerprint = 284A 0FB9 F9F6 763C D429  E02B AA5D 483A 7E45 D2A6

 « Return to Thread: get back the response message