You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "耿韶光 (JIRA)" <tu...@ws.apache.org> on 2007/07/19 11:28:04 UTC

[jira] Created: (TUSCANY-1454) binding.ws malfunction with customer data types

binding.ws malfunction with customer data types
-----------------------------------------------

                 Key: TUSCANY-1454
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1454
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-Next
         Environment: winXP, java5, sca java svn
            Reporter: 耿韶光


I was working with Tuscany's binding.ws these two days, I established a service provider. I found that if the element type is base types(xsd type such as int, string), it worked find.

Since I remember a mail in the list has metiond complexTypes doesn't work some what.

So I tried this out, and, it was OOOO. The service just worked the first time it was accessed, then I refused to work any more.

I traced the code for some depth, I found the error came from a dom instance was always held, and the same dom serves all the following request, then a error checking method produces a Exception.

I will look into these code next monday, for the time being, I cry this out, wish some one could devote.

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


Re: [jira] Created: (TUSCANY-1454) binding.ws malfunction with customer data types

Posted by ant elder <an...@apache.org>.
This sounds like an interesting problem. If you could attach any of the code
you used to show this it would be really helpful to recreate and debug,
doesn't have to be testcase or patch or anything complicated, just a zip of
any files you have would help.

   ...ant

On 7/19/07, 耿韶光 (JIRA) <tu...@ws.apache.org> wrote:
>
> binding.ws malfunction with customer data types
> -----------------------------------------------
>
>                  Key: TUSCANY-1454
>                  URL: https://issues.apache.org/jira/browse/TUSCANY-1454
>              Project: Tuscany
>           Issue Type: Bug
>           Components: Java SCA Axis Binding Extension
>     Affects Versions: Java-SCA-Next
>          Environment: winXP, java5, sca java svn
>             Reporter: 耿韶光
>
>
> I was working with Tuscany's binding.ws these two days, I established a
> service provider. I found that if the element type is base types(xsd type
> such as int, string), it worked find.
>
> Since I remember a mail in the list has metiond complexTypes doesn't work
> some what.
>
> So I tried this out, and, it was OOOO. The service just worked the first
> time it was accessed, then I refused to work any more.
>
> I traced the code for some depth, I found the error came from a dom
> instance was always held, and the same dom serves all the following request,
> then a error checking method produces a Exception.
>
> I will look into these code next monday, for the time being, I cry this
> out, wish some one could devote.
>
> --
> 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: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

[jira] Commented: (TUSCANY-1454) binding.ws malfunction with customer data types

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514219 ] 

Jean-Sebastien Delfino commented on TUSCANY-1454:
-------------------------------------------------

Thanks for reporting this. If the issue persists, could you please attach your test case to the JIRA so we can help you investigate it? Thanks.

> binding.ws malfunction with customer data types
> -----------------------------------------------
>
>                 Key: TUSCANY-1454
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1454
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: winXP, java5, sca java svn
>            Reporter: 耿韶光
>
> I was working with Tuscany's binding.ws these two days, I established a service provider. I found that if the element type is base types(xsd type such as int, string), it worked find.
> Since I remember a mail in the list has metiond complexTypes doesn't work some what.
> So I tried this out, and, it was OOOO. The service just worked the first time it was accessed, then I refused to work any more.
> I traced the code for some depth, I found the error came from a dom instance was always held, and the same dom serves all the following request, then a error checking method produces a Exception.
> I will look into these code next monday, for the time being, I cry this out, wish some one could devote.

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


[jira] Resolved: (TUSCANY-1454) binding.ws malfunction with customer data types

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1454.
-----------------------------------

    Resolution: Fixed

Fixed under r558889. Thanks.

> binding.ws malfunction with customer data types
> -----------------------------------------------
>
>                 Key: TUSCANY-1454
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1454
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: winXP, java5, sca java svn
>            Reporter: 耿韶光
>            Assignee: Raymond Feng
>         Attachments: Tuscany.0717.rar
>
>
> I was working with Tuscany's binding.ws these two days, I established a service provider. I found that if the element type is base types(xsd type such as int, string), it worked find.
> Since I remember a mail in the list has metiond complexTypes doesn't work some what.
> So I tried this out, and, it was OOOO. The service just worked the first time it was accessed, then I refused to work any more.
> I traced the code for some depth, I found the error came from a dom instance was always held, and the same dom serves all the following request, then a error checking method produces a Exception.
> I will look into these code next monday, for the time being, I cry this out, wish some one could devote.

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


[jira] Assigned: (TUSCANY-1454) binding.ws malfunction with customer data types

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-1454:
-------------------------------------

    Assignee: Raymond Feng

