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 "Sebb (JIRA)" <ji...@apache.org> on 2008/11/10 17:37:44 UTC

[jira] Created: (WODEN-218) User Guide examples do not correspond with current API

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


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


Re: [jira] Assigned: (WODEN-218) User Guide examples do not correspond with current API

Posted by "John Kaputin (gmail)" <ja...@gmail.com>.
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) <ji...@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
>
>

[jira] Assigned: (WODEN-218) User Guide examples do not correspond with current API

Posted by "Lawrence Mandel (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Updated: (WODEN-218) User Guide examples do not correspond with current API

Posted by "Nikita Rybak (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Rybak updated WODEN-218:
-------------------------------

    Attachment: WODEN-218.diff

Now it should be up to date.

> 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
>         Attachments: WODEN-218.diff
>
>
> 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


[jira] Updated: (WODEN-218) User Guide examples do not correspond with current API

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WODEN-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  updated WODEN-218:
-------------------------------------

    Fix Version/s: M9

> 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
>             Fix For: M9
>
>         Attachments: WODEN-218.diff
>
>
> 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