You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "ant elder (JIRA)" <de...@tuscany.apache.org> on 2008/12/04 13:55:44 UTC

[jira] Created: (TUSCANY-2710) zipcode-jaxws sample in binary distribution hangs

zipcode-jaxws sample in binary distribution hangs
-------------------------------------------------

                 Key: TUSCANY-2710
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2710
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-1.4
            Reporter: ant elder
             Fix For: Java-SCA-1.4


Trying to run the zipcode-jaxws sample with ant or mvn in the 1.4 binary distribution hangs trying to get the wsdl at http://www.webservicex.net/uszip.asmx?wsdl

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (TUSCANY-2710) zipcode-jaxws sample in binary distribution hangs

Posted by Ramkumar R <ra...@gmail.com>.
Yeah, I have seen this issue couple of time because of the URL being
inactive sometimes, but have never came across the error which Simon is
noticing.

On Thu, Dec 4, 2008 at 7:29 PM, Simon Laws <si...@googlemail.com>wrote:

>
>
> On Thu, Dec 4, 2008 at 12:55 PM, ant elder (JIRA) <de...@tuscany.apache.org>wrote:
>
>> zipcode-jaxws sample in binary distribution hangs
>> -------------------------------------------------
>>
>>                 Key: TUSCANY-2710
>>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2710
>>             Project: Tuscany
>>          Issue Type: Bug
>>    Affects Versions: Java-SCA-1.4
>>            Reporter: ant elder
>>             Fix For: Java-SCA-1.4
>>
>>
>> Trying to run the zipcode-jaxws sample with ant or mvn in the 1.4 binary
>> distribution hangs trying to get the wsdl at
>> http://www.webservicex.net/uszip.asmx?wsdl
>>
>> --
>> This message is automatically generated by JIRA.
>> -
>> You can reply to this email to add a comment to the issue online.
>>
>>
> Yep, I'm seeing that  intermittently. The URL is sometimes not active.
> However it was active just now and when run I get a different error from the
> sample;
>
> run:
>      [java] Please wait...
>      [java] 04-Dec-2008 13:57:25 org.apache.tuscany.sca.node.impl.NodeImpl
> <init
> >
>      [java] INFO: Creating node: ZipCode.composite
>      [java] 04-Dec-2008 13:57:25 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>      [java] INFO: Loading contribution:
> file:/C:/simon/tuscany/release/sca-r1.4-
> rc0/tuscany-sca-1.4/samples/zipcode-jaxws/target/sample-zipcode-jaxws.jar
>      [java] 04-Dec-2008 13:57:26 org.apache.tuscany.sca.node.impl.NodeImpl
> confi
> gureNode
>      [java] INFO: Loading composite:
> jar:file:/C:/simon/tuscany/release/sca-r1.4
>
> -rc0/tuscany-sca-1.4/samples/zipcode-jaxws/target/sample-zipcode-jaxws.jar!/ZipC
> ode.composite
>      [java] 04-Dec-2008 13:57:27 org.apache.tuscany.sca.node.impl.NodeImpl
> start
>
>      [java] INFO: Starting node: ZipCode.composite
>      [java] Exception in thread "main"
> org.osoa.sca.ServiceRuntimeException: org
> .apache.axis2.AxisFault: System.Web.Services.Protocols.SoapException:
> Server was
>  unable to process request. ---> System.InvalidOperationException: Client
> found
> response content type of 'text/html; charset=iso-8859-1', but expected
> 'text/xml
> '.
>      [java]
>      [java]    at
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadRespo
> nse(SoapClientMessage message, WebResponse response, Stream responseStream,
> Bool
> ean asyncCall)
>      [java]    at
> System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(St
> ring methodName, Object[] parameters)
>      [java]    at WeatherService.www.nws.noaa.gov.ndfdXML.NDFDgen(Decimal
> latitu
> de, Decimal longitude, productType product, DateTime startTime, DateTime
> endTime
> , weatherParametersType weatherParameters)
>      [java]    at WeatherService.WeatherForecast.getData(Double latitude,
> Double
>  longtitude)
>      [java]    at WeatherService.WeatherForecast.GetWeatherByZipCode(String
> ZipC
> ode)
>      [java]    --- End of inner exception stack trace ---
>      [java]     at
> org.apache.tuscany.sca.core.databinding.wire.DataTransformati
> onInterceptor.invoke(DataTransformationInterceptor.java:136)
>      [java]     at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:287)
>      [java]     at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:154)
>      [java]     at $Proxy36.getWeatherByZipCode(Unknown Source)
>      [java]     at
> zipcode.ZipCodeServiceImpl.lookup(ZipCodeServiceImpl.java:59)
>
>      [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>      [java]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
> sorImpl.java:39)
>      [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
> hodAccessorImpl.java:25)
>      [java]     at java.lang.reflect.Method.invoke(Method.java:597)
>      [java]     at
> org.apache.tuscany.sca.implementation.java.invocation.JavaImp
> lementationInvoker.invoke(JavaImplementationInvoker.java:132)
>      [java]     at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInter
> ceptor.invoke(PassByValueInterceptor.java:107)
>      [java]     at
> org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.inv
> oke(SCABindingInvoker.java:61)
>      [java]     at
> org.apache.tuscany.sca.core.databinding.wire.PassByValueInter
> ceptor.invoke(PassByValueInterceptor.java:107)
>      [java]     at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:287)
>      [java]     at
> org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
> nvoke(JDKInvocationHandler.java:154)
>      [java]     at $Proxy35.lookup(Unknown Source)
>      [java]     at zipcode.ZipCodeClient.main(ZipCodeClient.java:35)
>      [java] Caused by: org.apache.axis2.AxisFault:
> System.Web.Services.Protocols
> .SoapException: Server was unable to process request. --->
> System.InvalidOperati
> onException: Client found response content type of 'text/html;
> charset=iso-8859-
> 1', but expected 'text/xml'.
>      [java]
>      [java]    at
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadRespo
> nse(SoapClientMessage message, WebResponse response, Stream responseStream,
> Bool
> ean asyncCall)
>      [java]    at
> System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(St
> ring methodName, Object[] parameters)
>      [java]    at WeatherService.www.nws.noaa.gov.ndfdXML.NDFDgen(Decimal
> latitu
> de, Decimal longitude, productType product, DateTime startTime, DateTime
> endTime
> , weatherParametersType weatherParameters)
>      [java]    at WeatherService.WeatherForecast.getData(Double latitude,
> Double
>  longtitude)
>      [java]    at WeatherService.WeatherForecast.GetWeatherByZipCode(String
> ZipC
> ode)
>      [java]    --- End of inner exception stack trace ---
>      [java]     at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
> (Utils.java:512)
>      [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.handleR
> esponse(OutInAxisOperation.java:370)
>      [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.send(Ou
> tInAxisOperation.java:416)
>      [java]     at
> org.apache.axis2.description.OutInAxisOperationClient.execute
> Impl(OutInAxisOperation.java:228)
>      [java]     at
> org.apache.axis2.client.OperationClient.execute(OperationClie
> nt.java:163)
>      [java]     at
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1
> .run(Axis2BindingInvoker.java:170)
>      [java]     at java.security.AccessController.doPrivileged(Native
> Method)
>      [java]     at
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
> nvokeTarget(Axis2BindingInvoker.java:168)
>      [java]     at
> org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
> nvoke(Axis2BindingInvoker.java:122)
>      [java]     at
> org.apache.tuscany.sca.core.databinding.wire.DataTransformati
> onInterceptor.invoke(DataTransformationInterceptor.java:78)
>      [java]     ... 16 more
>      [java] Java Result: 1
>
> Smon
>



-- 
Thanks & Regards,
Ramkumar Ramalingam

Re: [jira] Created: (TUSCANY-2710) zipcode-jaxws sample in binary distribution hangs

Posted by Simon Laws <si...@googlemail.com>.
On Thu, Dec 4, 2008 at 12:55 PM, ant elder (JIRA) <de...@tuscany.apache.org>wrote:

> zipcode-jaxws sample in binary distribution hangs
> -------------------------------------------------
>
>                 Key: TUSCANY-2710
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2710
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.4
>            Reporter: ant elder
>             Fix For: Java-SCA-1.4
>
>
> Trying to run the zipcode-jaxws sample with ant or mvn in the 1.4 binary
> distribution hangs trying to get the wsdl at
> http://www.webservicex.net/uszip.asmx?wsdl
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
Yep, I'm seeing that  intermittently. The URL is sometimes not active.
However it was active just now and when run I get a different error from the
sample;

run:
     [java] Please wait...
     [java] 04-Dec-2008 13:57:25 org.apache.tuscany.sca.node.impl.NodeImpl
<init
>
     [java] INFO: Creating node: ZipCode.composite
     [java] 04-Dec-2008 13:57:25 org.apache.tuscany.sca.node.impl.NodeImpl
confi
gureNode
     [java] INFO: Loading contribution:
file:/C:/simon/tuscany/release/sca-r1.4-
rc0/tuscany-sca-1.4/samples/zipcode-jaxws/target/sample-zipcode-jaxws.jar
     [java] 04-Dec-2008 13:57:26 org.apache.tuscany.sca.node.impl.NodeImpl
confi
gureNode
     [java] INFO: Loading composite:
jar:file:/C:/simon/tuscany/release/sca-r1.4
-rc0/tuscany-sca-1.4/samples/zipcode-jaxws/target/sample-zipcode-jaxws.jar!/ZipC
ode.composite
     [java] 04-Dec-2008 13:57:27 org.apache.tuscany.sca.node.impl.NodeImpl
start

     [java] INFO: Starting node: ZipCode.composite
     [java] Exception in thread "main" org.osoa.sca.ServiceRuntimeException:
org
.apache.axis2.AxisFault: System.Web.Services.Protocols.SoapException: Server
was
 unable to process request. ---> System.InvalidOperationException: Client
found
response content type of 'text/html; charset=iso-8859-1', but expected
'text/xml
'.
     [java]
     [java]    at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadRespo
nse(SoapClientMessage message, WebResponse response, Stream responseStream,
Bool
ean asyncCall)
     [java]    at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(St
ring methodName, Object[] parameters)
     [java]    at WeatherService.www.nws.noaa.gov.ndfdXML.NDFDgen(Decimal
latitu
de, Decimal longitude, productType product, DateTime startTime, DateTime
endTime
, weatherParametersType weatherParameters)
     [java]    at WeatherService.WeatherForecast.getData(Double latitude,
Double
 longtitude)
     [java]    at WeatherService.WeatherForecast.GetWeatherByZipCode(String
ZipC
ode)
     [java]    --- End of inner exception stack trace ---
     [java]     at
org.apache.tuscany.sca.core.databinding.wire.DataTransformati
onInterceptor.invoke(DataTransformationInterceptor.java:136)
     [java]     at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:287)
     [java]     at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:154)
     [java]     at $Proxy36.getWeatherByZipCode(Unknown Source)
     [java]     at
