You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "John Kaputin (JIRA)" <ji...@apache.org> on 2008/01/08 01:11:34 UTC

[jira] Commented: (WODEN-65) Woden elements must have serialize methods

    [ https://issues.apache.org/jira/browse/WODEN-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12556777#action_12556777 ] 

John Kaputin commented on WODEN-65:
-----------------------------------

Sagara,
I tried the sample WSDL file and looked at the XmlSchema.write method. I guess a fix to XmlSchema is needed. It needs access to declared namespaces that are 'in-scope' (eg. declared in <wsdl:types> or above) so that it can resolve prefixes, but it should avoid printing them on the xs:schema element if the schema is inlined and the namespaces are declared in the surrounding document. You could have a go at creating a fix if you like or just leave it as is for now - the printed XML is still logically correct.

Alternatively, you could use the Woden API to get the schema DOM element and try printing it like WSDL4J does using the DOMUtil and DOM2Writer utility classes.

Will you be adding some indentation to the printing?


> Woden elements must have serialize methods
> ------------------------------------------
>
>                 Key: WODEN-65
>                 URL: https://issues.apache.org/jira/browse/WODEN-65
>             Project: Woden
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Eran Chinthaka
>            Assignee: Sagara Gunathunga 
>         Attachments: Schema-error-out-put.wsdl, Schema-error.wsdl
>
>
> When we load a WSDL in to Woden object model, there is no way to serialize the object model in to an output stream. This is very much useful when some one wants to make sure Woden can properly spit out what it has read. 
> And there is a requirement from Axis2 also to make Woden element serializable to cater for ?wsdl2 requests. 

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