axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Poetter (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3890) Nullpointerexception in WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:952)
Date Fri, 04 Jul 2008 12:35:33 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Poetter updated AXIS2-3890:
----------------------------------

    Attachment: WSDL11ToAxisServiceBuilder.java

With these fixes, it reports the error properly and doesn't crash. Run diff or look for "Thomas
Poetter" in the source code.
The port type is defined in another XSD file - I'll see if I find a workaround for this.


> Nullpointerexception in WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:952)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3890
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3890
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.4
>         Environment: WinXP with Apache Tomcat 6.0.14 with AXIS2 and WS-Security using
rampart-1.4, rahas-1.4
>            Reporter: Thomas Poetter
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>         Attachments: WSDL11ToAxisServiceBuilder.java
>
>   Original Estimate: 3h
>  Remaining Estimate: 3h
>
> This call stack is dumped upon program call:
> C:\Develop\Tools\axis2-1.4\bin>WSDL2Java.bat -uri C:\AIS\schemata\AccountInformationServiceSecAnnotated.wsdl
-p com.commerzbank.ais.InterActiveWebClientRampart -o C:\AIS\InterActiveWebServicesGeneratedSec2
> Using AXIS2_HOME:   C:\Develop\Tools\axis2-1.4
> Using JAVA_HOME:    C:\Program Files\Java\jdk1.5.0_15
> Retrieving document at 'C:\AIS\schemata\AccountInformationServiceSecAnnotated.wsdl'.
> Retrieving schema at 'file:///C:/AIS/schemata/AccountInformation.xsd', relative
> to 'file:/C:/AIS/schemata/AccountInformationServiceSecAnnotated.wsdl'.
> Retrieving schema at 'file:///C:/AIS/schemata/camt.007.002.01.xsd', relative to 'file:/C:/AIS/schemata/AccountInformation.xsd'.
> Retrieving schema at 'file:///C:/AIS/schemata/InteractiveCommon.xsd', relative to 'file:/C:/AIS/schemata/AccountInformation.xsd'.
> Retrieving schema at 'file:///C:/AIS/schemata/camt.007.002.01.xsd', relative to 'file:/C:/AIS/schemata/InteractiveCommon.xsd'.
> Retrieving schema at 'file:///C:/AIS/schemata/pain.001.001.02.xsd', relative to 'file:/C:/AIS/schemata/InteractiveCommon.xsd'.
> Retrieving schema at 'file:///C:/AIS/schemata/pain.001.001.02.xsd', relative to 'file:/C:/AIS/schemata/AccountInformation.xsd'.
> Retrieving schema at 'file:///C:/AIS/schemata/pain.001.001.02.xsd', relative to 'file:/C:/AIS/schemata/AccountInformationServiceSecAnnotated.wsdl'.
> Retrieving schema at 'file:///C:/AIS/schemata/InteractiveCommon.xsd', relative to 'file:/C:/AIS/schemata/AccountInformationServiceSecAnnotated.wsdl'.
> Retrieving schema at 'file:///C:/AIS/schemata/InteractiveCommon.xsd', relative to 'file:/C:/AIS/schemata/AccountInformationServiceSecAnnotated.wsdl'.
> [ERROR]
> java.lang.NullPointerException
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:952)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:331)
>         at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error
parsing WSDL
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:153)
>         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.AxisFault
>         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:397)
>         at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
>         ... 2 more
> Caused by: java.lang.NullPointerException
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:952)
>         at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:331)
>         ... 4 more
> C:\Develop\Tools\axis2-1.4\bin>
> The WSDL is confidential as also the specific schemata. Security annotations were made
to an existing WSDL along the lines of the example given by the Rampart tutorial at:
> http://wso2.org/library/3190   and this WSDL: http://wso2.org/files/UToverHTTPS.xml
> Public XSDs can be retrieved from here:
> http://www.iso20022.org/catalogue_of_unifi_messages.page

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message