You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by Aleksander Slominski <as...@cs.indiana.edu> on 2004/08/23 23:45:17 UTC

Re: Stockquote DynamicInvocation: Cannot get Object part 'Result'.

Daniel,

this error is definitely not intuitive!

i have fixed DI now in CVS so you get this for invalid service address:

    Reading WSDL document from 
'C:\Forge\ws-apache-cvs\ws-wsif\java\samples\simplesoap\StockquoteSOAP.wsdl'
    Preparing WSIF dynamic invocation
    Executing operation getQuote
    Result:
    org.apache.wsif.soap.fault.object=java.net.ConnectException: 
Connection refused: connect

if you still have those problems please reopen issue:
http://nagoya.apache.org/jira/browse/WSIF-62

thanks,

alek

Daniel da S. Lacerda wrote:

>Hi gurus, I have something that must serve you.
>
>I was getting the following message when trying to use my first WSIF
>example :)  
>
>$ java clients.DynamicInvoker
>build/samples/simplesoap/StockquoteSOAP.wsdl getQuote IBM
>  
>
>>Reading WSDL document from
>>    
>>
>'build/samples/simplesoap/StockquoteSOAP.wsdl'
>...
>  
>
>>Exception in thread "main" org.apache.wsif.WSIFException: Cannot get
>>    
>>
>Object part 'Result'. No parts are set on the message
>
>After controlling the classpath a hundred times and looking resources on
>the web (where I found people with the same unsolved problem) I thought
>that maybe xmethods had inadvertently changed the soap endpoint. So, I
>made some research and changed the the line in the wsdl file:
>
><soap:address location='http://66.28.98.121:9090/soap'/>
>for 
><soap:address location='http://64.124.140.30:9090/soap'/>
>
>And voilà! It works. 
>
>The first IP still doesn't ping. Sorry if I published the comment in the
>wrong place, I was afraid putting this on bugzilla was not very
>appropriate, and maybe other people are getting crazy now for this as I
>was, they should be informed :). 
>
>Regards,
>Daniel Lacerda
>
>  
>


-- 
The best way to predict the future is to invent it - Alan Kay


Re: Stockquote DynamicInvocation: Cannot get Object part 'Result'.

Posted by SOUILLARD CHARLES <CH...@BULL.NET>.
Thanks,
it was a proxy problem

Regards,
Charles

Aleksander Slominski wrote:

> hi,
>
> you got "Connection timed out" exception which strongly siggest tat
> soemthng with your internet access fvrom Java does nto work - firewall
> or proxy setup?
>
> i have just tried and <soap:address
> location='http://64.124.140.30:9090/soap'/> worked fien.
>
> when i tried <soap:address
> location='http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx'/>
> i got:
>
> Reading WSDL document from
> 'C:\Forge\ws-apache-cvs\ws-wsif\java\samples\simplesoap\StockquoteSOAP.wsdl'
> Preparing WSIF dynamic invocation
> Executing operation getQuote
> Result:
> org.apache.wsif.soap.fault.object=Server did not recognize the value of
> HTTP Header SOAPAction: urn:xmethods-delayed-quotes#getQuote.
>
> which i think is self explanatory.
>
> thanks,
>
> alek
>
> SOUILLARD CHARLES wrote:
>
> >Hi all,
> >
> >I still have the problem....
> >
> >java clients.DynamicInvoker samples/simplesoap/StockquoteSOAP.wsdl getQuote IBM
> >Reading WSDL document from 'samples/simplesoap/StockquoteSOAP.wsdl'
> >Preparing WSIF dynamic invocation
> >Executing operation getQuote
> >Result:
> >org.apache.wsif.soap.fault.object=java.net.ConnectException: Connection timed
> >out
> >
> >Done!
> >
> >I use the lastest CVS with new endpoints.
> >Where can I find these endpoints ? I searched on xmethods web site but I found :
> >
> >http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx
> >This endpoint doesn't run better.
> >
> >There is a very big delay between "Executing operation getQuote" and the display
> >of the result, is it caused by the search of the web service ?
> >I used getQuote method on xmethod web site, it runs successfully and and it is
> >very fast.
> >
> >Regards,
> >Charles
> >
> >
> >
> >
> >Aleksander Slominski wrote:
> >
> >
> >
> >>Daniel,
> >>
> >>this error is definitely not intuitive!
> >>
> >>i have fixed DI now in CVS so you get this for invalid service address:
> >>
> >>    Reading WSDL document from
> >>'C:\Forge\ws-apache-cvs\ws-wsif\java\samples\simplesoap\StockquoteSOAP.wsdl'
> >>    Preparing WSIF dynamic invocation
> >>    Executing operation getQuote
> >>    Result:
> >>    org.apache.wsif.soap.fault.object=java.net.ConnectException:
> >>Connection refused: connect
> >>
> >>if you still have those problems please reopen issue:
> >>http://nagoya.apache.org/jira/browse/WSIF-62
> >>
> >>thanks,
> >>
> >>alek
> >>
> >>Daniel da S. Lacerda wrote:
> >>
> >>
> >>
> >>>Hi gurus, I have something that must serve you.
> >>>
> >>>I was getting the following message when trying to use my first WSIF
> >>>example :)
> >>>
> >>>$ java clients.DynamicInvoker
> >>>build/samples/simplesoap/StockquoteSOAP.wsdl getQuote IBM
> >>>
> >>>
> >>>
> >>>
> >>>>Reading WSDL document from
> >>>>
> >>>>
> >>>>
> >>>>
> >>>'build/samples/simplesoap/StockquoteSOAP.wsdl'
> >>>...
> >>>
> >>>
> >>>
> >>>
> >>>>Exception in thread "main" org.apache.wsif.WSIFException: Cannot get
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Object part 'Result'. No parts are set on the message
> >>>
> >>>After controlling the classpath a hundred times and looking resources on
> >>>the web (where I found people with the same unsolved problem) I thought
> >>>that maybe xmethods had inadvertently changed the soap endpoint. So, I
> >>>made some research and changed the the line in the wsdl file:
> >>>
> >>><soap:address location='http://66.28.98.121:9090/soap'/>
> >>>for
> >>><soap:address location='http://64.124.140.30:9090/soap'/>
> >>>
> >>>And voilà ! It works.
> >>>
> >>>The first IP still doesn't ping. Sorry if I published the comment in the
> >>>wrong place, I was afraid putting this on bugzilla was not very
> >>>appropriate, and maybe other people are getting crazy now for this as I
> >>>was, they should be informed :).
> >>>
> >>>Regards,
> >>>Daniel Lacerda
> >>>
> >>>
> >>>
> >>>
> >>>
> >>--
> >>The best way to predict the future is to invent it - Alan Kay
> >>
> >>
> >
> >
> >
>
> --
> The best way to predict the future is to invent it - Alan Kay


