You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/05/30 12:34:15 UTC
[jira] Resolved: (AXIS2-2630) webapp ?wsdl fails validation from
Eclipse WTP 2.0 wsdl validation
[ https://issues.apache.org/jira/browse/AXIS2-2630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe resolved AXIS2-2630.
--------------------------------------
Resolution: Fixed
issue is fixed in the current SVN
> webapp ?wsdl fails validation from Eclipse WTP 2.0 wsdl validation
> ------------------------------------------------------------------
>
> Key: AXIS2-2630
> URL: https://issues.apache.org/jira/browse/AXIS2-2630
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Environment: Axis2 1.2 / Eclipse WTP 2.0 M6
> Reporter: Lahiru Sandakith
> Attachments: Echo.wsdl
>
>
> This is my java class I deployed as a service
> package test;
> public class Echo {
>
> public String echo(String msg) {
> return msg;
> }
> }
> when I tried to validate the ?wsdl from the service, I got the following validation errors,
> <wsdl:binding name="EchoHttpBinding" type="axis2:EchoPortType">
> <http:binding verb="POST" />
> <wsdl:operation name="echo">
> <http:operation location="echo" />
> <wsdl:input>
> <mime:content type="text/xml" />
> </wsdl:input>
> <wsdl:output>
> <mime:content type="text/xml" />
> </wsdl:output>
> </wsdl:operation>
> </wsdl:binding>
> cvc-complex-type.4: Attribute 'part' must appear on element 'mime:content'.
> c3AllTypes/WebContent Echo.wsdl line 16 1178036376861 1350
> This section from the Attachment profile 1.0 mandates the part:
> 4.9 WSDL Parts
> R2910 A mime:content in a DESCRIPTION MUST reference a wsdl:part that is
> defined using either the type attribute or the element attribute
> The MIME schema at:
> http://ws-i.org/profiles/basic/1.1/wsdlmime-2004-08-24.xsd
> specifies that the part attribute is required.
--
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org