[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    [jira] [Updated] (WODEN-236) Woden WSDLReader returns invalid WSDL Description when multiple "style"
From:       "Andreas Veithen (JIRA)" <jira () apache ! org>
Date:       2015-07-20 18:36:05
Message-ID: JIRA.12724915.1404290470000.236272.1437417365521 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/WODEN-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Andreas Veithen updated WODEN-236:
----------------------------------
    Fix Version/s:     (was: 1.0)
                   M10

> Woden WSDLReader returns invalid WSDL Description when multiple "style" tags are \
>                 present
> ----------------------------------------------------------------------------------------
>  
> Key: WODEN-236
> URL: https://issues.apache.org/jira/browse/WODEN-236
> Project: Woden
> Issue Type: Bug
> Components: Parser
> Affects Versions: M9
> Reporter: Ruwan
> Assignee: Sagara Gunathunga 
> Fix For: M10
> 
> 
> After reading a wsdl from a url like below ;
> writer.writeWSDL(wsdlDefinition.toElement(), byteArrayOutputStream);
> and converting the byteArrayOutputStream object to a string, 
> DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
> DocumentBuilder builder;
> try
> {
> builder = factory.newDocumentBuilder();
> Document document = builder.parse( new InputSource(new StringReader( \
> wsdldocString))); wsdldoc = document.getFirstChild().toString();
> } catch (Exception e) {
> e.printStackTrace();
> }
> when multiple style definitions are present in the WSDL, like below;
> style="http://www.w3.org/ns/wsdl/style/rpc http://www.w3.org/ns/wsdl/style/iri \
> http://www.w3.org/ns/wsdl/style/multipart" In the resultant XML, it appears as
> style="http://www.w3.org/ns/wsdl/style/rpc" \
> style="http://www.w3.org/ns/wsdl/style/iri" \
> style="http://www.w3.org/ns/wsdl/style/multipart" when this happens there is a \
> parsing error when trying to build a document from said string.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic