Search the web
Sign In
New User? Sign Up
wsdl
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
WSDL2Java problem   Message List  
Reply | Forward Message #2038 of 2160 |
Re: [wsdl] WSDL2Java problem

The error message indicates that there is a problem with your schema:

   element {http://www.csapi.org/osa/schema }TpString is not found

I strongly encourage you to ask Axis/Axis2 questions on the axis-user discussion list (see http://ws.apache.org/axis2/mail-lists.html ). If you believe your schema is valid and that there's a bug in the java2wsdl tool, please file a bug report using JIRA (http://issues.apache.org/jira/browse/AXIS2 ). Please include your WSDL and schema in the bug report.

Anne

On 12/14/06, kevinkilroy2002 <kevinkilroy2002@... > wrote:

Hi,

I have a wsdl file that contains a xsd schema. I am trying to use
Axis2 to generate the required stubs for the client.

I am receiving the following error:

Using AXIS2_HOME: C:\openwave\Axis\axis2-1.1
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_09
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:224)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: java.lang.RuntimeException:
java.lang.reflect.InvocationTargetExcepti
on
at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:52)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:177)
... 2 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:49)
... 3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: The
referenced el
ement '{http://www.csapi.org/osa/schema}TpString' was not found!
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:625)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:489)
at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:14
88)
at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler
.java:1450)
at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi
ler.java:950)
at
org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaT
ype(SchemaCompiler.java:883)
at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j
ava:866)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:527)
at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.
java:499)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:33
6)
at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:24
8)
at
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java
:72)
... 8 more
C:\projects\alltel\docs\wsdl\testWSDL>

I know the WSDL is fine.

If this is not the most appropriate place to post can somebody provide
a location where I may.

Thanks in advance,

Kevin




Fri Dec 15, 2006 1:49 pm

annemanes
Offline Offline
Send Email Send Email

Forward
Message #2038 of 2160 |
Expand Messages Author Sort by Date

Hi, I have a wsdl file that contains a xsd schema. I am trying to use Axis2 to generate the required stubs for the client. I am receiving the following error: ...
kevinkilroy2002
Offline Send Email
Dec 14, 2006
1:57 pm

The error message indicates that there is a problem with your schema: element {http://www.csapi.org/osa/schema}TpString is not found I strongly encourage you...
Anne Thomas Manes
annemanes
Offline Send Email
Dec 15, 2006
1:51 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help