You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Matthias Gaiser (JIRA)" <ji...@apache.org> on 2010/04/21 10:16:52 UTC

[jira] Created: (AXIS2-4687) generated wsdl does not validate due to http binding

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.5.1
            Reporter: Matthias Gaiser
            Priority: Minor


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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4687.
-------------------------------------------------

    Resolution: Fixed

applied the patch with the neccesary changes to tests.

Lahiru please run the test cases before submitting the patch.

> 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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: TestService.wsdl

Hi all,

thank you for the fast response and (partly) fix.
For my attached testcase, still the wsdl does not validate due to referencing the parts of the empty requests.
I have reported an extra issue for not supporting empty requests in https://issues.apache.org/jira/browse/AXIS2-4686
Resolving that issue will also solve the problem here.

Matthias.

> 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: TestService.wsdl, 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


[jira] Reopened: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser reopened AXIS2-4687:
------------------------------------


Why is this issue closed?
Am I generating the wsdl in a wrong way? Is the generated wsdl the way it is meant to be?

> 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


[jira] Assigned: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4687:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860500#action_12860500 ] 

Andreas Veithen commented on AXIS2-4687:
----------------------------------------

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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860500#action_12860500 ] 

Andreas Veithen commented on AXIS2-4687:
----------------------------------------

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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: testws-http.zip

The attachment includes the test java class, the java2wsdl build script, the original wsdl and the corrected wsdl.

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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860322#action_12860322 ] 

Lahiru Gunathilake commented on AXIS2-4687:
-------------------------------------------

I had a small issue with committing since I lost my committing rights after becoming a LTP, so I resolved the issue without committing, now the fix is there in the trunk, can you please take an svn up and see, whether you issue is fixed, so that I can resolve the issue.

Lahiru

> 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


[jira] Issue Comment Edited: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Assigned: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4687:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake resolved AXIS2-4687.
---------------------------------------

    Resolution: Fixed

> 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4687.
-------------------------------------------------

    Resolution: Fixed

applied the patch with the neccesary changes to tests.

Lahiru please run the test cases before submitting the patch.

> 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


[jira] Assigned: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4687:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake resolved AXIS2-4687.
---------------------------------------

    Resolution: Fixed

> 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4687.
-------------------------------------------------

    Resolution: Fixed

applied the patch with the neccesary changes to tests.

Lahiru please run the test cases before submitting the patch.

> 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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860322#action_12860322 ] 

Lahiru Gunathilake commented on AXIS2-4687:
-------------------------------------------

I had a small issue with committing since I lost my committing rights after becoming a LTP, so I resolved the issue without committing, now the fix is there in the trunk, can you please take an svn up and see, whether you issue is fixed, so that I can resolve the issue.

Lahiru

> 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


[jira] Reopened: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser reopened AXIS2-4687:
------------------------------------


Why is this issue closed?
Am I generating the wsdl in a wrong way? Is the generated wsdl the way it is meant to be?

> 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


[jira] Issue Comment Edited: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Assigned: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4687:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake resolved AXIS2-4687.
---------------------------------------

    Resolution: Fixed

> 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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: testws-http.zip

The attachment includes the test java class, the java2wsdl build script, the original wsdl and the corrected wsdl.

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


[jira] Assigned: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake reassigned AXIS2-4687:
-----------------------------------------

    Assignee: Lahiru Gunathilake

> 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


[jira] Issue Comment Edited: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: testws-http.zip

The attachment includes the test java class, the java2wsdl build script, the original wsdl and the corrected wsdl.

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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860500#action_12860500 ] 

Andreas Veithen commented on AXIS2-4687:
----------------------------------------

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


[jira] Reopened: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser reopened AXIS2-4687:
------------------------------------


Why is this issue closed?
Am I generating the wsdl in a wrong way? Is the generated wsdl the way it is meant to be?

> 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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: TestService.wsdl

Hi all,

thank you for the fast response and (partly) fix.
For my attached testcase, still the wsdl does not validate due to referencing the parts of the empty requests.
I have reported an extra issue for not supporting empty requests in https://issues.apache.org/jira/browse/AXIS2-4686
Resolving that issue will also solve the problem here.