Re: Stockquote DynamicInvocation: Cannot get Object part 'Result'.

Posted by Aleksander Slominski <as...@cs.indiana.edu>.
hi,

you got "Connection timed out" exception which strongly siggest tat 
soemthng with your internet access fvrom Java does nto work - firewall 
or proxy setup?

i have just tried and <soap:address 
location='http://64.124.140.30:9090/soap'/> worked fien.

when i tried <soap:address 
location='http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx'/> 
i got:

Reading WSDL document from 
'C:\Forge\ws-apache-cvs\ws-wsif\java\samples\simplesoap\StockquoteSOAP.wsdl'
Preparing WSIF dynamic invocation
Executing operation getQuote
Result:
org.apache.wsif.soap.fault.object=Server did not recognize the value of 
HTTP Header SOAPAction: urn:xmethods-delayed-quotes#getQuote.

which i think is self explanatory.

thanks,

alek

SOUILLARD CHARLES wrote:

>Hi all,
>
>I still have the problem....
>
>java clients.DynamicInvoker samples/simplesoap/StockquoteSOAP.wsdl getQuote IBM
>Reading WSDL document from 'samples/simplesoap/StockquoteSOAP.wsdl'
>Preparing WSIF dynamic invocation
>Executing operation getQuote
>Result:
>org.apache.wsif.soap.fault.object=java.net.ConnectException: Connection timed
>out
>
>Done!
>
>I use the lastest CVS with new endpoints.
>Where can I find these endpoints ? I searched on xmethods web site but I found :
>
>http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx
>This endpoint doesn't run better.
>
>There is a very big delay between "Executing operation getQuote" and the display
>of the result, is it caused by the search of the web service ?
>I used getQuote method on xmethod web site, it runs successfully and and it is
>very fast.
>
>Regards,
>Charles
>
>
>
>
>Aleksander Slominski wrote:
>
>  
>
>>Daniel,
>>
>>this error is definitely not intuitive!
>>
>>i have fixed DI now in CVS so you get this for invalid service address:
>>
>>    Reading WSDL document from
>>'C:\Forge\ws-apache-cvs\ws-wsif\java\samples\simplesoap\StockquoteSOAP.wsdl'
>>    Preparing WSIF dynamic invocation
>>    Executing operation getQuote
>>    Result:
>>    org.apache.wsif.soap.fault.object=java.net.ConnectException:
>>Connection refused: connect
>>
>>if you still have those problems please reopen issue:
>>http://nagoya.apache.org/jira/browse/WSIF-62
>>
>>thanks,
>>
>>alek
>>
>>Daniel da S. Lacerda wrote:
>>
>>    
>>
>>>Hi gurus, I have something that must serve you.
>>>
>>>I was getting the following message when trying to use my first WSIF
>>>example :)
>>>
>>>$ java clients.DynamicInvoker
>>>build/samples/simplesoap/StockquoteSOAP.wsdl getQuote IBM
>>>
>>>
>>>      
>>>
>>>>Reading WSDL document from
>>>>
>>>>
>>>>        
>>>>
>>>'build/samples/simplesoap/StockquoteSOAP.wsdl'
>>>...
>>>
>>>
>>>      
>>>
>>>>Exception in thread "main" org.apache.wsif.WSIFException: Cannot get
>>>>
>>>>
>>>>        
>>>>
>>>Object part 'Result'. No parts are set on the message
>>>
>>>After controlling the classpath a hundred times and looking resources on
>>>the web (where I found people with the same unsolved problem) I thought
>>>that maybe xmethods had inadvertently changed the soap endpoint. So, I
>>>made some research and changed the the line in the wsdl file:
>>>
>>><soap:address location='http://66.28.98.121:9090/soap'/>
>>>for
>>><soap:address location='http://64.124.140.30:9090/soap'/>
>>>
>>>And voilà ! It works.
>>>
>>>The first IP still doesn't ping. Sorry if I published the comment in the
>>>wrong place, I was afraid putting this on bugzilla was not very
>>>appropriate, and maybe other people are getting crazy now for this as I
>>>was, they should be informed :).
>>>
>>>Regards,
>>>Daniel Lacerda
>>>
>>>
>>>
>>>      
>>>
>>--
>>The best way to predict the future is to invent it - Alan Kay
>>    
>>
>
>  
>


