axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (AXIS2-4687) generated wsdl does not validate due to http binding
Date Sat, 24 Apr 2010 07:37:51 GMT

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

Andreas Veithen edited comment on AXIS2-4687 at 4/24/10 3:37 AM:
-----------------------------------------------------------------

The commit in r937436 causes the following tests to fail in the integration module:

org.apache.axis2.deployment.WSDL11ToAxisServiceBuilderTest
org.apache.axis2.generics.GenericWSDLGenerationTest
org.tempuri.complex.ComplexDataTypesTest

They all fail with a similar error message:

junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'retUri' but was 'parameters' - comparing <mime:content
part="retUri"...> at /definitions[1]/binding[3]/operation[1]/input[1]/content[1] to <mime:content
part="parameters"...> at /definitions[1]/binding[3]/operation[1]/input[1]/content[1]

I temporarily reverted the change (see r937600). Can you please investigate this issue and
reapply a corrected patch?


      was (Author: veithen):
    The commit in r937436 causes the following tests to fail in the integration module:

org.apache.axis2.deployment.WSDL11ToAxisServiceBuilderTest
org.apache.axis2.generics.GenericWSDLGenerationTest
org.tempuri.complex.ComplexDataTypesTest

They all fail with a similar error message:

junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff
[different] Expected attribute value 'retUri' but was 'parameters' - comparing <mime:content
part="retUri"...> at /definitions[1]/binding[3]/operation[1]/input[1]/content[1] to <mime:content
part="parameters"...> at /definitions[1]/binding[3]/operation[1]/input[1]/content[1]

Can you please investigate?

  
> generated wsdl does not validate due to http binding
> ----------------------------------------------------
>
>                 Key: AXIS2-4687
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4687
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen, wsdl
>    Affects Versions: 1.5.1, 1.5
>            Reporter: Matthias Gaiser
>            Assignee: Lahiru Gunathilake
>            Priority: Minor
>         Attachments: testws-http.zip
>
>
> I have a simple java test class:
> package testws;
> public class TestService {
> 	public String test1() {
> 		return "";
> 	}
> 	
> 	public String test2() {
> 		return "";
> 	}
> }
> I generate a wsdl with java2wsdl and try to validate the wsdl with XMLSpy and it failed.
It complained about the mime:content element which references a non-existing part in the defined
message.
> After I renamed all the parts in the httpBinding to "parameters" which is Axis' default
for the message parts, it validated successfully.
> I will attach the java class, my java2wsdl build script, the original wsdl and the corrected
wsdl.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message