Matthias.

> 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: TestService.wsdl, 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake resolved AXIS2-4687.
---------------------------------------

    Resolution: Fixed

> 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


[jira] Reopened: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser reopened AXIS2-4687:
------------------------------------


Why is this issue closed?
Am I generating the wsdl in a wrong way? Is the generated wsdl the way it is meant to be?

> 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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860322#action_12860322 ] 

Lahiru Gunathilake commented on AXIS2-4687:
-------------------------------------------

I had a small issue with committing since I lost my committing rights after becoming a LTP, so I resolved the issue without committing, now the fix is there in the trunk, can you please take an svn up and see, whether you issue is fixed, so that I can resolve the issue.

Lahiru

> 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


[jira] Issue Comment Edited: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Issue Comment Edited: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860322#action_12860322 ] 

Lahiru Gunathilake commented on AXIS2-4687:
-------------------------------------------

I had a small issue with committing since I lost my committing rights after becoming a LTP, so I resolved the issue without committing, now the fix is there in the trunk, can you please take an svn up and see, whether you issue is fixed, so that I can resolve the issue.

Lahiru

> 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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860500#action_12860500 ] 

Andreas Veithen commented on AXIS2-4687:
----------------------------------------

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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4687.
-------------------------------------------------

    Resolution: Fixed

applied the patch with the neccesary changes to tests.

Lahiru please run the test cases before submitting the patch.

> 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lahiru Gunathilake resolved AXIS2-4687.
---------------------------------------

    Resolution: Fixed

> 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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: testws-http.zip

The attachment includes the test java class, the java2wsdl build script, the original wsdl and the corrected wsdl.

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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: TestService.wsdl

Hi all,

thank you for the fast response and (partly) fix.
For my attached testcase, still the wsdl does not validate due to referencing the parts of the empty requests.
I have reported an extra issue for not supporting empty requests in https://issues.apache.org/jira/browse/AXIS2-4686
Resolving that issue will also solve the problem here.

Matthias.

> 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: TestService.wsdl, 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


[jira] Reopened: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser reopened AXIS2-4687:
------------------------------------


Why is this issue closed?
Am I generating the wsdl in a wrong way? Is the generated wsdl the way it is meant to be?

> 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


[jira] Resolved: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi resolved AXIS2-4687.
-------------------------------------------------

    Resolution: Fixed

applied the patch with the neccesary changes to tests.

Lahiru please run the test cases before submitting the patch.

> 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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860500#action_12860500 ] 

Andreas Veithen commented on AXIS2-4687:
----------------------------------------

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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: TestService.wsdl

Hi all,

thank you for the fast response and (partly) fix.
For my attached testcase, still the wsdl does not validate due to referencing the parts of the empty requests.
I have reported an extra issue for not supporting empty requests in https://issues.apache.org/jira/browse/AXIS2-4686
Resolving that issue will also solve the problem here.

Matthias.

> 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: TestService.wsdl, 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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: testws-http.zip

The attachment includes the test java class, the java2wsdl build script, the original wsdl and the corrected wsdl.

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


[jira] Commented: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Lahiru Gunathilake (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860322#action_12860322 ] 

Lahiru Gunathilake commented on AXIS2-4687:
-------------------------------------------

I had a small issue with committing since I lost my committing rights after becoming a LTP, so I resolved the issue without committing, now the fix is there in the trunk, can you please take an svn up and see, whether you issue is fixed, so that I can resolve the issue.

Lahiru

> 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


[jira] Updated: (AXIS2-4687) generated wsdl does not validate due to http binding

Posted by "Matthias Gaiser (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Gaiser updated AXIS2-4687:
-----------------------------------

    Attachment: TestService.wsdl

Hi all,

thank you for the fast response and (partly) fix.
For my attached testcase, still the wsdl does not validate due to referencing the parts of the empty requests.
I have reported an extra issue for not supporting empty requests in https://issues.apache.org/jira/browse/AXIS2-4686
Resolving that issue will also solve the problem here.

Matthias.

> 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: TestService.wsdl, 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