zipcode.ZipCodeServiceImpl.lookup(ZipCodeServiceImpl.java:59)

     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at
org.apache.tuscany.sca.implementation.java.invocation.JavaImp
lementationInvoker.invoke(JavaImplementationInvoker.java:132)
     [java]     at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInter
ceptor.invoke(PassByValueInterceptor.java:107)
     [java]     at
org.apache.tuscany.sca.binding.sca.impl.SCABindingInvoker.inv
oke(SCABindingInvoker.java:61)
     [java]     at
org.apache.tuscany.sca.core.databinding.wire.PassByValueInter
ceptor.invoke(PassByValueInterceptor.java:107)
     [java]     at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:287)
     [java]     at
org.apache.tuscany.sca.core.invocation.JDKInvocationHandler.i
nvoke(JDKInvocationHandler.java:154)
     [java]     at $Proxy35.lookup(Unknown Source)
     [java]     at zipcode.ZipCodeClient.main(ZipCodeClient.java:35)
     [java] Caused by: org.apache.axis2.AxisFault:
System.Web.Services.Protocols
.SoapException: Server was unable to process request. --->
System.InvalidOperati
onException: Client found response content type of 'text/html;
charset=iso-8859-
1', but expected 'text/xml'.
     [java]
     [java]    at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadRespo
