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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/04/20 19:03:18 UTC

[jira] Resolved: (AXIS2-2557) Unexpected subelement EncryptionMethod

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

Davanum Srinivas resolved AXIS2-2557.
-------------------------------------

    Resolution: Invalid

> Unexpected subelement EncryptionMethod
> --------------------------------------
>
>                 Key: AXIS2-2557
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2557
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1.1
>            Reporter: Gilles Delaby
>
> A web service receives a String as input parameter and returns an encrypted Element as response.
> I use the Axis2 wsdl2java to generate the stub and a simple java class to test the service.
> It fails at runtime because the stub does not recognize the security header (due to the encryption) of the soap message :
>  java.lang.RuntimeException: Unexpected subelement EncryptionMethod
>     at services.client.AccessServiceStub.fromOM(AccessServiceStub.java:1889)
>     at services.client.AccessServiceStub.getProfile(AccessServiceStub.java:160)
>     at services.client.Client.main(Client.java:62)
> Caused by: java.lang.RuntimeException: Unexpected subelement EncryptionMethod
>     at services.client.AccessServiceStub$GetProfileResponse$Factory.parse(AccessServiceStub.java:1764)
>     at services.client.AccessServiceStub.fromOM(AccessServiceStub.java:1869)
> No security information is contained in the wsdl so could it be the problem ?
> Thanks !

-- 
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