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

Sagara Gunathunga  commented on WODEN-65:
-----------------------------------------

I have developed most of TODO things in my initial contribution. But, still I 
didn't upload new patch files because I came up with   following question when 
I tested my WSDLWriter manually.  

When I used flickr.wsdl [1] file as an input source, I got some errors 
regarding element QName prefixes.  In above WSDL file some of the attributes of 
InterfaceMessageReferenceElement (simply input, output element) doesn't have 
QName prefixes; this will result in an exception when I call 
getQualifiedValue() method in DOMUtils class.

I have 3 suggestions for this,

(1)     Ignore the above WSDL file and leave the code as it is. ( in other 
words, force to use QName )
(2)     When no element prefix is available use the TargetNsmespace's prefix as 
the element prefix for such elements. (e.g.  SIN into 
TargetNsmespace'sPrefix:SIN)

(3)     Write these attribute without considering QName prefix.( e.g. SIN )

So, please comment on this issue, and above flickr.wsdl [1] file is somewhat 
huge file, so I created a small example WSDL file to illustrate this issue.


Other than this I'm trying for serialization of ExtensionElement and 
ExtensionAttribute.Could you please give an introduction on Woden Extension 
mechanism and sketch required steps for extension serialization on the half of 
WSDLWriter?

 (Starting from SomeElement. getExtensionElements( ) or SomeElement. 
getExtensionAttributes( ), what are the interactions among Extenstionregistry, 
ExtenstionSerilizer ...etc. to achieve serialization)

[1] - 
http://dev.w3.org/cvsweb/2002/ws/desc/test-suite/documents/good/FlickrHTTP-1G/flickr.wsdl


> 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: BaseWSDLWriter.java.txt, DOMUtils.java.txt, 
> DOMWSDLFactory.java.txt, DOMWSDLWriter.java.txt, OMWSDLFactory.java.txt, 
> OMWSDLWriter.java.txt, sample1.java, test.wsdl, WriterFeatures.java.txt, 
> WSDLFactory.java.txt, WSDLWriter.java.txt
>
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to