Unwrapping does not work with included or imported schema
---------------------------------------------------------

                 Key: AXIS2-2475
                 URL: https://issues.apache.org/jira/browse/AXIS2-2475
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
            Reporter: Paul Fremantle
         Attachments: Profile.xsd, ProfileServerImport.wsdl, 
ProfileServerInclude.wsdl, ProfileServerInline.wsdl

I'm attaching three WSDLs that are identical except the way they reference the 
xsd.

Basically one has the schema inline, the second uses:

        <schema targetNamespace="http://www.fremantle.org/schemas/Profile";
        xmlns="http://www.w3.org/2001/XMLSchema";
        xmlns:tns="http://www.fremantle.org/schemas/Profile";>
                        <xsd:import 
                                
namespace="http://www.fremantle.org/schemas/Profile";
                                schemaLocation="Profile.xsd">
                        </xsd:import>

                </schema>

and the third uses

<xsd:schema 
targetNamespace="http://www.fremantle.org/schemas/Profile";><xsd:include 
schemaLocation="Profile.xsd"></xsd:include></xsd:schema>

The inline has the argument properly unwrapped but the other two do not. 

here is my WSDL2Java command line:

wsdl2java.bat -uw -ss -sd -uri ProfileServerInclude.wsdl

(I also tested client side and it was the same)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to