What I meant to say is:

You have an _element_ defined in the schema:

   <xsd:element name="set_PortalVariableResponse"/>

As the message says, it has no type defined. You need to specify its
schema type.

Anne

On 10/29/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
> You have a type defined in the schema:
>
>     <xsd:element name="set_PortalVariableResponse"/>
>
> As the message says, it has no type defined. You need to specify its
> schema type.
>
> Anne
>
> On 10/26/07, Kiran Kumar Sriram <[EMAIL PROTECTED]> wrote:
> >
> >
> > Here is the WSDL file attached with this mail.
> >
> >
> >
> >  ________________________________
> >  From: [EMAIL PROTECTED]
> > To: [email protected]
> > Subject: Axis2 WSDL2Java error during service skeliton/stub generation
> > Date: Fri, 26 Oct 2007 10:34:30 -0400
> >
> >
> >  Hello All
> >
> > I am getting this error when i try to generate Service Skeleton code from a
> > WSDL file. This is a new service and we are trying to go in WSDL first
> > approach. We need wsdl to be in Document/literal Wrapped style in order to
> > be interoperable with .Net framework. .Net generated client stubs with out
> > any problem but Axis2 WSDL2Java is giving this exception during service
> > skeleton and client generation times. This is pretty simple WSDL file with
> > just two methods in it. We are trying to generate skeleton and clients in
> > UNWrapped mode.
> >
> > C:\Code\Axis14ClientTest\Axis14ClientTest1>java.exe
> > -Djava.ext.dirs=C:\Softwares
> > \axis2-1.3-bin\axis2-1.3\lib; org.apache.axis2.wsdl.WSDL2Java -s -ss -uw -sd
> > -d
> > adb -uri PCMConnection.wsdl
> > log4j:WARN No appenders could be found for logger
> > (org.apache.axis2.description.
> > WSDL11ToAllAxisServicesBuilder).
> > log4j:WARN Please initialize the log4j system properly.
> > Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException
> > : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > Can not determine the s
> > chema type for the set_PortalVariableResponse
> >         at
> > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
> > ationEngine.java:265)
> >         at
> > org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
> >         at
> > org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> > Caused by:
> > org.apache.axis2.wsdl.codegen.CodeGenerationException: Can
> > not determ
> > ine the schema type for the set_PortalVariableResponse
> >         at
> > org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension.walk
> >
> >
> > I have attached WSDL file with this mail. Just to let you know .Net is fine
> > with this WSDL but not Axis2 WSDL2Java tool.
> >
> > Any help is greatly appreciated.
> >
> > Thank you,
> >
> > Kiran
> >
> >
> >  ________________________________
> >  Peek-a-boo FREE Tricks & Treats for You! Get 'em!
> > ________________________________
> > Climb to the top of the charts!  Play Star Shuffle:  the word scramble
> > challenge with star power. Play Now!
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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

Reply via email to