You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ozgur Gurkan (JIRA)" <ji...@apache.org> on 2006/05/17 21:07:07 UTC
[jira] Commented: (AXIS2-744) WSDL2Java error: src-resolve: type
'Fault@http://wellpoint.com/service/BenefitsService' not found.'
[ http://issues.apache.org/jira/browse/AXIS2-744?page=comments#action_12412230 ]
Ozgur Gurkan commented on AXIS2-744:
------------------------------------
I have read the slew of WSDL2Java problems that is very similar to this issue. With that said, my WSDL does contain a target namespace in the schema element; so, it isn't the same issue.
> WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'
> ---------------------------------------------------------------------------------------------------
>
> Key: AXIS2-744
> URL: http://issues.apache.org/jira/browse/AXIS2-744
> Project: Apache Axis 2.0 (Axis2)
> Type: Bug
> Components: wsdl
> Versions: 1.0
> Environment: windows
> Reporter: Ozgur Gurkan
> Attachments: BenefitsDomain.zip
>
> Executing WSDL2Java tool against the attached WSDL and XSD files reveals an xmlbeans error:
> >d:\devtools\axis2\bin\WSDL2Java.bat -o codegen -s -d xmlbeans -uri BenefitsService_Binding_JMS_V0100.wsdl
> org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185)
> 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.InvocationTargetException
> at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:93)
> at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140)
> ... 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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:83)
> ... 3 more
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.
> at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:192)
> ... 8 more
> Caused by: org.apache.xmlbeans.XmlException: error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.
> at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.apache.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
> at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:161)
> ... 8 more
> Exception in thread "main"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira