[
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: [email protected]
For additional commands, e-mail: [email protected]