> binding.ws malfunction with customer data types
> -----------------------------------------------
>
>                 Key: TUSCANY-1454
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1454
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: winXP, java5, sca java svn
>            Reporter: 耿韶光
>            Assignee: Raymond Feng
>         Attachments: Tuscany.0717.rar
>
>
> I was working with Tuscany's binding.ws these two days, I established a service provider. I found that if the element type is base types(xsd type such as int, string), it worked find.
> Since I remember a mail in the list has metiond complexTypes doesn't work some what.
> So I tried this out, and, it was OOOO. The service just worked the first time it was accessed, then I refused to work any more.
> I traced the code for some depth, I found the error came from a dom instance was always held, and the same dom serves all the following request, then a error checking method produces a Exception.
> I will look into these code next monday, for the time being, I cry this out, wish some one could devote.

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


[jira] Commented: (TUSCANY-1454) binding.ws malfunction with customer data types

Posted by "gengshaoguang (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516300 ] 

gengshaoguang commented on TUSCANY-1454:
----------------------------------------

Thank Raymond for your work, new code work find.

> binding.ws malfunction with customer data types
> -----------------------------------------------
>
>                 Key: TUSCANY-1454
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1454
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: winXP, java5, sca java svn
>            Reporter: gengshaoguang
>            Assignee: Raymond Feng
>         Attachments: Tuscany.0717.rar
>
>
> I was working with Tuscany's binding.ws these two days, I established a service provider. I found that if the element type is base types(xsd type such as int, string), it worked find.
> Since I remember a mail in the list has metiond complexTypes doesn't work some what.
> So I tried this out, and, it was OOOO. The service just worked the first time it was accessed, then I refused to work any more.
> I traced the code for some depth, I found the error came from a dom instance was always held, and the same dom serves all the following request, then a error checking method produces a Exception.
> I will look into these code next monday, for the time being, I cry this out, wish some one could devote.

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


[jira] Commented: (TUSCANY-1454) binding.ws malfunction with customer data types

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514806 ] 

Raymond Feng commented on TUSCANY-1454:
---------------------------------------

Hi,

Thank you for reporting the problem. I have found the issue in org.apache.tuscany.sca.databinding.xml.XMLStreamReader2Node.java which re-uses the same DOM document for multiple requests. I'll fix it.

There is also an issue in the test client. The element name should be "name" instead of "Text" for the "getGreetings" request.

BTW, I would appreciate if you can use "zip" to create the archive instead of "rar" next time. I don't see many open source utilities that can open this format :-)

Thanks,
Raymond

> binding.ws malfunction with customer data types
> -----------------------------------------------
>
>                 Key: TUSCANY-1454
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1454
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: winXP, java5, sca java svn
>            Reporter: 耿韶光
>            Assignee: Raymond Feng
>         Attachments: Tuscany.0717.rar
>
>
> I was working with Tuscany's binding.ws these two days, I established a service provider. I found that if the element type is base types(xsd type such as int, string), it worked find.
> Since I remember a mail in the list has metiond complexTypes doesn't work some what.
> So I tried this out, and, it was OOOO. The service just worked the first time it was accessed, then I refused to work any more.
> I traced the code for some depth, I found the error came from a dom instance was always held, and the same dom serves all the following request, then a error checking method produces a Exception.
> I will look into these code next monday, for the time being, I cry this out, wish some one could devote.

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


[jira] Updated: (TUSCANY-1454) binding.ws malfunction with customer data types

Posted by "耿韶光 (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

耿韶光 updated TUSCANY-1454:
-------------------------

    Attachment: Tuscany.0717.rar

Hi, I explored Tuscany java sca in an eclipse workspace, expand my attachment you will see this workspace. I deleted some big metadata and class files, so please rebuild all the content first, and run the "binding.ws" from eclipse's run::HelloWorldServer.

To simplify the test, I created a test plan in jakarta-jmeter, you could create a "SOAP/XML-RPC Request" and write the soap as:

<soap:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://helloworld">
<soap:Body>
<getGreetings>
<name>xSSSSSSSSSx</name>
<age>200</age>
</getGreetings>
</soap:Body>
</soap:Envelope>

First you run the jmeter-test, the soap will be responded correctly, but will not for the following.

Change the wsdl and java files inside ws-service project, to find out the difference.

To trace the class, just set break point in the Tuscany sources in other projects.
Tuscany source code of this workspace is the SVN files at Jul.17.


> binding.ws malfunction with customer data types
> -----------------------------------------------
>
>                 Key: TUSCANY-1454
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1454
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Axis Binding Extension
>    Affects Versions: Java-SCA-Next
>         Environment: winXP, java5, sca java svn
>            Reporter: 耿韶光
>         Attachments: Tuscany.0717.rar
>
>
> I was working with Tuscany's binding.ws these two days, I established a service provider. I found that if the element type is base types(xsd type such as int, string), it worked find.
> Since I remember a mail in the list has metiond complexTypes doesn't work some what.
> So I tried this out, and, it was OOOO. The service just worked the first time it was accessed, then I refused to work any more.
> I traced the code for some depth, I found the error came from a dom instance was always held, and the same dom serves all the following request, then a error checking method produces a Exception.
> I will look into these code next monday, for the time being, I cry this out, wish some one could devote.

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