axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David R Robison (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-4983) parts not found for WSRF's ResourceUnknownFault
Date Thu, 18 Oct 2012 12:18:04 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478942#comment-13478942
] 

David R Robison commented on AXIS2-4983:
----------------------------------------

I'm having the same problem with the same WSDL. Has this problem been solved? Any suggestions
on work arounds? TNX David
                
> parts not found for WSRF's ResourceUnknownFault  
> -------------------------------------------------
>
>                 Key: AXIS2-4983
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4983
>             Project: Axis2
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.5.4
>         Environment: Linux
>            Reporter: Andrey Chernyshev
>         Attachments: test.wsdl
>
>
> WSDL2Java does not seem to be correctly handling wsrf-r:ResourceUnknownFaultType. 
> It's not picking up the part from this definition:
> (from http://docs.oasis-open.org/wsrf/rw-2.wsdl):
> <!-- ================= WS-Resource faults ========================= -->
>   <wsdl:message name="ResourceUnknownFault">
>      <part name="ResourceUnknownFault"
>            element="wsrf-r:ResourceUnknownFault" />
>   </wsdl:message> 
> I was trying to run it against attached wsdl and got the following:
> wsdl2java.sh  -uri test.wsdl
> ...
> [ERROR] There are no parts for fault message : {http://docs.oasis-open.org/wsrf/rw-2}ResourceUnknownFault
> [ERROR] There are no parts for fault message : {http://docs.oasis-open.org/wsrf/rw-2}ResourceUnknownFault
> org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException: There
are no parts for fault message : {http://docs.oasis-open.org/wsrf/rw-2}ResourceUnknownFault
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1231)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:777)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:537)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:488)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:362)
> 	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: There are no parts for fault message : {http://docs.oasis-open.org/wsrf/rw-2}ResourceUnknownFault
> 	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:396)
> 	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: org.apache.axis2.description.WSDL11ToAxisServiceBuilder$WSDLProcessingException:
There are no parts for fault message : {http://docs.oasis-open.org/wsrf/rw-2}ResourceUnknownFault
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.addQNameReference(WSDL11ToAxisServiceBuilder.java:1231)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:777)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:537)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:488)
> 	at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:362)
> 	... 4 more
> Is this a known limitation or bug in parsing code?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message