axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: [Axis2] wsdl2java Code Generation problem (ADB)
Date Thu, 29 Mar 2007 05:44:33 GMT
problem is in here
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
attributeFormDefault="qualified"
                   elementFormDefault="qualified" targetNamespace="
http://ADBTest/xsd">
            <element name="getMessage">
                <complexType>
                    <sequence>
                        <element name="msg" nillable="true"
type="xs:string"/>
                    </sequence>
                </complexType>
            </element>
            <element name="getMessageResponse">
                <complexType>
                    <sequence>
                        <element name="return" nillable="true"
type="xs:string"/>
                    </sequence>
                </complexType>
            </element>
            <element name="setMessage">
                <complexType>
                    <sequence>
                        <element name="msg" nillable="true"
type="xs:string"/>
                    </sequence>
                </complexType>
            </element>
        </xs:schema>

either you put xmlns="http://www.w3.org/2001/XMLSchema" to schema element to
make xml schema to default namespace or put the xs prefix for all
element,complexType, sequence etc..

On 3/29/07, Lahiru Sandakith <sandakith@gmail.com> wrote:
>
> Hi
>
>  doing  it with the Eclipse Codegen Plugin Result the attached error,
>
> Thanks
>
> Sandakith
>
> On 3/29/07, Ajith Ranabahu < ajith.ranabahu@gmail.com> wrote:
> >
> > Hi,
> > It seems (from visual inspection) that there is nothing wrong with
> > your WSDL. If Axis2 failed with this then its surely a bug. Have you
> > tried with the nightlies by any chance ? Better yet you can even try
> > with the Axis 1.2 RC
> >
> > Ajith
> >
> > On 3/28/07, Anil VVNN < vvnn_anil@yahoo.com> wrote:
> > >
> > > Hi Dims,
> > >
> > > I think nothing wrong with Axis2 libraries, problem could be with my
> > wsdl
> > > file (ADBTest.wsdl attached). Can you please validate. Thanks.
> > >
> > > - Anil
> > >
> > >
> > > Davanum Srinivas wrote:
> > > >
> > > > Please create a JIRA issue and upload the wsdl's.
> > > >
> > > > thanks,
> > > > dims
> > > >
> > > > On 3/28/07, Anil VVNN < vvnn_anil@yahoo.com> wrote:
> > > >>
> > > >> Hi,
> > > >>
> > > >> I'm using Axis2 1.1.1, I have written very simple wsdl wsdl but
> > > >> encountering
> > > >> problem while generating Java classes, could somebody validate the
> > > >> attached
> > > >> wsdl. And here is the error,
> > > >>
> > > >> ===========================================================
> > > >> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > > >> apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was
> > mapped
> > > >> to
> > > >> the name setMessage with namespace http://ADBTest/xsd
> > > >> ===========================================================
> > > >> http://www.nabble.com/file/7486/ADBTest.wsdl ADBTest.wsdl
> > > >>
> > > >> Thanks. Do you need ADBTestSkeleton code too.
> > > >>
> > > >> --
> > > >> View this message in context:
> > > >>
> > http://www.nabble.com/-Axis2--wsdl2java-Code-Generation-problem-%28ADB%29-tf3481013.html#a9716015
> > > >> Sent from the Axis - User mailing list archive at Nabble.com.
> > > >>
> > > >>
> > > >>
> > ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > >> For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services
> > Developers
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > > >
> > > >
> > > >
> > >
> > > --
> > > View this message in context: http://www.nabble.com/-Axis2--wsdl2java-Code-Generation-problem-%28ADB%29-tf3481013.html#a9717631
> >
> > > Sent from the Axis - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-user-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Ajith Ranabahu
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Regards
> Lahiru Sandakith
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message