You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Dave Sowerby (JIRA)" <de...@tuscany.apache.org> on 2008/07/29 09:52:32 UTC
[jira] Updated: (TUSCANY-2512) Client Exceptions whilst processing
interface.java with binding.ws
[ https://issues.apache.org/jira/browse/TUSCANY-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Sowerby updated TUSCANY-2512:
----------------------------------
Description:
I have a Service interface which exposes the following two operations:
public String sayHello(String name);
public void throwException() throws WSException;
When I attempt to use the Node API to fetch a reference to a service exposing these operations I get Exceptions whilst the runtime attempts to generate a wsdl model of the service interface.
If I comment out throwException() I get:
org.apache.tuscany.sca.interfacedef.wsdl.impl.InvalidWSDLException: Element cannot be resolved: {http://ws.example.com/}arg0
(Full stack at http://davesowerby.org/test-failure.txt )
If I comment out sayHello(), exposing throwException() I get:
org.osoa.sca.ServiceRuntimeException: java.lang.NullPointerException
(Full stack at http://davesowerby.org/test-failure-with-exception.txt )
I've attempted to debug this to see if I can find the root cause, but to no avail - can anyone shed any light onto what's causing this issue?
I've uploaded this example service/client to http://davesowerby.org/ws.zip - though the Service doesn't actually need to be deployed in order to recreate this situation.
was:
I have a Service interface which exposes the following two operations:
public String sayHello(String name);
public void throwException() throws WSException;
When I attempt to use the Node API to fetch a reference to a service exposing these operations I get Exceptions whilst the runtime attempts to generate a wsdl model of the service interface.
If I comment out throwException() I get:
org.apache.tuscany.sca.interfacedef.wsdl.impl.InvalidWSDLException: Element cannot be resolved: {http://ws.example.com/}arg0
(Full stack at http://davesowerby.org/test-failure.txt)
If I comment out sayHello(), exposing throwException() I get:
org.osoa.sca.ServiceRuntimeException: java.lang.NullPointerException
(Full stack at http://davesowerby.org/test-failure-with-exception.txt)
I've attempted to debug this to see if I can find the root cause, but to no avail - can anyone shed any light onto what's causing this issue?
I've uploaded this example service/client to http://davesowerby.org/ws.zip - though the Service doesn't actually need to be deployed in order to recreate this situation.
> Client Exceptions whilst processing interface.java with binding.ws
> ------------------------------------------------------------------
>
> Key: TUSCANY-2512
> URL: https://issues.apache.org/jira/browse/TUSCANY-2512
> Project: Tuscany
> Issue Type: Bug
> Components: Java SCA Assembly Model
> Affects Versions: Java-SCA-Next
> Environment: Windows XP, with both J2SE 1.5.0_10 and IBM JDK 2.3 (1.5.0)
> Reporter: Dave Sowerby
>
> I have a Service interface which exposes the following two operations:
> public String sayHello(String name);
> public void throwException() throws WSException;
> When I attempt to use the Node API to fetch a reference to a service exposing these operations I get Exceptions whilst the runtime attempts to generate a wsdl model of the service interface.
> If I comment out throwException() I get:
> org.apache.tuscany.sca.interfacedef.wsdl.impl.InvalidWSDLException: Element cannot be resolved: {http://ws.example.com/}arg0
> (Full stack at http://davesowerby.org/test-failure.txt )
> If I comment out sayHello(), exposing throwException() I get:
> org.osoa.sca.ServiceRuntimeException: java.lang.NullPointerException
> (Full stack at http://davesowerby.org/test-failure-with-exception.txt )
> I've attempted to debug this to see if I can find the root cause, but to no avail - can anyone shed any light onto what's causing this issue?
> I've uploaded this example service/client to http://davesowerby.org/ws.zip - though the Service doesn't actually need to be deployed in order to recreate this situation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.