-- 
The best way to predict the future is to invent it - Alan Kay


Re: Stockquote DynamicInvocation: Cannot get Object part 'Result'.

Posted by SOUILLARD CHARLES <CH...@BULL.NET>.
Hi all,

I still have the problem....

java clients.DynamicInvoker samples/simplesoap/StockquoteSOAP.wsdl getQuote IBM
Reading WSDL document from 'samples/simplesoap/StockquoteSOAP.wsdl'
Preparing WSIF dynamic invocation
Executing operation getQuote
Result:
org.apache.wsif.soap.fault.object=java.net.ConnectException: Connection timed
out

Done!

I use the lastest CVS with new endpoints.
Where can I find these endpoints ? I searched on xmethods web site but I found :

http://ws.cdyne.com/delayedstockquote/delayedstockquote.asmx
This endpoint doesn't run better.

There is a very big delay between "Executing operation getQuote" and the display
of the result, is it caused by the search of the web service ?
I used getQuote method on xmethod web site, it runs successfully and and it is
very fast.

Regards,
Charles




Aleksander Slominski wrote:

> Daniel,
>
> this error is definitely not intuitive!
>
> i have fixed DI now in CVS so you get this for invalid service address:
>
>     Reading WSDL document from
> 'C:\Forge\ws-apache-cvs\ws-wsif\java\samples\simplesoap\StockquoteSOAP.wsdl'
>     Preparing WSIF dynamic invocation
>     Executing operation getQuote
>     Result:
>     org.apache.wsif.soap.fault.object=java.net.ConnectException:
> Connection refused: connect
>
> if you still have those problems please reopen issue:
> http://nagoya.apache.org/jira/browse/WSIF-62
>
> thanks,
>
> alek
>
> Daniel da S. Lacerda wrote:
>
> >Hi gurus, I have something that must serve you.
> >
> >I was getting the following message when trying to use my first WSIF
> >example :)
> >
> >$ java clients.DynamicInvoker
> >build/samples/simplesoap/StockquoteSOAP.wsdl getQuote IBM
> >
> >
> >>Reading WSDL document from
> >>
> >>
> >'build/samples/simplesoap/StockquoteSOAP.wsdl'
> >...
> >
> >
> >>Exception in thread "main" org.apache.wsif.WSIFException: Cannot get
> >>
> >>
> >Object part 'Result'. No parts are set on the message
> >
> >After controlling the classpath a hundred times and looking resources on
> >the web (where I found people with the same unsolved problem) I thought
> >that maybe xmethods had inadvertently changed the soap endpoint. So, I
> >made some research and changed the the line in the wsdl file:
> >
> ><soap:address location='http://66.28.98.121:9090/soap'/>
> >for
> ><soap:address location='http://64.124.140.30:9090/soap'/>
> >
> >And voilà ! It works.
> >
> >The first IP still doesn't ping. Sorry if I published the comment in the
> >wrong place, I was afraid putting this on bugzilla was not very
> >appropriate, and maybe other people are getting crazy now for this as I
> >was, they should be informed :).
> >
> >Regards,
> >Daniel Lacerda
> >
> >
> >
>
> --
> The best way to predict the future is to invent it - Alan Kay