nse(SoapClientMessage message, WebResponse response, Stream responseStream,
Bool
ean asyncCall)
     [java]    at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(St
ring methodName, Object[] parameters)
     [java]    at WeatherService.www.nws.noaa.gov.ndfdXML.NDFDgen(Decimal
latitu
de, Decimal longitude, productType product, DateTime startTime, DateTime
endTime
, weatherParametersType weatherParameters)
     [java]    at WeatherService.WeatherForecast.getData(Double latitude,
Double
 longtitude)
     [java]    at WeatherService.WeatherForecast.GetWeatherByZipCode(String
ZipC
ode)
     [java]    --- End of inner exception stack trace ---
     [java]     at
org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
(Utils.java:512)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.handleR
esponse(OutInAxisOperation.java:370)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.send(Ou
tInAxisOperation.java:416)
     [java]     at
org.apache.axis2.description.OutInAxisOperationClient.execute
Impl(OutInAxisOperation.java:228)
     [java]     at
org.apache.axis2.client.OperationClient.execute(OperationClie
nt.java:163)
     [java]     at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker$1
.run(Axis2BindingInvoker.java:170)
     [java]     at java.security.AccessController.doPrivileged(Native
Method)
     [java]     at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
nvokeTarget(Axis2BindingInvoker.java:168)
     [java]     at
