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 "Lahiru Gunathilake (JIRA)" <ji...@apache.org> on 2010/04/23 14:06:51 UTC

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

     [ 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