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

List:       woden-dev
Subject:    Re: [jira] Assigned: (WODEN-218) User Guide examples do not correspond with current API
From:       "John Kaputin (gmail)" <jakaputin () gmail ! com>
Date:       2008-11-26 1:29:09
Message-ID: 4c2ae8f80811251729p30e5d360va8bf4d4867bbc0a8 () mail ! gmail ! com
[Download RAW message or body]

Yes Lawrence, I will check the descriptions and examples and update them
accordingly.

regards,
John.

On Tue, Nov 11, 2008 at 4:49 AM, Lawrence Mandel (JIRA) <jira@apache.org>wrote:

> 
> [
> https://issues.apache.org/jira/browse/WODEN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>  
> Lawrence Mandel reassigned WODEN-218:
> -------------------------------------
> 
> Assignee: John Kaputin
> 
> John, do you have some time to update the guide to reflect the changes that
> have been made to Woden?
> 
> > User Guide examples do not correspond with current API
> > ------------------------------------------------------
> > 
> > Key: WODEN-218
> > URL: https://issues.apache.org/jira/browse/WODEN-218
> > Project: Woden
> > Issue Type: Bug
> > Components: Website
> > Environment:
> http://ws.apache.org/woden/userguide.html#Getting+Started
> > Reporter: Sebb
> > Assignee: John Kaputin
> > 
> > The User Guide includes the following code samples:
> > WSDLFactory factory = WSDLFactory.newInstance();
> > WSDLReader reader = factory.newWSDLReader();
> > reader.setFeature(WSDLReader.FEATURE_VALIDATION, true);
> > DescriptionElement descElem = reader.readWSDL(wsdlurl);  // WRONG
> readWSDL returns a Description
> > Description descComp = descElem.toComponent();
> > It's not clear how to get the descElem from the reader; this makes many
> of the following method calls impossible to use.
> > ...
> > InterfaceElement interfaceElem = interfaces[0];
> > InterfaceFaultElement[] faults =
> interfaceElem.getInterfaceFaultElements();
> > XmlSchemaElement xsElem = faults[0].getElement(); // WRONG should
> be getXmlSchemaElement()
> 
> --
> 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
> 
> 


[Attachment #3 (text/html)]

Yes Lawrence, I will check the descriptions and examples and update them \
accordingly.<br><br>regards,<br>John.<br><br><div class="gmail_quote">On Tue, Nov 11, \
2008 at 4:49 AM, Lawrence Mandel (JIRA) <span dir="ltr">&lt;<a \
href="mailto:jira@apache.org">jira@apache.org</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"><br>  &nbsp; &nbsp; [ <a \
href="https://issues.apache.org/jira/browse/WODEN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel" \
target="_blank">https://issues.apache.org/jira/browse/WODEN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a> \
]<br>

<br>
Lawrence Mandel reassigned WODEN-218:<br>
-------------------------------------<br>
<br>
 &nbsp; &nbsp;Assignee: John Kaputin<br>
<br>
John, do you have some time to update the guide to reflect the changes that have been \
made to Woden?<br> <br>
&gt; User Guide examples do not correspond with current API<br>
&gt; ------------------------------------------------------<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Key: WODEN-218<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; URL: <a \
href="https://issues.apache.org/jira/browse/WODEN-218" \
target="_blank">https://issues.apache.org/jira/browse/WODEN-218</a><br> &gt; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Project: Woden<br> &gt; &nbsp; &nbsp; &nbsp; \
&nbsp; &nbsp;Issue Type: Bug<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Components: \
Website<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; Environment: <a \
href="http://ws.apache.org/woden/userguide.html#Getting+Started" \
target="_blank">http://ws.apache.org/woden/userguide.html#Getting+Started</a><br> \
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Reporter: Sebb<br> &gt; &nbsp; &nbsp; \
&nbsp; &nbsp; &nbsp; &nbsp;Assignee: John Kaputin<br> &gt;<br>
&gt; The User Guide includes the following code samples:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;WSDLFactory factory = WSDLFactory.newInstance();<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;WSDLReader reader = factory.newWSDLReader();<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;reader.setFeature(WSDLReader.FEATURE_VALIDATION, \
true);<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp;DescriptionElement descElem = \
reader.readWSDL(wsdlurl); &nbsp;// WRONG readWSDL returns a Description<br> &gt; \
&nbsp; &nbsp; &nbsp; &nbsp;Description descComp = descElem.toComponent();<br> &gt; \
It&#39;s not clear how to get the descElem from the reader; this makes many of the \
following method calls impossible to use.<br> &gt; ...<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; InterfaceElement interfaceElem = interfaces[0];<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; InterfaceFaultElement[] faults = \
interfaceElem.getInterfaceFaultElements();<br> &gt; &nbsp; &nbsp; &nbsp; &nbsp; \
XmlSchemaElement xsElem = faults[0].getElement(); // WRONG should be \
getXmlSchemaElement()<br> <br>
--<br>
This message is automatically generated by JIRA.<br>
-<br>
You can reply to this email to add a comment to the issue online.<br>
<br>
<br>
---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a \
href="mailto:woden-dev-unsubscribe@ws.apache.org">woden-dev-unsubscribe@ws.apache.org</a><br>
 For additional commands, e-mail: <a \
href="mailto:woden-dev-help@ws.apache.org">woden-dev-help@ws.apache.org</a><br> <br>
</blockquote></div><br>



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

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