org.apache.tuscany.sca.binding.ws.axis2.Axis2BindingInvoker.i
nvoke(Axis2BindingInvoker.java:122)
     [java]     at
org.apache.tuscany.sca.core.databinding.wire.DataTransformati
onInterceptor.invoke(DataTransformationInterceptor.java:78)
     [java]     ... 16 more
     [java] Java Result: 1

Smon

[jira] Closed: (TUSCANY-2710) zipcode-jaxws sample in binary distribution hangs

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-2710.
------------------------------

    Resolution: Fixed

Added a note to README documenting the issue. Fixed in r725669 in 1.x and r725670 in 1.4

> zipcode-jaxws sample in binary distribution hangs
> -------------------------------------------------
>
>                 Key: TUSCANY-2710
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2710
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.4
>            Reporter: ant elder
>             Fix For: Java-SCA-1.4
>
>
> Trying to run the zipcode-jaxws sample with ant or mvn in the 1.4 binary distribution hangs trying to get the wsdl at http://www.webservicex.net/uszip.asmx?wsdl

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TUSCANY-2710) zipcode-jaxws sample in binary distribution hangs

Posted by "Simon Laws (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653344#action_12653344 ] 

Simon Laws commented on TUSCANY-2710:
-------------------------------------

It has been failing intermittently for me but the external link seems to be up at the moment and it's failing. If nothing else we should put a warning in the README that operation depends on operation of the external link

> zipcode-jaxws sample in binary distribution hangs
> -------------------------------------------------
>
>                 Key: TUSCANY-2710
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2710
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-1.4
>            Reporter: ant elder
>             Fix For: Java-SCA-1.4
>
>
> Trying to run the zipcode-jaxws sample with ant or mvn in the 1.4 binary distribution hangs trying to get the wsdl at http://www.webservicex.net/uszip.asmx?wsdl

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.