[ 
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 '[EMAIL 
> PROTECTED]://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 '[EMAIL 
> PROTECTED]://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 '[EMAIL 
> PROTECTED]://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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to