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

Andreas Veithen edited comment on AXIS2-5771 at 5/1/17 9:30 AM:
----------------------------------------------------------------

Andreas-

I have attached a zip file that includes the following:

1. TestEnum-client.jar file generated with the following: wsdl2java.sh -Eiu 
-uri <URL> -d adb -s -u where <URL> is the URL to my test web service.

2. testenum.java - source code that uses TestEnum-client.jar to make the web 
hit.

3. testenum.class - object code that uses TestEnum-client.jar to make the web 
hit.

4. log4j.properties - log4j properties file to create a file named log4j.log in 
the current directory, with the WARN level.

5. log4j.log - output of the log when I run the program.

I run the program with the following (all required files in current directory): 
java -cp ".:./*:/opt/axis2-1.7.1/lib/*" testenum

Since the client stub is aware of the enumeration return values, I don't 
believe there should be any WARN errors in the log4j file.

Please let me know if you have any questions.

Thank you,
Rob Nash



>  -Eiu option logs Unexpected value for enumeration every time
> -------------------------------------------------------------
>
>                 Key: AXIS2-5771
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5771
>             Project: Axis2
>          Issue Type: Bug
>          Components: adb, codegen
>    Affects Versions: 1.7.0, 1.7.1, 1.7.4
>            Reporter: Rob Nash
>            Priority: Minor
>         Attachments: EnumExample.zip
>
>
> Deployed Axis2 1.7.1 using generated client stubs using the -Eiu option. 
> Noticed in our logs the message regarding an Unexpected value for 
> enumeration. The api hit succeeds, and if you exclude the -Eiu option the 
> messages go away. But as far as I can tell they should not show up even with 
> the -Eiu option. I view this as related to the change in AXIS2-5273.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to