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 04:46:05 UTC

[jira] Created: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

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


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


[jira] Commented: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

Posted by "Ozgur Gurkan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-744?page=comments#action_12412973 ] 

Ozgur Gurkan commented on AXIS2-744:
------------------------------------

Well, I found a workaround for this problem:

The issue was that the WSDL is split into two different files: "service" and "binding". The "binding" file is imported into the "service" file with a different namespace. This causes the tool to not be able to find any of the "message" definitions required for the "port" and "binding" mapping. 

The solution was to change the target namespace of the "service" WSDL file to match the "binding" one and everything is ok.

However, the problem still remains a mystery as to why this would be problematic.

> 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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

Posted by "Harinee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harinee updated AXIS2-744:
--------------------------

    Affects Version/s:     (was: 1.0)
                       1.1

> WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-744
>                 URL: https://issues.apache.org/jira/browse/AXIS2-744
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1
>         Environment: windows
>            Reporter: Ozgur Gurkan
>         Attachments: BenefitsDomain.zip, wirelessportal-httpexport-1.3-wsdl.tar.gz
>
>
> 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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

Posted by "Harinee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harinee updated AXIS2-744:
--------------------------

    Attachment: wirelessportal-httpexport-1.3-wsdl.tar.gz

> WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-744
>                 URL: https://issues.apache.org/jira/browse/AXIS2-744
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.0
>         Environment: windows
>            Reporter: Ozgur Gurkan
>         Attachments: BenefitsDomain.zip, wirelessportal-httpexport-1.3-wsdl.tar.gz
>
>
> 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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

Posted by "Ozgur Gurkan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-744?page=all ]

Ozgur Gurkan updated AXIS2-744:
-------------------------------

    Attachment: BenefitsDomain.zip

Attached WSDL and XSD files to reproduce the problem

> 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


[jira] Resolved: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-744?page=all ]

Davanum Srinivas resolved AXIS2-744.
------------------------------------

    Resolution: Fixed

Fixed in latest SVN.

-- dims

> 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)
>          Issue Type: Bug
>          Components: wsdl
>    Affects 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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

Posted by "Ozgur Gurkan (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Commented: (AXIS2-744) WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'

Posted by "Harinee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462623 ] 

Harinee commented on AXIS2-744:
-------------------------------

I am running into this exact same issue. It's been a while since I worked with web services, but I see two separate wsdls also, one which seems to be the binding one. I changed the targetNamespace to be the same as the other file, but that did not seem to help. I am on axis2-1.1, and trying to use XMLBeans as databinding. I am attaching the wsdl and related xsds here.

Ozgur, with a cursory look, would you be able to tell me what might be wrong?

Thanks!



> WSDL2Java error: src-resolve: type 'Fault@http://wellpoint.com/service/BenefitsService' not found.'
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-744
>                 URL: https://issues.apache.org/jira/browse/AXIS2-744
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.0
>         Environment: windows
>            Reporter: Ozgur Gurkan
>         Attachments: BenefitsDomain.zip, wirelessportal-httpexport-1.3-wsdl.tar.gz
>
>
> 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: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org